How share my scripts?

+1 Russell Hoffman · November 13, 2015
I recently created my first python script. I think it would be very useful to people in a certian community. How do I go about sharing the script so that all the end user needs to do is run it. I'm worried about dependencies that I imported not being on the computers I'm sharing with.
My imports are as follows:
import os  # I know these first two wouldn't be a problem if python is installed.
import logging

from bs4 import BeautifulSoup
from requests import codes, session, get



Post a Reply

Replies

Oldest  Newest  Rating
0 Sam Huffman · November 14, 2015
pip freeze > requirements.txt

to install the libs use: 
pip -r install requirements.txt
  • 1

Python

107,256 followers
About

This section is all about snakes! Just kidding.

Links
Moderators
Bucky Roberts Administrator