LucasS
LucasS

Reputation: 729

Run Python Script Without Dependencies Installed

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?

Upvotes: 0

Views: 469

Answers (1)

mjgpy3
mjgpy3

Reputation: 8947

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:

  1. To know how to write Python that serves a website (see Django, Flask, CherryPy, etc...)

  2. 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.

Upvotes: 1

Related Questions