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 1006535
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T08:28:36+00:00 2026-05-16T08:28:36+00:00

Is there a GUI for IPython that allows me to open/run/edit Python files? My

  • 0

Is there a GUI for IPython that allows me to open/run/edit Python files? My way of working in IDLE is to have two windows open: the shell and a .py file. I edit the .py file, run it, and interact with the results in the shell.

Is it possible to use IPython like this? Or is there an alternative way of working?

  • 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-05-16T08:28:37+00:00Added an answer on May 16, 2026 at 8:28 am

    When I’m working with python, I usually have two terminal windows open – one with IPython, and the other with a fairly customized Vim.

    Two good resources:

    • http://blog.dispatched.ch/2009/05/24/vim-as-python-ide/
    • http://dancingpenguinsoflight.com/2009/02/python-and-vim-make-your-own-ide/

    Though it sounds like what you want is IPython’s magic function %ed/%edit:

    An example of what you can do:

    In [72]: %ed
    IPython will make a temporary file named: c:\docume~1\wjwe312\locals~1\temp\ipython_edit_ar8veu.py
    

    In the file I put:

    x = "Hello World"
    print 3
    

    After saving and quitting the file:

    Editing... done. Executing edited code...
    3
    Out[72]: "x = 'Hello world'\nprint 3\n"
    
    In [73]: x
    Out[73]: 'Hello world'
    

    You can define functions or anything else – just remember that the contents of the file will be executed when you close it.

    Another similar workflow is to cd to the directory containing your Python script that you’re editing with your favorite editor. Then you can %run the script from within IPython and you’ll have access to everything defined in the file. For instance, if you have the following in the file test.py in your /home/myself directory:

        class Tester(object):
            def __init__(self):
                print "hi"
    
        def knightme(name):
            print "Hello, Sir ", name
    

    Then you can do the following:

    In [42]: cd /home/myself
    /home/myself
    
    In [43]: %run test.py # <Tab> autocomplete also works
    
    In [44]: knightme('John')
    Hello, Sir  John
    
    In [45]: t = Tester()
    Hi
    

    Either a mix or one of those workflows should give you something very similar to the way you’re used to working in IDLE.

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

Sidebar

Related Questions

i have a simple swing gui where there are two text fields one for
Is there CLI/GUI tool to execute C# code, i.e. alternative for Python ipython/Ruby irb.
Is there any GUI API that can be used together with DirectX other than
Is there a git gui app (for commiting) that shows detected renames? Git-gui currently
WiX is great in that there is no GUI, you just write the installer
There is a team working on acceptance testing X11 GUI application in our company,
Is there any way to integrate JavaFx 2.0 GUI within the Netbeans Platform Application?
Is there a good application (that has some kind of gui) for testing memory
I have those to classes: the main and GUI. In GUI there is actionListener
Is there a way to view a list of the IPython variables currently in

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.