tab completion?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Siddhant

    tab completion?

    Hi people.
    I was just wondering if a tab-completion feature in python command
    line interface would be helpful?
    If yes, then how can I implement it?
    Thanks,
    Siddhant
  • james.pye@gmail.com

    #2
    Re: tab completion?

    On Mar 4, 8:13 am, Siddhant <siddhantg...@g mail.comwrote:
    Hi people.
    I was just wondering if a tab-completion feature in python command
    line interface would be helpful?
    If yes, then how can I implement it?
    Thanks,
    Siddhant
    Is this what you are looking for?

    Source code: Lib/rlcompleter.py The rlcompleter module defines a completion function suitable to be passed to set_completer() in the readline module. When this module is imported on a Unix platform...

    Comment

    • Ron DuPlain

      #3
      Re: tab completion?

      On Mar 4, 10:13 am, Siddhant <siddhantg...@g mail.comwrote:
      Hi people.
      I was just wondering if a tab-completion feature in python command
      line interface would be helpful?
      If yes, then how can I implement it?
      Thanks,
      Siddhant
      ipython provides auto tab completion.


      You can also get it by:
      $ easy_install ipython

      Run it using the command:
      $ ipython

      Is this what you want?

      Ron


      --
      Ron DuPlain <ron.duplain@gm ail.com>

      Comment

      • Siddhant

        #4
        Re: tab completion?

        Yes. Almost what I wanted. Thanks. :)

        Comment

        Working...