Is there any possibility that I do not have to type in these very long Python commands?
Yes, there is command line completion available for Python. Just do this: import rlcompleter import readline readline.parse_and_bind("tab: complete") You can even point the environment variable $PYTHONSTARTUP to a file, e.g. ~/.pythonrc and put the above lines in it. Then after every start of python, you will have the nice completion feature enabled. |
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.
|