I have Python downloaded already, but want to contribute code to the Enthought Tool Suite (ETS). According to this site (http://code.enthought.com/source/):
it says to download the following python script: https://raw.github.com/enthought/ets/master/ets.py
I put the ets.py into the python script, save as…and in the Python Shell, I typed in “import ets”
However, nothing happens.
Also, the site says to run the following commands:
$ mkdir ets
$ cd ets # and copy ets.py here
$ python ets.py clone
Typing those lines in Python Shell gives me the message: “SyntaxError: invalid syntax”
As you can see, I’m new to Python, and I don’t know what I’m doing. How do I download the ETS script and run the commands??
Those last commands aren’t meant to be entered into the Python console, they’re meant to be entered at the terminal shell.
This last command assumes that ets.py was in the original directory. Now we can run it [edit: make sure you have
gitinstalled, or this won’t work]:After this, you need to install everything (this will look different depending on your operating system):