Barak, Ron wrote:
-Original Message-
From: Dave Angel [mailto:da...@ieee.org]
Sent: Sunday, August 02, 2009 12:36
To: Barak, Ron
Cc: 'python-list@python.org'
Subject: Re: Run pyc file without specifying python path ?
Barak, Ron wrote:
Hi Dave,
It seems like I don
Barak, Ron wrote:
Hi Dave,
It seems like I don't understand your solution.
I use the (appatched) soapAPI.py as the wrapper to parsing.pyc.
However, if I do (for instance):
$ python -u parsing.pyc -U aaa
The last line of the output is (as expected):
return_code: 12 ; params: {'username': 'aaa'
> -Original Message-
> From: Dave Angel [mailto:da...@dejaviewphoto.com]
> Sent: Thursday, July 30, 2009 20:08
> To: Barak, Ron
> Cc: 'python-list@python.org'
> Subject: Re: Run pyc file without specifying python path ?
>
> Barak, Ron wrote:
> > Hi
On Jul 30, 4:47 pm, "Barak, Ron" wrote:
> > -Original Message-
> > From: Dave Angel [mailto:da...@dejaviewphoto.com]
> > Sent: Thursday, July 30, 2009 16:03
> > To: Barak, Ron
> > Cc: 'Dave Angel'; 'python-l...@python.org'
> -Original Message-
> From: Dave Angel [mailto:da...@dejaviewphoto.com]
> Sent: Thursday, July 30, 2009 16:03
> To: Barak, Ron
> Cc: 'Dave Angel'; 'python-list@python.org'
> Subject: RE: Run pyc file without specifying python path ?
>
>
In article ,
Chris Rebert wrote:
>
>No, with the shebang line (and assuming execute permissions on the
>file), it would look like:
>
>./wrapper.py
There's no reason to name it ".py"; you can have a perfectly useful
"shell script" that just happens to list python on the shebang line
instead of th
En Thu, 30 Jul 2009 12:16:46 -0300, Unknown
escribió:
On 2009-07-30, Barak, Ron wrote:
On second thoughts, I may have a problem implementing the
wrapper solution, because my actual test_pyc.pyc, needs to
parse its command line. Namely, the actual call to
test_pyc.pyc looks something like th
#x27;s an
obvious answer, I just cannot figure it out).
Bye,
Ron.
-Original Message-
From: Dave Angel [mailto:da...@dejaviewphoto.com]
Sent: Thursday, July 30, 2009 16:03
To: Barak, Ron
Cc: 'Dave Angel'; 'python-list@python.org'
Subject: RE: Run
On 2009-07-30, Barak, Ron wrote:
> Hi Dave,
>
> On second thoughts, I may have a problem implementing the
> wrapper solution, because my actual test_pyc.pyc, needs to
> parse its command line. Namely, the actual call to
> test_pyc.pyc looks something like this:
>
> $ python test_pyc.py -U dave -P
ious answer, I just cannot figure it out).
Bye,
Ron.
> -Original Message-
> From: Dave Angel [mailto:da...@dejaviewphoto.com]
> Sent: Thursday, July 30, 2009 16:03
> To: Barak, Ron
> Cc: 'Dave Angel'; 'python-list@python.org'
> Subject: RE: Run pyc f
On 2009-07-30, Dave Angel wrote:
> Steven makes some good points. You have to define what level
> of clever you're protecting from. A determined hacker will
> get in no matter what you do, unless you want to ship the
> program in a proprietary embedded system, encased in epoxy.
That won't stop
Barak, Ron wrote:
-Original Message-
From: Dave Angel [mailto:da...@ieee.org]
Sent: Wednesday, July 29, 2009 21:05
To: Barak, Ron
Cc: 'python-list@python.org'
Subject: Re: Run pyc file without specifying python path ?
Barak, Ron wrote:
Hi,
I wanted to make a python
On 30 jul 2009, at 12:57, Chris Rebert wrote:
On Thu, Jul 30, 2009 at 3:42 AM, Barak, Ron wrote:
From: PythonAB [mailto:pyt...@rgbaz.eu]
Sent: Thursday, July 30, 2009 12:18
To: Barak, Ron
Cc: 'Dave Angel'; 'python-list@python.org'
Subje
On Thu, Jul 30, 2009 at 3:42 AM, Barak, Ron wrote:
>
>
>
> From: PythonAB [mailto:pyt...@rgbaz.eu]
> Sent: Thursday, July 30, 2009 12:18
> To: Barak, Ron
> Cc: 'Dave Angel'; 'python-list@python.org'
> Subject: Re:
From: PythonAB [mailto:pyt...@rgbaz.eu]
Sent: Thursday, July 30, 2009 12:18
To: Barak, Ron
Cc: 'Dave Angel'; 'python-list@python.org'
Subject: Re: Run pyc file without specifying python path ?
Hi Dave,
Your solution sort of defeats my int
On Thu, 30 Jul 2009 07:01:28 +0100, Barak, Ron wrote:
> I wanted my application to "hide" the fact that it's a python script,
> and look as much as possible like it's a compiled program.
What do you think the "c" in .pyc stands for?
What it's not is a compiled to machine-code stand alone executa
Barak, Ron wrote:
> Your solution sort of defeats my intended purpose (sorry for not divulging my
> 'hidden agenda').
> I wanted my application to "hide" the fact that it's a python script, and
> look as much as possible like it's a compiled program.
> The reason I don't just give my user a py fi
Hi Dave,
Your solution sort of defeats my intended purpose (sorry for not
divulging my 'hidden agenda').
I wanted my application to "hide" the fact that it's a python
script, and look as much as possible like it's a compiled program.
The reason I don't just give my user a py file, is that I
> -Original Message-
> From: Dave Angel [mailto:da...@ieee.org]
> Sent: Wednesday, July 29, 2009 21:05
> To: Barak, Ron
> Cc: 'python-list@python.org'
> Subject: Re: Run pyc file without specifying python path ?
>
> Barak, Ron wrote:
> > Hi,
>
Barak, Ron wrote:
Hi,
I wanted to make a python byte-code file executable, expecting to be able to run it
without specifying "python" on the (Linux bash) command line.
So, I wrote the following:
[r...@vmlinux1 python]# cat test_pyc.py
#!/usr/bin/env python
print "hello"
[r...@vmlinux1 python
20 matches
Mail list logo