users group wiki page:
http://www.nycpython.org
Hope to see you there!
-John Clark
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Please pardon the PSA:
The New York City Python Users Meetup Group is planning on having our
February meeting on
February 12th, from 6:30pm - 8:00pm. For more information, please see:
http://python.meetup.com/172/calendar/7082384/
Anyone in the NYC area interested in using Python, learning m
Greetings!
The next New York City Python Users Group meeting is this Tuesday, May 8th,
6:30pm at at the Millennium Partners office at 666 Fifth Avenue (53rd St.
and 5th Ave.) on the 8th Floor. We welcome all those in the NYC area who are
interested in Python to attend. However, we need a list of f
he objects in the domain of the solution? I know that there is a text book
out there called "Database Access Patterns", can anyone provide a
recommendation or a critique of the book? Are there other (better)
references I should be consulting in designing the da
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John
Clark
Sent: Wednesday, April 04, 2007 3:46 PM
To: python-list@python.org; [EMAIL PROTECTED]; tutor@python.org
Subject: New York City Python Users Group Meeting
Greetings!
The next New York City Python Users Group meeting
Bob Gailer wrote:
>Andreas Pfrengle wrote:
>> Hello,
>>
>> I want to change the value of a variable whose name I don't know, but
>> this name is stored as a string in another variable, like:
>>
>> x = 1
>> var = 'x'
>>
>> Now I want to change the value of x, but address it via var.
>
>exec is the
Be aware that by default the Apache web server _WILL_ use the shebang line
even when running on Windows to try to find the Python interpreter when
python is run as a CGI script.
There is a setting in the configuration file that controls whether to use
the shebang line or to reference the window
Greetings!
The next New York City Python Users Group meeting is this Tuesday, April
10th, 6:30pm at at the Millennium Partners office at 666 Fifth Avenue (53rd
St. and 5th Ave.) on the 8th Floor. We welcome all those in the NYC area who
are interested in Python to attend. However, we need a list o
Hello Tutors,
I am having trouble wrapping my mind around nested list comprehensions and am
hoping that someone can either verify my thinking or provide insight as to what
I am doing wrong.
I have a list of objects C1 and each object in the list has a method m() that
will return a list of sub
Hi,
I have a file that is a long list of records (roughly) in the format
[EMAIL PROTECTED]
So, for example:
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
What I would like to do is run a regular expression against this and
wind up with:
[EMAIL
Jacob,
The "z loop" is in fact just to take time while the screen refreshes with
each output of the status character - as someone else pointed out I could
use a wait() call as well - if I don't put something there to eat up time, I
don't get to display the "spinning wheel" produced by the
sys.std
hearing about it, I thank Max and Karl
for their guidance...
-jdc
On 5/7/05 10:06 AM, "Max Noel" <[EMAIL PROTECTED]> wrote:
>
> On May 7, 2005, at 13:22, John Clark wrote:
>
>> (Either that, or I am not following what you mean when you say:
>>
>>
t removes
the need for the client code to call .next() to get the next status
character. However, this is my first foray into the world of function
attributes and local functions, so this may not be the best way to do this -
any suggestions / critiques?
Thanks,
-jdc
On 5/7/05 8:00 AM, "Max
Ooops - sorry - I spoke too soon...
It's clear that your code is a more elegant implementation of
neverEndingStatus() but I am still having to initialize a global variable
and call .next() when I want to get the next value... So the generator
function has been cleaned up, but the client code inter
Lightbulb!
It's clear that I don't yet fully understand the power of generator
functions... It never occurred to me to yield out of the middle of a loop,
and yet, seeing your code, it's obvious that that's one of the primary
purposes of "yield".
Thanks,
-jdc
On 5/7/05 8:00 AM, "Max Noel" <[EMAI
Hello,
I am working on learning Python and writing some console applications to
apply what I am learning - I am using a generator function to implement a
status indicator as follows:
import sys
def neverEndingStatus(currentChar_ = '|'):
while 1:
if currentChar_ == '|':
16 matches
Mail list logo