I want to add the following extensions to the standard interactive mode. The reason behind is that I can use the python shell as a user interface.
- create a history of commands so I can reuse typed commands with arrow up and down keys. It should be save to a file when the shell is closed so I can reload it when the next interactive sesion is started
- create a linux like autocomplete function usiing the TAB key. When I type "os." and hit TAB I want a list off all the names in the name space to be printed. Also if I start typeing something like "os.__nam" I want the "e__" to be automatic aded.
- hide different objects from the user
I know this has already been done (u just need to import a specific module) but I don't know where to look.
Thank you very much in advance
PS: I am writing in Elglish because I don't know German very well.
Wenn du dir nicht sicher bist, in welchem der anderen Foren du die Frage stellen sollst, dann bist du hier im Forum für allgemeine Fragen sicher richtig.
2 Beiträge • Seite 1 von 1