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

10.11 Loading Modules from a Remote Machine Using Import hooks #18

Open
cmbowyer13 opened this issue Oct 6, 2018 · 5 comments
Open

Comments

@cmbowyer13
Copy link

Hello, I have set up the urlimport.py script as described, but from the jupyternotebook a method or attribute from urlimport.py is not being recognized as such
screen shot 2018-10-05 at 10 22 09 pm

@cmbowyer13
Copy link
Author

And the def install_meta() ... is in the file in the same directory.

@dabeaz
Copy link
Owner

dabeaz commented Oct 6, 2018

Are you sure it's loading the right file? What does the __file__ attribute of the urlimport module say?

@cmbowyer13
Copy link
Author

printing out the__file__ attribute does return a valid file string. When I tried running different parts from a terminal it worked. But shouldn't it be able to run in a notebook as well?

@dabeaz
Copy link
Owner

dabeaz commented Oct 6, 2018 via email

@cmbowyer13
Copy link
Author

Thank you for your time @dabeaz . I have enjoyed learning advanced Python from your books. Do you have any favorite resources for learning more about classes for Python3 in addition to your books? Or anything related to a RasberryPi that you have found to be useful?

Best,
Caleb

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