how to run python scripts

Discussion about NO5 IRC client
Post Reply
fgfiore
Site Admin
Posts: 24
Joined: Tue Aug 11, 2020 3:54 pm

how to run python scripts

Post by fgfiore »

First your Python installation must contain the file pyscript.py
In my installation this file is located at C:\Python3\Lib\site-packages\win32comext\axscript\client\pyscript.py
You will probably need to have the enviroment variable PYTHONPATH set to C:\Python3\Lib and added to the Path variable.
If u have all that and still doesnt work run manually the pyscript.py in a command prompt.
My Python implementation is from https://www.activestate.com/
fgfiore
Site Admin
Posts: 24
Joined: Tue Aug 11, 2020 3:54 pm

Re: how to run python scripts

Post by fgfiore »

If you don't have pyscrip.py installed try installing the win32 module
pip install pywin32
some pre-installed scripts requires BeautifulSoup4 and Requests
pip install BeautifulSoup4
pip install requests
Post Reply