Re: [Tutor] what does it mean?

2006-11-13 Thread Richard Gelling
Registered Linux User : 256848 Failure isn't an option -- it comes bundled with Microsoft Windows -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kristinn Didriksson Sent: 13 November 2006 16:51 To: tutor@python.org Subject: [Tutor] what does it mean?

[Tutor] any help with this piece of code

2005-05-12 Thread Richard gelling
he file name cannot be found in the list, what am I missing? Richard Gelling ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] sys.argv[1: ] help

2005-02-28 Thread Richard gelling
pyc While you're at it, you should also check the assoc/ftype for .pyw as .pyw=Python.NoConFile Python.NoConFile="C:\Python24\pythonw.exe" "%1" %* Good luck, Jeff -Original Message- From: Richard gelling [mailto:[EMAIL PROTECTED] Sent: Sunday, February 27, 2005

Re: [Tutor] sys.argv[1: ] help

2005-02-27 Thread Richard gelling
t's associated with pythonw or python.exe GL, Liam Clarke On Sun, 27 Feb 2005 18:28:18 +, Richard gelling <[EMAIL PROTECTED]> wrote: Hi, Yes, I use both Wndows XP and Linux( at work ) . I left that in by mistake I am actually just typing in arg1,py a b c at the windows XP command pr

Re: [Tutor] sys.argv[1: ] help

2005-02-27 Thread Richard gelling
t's associated with pythonw or python.exe GL, Liam Clarke On Sun, 27 Feb 2005 18:28:18 +, Richard gelling <[EMAIL PROTECTED]> wrote: Hi, Yes, I use both Wndows XP and Linux( at work ) . I left that in by mistake I am actually just typing in arg1,py a b c at the windows XP command pr

Re: [Tutor] sys.argv[1: ] help

2005-02-27 Thread Richard gelling
a or something that runs Python and stick it in a directory that's in your PATH system variable. Only problem with that is passing command line variables ...might just be better to type python Good Luck, Liam Clarke On Sun, 27 Feb 2005 17:55:54 +, Richard gelling <[EMAIL PROTECTED]&

Re: [Tutor] sys.argv[1: ] help

2005-02-27 Thread Richard gelling
Hi, No What I get if I was to type in ./arg1.py a b c All I get is [] If i type at the command prompt python arg1.py a b c I get ['a','b','c'] as expected All the other programs and examples I have typed in work fine just by typing in the file name, I don't have to preced the file name with pyt

Re: [Tutor] sys.argv[1: ] help

2005-02-27 Thread Richard gelling
Danny Yoo wrote: I am reading ' Learning Python second edition' by Mark Lutz and David Ascher, and I trying the code examples as I go along. However I am having a problem with the following, which I don't seem to be able to resolve :- # test.py import sys print sys[ 1: ] This I believe

[Tutor] sys.argv[1: ] help

2005-02-25 Thread Richard gelling
Hi, I am reading ' Learning Python second edition' by Mark Lutz and David Ascher, and I trying the code examples as I go along. However I am having a problem with the following, which I don't seem to be able to resolve :- # test.py import sys print sys[ 1: ] This I believe is supposed to prin