![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
文章平均质量分 83
勒布朗他二舅
这个作者很懒,什么都没留下…
展开
-
Python练习小程序合集
把输入单词的第一位移到末位,然后加上“ay”,代码如下 def piglatin(): word = input('请输入一个单词') if len(word)>0 and word.isalpha(): str_word =str(word); str_word_1 = str_word[0].lower(); new_st...原创 2019-04-28 14:54:06 · 935 阅读 · 0 评论 -
将python程序打包为exe可执行文件
安装pyinstaller cmd窗口执行命令: E:\yingyong\Python\Python37\Scripts\pip.exe install pyinstaller 如下,图片里是已经安装过了: 打包 在python程序文件夹上按住shift并且右键,在弹出的选项中点击"在此处打开命令行窗口"或者“在此处打开PowerShell窗口”,执行命令: pyinstaller -F -...原创 2019-05-08 11:22:54 · 514 阅读 · 1 评论