Tab autocompletetion with python interpreter in bash terminal

I want to tab autocomplete commands in my python interpreter within bash terminal. This is very useful when I import a module and just want to browse through the methods and autocomplete. Found two ways to do it. Thanks to stack overflow posts. Method 1 (as mentioned here): This is easy. Install pyreadline (pip install pyreadline) and use ipython. This is a snapshot of it working. Method 2 ( as mentioned here): This is for standard ¬†python interpreter in bash terminal (such as in Ubuntu). This method requires readline and rlcompeter modules. Install these modules if you do not have Read More …

My list of most used packages for ubuntu

To install octave, gnuplot,numpy,scipy,matplotlib,gcc-4.2-base, gfortran sudo apt-get install octave gnuplot \ ipython python-numpy python-scipy \ python-matplotlib wine gcc-4.2-base gfortran-4.2 To install graphics programs: gimp, imagmagick and inkscape sudo apt-get install inkscape gimp imagemagick To install most of the multimedia requirements  sudo apt-get install vlc mozilla-plugin-vlc gstreamer0.10-ffmpeg \ gstreamer0.10-fluendo-mp3 gstreamer0.10-fluendo-mpegdemux \ gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse \ gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse w32codecs To install Microsoft fonts sudo apt-get install msttcorefonts To install latex relates stuff, kile sudo apt-get install texlive kile texlive-latex-extra texlive-xetex lmodern To install utilities: sudo apt-get install subversion unrar kdiff3