Guys ,how to I share my python program to my friends who do not have python installed on their computer?Any idea?tq | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Guys ,how to I share my python program to my friends who do not have python installed on their computer?Any idea?tq

python

28th Oct 2017, 2:59 PM
ENG QI XIAN
ENG QI XIAN - avatar
4 Answers
+ 9
Either you wrap it into an .exe, but along with the whole Python package (some 30-40MB altogether). Or you may save it in one of the online available interpreters, like Sololearn's Code Playground: https://www.sololearn.com/Codes/ Others available are for example: www.trinket.io/features/python3 www.codeskulptor.org www.codeanywhere.com
28th Oct 2017, 3:49 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 1
You could use a 'freezer' like cx_freeze to package your program into an exe.
28th Oct 2017, 9:44 PM
LunarCoffee
LunarCoffee - avatar
0
but cx_freeze, it requires command prompt to work with it,but when type python in command prompt it shows python is not an internal and external command s.how?
29th Oct 2017, 2:04 AM
ENG QI XIAN
ENG QI XIAN - avatar
0
kuba ,I don't understand how it works.can u explain more deeply?pls
29th Oct 2017, 2:05 AM
ENG QI XIAN
ENG QI XIAN - avatar