Hi, First, I want to thank those who responded to my question about "the plot module" yesterday. I realize now that the question could have been vague. There is a plot module, simply called "plot," that I am using, and I guess it is not a very widely circulated plotting utility. Anyway, I
Hi,
I have another Tkinter-related question. At the beginning of my program,
a tkinter window is created with six buttons. Each of these buttons is
assigned a function that should be executed only when the button is pressed.
However, it seems that these functions are all executed once w
Hi. What is the best way to learn Python? None of the local schools
near me teach any courses on the topic. Thanks.
--
Cody Houston
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
Hi. What is the best way to learn Python? None of the local schools
near me teach any courses on the topic. Thanks.
--
Cody Houston
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
how can I retrieve a web page using an authenticated proxy?
--
http://mail.python.org/mailman/listinfo/python-list
Python newbie: I've got this simple task working (in about ten
different ways), but I'm looking for the "favoured" and "most Python
like" way.
Forwards I can do this
for t in listOfThings:
print t
Now how do I do it in reverse? In particular, how might I do it if I
only wanted to iterate p
Fredrik Lundh wrote:
> for item in reversed(listOfThings):
Thanks! I was staring so hard at reverse() that I'd completely missed
reversed()
I think I prefer this to listOfThings[::-1]: as it's a little more
readable.
Not that I'm reacting to past bad experience of Perl, you understand
8-)
--
[EMAIL PROTECTED] wrote:
> Python, like it's (evil?) cousin Perl,
Isn't that evil cousin Ruby? Perl's the mad old grandmother in the
attic, spewing out incomprehensible [EMAIL PROTECTED]&% swearing all day.
> can be used as a CGI. If you
> don't have one alre
Simon Forman wrote:
> There's more to it, but that's the basic idea.
This much I knew, but _why_ and _when_ would I choose to use list
comprehension (for good Python style), rather than using a simple
"traditional" loop ?
If I want to generate something that's simply ( [1] + [2] + [3]+... )
the
Hi,
I am a undergraduate physics student, and I have been asked to write some code
in Python for my summer job. Over the past few days, I have been learning
Python and Tkinter, so naturally, I have several questions about the language.
Here's one:
Is there any way to convert a string into an
Thank you for your help. I will post the problem in more detail if I find that
I cannot avoid using exec.
Shankar
- Original Message -
From: Michael Chermside <[EMAIL PROTECTED]>
Date: Friday, June 10, 2005 3:49 pm
Subject: RE: a question from a newcomer to this language
>
I have been trying to learn how to associate keyboard events with actions taken
by a Python program using Tkinter. From what I've read online, it seems that
this is done with the bind methods. In one of my programs, I have included the
following:
self.enternumber = Entry(self)
self.enternumb
I believe the quit function is built in. Anyway, I get the same type of error
if I substitute a function that I have defined.
Shankar
- Original Message -
From: VK <[EMAIL PROTECTED]>
Date: Friday, June 10, 2005 4:53 pm
Subject: Re: bind in Tkinter
> Shankar Iyer ([EMAIL
Thanks!
Your message guided me to the solution to my problem.
Shankar
- Original Message -
From: Markus Weihs <[EMAIL PROTECTED]>
Date: Friday, June 10, 2005 5:01 pm
Subject: Re: bind in Tkinter
> Hi!
>
> If you press a key, a key-event is passed to the function, here
Hi,
Suppose I have a string, sModuleName, that contains the name of a module. I
now want to see what functions are in that module, but if I call
dir(sModuleName), I instead get the list of operations that can be done on a
string. Is there any way to convert the string into a format that I cou
I run a small guild in an on-line MMO (City of Heroes). As part of
this I maintain a roster of our membership and their level and various
in-game statistics. Unfortunately I can't get the data from the MMO
directly. I have been taking screenshots of the in-game roster and
then transcribing it in
Excellent suggestion. I found it. I will see what I can do about some
edge detection to crop the images so that gocr has an easier time of
it.
Thanks
-Duncan
--
http://mail.python.org/mailman/listinfo/python-list
icator of negativity.
Anyway, the more code I write and read the less indentation matters to
me. My brain can now parse akward source correctly far bettter than it
did a few years ago.
All the best,
Opalinski
[EMAIL PROTECTED]
http://www.geocities.com/opalpaweb/
--
http://mail.python.org/mailman/listinfo/python-list
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Diez B. Roggisch
Sent: 22 January 2008 20:22
To: [email protected]
Subject: Re: isgenerator(...) - anywhere to be found?
Jean-Paul Calderone wrote:
> On Tue, 22 Jan 2008 15:15:43 +0100, &quo
4901 - 4919 of 4919 matches
Mail list logo