0

if i create python code with .py and i want my friends get the code and it will work on theme computer (open files and print them).

how can i do that without install.

i mean i dont wont them yto install python.

i can do it as .exe or something?

thanks!

my code is stupid but required here so -

    #!/usr/bin/python

    # Open a file
    fo = open("foo.txt", "r+")
    str = fo.read(10);
    print "Read String is : ", str
    # Close opend file
    fo.close()
xiº
  • 4,605
  • 3
  • 28
  • 39

1 Answers1

1

I would use Py2exe

but there are more solutions here are two links link 1 link 2

Community
  • 1
  • 1
Spiegie
  • 42
  • 6