[Tutor] Remote module loading

devN eishf2000 at gmail.com
Thu Sep 7 18:28:55 EDT 2017


Well, it's another hassle to keep NFS shared and mounted in every other
systems, not to include the firewall rules.
Let me check out with the importlib

On Fri, 8 Sep 2017, 00:14 Peter Otten <__peter__ at web.de> wrote:

> devN wrote:
> > Is there any way to load the module from remote just as
> > simple as import statement (without using urllib or wget piped to
> python)?
> > This could also mean does PYTHONPATH support http/ftp?
>
> While there are hooks to do everything you can imagine
>
> https://docs.python.org/dev/library/importlib.html
>
> that's not very accessible to newbies.
>
> Why don't you make the module available through the file system? Think NFS
> or SMB or WebDAV...
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
>


More information about the Tutor mailing list