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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T17:16:55+00:00 2026-06-13T17:16:55+00:00

In the Python console (Eclipse, Pydev) I execute some data loading. Afterwards I change

  • 0

In the Python console (Eclipse, Pydev) I execute some data loading. Afterwards I change some source code of a method of the object and would like to include the new functionality in the data objects. The data loading is quite slow so I do not want to restart the whole script.

Is there a magic way to update the object methods with the new implementation that I edited in the source code?

How to reload the code of a method of class object in Python? says I cannot do this in a standard way.

So can you think of some way to simulate that functionality? Maybe reload the class definition and then recreate all data objects by examining their __dict__ or similar? Ideally this would be as automatic and comfortable as possible. What do I need to take into account?

  • 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-13T17:16:57+00:00Added an answer on June 13, 2026 at 5:16 pm

    Unfortunately, Python can’t replace existing instances of objects out of the box. However, IPython implements this functionality as extension. You could use IPython as Python console or just re-implement this feature for your development environment.

    See Autoreload of modules in IPython, and ipython docs.

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

Sidebar

Related Questions

I am running some Python code in the console, inside a very long for
I'm debugging from the python console and would like to reload a module every
I am having some trouble getting Python IO redirected to a console that I've
My configuration: Win7 + Python 2.6 + eclipse + PyDev How do I enable
I'm thinking if there already is some sort of online live python console (web-based)
I am a C# and ASP.NET MVC developer. I've completed some Python console applications
I am trying to get python-gnupg to work in Jython under PyDev under Eclipse.
When I open a PyDev console, the current working directory is my Eclipse folder.
If I'm dealing with an object in the Python console, is there a way
I'm using Eclipse on Windows, with the PyDev plugin for Python development. When I

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.