Re: [Tutor] Remote module loading

2017-09-07 Thread devN
In fact, that's very close to what I needed. The repo or source would have version, target audience, and few other parameters. Thanks a zillion. I will take it up from here. I'll post you guys the complete version sometime in the future when it's ready. Cheers! Farhan On Fri, 8 Sep 2017, 06:26 Mat

Re: [Tutor] Remote module loading

2017-09-07 Thread Mats Wichmann
On 09/07/2017 12:49 AM, devN wrote: > Hi, > I am newbie in python. I wrote a module which is meant to be run across > couple of unix OS variants (redhat, debian, bsd and solaris). The module is > updated frequently and new features added. > ... > The above code was an alpha and there could be furt

Re: [Tutor] Remote module loading

2017-09-07 Thread devN
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 <__pete...@web.de> wrote: > devN wrote: > > Is there any way to load the module from remote just as > > sim

Re: [Tutor] Remote module loading

2017-09-07 Thread Peter Otten
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/im

[Tutor] Remote module loading

2017-09-07 Thread devN
Hi, I am newbie in python. I wrote a module which is meant to be run across couple of unix OS variants (redhat, debian, bsd and solaris). The module is updated frequently and new features added. import platform import os import subprocess def main (): RESPONSE = dict (); PYVER = float (pla