-1

I want to have a usb stick with some of my python scripts, so that I can just take them with me and execute on any machine I am currently using. Is there a way to execude python scripts on a machine that doesn't have python installed? I don't want to edit them, just execute. Thanks a lot!

If Clause
  • 67
  • 7
  • 1
    You could use Docker if that's installed. E.g. `docker run python:slim my-script.py` see https://hub.docker.com/_/python?tab=tags – kimbo May 09 '20 at 22:31

1 Answers1

1

I think for your scenario you may need to create an executable file. See this post here. standalone executable

Kurt Kline
  • 1,724
  • 1
  • 10
  • 23