#1
20th Apr 2018 at 12:38 AM
Career .ts4script
Could someone dumb this down for me? I have Python 3.6.5 installed. I can't figure out what the Python install directory is. The only thing I'm finding is Appdata/Local/Programs/Python/Python36-32 . I'm assuming that's the install directory? After that I'm not sure where to put the .py career file. There's several folders and I don't know if it goes in the main folder, or one of the sub folders. And then open python replacing the c:// with the c://users/[me]/Appdate....... location? Super confused .-.
"Creating the .ts4script
Copy paste the .py inside your Python install directory
Open a command line console (cmd on Windows)
Run Python 3.3 with the -O option (eg C://Python33/Python.exe -O)
Import the .py (eg import Neia_Careers_Law.py)
Get the .pyo from the __pycache__ subdirectory
Rename it to remove the .cpython-33 from the filename
Add both the .pyo and .py to a
zip file
Change the extension to .ts4script (Make sure Windows is set to show file extensions)"