Python {executable templates from XSLT, code generation tool}

2014-12-15 Thread Jean-Baptiste Braun
Hi, I'm searching a tool to translate an xsl file to executable python code. I know how to execute xslt with python. What I want is to process my xslt rules *in* python. Example : Mr Mrs I would like it to be translated in a python test statement. Does anyone know something like this ? Or

Re: Stand-Alone Python Executable Skeletons

2012-02-15 Thread Chris Rebert
On Wed, Feb 15, 2012 at 2:43 PM, Calvin Spealman wrote: > I've recently been looking into different options to package python > code into stand-alone executables, with tools like Py2EXE and > PyInstaller, but I'm left feeling a little lost. Documentation seems > sparse on all of them, the setups a

Stand-Alone Python Executable Skeletons

2012-02-15 Thread Calvin Spealman
I've recently been looking into different options to package python code into stand-alone executables, with tools like Py2EXE and PyInstaller, but I'm left feeling a little lost. Documentation seems sparse on all of them, the setups a little unusual to me. It feels like they could be a lot simpler,

Re: Finding the right Python executable on Windows

2011-01-26 Thread Geoff Bache
#x27;t work due to this "native launcher", you could > try something like this: >>>> import os >>>> import sys >>>> full_path = None >>>> for path in sys.path: > ...     full = os.path.join(path, "python.exe") > ...     if os.pa

Re: Finding the right Python executable on Windows

2011-01-25 Thread Brian Curtin
On Tue, Jan 25, 2011 at 04:25, Geoff Bache wrote: > Hi all, > > I have a Python process on Windows and would like to start a Python > subprocess using the same interpreter. I wonder how to go about this? > > First, I tried the obvious > > subprocess.Popen([ sys.executable, "subproc.py", ... ]) >

Finding the right Python executable on Windows

2011-01-25 Thread Geoff Bache
Hi all, I have a Python process on Windows and would like to start a Python subprocess using the same interpreter. I wonder how to go about this? First, I tried the obvious subprocess.Popen([ sys.executable, "subproc.py", ... ]) but that fails, because my process has a "native launcher", (i.e.

Re: Compile python executable only for package deployment on Linux

2010-07-20 Thread King
Hi Stefan, Well, the idea is similar to package tools like pyinstaller or cx_freeze. There approach is slightly different then what I intend to do here. You have to pass the name of the script to python executable("python main.py") in order to execute it. What I mean here is to cre

Re: Compile python executable only for package deployment on Linux

2010-07-20 Thread Stefan Behnel
ain.py" into an executable. The plan is to rip the unnecessary code from source code that produce python executable such as command line arguments etc, use "main.py" as python string (hardcoded inside executable source) and execute it using "exec" or similar methods and finally

Compile python executable only for package deployment on Linux

2010-07-20 Thread King
cutable. The plan is to rip the unnecessary code from source code that produce python executable such as command line arguments etc, use "main.py" as python string (hardcoded inside executable source) and execute it using "exec" or similar methods and finally creates executable.

Re: help req setting python executable

2010-05-02 Thread D'Arcy J.M. Cain
On Sun, 2 May 2010 12:59:35 +0100 michel parker wrote: > > hi, > i have just installed python3.1 with opt=g option. > but when i set python executable in wingide to usr/local/bin/python3.1 it > says : I don't know anything about wingide but I think your problem is simply a

help req setting python executable

2010-05-02 Thread michel parker
hi, i have just installed python3.1 with opt=g option. but when i set python executable in wingide to usr/local/bin/python3.1 it says : Some values are invalid: - Python executable 'usr/local/bin/python3.1' is not in path Please correct the values and try again. Please help. What i

Creating a single python executable file

2008-08-07 Thread A. Joseph
I have used py2exe and it create .exe file with so many other files, but what i really want is, creating just a single file, imagine writing a small email sending program and after using py2exe you have many file with the your source code zipped side, if there is a way of making it a single executa

Re: How to avoid reverse code engineering of a python executable

2007-08-08 Thread Ben Finney
NicolasG <[EMAIL PROTECTED]> writes: > Now I want to proceed a little bit further asking how can I avoid > (or at least make it difficult) for some one to extract my code by > using reverse code engineer techniques? I came on pyobfuscate but I > would like more suggestions and guide to achieve th

Re: How to avoid reverse code engineering of a python executable

2007-08-08 Thread Diez B. Roggisch
Marc 'BlackJack' Rintsch wrote: > On Wed, 08 Aug 2007 11:40:28 +, NicolasG wrote: > >> Couple of day's ago I asked for your help on how to create a single >> file of a python executable. Now I want to proceed a little bit >> further asking how can I av

Re: How to avoid reverse code engineering of a python executable

2007-08-08 Thread Marc 'BlackJack' Rintsch
On Wed, 08 Aug 2007 11:40:28 +, NicolasG wrote: > Couple of day's ago I asked for your help on how to create a single > file of a python executable. Now I want to proceed a little bit > further asking how can I avoid (or at least make it difficult) for > some one to extract

How to avoid reverse code engineering of a python executable

2007-08-08 Thread NicolasG
Hi guy's, Couple of day's ago I asked for your help on how to create a single file of a python executable. Now I want to proceed a little bit further asking how can I avoid (or at least make it difficult) for some one to extract my code by using reverse code engineer techniques?

Re: Python executable

2005-09-06 Thread presentt
Thanks everyone! I think I'm going to stick with Python; at least I know there are some people here willing to help. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python executable

2005-09-05 Thread Jules Dubois
On Monday 05 September 2005 21:54, presentt <[EMAIL PROTECTED]> (<[EMAIL PROTECTED]>) wrote: > So I created a file named helloworld.py, and put in it: > > #! /usr/bin/env python > print "Hello, world!" > > and then used > $ chmod +x helloworld.py > to set the permissions. Finally, I went to my

Re: Python executable

2005-09-05 Thread DogWalker
"presentt" <[EMAIL PROTECTED]> said: >Hello, > >I'm running Ubuntu Linux 5.04. > >I just started teaching myself Python today, and have been reading a >few things to get started. I came across something in one (namely >http://docs.python.org/tut/node4.html#SECTION00422) >that conf

Re: Python executable

2005-09-05 Thread Steve Holden
presentt wrote: > Hello, > > I'm running Ubuntu Linux 5.04. > > I just started teaching myself Python today, and have been reading a > few things to get started. I came across something in one (namely > http://docs.python.org/tut/node4.html#SECTION00422) > that confused me a litt

Python executable

2005-09-05 Thread presentt
Hello, I'm running Ubuntu Linux 5.04. I just started teaching myself Python today, and have been reading a few things to get started. I came across something in one (namely http://docs.python.org/tut/node4.html#SECTION00422) that confused me a little. It says: On