Changes

Jump to navigation Jump to search
479 bytes added ,  13:59, 23 September 2015
no edit summary
Line 646: Line 646:     
For further reference visit: tutorialspoint.com/python/python_gui_programming.htm
 
For further reference visit: tutorialspoint.com/python/python_gui_programming.htm
 +
 +
== Enable auto complete in python interpreter ==
 +
Create a file in your home directory named: .pythonrc<br />
 +
Content of this file:
 +
<source lang="python">
 +
import rlcompleter, readline
 +
readline.parse_and_bind('tab:complete')
 +
</source>
 +
Set the PYTHONSTARTUP variable in your .bashrc or .bash_profile
 +
echo "export PYTHONSTARTUP=~/.pythonrc" &gt;&gt; .bashrc
 +
 +
Reload your .bashrc or .bash_profile
 +
source ~/.bashrc
 +
 +
To test it import a library, write librariname. and hit tab twice

Navigation menu