I am creating a Python application that uses multiple third party libraries. Since the libraries are installed on my computer, the script runs fine. However, how can I alter my script so that it will run on any computer (all major OS), even if the computer does not have the third party Python libraries installed?
-
For Windows/Mac, you can use Py2exe/Py2app. For Linux distros, you make packages.Blender– Blender2013年05月01日 03:57:32 +00:00Commented May 1, 2013 at 3:57
-
or pyinstaller for windows :) (thats the one I like :P )Joran Beasley– Joran Beasley2013年05月01日 04:04:28 +00:00Commented May 1, 2013 at 4:04
-
Not exactly what I wanted. I want the script to stay a python script if at all possible so that it can be run on any device and run through a webpage.LucasS– LucasS2013年05月01日 04:08:11 +00:00Commented May 1, 2013 at 4:08
1 Answer 1
By your comment:
I want the script to stay a python script if at all possible so that it can be run on any device and run through a webpage
It appears you want some way to host a python program online.
To do this, you need:
To know how to write Python that serves a website (see Django, Flask, CherryPy, etc...)
Some way to deploy said application to the web. An easy, free (<-- this is the keyword) way to deploy Python web apps is through using Heroku or some other free hosting site. Or you could always pay for hosting or host it yourself.