Anonymous
Asked in
Cars &Transportation
·
2 weeks ago
How do I share a Python script?
Contents
- How do I send a python executable?
- How can someone else run my python script?
- Can we share python files?
How do I send a python executable?
You've got 2 options here:1convince them to install python.2package it using a tool like PyInstaller or py2exe, then send them the compiled executable.
How can someone else run my python script?
You can use py2exe (windows), py2app (Mac OS X) or cx_freeze to convert your application to an executable. cx_Freeze is cross platform and should work on any platform that Python itself works on. Show activity on this post. You need to convert it to an executable.
Can we share python files?
The two custom modules use each other's resources, as well as other modules from the standard Python library. The importing chain can go as deep as you want: there's no limit in the number of imported files, and they can import each-other, although you need to be careful with circular importing.
Related Questions
Relevance
-
Anonymous2 weeks ago
Expert answer2 weeks ago -
Anonymous2 weeks ago
Expert answer2 weeks ago -
Anonymous2 weeks ago
Expert answer2 weeks ago -
Anonymous2 weeks ago
Expert answer2 weeks ago -
Anonymous2 weeks ago
Expert answer2 weeks ago -
Anonymous2 weeks ago
Expert answer2 weeks ago -
Anonymous2 weeks ago
Expert answer2 weeks ago
Write us your question, the answer will be received in 24 hours