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
any number
of parameters.
Any assistance with these two questions will be greatly appreciated!
Thanks!
googleboy
--
http://mail.python.org/mailman/listinfo/python-list
having to go about it in such a laborious fashion
Would someone be so kind as to fill me in?
TIA!
googleboy
--
http://mail.python.org/mailman/listinfo/python-list
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
r at the end of the next word
after an arbitrary 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
t = csv.writer(t, dialect='excel', delimiter='|')
output.writerows()
#output.writerows(image)
#output.writerow(image)
t.close()
This returns an error that says "Error: sequence expected"
My understanding of this is that I am creatin
een that before.
Thanks for the response.
:-)
Googleboy
--
http://mail.python.org/mailman/listinfo/python-list
enBSD box running python 2.3, it
just worked on the unix box.
Find below 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 r
.cx/publish/programming/regular_expressions.html
HTH
googleboy
--
http://mail.python.org/mailman/listinfo/python-list
oks/cgi/form.py
File "/var/www/users/senta/html/gobooks/cgi/form.py", line 99
msg = ("From: %s\r\nTo: %s\r\nSubject: %s\r\n\r\n Feedback:
%s\r\n\r\n" %
^
SyntaxError: invalid syntax
Just a simple assignation I did think it might have been an
indentation error, but I changed that around and got a message telling
me about an indentation problem, which this doesn't do.
I have tried several different ways to assign the values, as you can
see by the commented out lines. Tried getting the values directly from
teh form, and also from the validated rev_fields dictionary. I'd be
extremely grateful to anyone who helps me through this.
TIA
Googleboy
--
http://mail.python.org/mailman/listinfo/python-list
working and doing most
of what I want. It is just the last bits that I can't figure out, and
the tutes don't seem to cover the stuff I am trying to do.
O well, I guess I 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
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://mail.python.org/mailman/listinfo/python-list
idden" and fix the indentation 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 " ERROR! "
print "Please go back and fill in all fie
uthor1
variable, which I was my problem.
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
re that the
answer to that was something I found in the tute, or it will be in my
deitel python book somewhere... The hard bit is part one (assigning
the value of a field to a variable)
Thanks for your help.
Googleboy
--
http://mail.python.org/mailman/listinfo/python-list
the filename field for
each book. 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
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
erator.attrgetter("author", "title")
but they both give errors.
Is this where using cmd functions instead of keys becomes necessary?
Thanks!
googleboy
--
http://mail.python.org/mailman/listinfo/python-list
ort(key=lambda i:i[4])
Traceback (most recent call last):
File "", line 1, in ?
File "", line 1, in
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
;t get an excuse to
write code 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
so I 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
21 matches
Mail list logo