CGI with Python

u at book.co.th u at book.co.th
Sat Sep 16 07:09:57 CEST 2000


Can I put only .pyc in the folder?...I see that Zope distribute .pyc with .py.

Regards

In article <6Huw5.3918$MZ5.69604 at news2-win.server.ntlworld.com>,
  "richard_chamberlain" <richard_chamberlain at ntlworld.com> wrote:
> What you probably want to do is just have python installed on the web
> server, that would make life much easier.
>
> If you don't want people *easily* delving into your code then you can
use a
> .pyc file.
>
> Richard
>
> <u at book.co.th> wrote in message news:8psisk$178
$1 at nnrp1.deja.com...
> > Hi experts,
> > I am very new with python and linux.
> > and i want to create a CGI script in binary format.
> > first of all, i had a script that written in .py.
> > and i compiled it with python command line...
> > python -c "import sourcefile"
> > after that i got a file with .pyc extension in a binary format.
> > is it able to run as CGI?
> >
> > anyway i heard that there is a tool called "Freeze".
> > i have tried to freeze a .py code to make an executable file...
> > you know?, it made a huge executable...
> >
> > any suggestion?
> >
> > regards,
> >
> >
> > Sent via Deja.com http://www.deja.com/
> > Before you buy.
>
>


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list