Just in case anyone else finds it useful, to be precise I use:
if opts.man:
p1 = Popen(["echo", __doc__], stdout=PIPE)
p2 = Popen(["pod2man"], stdin=p1.stdout, stdout=PIPE)
p3 = Popen(["nroff","-man"], stdin=p2.stdout, stdout=PIPE)
output = p3.co
On Mon, Mar 30, 2009 at 10:54:56PM -0700, Niklas Norrthon wrote:
> I make sure my scripts are on the form:
>
> # imports
> # global initialization (not depending on sys.argv)
> def main():
> # initialization (might depend on sys.argv)
> # script logic
> # other functions
> if __name__ == '
Dale Amon wrote:
On Mon, Mar 30, 2009 at 08:11:10PM -0500, Dave Angel wrote:
I don't know what Idle has to do with it. sys.args contains the command
line arguments used to start a script.
Dale Amon wrote:
I wonder if someone could point me at documentation on how to debug
some of the standa
On 31 Mar, 01:16, Dale Amon wrote:
> I wonder if someone could point me at documentation
> on how to debug some of the standard Unix type things
> in Idle. I cannot seem to figure out how to set my
> argument line for the program I am debugging in an Idle
> window. for example:
>
> vlmdeck
On Mon, Mar 30, 2009 at 09:47:24PM -0500, Dave Angel wrote:
> See http://docs.python.org/library/idle.html and search for command line
>
> According to that page (for Python 2.6.1), you can set those parameters
> on the command line that starts IDLE itself.
>
> I haven't tried it yet, as I'm u
En Mon, 30 Mar 2009 23:47:24 -0300, Dave Angel
escribió:
See http://docs.python.org/library/idle.html and search for command
line
According to that page (for Python 2.6.1), you can set those parameters
on the command line that starts IDLE itself.
Well, that's not terribly useful, I'
See http://docs.python.org/library/idle.html and search for command line
According to that page (for Python 2.6.1), you can set those parameters
on the command line that starts IDLE itself.
I haven't tried it yet, as I'm using Komodo.
Dale Amon wrote:
On Mon, Mar 30, 2009 at 08:11:10PM -0
Gabriel Genellina wrote:
En Mon, 30 Mar 2009 22:21:12 -0300, Dale Amon escribió:
vlmdeckcheck.py --strict --debug file.dat
There must be a way to tell it what the command line args
are for the test run but I can't find it so far.
The line above represent what I want to emulate within id
En Mon, 30 Mar 2009 22:21:12 -0300, Dale Amon escribió:
vlmdeckcheck.py --strict --debug file.dat
There must be a way to tell it what the command line args
are for the test run but I can't find it so far.
The line above represent what I want to emulate within idle.
If you run idle, s
On Mon, Mar 30, 2009 at 08:11:10PM -0500, Dave Angel wrote:
> I don't know what Idle has to do with it. sys.args contains the command
> line arguments used to start a script.
>
> Dale Amon wrote:
>> I wonder if someone could point me at documentation on how to debug
>> some of the standard Unix
let run-cmd be used why go for IDLE
2009/3/31 Dale Amon
> I wonder if someone could point me at documentation
> on how to debug some of the standard Unix type things
> in Idle. I cannot seem to figure out how to set my
> argument line for the program I am debugging in an Idle
> window. for examp
I don't know what Idle has to do with it. sys.args contains the command
line arguments used to start a script.
Dale Amon wrote:
I wonder if someone could point me at documentation
on how to debug some of the standard Unix type things
in Idle. I cannot seem to figure out how to set my
argume
12 matches
Mail list logo