How do I wrap up my python code to share it with others?

Discussion in 'Programming' started by karbotilne5, Jun 23, 2020.

  1. karbotilne5

    karbotilne5 United Arab Emirates Lurker

    Post Count:
    1
    Likes Received:
    0
    Stats
    I have just done a tiny little game and I would like to share it with a few friends. I used an external library (guizero, the code is in python)so how do I send everything they might need to run it without having to install manually the library?
     
    Last edited: Jun 24, 2020

    Mr. Ad Advertisement

     
  2. Ally

    Ally United States princess Premium

    Post Count:
    594
    Likes Received:
    3,059
    Stats
    you can install the libraries for them if they dont have them [through python is what i meant not you going on their computer to install it yourself]
     
    Last edited: Jun 23, 2020
  3. navmail

    navmail Israel Veteran Hacker

    Post Count:
    103
    Likes Received:
    2
    Stats
    You can use venv and create a small folder with all the library that it requires run the program, or use py to exe from pip.
     

Share This Page

  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies.
    Dismiss Notice
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies.
    Dismiss Notice