Jump to content
xisto Community
freedomjazzdance

Compiling Perl / Python? is there a way to compile perl/python?

Recommended Posts

so im pretty new to programming in general, but these two languages i am even newer to. I'm trying to find out if there is a way to compile a perl/python program so that it is encrypted, and the source could not be read.or are these languages just scripts?Thanks.

Share this post


Link to post
Share on other sites

For Perl :

Protect your valuable Perl source code from the prying eyes of the casual user! pENC's innovative encryption system allows certain types+ of perl script to be not only encrypted once. but multiple times!

You can find it at: http://forums.xisto.com/no_longer_exists/

 

Also you can read more about perl source encryption here: http://forums.xisto.com/no_longer_exists/

 

For Python

No clue

 

Cheers!

Share this post


Link to post
Share on other sites

Perl programs can't be hidden that well to my knowledge. If you need really protected code, use C or C++ which must be compiled. Perl is a good beginner's lanuage, and is great because of CGI support. I do not know of a way to encrypt perl though. One way could be to make the directories of a program be executable only.

Share this post


Link to post
Share on other sites

Python can produce *.pyc file for every *.py file. It is a bytecode so it's pretty unreadable althou it's done to load faster. There are also *.pyo files, but they can cause trouble.Other thing is to produce *.exe executable from *.py. It can be done for Windows but not for Linux AFAIK.Hope that helps

Share this post


Link to post
Share on other sites

hello freedomjazzdance I don't know if you have already figured out how to compile them on your own but i'll try and help anyways ;) for python download py2exe http://py2exe.org/ it is completly free but it includes a mini version of the python environment making a script a little larger then it should then to compile it just make a python file like:import py2exesetup(console=['program.py'])then for perl it costs money :( but it has a free 21 day trial :D enough time to compile any projects you want to release ;) download PDK(perl dev kit) from here: http://www.activestate.com/perl-dev-kit program explains itself ;) good luck also can compile for any os just not windows making your appication multiplatform ;)~calebFTW

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.