How would you go about creating a heap of shortcuts to a batch file?

2006-09-17 Thread googleboy
to apply the icon for an application at n:\path\to\application\app.exe At the moment I am looking like having to do this with VB, but I am trying hard to leave that behind for evermore. TIA googleboy -- http://mail.python.org/mailman/listinfo/python-list

A question about searching with multiple strings

2005-10-21 Thread googleboy
appreciated! Thanks! googleboy -- http://mail.python.org/mailman/listinfo/python-list

list.join()... re.join()...? Do they exist? (newbie questions...)

2005-10-01 Thread googleboy
Would someone be so kind as to fill me in? TIA! googleboy -- http://mail.python.org/mailman/listinfo/python-list

Newbie regular expression and whitespace question

2005-09-22 Thread googleboy
number of characters. I am reading in to a script a bunch of paragraphs formatted for a webpage, but they're all on one big long line and I would like to split them for readability. TIA Googleboy -- http://mail.python.org/mailman/listinfo/python-list

Re: Newbie regular expression and whitespace question

2005-09-22 Thread googleboy
Thanks for the great positive responses. I was close with what I was trying, I guess, but close only counts in horseshoes and um.. something else that close counts in. :-) googleboy -- http://mail.python.org/mailman/listinfo/python-list

Python CSV writer confusion.

2005-09-15 Thread googleboy
: sequence expected My understanding of this is that I am creating a list of lists and I am iterating over it (for image in images), and that image is a list, and is therefore iterable...? I am a bit new at this, and would greatly appreciate any assistance. TIA googleboy -- http://mail.python.org

Confused newbie needs help with __init__() takes exactly 11 arguments (1 given)

2005-08-18 Thread googleboy
an the code and an example of the csv file in question. TIA googleboy - param1,param2,param3,param4,param5,param6,param7,param8,param9,comments data1,data2,data3,data4,data5,data6,data7,data8,data9,Comments on the item reviewed go here. Sometime, but not all the time, there might be extra

Confused newbie needs help with __init__() takes exactly 11 arguments (1 given)

2005-08-18 Thread googleboy
. Thanks for the response. :-) Googleboy -- http://mail.python.org/mailman/listinfo/python-list

cgi form validation problems

2005-08-14 Thread googleboy
be extremely grateful to anyone who helps me through this. TIA Googleboy -- http://mail.python.org/mailman/listinfo/python-list

Re: Parsing a log file

2005-08-14 Thread googleboy
/regular_expressions.html HTH googleboy -- http://mail.python.org/mailman/listinfo/python-list

Some newbie cgi form questions...

2005-08-07 Thread googleboy
this works pretty much as I expect. TIA Googleboy print 'Content-type: text/html\n\n' print htmlheader for key in form.keys(): if not form.has_key(key): print h1 ERROR! h1BR print Please go back and fill in all fields. All fields are required.br break print You entered

Re: Some newbie cgi form questions...

2005-08-07 Thread googleboy
last): File /var/www/users/senta/html/gobooks/cgi/form.py, line 35, in ? if not form.keys()[key]: TypeError: list indices must be integers As you can see, I am using python 2.3 (my web service provider is responsible for this - I'd use 2.4.1 if I could) TIA googleboy -- http

Re: Some newbie cgi form questions...

2005-08-07 Thread googleboy
will go bang my head against it or a few more days and then hopefully an answer will show up in my brain somewhere. Thanks for your help. Googleboy. -- http://mail.python.org/mailman/listinfo/python-list

Re: more newbie list questions

2005-07-14 Thread googleboy
. Googleboy -- http://mail.python.org/mailman/listinfo/python-list

Re: more newbie list questions

2005-07-14 Thread googleboy
. It is finding my search string at teh 47th character of the sTemplate string, which is great. But it doesn't seem to want to replace the search string with the value of the author1 variable. Is there something else I am missing here? Thanks for the advice. regards, googleboy -- http

more newbie list questions

2005-07-13 Thread googleboy
. Is it possible to do some sort of search and replace like that over a command within python? Or is there another way entirely different to accomplish such a task, like maybe assigning the path/filename to a variable... ? TIA! Googleboy -- http://mail.python.org/mailman/listinfo/python-list

Re: what is the best way to determine system OS?

2005-05-15 Thread googleboy
I did somethign that really seems far brighter... approaching it from a slightly different angle I just search through each line for the right field title, and then take that field's value from teh last line of output. Doesn't matter what OS, doesn't matter what format now. It can cope with it

Re: how can I sort a bunch of lists over multiple fields?

2005-04-28 Thread googleboy
. Is this where using cmd functions instead of keys becomes necessary? Thanks! googleboy -- http://mail.python.org/mailman/listinfo/python-list

how can I sort a bunch of lists over multiple fields?

2005-04-27 Thread googleboy
, in ? File interactive input, line 1, in lambda IndexError: string index out of range (I was hoping for similar things) would you be so kind as to point me in the right direction? THanks! googleboy -- http://mail.python.org/mailman/listinfo/python-list

what is the best way to determine system OS?

2005-04-25 Thread googleboy
need to be able to determine not simply Linux but to know exactly what unix the script is being run on. What is the best way to determine this? Thanks! googleboy -- http://mail.python.org/mailman/listinfo/python-list

Re: what is the best way to determine system OS?

2005-04-25 Thread googleboy
very often so it is probably quite lame. B) I will have a look at platform and see what I can come up with. Delving into libraries seems a little bit much for my current level (though lots of fun). Thanks for the responses! googleboy -- http://mail.python.org/mailman/listinfo/python-list