On 05/20/2016 01:30 AM, Robert Clove wrote: > Hi, > > Can someone give me pseudo code to download and JNLP file from a URL and > run it? > > Looks like a advance concept in python
You could use the urllib module to download the file, then use the subprocess module to spawn the javaws executable and pass it the location of the jnlp file as a parameter. https://docs.python.org/3.6/howto/urllib2.html https://docs.python.org/3.6/library/subprocess.html There are other ways besides launching javaws directly, such as asking cmd.exe to invoke "start" and the jnlp file so that the default javaws executable will run. On Mac there's the "open" binary that can do the same thing, and on Linux, xdg-open. -- https://mail.python.org/mailman/listinfo/python-list