![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
文章平均质量分 85
king_mountian
这个作者很懒,什么都没留下…
展开
-
linux环境下使用pyinstaller分步打包python程序(使用spec文件将python程序打包成一个可执行文件)
先贴上pyinstaler的官网指南,很多使用方法可以直接查到: https://pythonhosted.org/PyInstaller/usage.html pyinstaller的安装: 在自己的环境下运行: pip install Pyinstaller 有什么错误就根据错误提示去查,这个容易解决~ pyinstaller的初步使用: 进入程序所在的目录下,命令...原创 2018-08-14 12:46:47 · 13004 阅读 · 2 评论 -
python处理excel文件(收集)
收集的一些python处理excel文件的方法: 读excel: 使用xlrd模块就可以很好的完成这个目标 https://blog.csdn.net/hitwangpeng/article/details/51364770 这篇写的已经很详细了 写入新的excel: 使用模块xlwt https://blog.csdn.net/lyc_yongcai/article/deta...原创 2018-08-02 10:01:14 · 328 阅读 · 0 评论 -
python os.path模块常用方法详解【转载】
原地址:http://blog.51cto.com/wangwei007/1104940 os.path模块主要用于文件的属性获取,在编程中经常用到,以下是该模块的几种常用方法。更多的方法可以去查看官方文档:http://docs.python.org/library/os.path.html 1.os.path.abspath(path) 返回path规范化的绝对路径。 ...转载 2018-08-14 16:02:11 · 170 阅读 · 0 评论 -
【Python】区分python中random模块的randint与numpy.random模块的randint
这简直就是python一个大坑random.randint(a, b) # 返回闭区间 [a, b] 范围内的整数值numpy.random.randint(a, b) # 返回开区间 [a, b) 范围内的整数值>>&...转载 2018-08-02 14:15:45 · 325 阅读 · 0 评论