get the /a command to
work.
I don't know what the /a command is, please give more details.
I get an elongated 0 in my Python interpreter, but no sound.
Sound? Maybe you meant
print \a
?
Michael
___
Tutor maillist - Tutor@python.org
perhaps populate the entry-widgets.
HTH
Ewald
Or use the fileinput module:
var_list = []
for line in fileinput.input(filename):
var = Tkinter.StringVar()
var.set(line)
var_list.append(var)
Best regards
Michael
on Tue, 1 Mar 2005 09:22:06 + Adam Cripps [EMAIL
On Sat, 26 Feb 2005 19:48:25 +
Adam Cripps [EMAIL PROTECTED] wrote:
On Fri, 25 Feb 2005 12:21:18 +0100, Michael Lange
snip
You see, in my example above I called the list buttonlist instead of
button; maybe this naming
helps avoid confusion .
Best regards
Michael
Many
None,
so you would have: None = Button(text=buttonlabel) which is probably not what
you intended.
You see, in my example above I called the list buttonlist instead of
button; maybe this naming
helps avoid confusion .
Best regards
Michael
___
Tutor
On Thu, 24 Feb 2005 07:51:04 -0500
Kent Johnson [EMAIL PROTECTED] wrote:
Michael Lange wrote:
I *thought* I would have to convert the user input which might be any
encoding back into
byte string first
How are you getting the user input? Is it from the console or from a GUI?
It's
, and then select the
file from the Advanced tab in Safari's Preferences. I don't know
about other browsers, but the same sort of thing is almost certainly
possible.
Cheers, Michael
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo
filename to /somepath/A\xe4.wav works but /somepath/\xe4.wav
not).
I'm really lost here, so any further hints are very appreciated.
Thanks and best regards
Michael
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
sys.setdefaultencoding('latin-1')
Kent
Unfortunately the latter is no option, because I definitely need portability. I
guess I should probably use
utf-8.
Thanks and best regards
Michael
##
Error: 1
hope that someone
here can give me a hint.
Thanks in advance and best regards
Michael
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
that the decimal type is what you need. As I
understand it, it allows you to specify the precision of your number,
so 1 will be come out as to 1. and not 1.0001 (or
whatever). I'm not using 2.4 myself yet, so ask the list if you need
examples or explanation.
Michael
On Tue, 22 Feb 2005 21:25:41
contents
or simply:
def go():
print e.get()
I hope this helps
Michael
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
. Then translate from
current-intervall-number to pi'ish (sorry for that, my english ;-)
value.
regards
Michael
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
) default; tk
guarantees that at least 'times',
'helvetica' and 'courier' font families are available, the availability of
other fonts depends on your system.
I hope this helps
Michael
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman
spaces
sys.stdout.write(\033[D* (length))
sys.stdout.flush()
time.sleep(.5)
regards
Michael
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Clash of the Titans
From Dive into Python:
__init__ is called immediately after an instance of the class is
created. It would be tempting but incorrect to call this the
constructor of the class. It's tempting, because it looks like a
constructor (by convention, __init__ is the first method
Michael
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
On Mon, Jan 10, 2005 at 12:15:18PM -0800, kumar s wrote:
Dear group,
I have written a small piece of code that takes a file
and selects the columns that I am interested in and
checks the value of the column on a condition (value
that eqauls 25) and then write it the to another file.
Hi David...
You need to explicitly name your form element to inputkey to make
your current code work correctly. ( Based on what you have shown
below.)
Or, to make the code correct, change inputkey to language.
Remember that the name in each form element becomes the key in the
key/value pairs
though.
I'm assuming your python is in /usr/bin. And that is a hash mark
followed by an exclamation point. This is called hash bang in
uningo.
John Purser
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Patric Michael Sent: Tuesday
On Mon, Jan 03, 2005 at 10:04:18PM -0200, Jorge Luiz Godoy Filho wrote:
Alan Gauld, Segunda 03 Janeiro 2005 21:56, wrote:
Oops, those should have been () not {}
I always do the same mistake ;-) Using {} seems more intuitive to me.
perhaps because of ${var} shell syntax? ;-)
mp
Hi folks...
I was thinking about this the other day while prepping to write up
another CGI thing.
It occurred to me to wonder how other folks prepare an app, script,
whatever.
So the question is, and I am not looking for a right answer here. (I
doubt ther eis one, to be honest.)
How do you
Also, anything I can do... Presently, since I'm running windows xp, I
would have to hunt for the command prompt and type in the command
Click Start, click Run, type CMD, press Enter.
Voila! :)
Patric
'C:\python24\python.exe C:\documents and
settings\jacob\desktop\working python
No
programming knowledge required!
which looked very promising to me back then.
A happy new year to all of you
Michael
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Hi,
I've passed this through the interperter line-by-line, yet still can't
get it to work right.
The first time the cgi driver script initiates it runs the login
function which renders a zpt. Upon submission of their vitals, the
I'm not sure what a zpt is, but it sounds like the form
Hi Jacob...
But who are you all, what are you're ages, what do you do, marriage
status, etc? You obviously don't have to answer, I'm just curious who
I'm boldly sending emails to.
I figure since I bit the bullet and actually posted a reply, I best answer
this as well in the faint hope of why
Snip
Sorry for the delay but I was busy with soemthing else.
The script prints the values of the variables fine in the
browser so there must be a problem with the file writing part.
When I run the script from my bash shell it creates the videodb
database file, but when I run it from the
701 - 726 of 726 matches
Mail list logo