Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reloading code #17

Closed
TLipede opened this issue Apr 13, 2021 · 2 comments
Closed

Reloading code #17

TLipede opened this issue Apr 13, 2021 · 2 comments

Comments

@TLipede
Copy link

TLipede commented Apr 13, 2021

Hi there,

Just wondering - is there a way to reload the code from a Python script without restarting the current Julia session?

Thanks in advance! :)

@cjdoris
Copy link
Collaborator

cjdoris commented Apr 14, 2021

Sorry I don't understand - how are you loading the Python script in the first place?

@TLipede
Copy link
Author

TLipede commented Apr 15, 2021

Never mind, found a solution with:

importlib = pyimport("importlib")
importlib.reload(somemodule)

@TLipede TLipede closed this as completed Apr 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants