Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8013029
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T19:31:04+00:00 2026-06-04T19:31:04+00:00

IPython is not able to tab-complete the names of modules in the current directory

  • 0

IPython is not able to tab-complete the names of modules in the current directory when importing.

If I have a file called Blah.py in the current directory I would like to type (at an ipython prompt)
import Bl
and have it complete to “import Blah”. It seems like nothing happens when I press tab though. Tab completion in other contexts seems to work fine.

I am using EPD 7.2-2 64bit on Mac OSX version 10.5.8. It comes with IPython version 0.12.

This kind of tab completion used to work for me with IPython version 0.10.2 on a Mac (though it wasn’t part of EPD). The only other difference I notice in this EPD version is that tab completion also closes the quotes every time you tab-complete a directory name within a string.

Any ideas are appreciated.

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T19:31:06+00:00Added an answer on June 4, 2026 at 7:31 pm

    The problem is in sys.path. The first entry was an empty string ''. I guess the completer doesn’t understand that this means to look in the current directory (maybe it understood in previous versions?). If you add './' to the path then everything works fine.

    At the beginning my ipython_config.py file I just added

    import sys
    sys.path.insert(0, './')
    

    That solves the problem permanently.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a few IPython scripts which have redundant functionality. I would like to
I'm trying to use the IPython demo mode. I created a file called test.py
Is there anything like Zenity built into iPython? If not, what would be the
I have installed ipython on my Ubuntu and then I have installed mechanize on
I use a variable called x ,the x is not defined, and use x
If I have run a long line in IPython, and try and recall it
I could not understand the ipython library. This url provide the common feature but
I have ipython (0.12.dev) installed and I have noticed that I cannot use it
I've got [16] in an org-mode file that is the text you would see
I want to change directories in the python (not ipython) repl under certain circumstances.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.