On Monday 14 September 2009, Alan Gauld wrote:
> It would also save valuable bandwidth and session time.
Thinking about it... One could send compressed differences to the
version on the CD. Rpm has such a feature I think (Delta RPM, Patch
RPM).
Eike.
"Eike Welk" wrote
called this sort of script right after boot up. They could have the
absolute most current version of an application from my server
launched on their box and if their data from that application was
For this kind of application you could tansfer *.tar.gz or *.rmp files
and
On Saturday 12 September 2009, Patrick wrote:
> Imagine if I gave a client a live Linux CD that automatically
> called this sort of script right after boot up. They could have the
> absolute most current version of an application from my server
> launched on their box and if their data from that ap
Hey Patrick
What I great idea. I did not even know about the compile function. Maybe
this idea could really work.
Imagine if I gave a client a live Linux CD that automatically called
this sort of script right after boot up. They could have the absolute
most current version of an application from
2009/9/12 Patrick :
> Strange question.
>
> Is it possible to include a module that is on another computer?
>
> I have been day-dreaming about a project that would allow web code to
> drive a desktop App.
>
> Thanks in advance-Patrick
> ___
> Tutor ma
"Patrick" wrote
Is it possible to include a module that is on another computer?
Possible provided you can specify the patgh in some way that
can be added to sys.path. Or you can read and exec.
But whatever you do its extremely dangerous unless the remote
computer is under your complete
Maybe something like this helps you to solve your problem:
# get code via http, etc.
code = """
def blah():
print 'blah'
print 'hello'
blah()
"""
compiled_code = compile(code, 'filename', 'exec')
exec(compiled_code)
This way you could execute some code from a web client, but the client
wo
Hi Wayne
Thanks for your help. I was thinking of the latter but now that I think
of it, once you import a module it won't help to modify that module on
the fly later anyways, right? I would need to re-import it. Sounds like
reading it via http would be simpler.
Thanks again-Patrick
Wayne wrote:
Strange question.
Is it possible to include a module that is on another computer?
I have been day-dreaming about a project that would allow web code to
drive a desktop App.
Thanks in advance-Patrick
___
Tutor maillist - Tutor@python.org
To unsubs