Find the answer to your Linux question:
Results 1 to 2 of 2
Hey guys, me again, I am wondering how I could make a python script into a stand alone app on linux? I'm making the python scripts on my mac and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2006
    Location
    Cherokee
    Posts
    21

    Question Python stand alone app


    Hey guys, me again, I am wondering how I could make a python script into a stand alone app on linux? I'm making the python scripts on my mac and transporting them to my Linux server for my school. This one has got me bamboozled...

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    If its just a normal script, then put something like
    Code:
    #!/usr/bin/env python
    at the top of your script, make it executable and then place it somewhere like /usr/local/bin. I usually remove the python extension from my scripts so that I can just use the program name in order to run it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •