随笔分类 - python
摘要:参考博客:https://blog.csdn.net/m0_37811342/article/details/110069541 待生成pyd的文件task.py: def hello(): print("Hello world") 1.安装环境 pip install cython pip ins
阅读全文
摘要: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
阅读全文
摘要:# -*- 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
阅读全文
摘要:1、安装pywin32 pip install pywin32 2、安装Pyinstaller pip install PyInstaller #编译.Cmd cd /d %~dp0 pyinstaller -F -w PythonApplication1.py echo 按任意键退出 & pause exit
阅读全文
摘要:sys.path.append("helpers/") from Helper_TextEdit import *
阅读全文
摘要:安装 参考 https://blog.csdn.net/m0_37606112/article/details/78675610 https://blog.csdn.net/qq_41185868/article/details/79923295 https://www.cnblogs.com/ta
阅读全文