How to create Standalone PYC File
Shane Geiger
sgeiger at councilforeconed.org
Wed Mar 4 15:18:47 EST 2009
py2exe (Windows) and py2app (Mac) are probably what you are looking for.
Rohan Hole wrote:
> I have .py file which uses some third party modules like egg files,
> like simplejson and python-twitter ,
>
> ----- start of file -----
>
> import ConfigParser
> import getopt
> import os
> import sys
> import twitter
>
>
> when i compile this py file using compile module , i get .pyc file .
> Now my question is , if i run .pyc file on another computer containing
> only python installed , will it run ? or do i need to install 3rd
> party lib again on that computer ? Anyone know how to make program lib
> independent , something called embedded into one file only ?
>
> thank you in anticipation .
>
> Rohan.
> ------------------------------------------------------------------------
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
Shane Geiger, IT Director
Council For Economic Education / www.councilforeconed.org
sgeiger at councilforeconed.org / 402-438-8958
Teaching Opportunity
More information about the Python-list
mailing list