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

  • Home
  • SEARCH
  • 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 902291
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T15:41:40+00:00 2026-05-15T15:41:40+00:00

I have been developing a project in python for the last six months, and

  • 0

I have been developing a project in python for the last six months, and love the language. But I have yet to find an IDE or text editor that could provide some extra functionality for me. I currently have syntax highlighting which is one of the easiest things to get, but not much more. I am dreaming of having my IDE jump to the line in my code that caused the crash instead of reading the line number from the backtrace and manually locating it in my text editor. I have been looking for something that could do this under my development constraints, but no success. My constraints are the following:

  • The python code being developed rests on a remote machine, equipped with enough RAM and CPUs to run the code. That machine has no screen or keyboard.
  • I code from my laptop, a macbook pro running OS X which is not meant to execute the code.
  • The remote machine is running Fedora 12 and provides SSH connectivity with root access.
  • My connection isn’t good enough at home to run an X11 IDE on the distant machine and have the interface displayed on my machine.

What I have been doing up to now is to log-in to the remote machine via SSH using the excellent CyberDuck client. This enables me to open a text file residing on the remote machine inside any of my local usual text editors like TextMate or TextWrangler and have changes uploaded automatically every time the file is saved. This really gives you the felling you are editing the distant file in your usual cocoa interface.

Then to execute the python code, I open a second SSH connection, this time using a terminal into which I would type:

$ ssh user@dns
$ ipython -pylab
$ execfile("/projectdir/code.py")

Finaly, I read the backtrace and go back to my local text editor to find the correct line number. There must be a better way ! Any ideas ?

  • 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-15T15:41:41+00:00Added an answer on May 15, 2026 at 3:41 pm

    You may or may not like this suggestion, but I would use vim, setting makeprg and errorformat appropriately. This way you can ssh in as you normally would, edit files directly on the remote machine, and compile/error fix using quickfix-errorlist. It will only cost you the time to set makeprg and errorformat correctly. If you do a little digging the info is out there.

    EDIT

    1. ssh user@intoyourbox.com
    2. Put the lines at the bottom of this answer in ~/.vimrc
    3. vim somemodule.py
    4. Type “:make somemodule.py”
    5. Type “:cw” which may stand for c as in the language, window
    6. vim will popup a window [Quickfix List]
    7. Cursor over an error in the [Quickfix List]
    8. Press enter
    9. vim changes your cursor to the window above and places it on the error
    10. Fix the error using your vim skills, “:h” for help and tutorials
    11. Ctrl+w, j will move the cursor down a window, back to your quickfix list
    12. Ctrl+w, k will move the cursor up a window
    13. Repeat steps 7-12 as necessary
    14. “:make somemodule.py” to make sure you fixed everything
    15. Welcome yourself to the darkside, vim rules.

    ~/.vimrc settings:

    "python makeprg settings
    
    setlocal makeprg=python\ %
    
    setlocal errorformat=
            \%A\ \ File\ \"%f\"\\\,\ line\ %l\\\,%m,
            \%C\ \ \ \ %.%#,
            \%+Z%.%#Error\:\ %.%#,
            \%A\ \ File\ \"%f\"\\\,\ line\ %l,
            \%+C\ \ %.%#,
            \%-C%p^,
            \%Z%m,
            \%-G%.%#
    

    Setting makeprg tells vim that your “compiler” is python. Setting the errorformat tells vim how to parse the output of your “compiler” so you can jump to error lines. Look around on the internet, there are plenty of vimrc suggestions for programming in python. There are makeprg/errorformat settings for Xcode/Visual C++/Perl/etc as well which really makes vim a win-win situation if you program in different languages. There’s also other fancy stuff like autoindent, code completion and syntax highlighting. Enjoy

    Note: These settings were taken almost verbatim from here.

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

Sidebar

Ask A Question

Stats

  • Questions 488k
  • Answers 488k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer I'm one of the developers of Piwi, so I hope… May 16, 2026 at 8:43 am
  • Editorial Team
    Editorial Team added an answer var query = db.UM_RolePermission .Where(rp => db.UM_RoleUser .Where(ru => ru.UM_User.UserID… May 16, 2026 at 8:43 am
  • Editorial Team
    Editorial Team added an answer There's absolutely a good reason it wasn't done in the… May 16, 2026 at 8:43 am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I have been developing (for the last 3 hours) a small project I'm doing
I have been developing a managed extensibility framework application for the last several months
I have been developing a project that I absolutely must develop part-way in C++.
I have been developing a project and in this project i have designed my
Some programmers here have been developing a project in VB6, and they say they
I have been developing a small project meant to run under weblogic 8.1. Richfaces
I am developing a project that lately have been taking off with increased popularity.
i am working on a project, which i am developing with Python and PyQT4.
I have a python app, that I'm developing. There is a need to use
I have been developing my program on my desktop, and now want to continue

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.