I want to modify this Python script on Windows 7.
https://github.com/Jeremy1980/LDBoxer
The original author seems to have compiled the program into a Windows executable. Is it possible to run the script without compiling it? I tried the following at the command prompt:
python LDBoxer.py
But Windows says it does not recognize 'python'. What do I need to install and what is the correct command line syntax? According to the docs, this is the correct way to run the executable:
LDBoxer_2017a.exe ldraw_library_location ldraw_model_location_for_conversion
Thanks.
1 Answer 1
You need to make sure you have python installed, then make sure you are running the correct python compiling command. Sometimes when installing python 2 you need to run the command python2 or python27.
You can install python here. It looks like they wrote it with python 2.x so I would recommend installing python version 2.7 unless you want to manually convert it to python 3.x.
You should be able to run the .exe just by double clicking, or right click then run.
8 Comments
python LDBoxer.py doesn't work, try python27 LDBoxer.py if that doesn't work try python2 LDBoxer.py, if that doesn't work then you need to find the folder that the python packages downloaded to, and run <folder_name> LDBoxer.pypython LDBoxer.py arg1 arg2 ar3 use as many arguments as the script needs to execute.