- 博客(4)
- 收藏
- 关注
原创 pyinstaller
pyinstaller在cmd里运行cd到文件所在目录pyinstaller -F -w -i E:\python\python1\课程设计\tubiao.ico 宿舍管理信息系统.pya = Analysis 里面放自己的py文件hiddenimports 里放包可放可不放# -*- mode: python ; coding: utf-8 -*-block_cipher = Nonea = Analysis(['宿舍管理信息系统.py', 'Add
2020-12-18 16:20:06
183
1
原创 Python pip更新 或者下载包更换国内源
pip 更新python.exe -m pip install --upgrade pip -i https://pypi.mirrors.ustc.edu.cn/simple/pip 更新或下载其他包pip install lxml -i https://pypi.tuna.tsinghua.edu.cn/simple国内源清华:https://pypi.tuna.tsinghua.edu.cn/simple阿里云:http://mirrors.aliyun.com/pypi.
2020-12-03 17:11:15
618
转载 解决GitHub的raw.githubusercontent.com无法连接问题
https://site.ip138.com/raw.Githubusercontent.com/输入raw.githubusercontent.com查询IP地址修改hosts Ubuntu,CentOS及macOS直接在终端输入sudo vi /etc/hosts添加以下内容保存即可 (IP地址查询后相应修改,可以ping不同IP的延时 选择最佳IP地址)GitHub Start52.74.223.119 github.com192.30.253.119 gist.github.com
2020-11-16 13:16:17
2084
原创 Python--读取fits文件
Python–读取fits文件个人笔记Python中FITS格式文件数据的读取比较亲民的一个链接链接:http://blog.sina.com.cn/s/blog_cfb724900102uz4p.html1.from astropy.io import fits #导入函数库2.raw_picture=fits.open(’****.fit’) #读取fits文件3.raw_picture.info() #看文件的信息有几层4.raw_
2020-11-05 11:16:42
1417
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人