So I have to make it an executable file, which is EXE for Windows.The problem is that the version of python I used is 3.5, so the famous tool pywin32 is not available for me.(As one of the comments says, pywin32 is available now, I wrote this long time ago, sorry for not checking it out.) After searching, finally I found it --pyinstaller.
![]() What do you get when you cross a joke with a rhetorical question The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism. Windows API documentation available from Microsoft ( ); Python Programming on Win32, by Mark Hammond and Andy Robinson. All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners. Well, install it on your boss PC, set the destination folder as its users desktop and you will change your mind.:). Just open a command prompt, navigate to your script directory and install the service with the command. Here you can start your service and configure it at your will. Il servizio Python Corners Winservice Example sta per essere arrestato. If you have successfully installed the service but starting it you get an error, follow this iter to troubleshoot your service. It MUST be there. To check this, just open a command prompt and try starting the python interpreter by typing python. Python Restart Windows Service .Dll And CopyIf you dont have this file, take it from C:Program FilesPython36Libsite-packagespywin32system32pywintypes36.dll and copy it into C:Program FilesPython36Libsite-packageswin32. To try this with our previous example, open a terminal, navigate to the directory where the script resides and type.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |