随笔分类 -  python

摘要:参考博客:https://blog.csdn.net/m0_37811342/article/details/110069541 待生成pyd的文件task.py: def hello(): print("Hello world") 1.安装环境 pip install cython pip ins 阅读全文
posted @ 2021-06-10 12:22 qq921201008 阅读(2138) 评论(0) 推荐(0) 编辑
摘要:windows直接运行: pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/ pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn 阅读全文
posted @ 2021-01-21 22:08 qq921201008 阅读(1238) 评论(0) 推荐(0) 编辑
摘要:# -*- coding: utf-8 -*- import numpy as np import pandas as pd from pandas import * from numpy import * data = DataFrame(np.arange(16).reshape(4,4),index = list("ABCD"),columns=list('wxyz')) print dat 阅读全文
posted @ 2019-11-06 19:55 qq921201008 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-11-29 20:03 qq921201008 阅读(126) 评论(0) 推荐(0) 编辑
摘要:1、安装pywin32 pip install pywin32 2、安装Pyinstaller pip install PyInstaller #编译.Cmd cd /d %~dp0 pyinstaller -F -w PythonApplication1.py echo 按任意键退出 & pause exit 阅读全文
posted @ 2018-11-28 17:29 qq921201008 阅读(125) 评论(0) 推荐(0) 编辑
摘要:sys.path.append("helpers/") from Helper_TextEdit import * 阅读全文
posted @ 2018-11-25 23:23 qq921201008 阅读(879) 评论(0) 推荐(0) 编辑
摘要:安装 参考 https://blog.csdn.net/m0_37606112/article/details/78675610 https://blog.csdn.net/qq_41185868/article/details/79923295 https://www.cnblogs.com/ta 阅读全文
posted @ 2018-11-08 21:45 qq921201008 阅读(527) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示