首页 > 编程知识 正文

怎么运行python文件,python安装后怎么打开

时间:2023-05-06 21:22:05 阅读:152821 作者:1783

pywin32

thisisthereadmeforthepythonforwin 32 (py win32 )扩展,whichprovidesaccesstomanyofthewindowsapisfrompython。

seechanges.txtforrecentnotablechanges。

Note that as of build 222,pywin32 has a new home at github。

youcanfindbuild 221 andlaterongithubandolderversionscanbefoundon

the old project home at sourceforge

A special shout-outto @ xoviatwhoprovidedenormoushelpwithegithubmove!

支持

Feel free to open issues for

allbugs(orsuspectedbugs ) in pywin32. pull-requests

forallbugsorfeaturesarealsowelcome

However,pleasedonotopengithubissuesforgeneralsupportrequests,or

forproblemsorquestionsusingthemodulesinthispackage-they will be

closed. For such issues,please email the

python-win32邮件列表-

notethatyoumustbesubscribedtothelistbeforeposting。

比内利斯

byfartheeasiestwaytousepywin 32 istograbbinariesfromthemostrecentrelease

Installing via PIP

notethatpipsupportisexperimental。

youcaninstallpywin 32 via pip :

pip install pywin32

notethatifyouwanttousepywin 32 for ' system wide ' features,such as

registeringcomobjectsorimplementingwindowsservices,then you must run

thefollowingcommandfromanelevatedcommandprompt :

python scripts/py win32 _ post install.py-install

从构建源

buildingfromsourceisextremelycomplicatedduetothefactwesupportbuilding

oldversionsofpythonusingoldversionsofwindowssdks.ifyoujustwantto

build the most recent version,youcanprobablygetawaywithinstallingth

samemsvcversionusedtobuildthatversionofpython,grabbing a recent

Windows SDK and running setup.py

setup.pyisastandarddistutilsbuildscript.youprobablywant :

python setup.py install

python setup.py --help

youcanrunsetup.pywithoutanyargumentstosee

specificinformationaboutdependencies.avanillamsvcinstallationshould

beabletobuildmostextensionsandlistanyextensionsthatcouldnotbe

builtduetomissinglibraries-ifthebuildactuallyfailswithyour

配置,please open an issue。

发放流程

thefollowingstepsareperformedwhenmakinganewrelease-this is mainly

toformachecklistsomhammonddoesn ' tforgetwhattodo : )

ensure changes.txthaseverythingworthnoting,commit it。

更新设置. pywiththenewbuildnumber。

Execute build.bat、wait forever和test the artifacts。

commit setup.py (sothenewbuildnumberisintherepo ),create a new git tag

upload the.exeinstallerstogithub,the .whl files to pypi。

update setup.pywiththenewbuildnumber '.1 ' (eg,123.1 ),to ensure

futuretestbuildsaren ' tmistakenfortherealrelease。

Send mail to python-win32

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。