How do I execute a python script that is stored on the internet?
I am using python 2.4 for a program which imports scripts from the internet and executes them so a script could be changed by the author and the user wouldn't have to re-download the script. This is the part of the program that downloads the script: def downloadScript(self,script): myfile=open('#A file path/'+script['name']+'.txt','w') try: downloadedScript=urllib.urlopen(script['location']).read() except: #raise error return myfile.write(downloadedScript) myfile.close() def loadScript(self): if not self.scriptCurrentlyLoaded: script=self.scripts[self.scroller.listPos] if script['location']==