Re: Now for something completely different...

2022-05-22 Thread MRAB
On 2022-05-23 00:30, Chris Angelico wrote: On Mon, 23 May 2022 at 09:19, Skip Montanaro wrote: That's not too informative (other than its relationship to moi), and I have room for probably four or five more characters. (I have a graphic artist in mind, so the space need not strictly be text eit

Re: Now for something completely different...

2022-05-22 Thread Chris Angelico
On Mon, 23 May 2022 at 09:19, Skip Montanaro wrote: > That's not too informative (other than its relationship to moi), and I have > room for probably four or five more characters. (I have a graphic artist in > mind, so the space need not strictly be text either.) Aww, not enough room to say "stra

Re: Now what!?

2008-05-12 Thread Marco Mariani
notbob wrote: frustrated and give up on learning programming, not really caring much for coding, anyway. But, dammit, I'm gonna stick with it this time. I'll learn python if it kills me! No, it won't kill you but make you stronger ;) -- http://mail.python.org/mailman/listinfo/python-list

Re: Now what!?

2008-05-10 Thread Rilindo Foster
I don't know the context of the discussion, since I just joined the list, but: On May 10, 2008, at 11:05 PM, hdante wrote: On May 10, 8:22 pm, notbob <[EMAIL PROTECTED]> wrote: On 2008-05-10, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: So... in short, you'd need to have been reading a

Re: Now what!?

2008-05-10 Thread castironpi
On May 10, 10:05 pm, hdante <[EMAIL PROTECTED]> wrote: > On May 10, 8:22 pm, notbob <[EMAIL PROTECTED]> wrote: > > > On 2008-05-10, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: > > > >    So... in short, you'd need to have been reading a tutorial specific > > > to "shell" scripting... > > > I have

Re: Now what!?

2008-05-10 Thread notbob
On 2008-05-11, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: > on the Amiga, it could be any of those applications). ahhh the Amiga, the demise of which was one of the great calamaties of our cyber time. (sniff) nb -- http://mail.python.org/mailman/listinfo/python-list

Re: Now what!?

2008-05-10 Thread hdante
On May 10, 8:22 pm, notbob <[EMAIL PROTECTED]> wrote: > On 2008-05-10, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: > > >    So... in short, you'd need to have been reading a tutorial specific > > to "shell" scripting... > > I have been.  I'm also trying to learn bash shell scripting, not to mentio

Re: Now what!?

2008-05-10 Thread notbob
On 2008-05-10, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: > So... in short, you'd need to have been reading a tutorial specific > to "shell" scripting... I have been. I'm also trying to learn bash shell scripting, not to mention sed/awk, php, etc. I should have started this a long time

Re: Now what!?

2008-05-10 Thread Patrick Mullen
On Sat, May 10, 2008 at 3:57 PM, Grant Edwards <[EMAIL PROTECTED]> wrote: > On a Linux system (and I presume on other Unixes), the kernel > itself (if built with the proper options) knows know how start > a "script" file that starts with the characters "#!". When the > kernel is told to execute a

Re: Now what!?

2008-05-10 Thread Grant Edwards
On 2008-05-10, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: >> These are the minute details that bedevil the poor noob. I've >> read dozens of tutorials on different prog langs and have >> never read a single thing on white space or blank lines >> preceding a shebang. Till now. I always get > >

Re: Now what!?

2008-05-10 Thread notbob
On 2008-05-10, notbob <[EMAIL PROTECTED]> wrote: > BTW, anyone know a better cli news client/editor combo than slrn/jed (don't > even think vi!)? When I cp/past code (or most anything else) to jed, all > the lines become stair-stepped. This is no biggie for a most stuff, but for > idented code,

Re: Now what!?

2008-05-10 Thread notbob
On 2008-05-10, Ivan Illarionov <[EMAIL PROTECTED]> wrote: > Shebang is certainly broken, possible causes: > 1. Wrong line endings (should be \n) Nope. Not it. > 2. Whitespace before the shebang BINGO! we have a winner. ;) I thought for sure that was not correct. No white space before t

Re: Now what!?

2008-05-10 Thread Ivan Illarionov
On 10 май, 21:22, notbob <[EMAIL PROTECTED]> wrote: > On 2008-05-10, Diez B. Roggisch <[EMAIL PROTECTED]> wrote: > > > notbob schrieb: > >> script the same way ($ ./helloworld) and it works fine. Same shebang, same > >> dir, same permission, etc. > > > I'm pretty sure you misse the correct shebang

Re: Now what!?

2008-05-10 Thread notbob
On 2008-05-10, Diez B. Roggisch <[EMAIL PROTECTED]> wrote: > notbob schrieb: >> script the same way ($ ./helloworld) and it works fine. Same shebang, same >> dir, same permission, etc. > > I'm pretty sure you misse the correct shebang - Sorry. Both exactly the same. I checked 5 times. hello

Re: Now what!?

2008-05-10 Thread Matias Surdi
Diez B. Roggisch escribió: notbob schrieb: Grrr I'm following A Byte of Python and into the while loops chap. I cp/paste while.py to a file and give 777 perms. I mv while.py to while and run it (./while) as a standalone script. I get errors. Here is the script: while.py http://www.i

Re: Now what!?

2008-05-10 Thread Diez B. Roggisch
notbob schrieb: Grrr I'm following A Byte of Python and into the while loops chap. I cp/paste while.py to a file and give 777 perms. I mv while.py to while and run it (./while) as a standalone script. I get errors. Here is the script: while.py http://www.ibiblio.org/swaroopch/byteofpy

Re: Now()

2007-04-28 Thread Hendrik van Rooyen
"Carsten Haese" <[EMAIL PROTECTED]> wrote: > On Thu, 2007-04-26 at 08:42 +0200, Hendrik van Rooyen wrote: > > Robert Rawlins - Think Blue wrote: > > >With time depicted to the nearest second, from my background in ColdFusion > > development we used to have a >datetimeformat() function that I co

Re: Now()

2007-04-26 Thread Carsten Haese
On Thu, 2007-04-26 at 08:42 +0200, Hendrik van Rooyen wrote: > Robert Rawlins - Think Blue wrote: > >With time depicted to the nearest second, from my background in ColdFusion > development we used to have a >datetimeformat() function that I could use as > > > >DateTimeFormat(now(), -mm-dd HH:

Re: Now()

2007-04-26 Thread Hendrik van Rooyen
Robert Rawlins - Think Blue wrote: >With time depicted to the nearest second, from my background in ColdFusion development we used to have a >datetimeformat() function that I could use as > >DateTimeFormat(now(), “-mm-dd HH:mm:ss”) > >Which would give the current time a mask. Here is a hack

Re: Now()

2007-04-25 Thread Frank Millman
On Apr 25, 2:01 pm, Tim Golden <[EMAIL PROTECTED]> wrote: > Robert Rawlins - Think Blue wrote: > > > I'm using the following function 'str (now)' to place a date time stamp into > > a log file, which works fine, however it writes the stamp like this. > > 2007-04-25 11:06:53.873029 > > But I need to

Re: Now()

2007-04-25 Thread Tim Golden
Robert Rawlins - Think Blue wrote: > I'm using the following function 'str (now)' to place a date time stamp into > a log file, which works fine, however it writes the stamp like this. > 2007-04-25 11:06:53.873029 > But I need to expel those extra decimal places as they're causing problems > wit

Re: Now()

2007-04-25 Thread Daniel Nogradi
> I'm using the following function 'str (now)' to place a date time stamp into > a log file, which works fine, however it writes the stamp like this. > > 2007-04-25 11:06:53.873029 > > But I need to expel those extra decimal places as they're causing problems > with the application that parses the