This doesn't do the right thing, because all N lists are the same ... [[], [], [], [], []] ... A correct way is this: L = [] for i in range(N): L.append([]) Is...
... This works too, but I think list comprehension is the preferred method of functional iteration So Dan's L = [[] for n in range(5)] would probably be best. ...
... I benchmarked the various things we discussed for N=1e6. Note that the first is the incorrect solution that just gives you back N copies of the same...
I want to assign to a slice. No problem: A[a:b, c:d] = numpy.zeros((b-a, d-c), dtype=float) All's great unless b-a or d-c is one. (I know they will never be ...
... Well, it's kind of hateful, but you could probably do: A.__setslice__(a, b) = ['other', 'junk', 'here'] I think as long as b > a this will work -- Erik...
Erik Osheim
erik@...
Dec 4, 2006 8:01 pm
207
Please ignore my previous post. I completed misunderstood the problem. Sorry for the spam. -- Erik...
Erik Osheim
erik@...
Dec 4, 2006 8:21 pm
208
Hi all, Just joined. Is there going to be a January or February meeting? I'm new to Python and would like to get together to rap about using it....
We haven't had a meeting in a while, but it's probably a good idea if anyone is interesting. Any one out there have a topic they'd like to speak on? ... -- ...
I have a little utility I wrote that I could do a presentation on. It's a command-line password vault type thing. I posted an early version of it to this...
That could work. I guess I could talk about Django, as I have about 3 different sites running on it now... I'd prefer Jeff's talk because I'm boring. But,...
Hi all, I'm also new to Python and this group. Count me in on this meeting. Just a suggestion from the new guy: start a Yahoo Poll to get a count of potential...
Hi Kevin, Welcome! We've previously met at Drexel, but it's also been suggested we could meet at Temple's new Tech Center. The problem with polls is that...
... Might be fun some time, but note that the likely speaker for Feb prefers Drexel. ;-) ... PLUG meets the first Wednesday of the month. We might hope to get...
... Or people could just chime in here. We're not so numerous yet. Polls like that sometimes discourage people from coming, since if you didn't say yes maybe...
Can't do the 14th with Valentines day... But, yeah, I kind of forgot about PLUG since I haven't attended in a few years. Tuesday, Thursday (13th, 15th)...
Heyo everybody! I've been lurking this group for a while, waiting to see some activity. I'm game for a meeting whenever, and I certainly plan on attending...
Jeffs right about polls and stuff. People generally don't take them. Its good to see people are interested in meeting. Cal ... From: Jeff Abrahamson...
... From: Jeff Abrahamson <jeff@...> To: PhillyPug@yahoogroups.com Sent: Friday, January 5, 2007 12:19:00 PM Subject: Re: [PhillyPug] Is there a January...
I'm ok with both Tues 13 and Thurs 15, with, also, a slight preference for Tues 13. So Tues 13 at 7 p.m. works for me pending scheduling at Drexel. I'll...
I have confirmed the room, so our next meeting will be Tuesday 13 February at 7 p.m. Hill Seminar Room Lebow Engineering Center, #240 between 31st and 32nd on...
Anyone use the emacs gud (grand unified debugger) with pdb (the python debugger)? I find it horribly flaky and nearly unusable. I'm wondering if it's me or...
Not really related to Jeff's question, but it got me thinking... Has anyone ever been able to integrate the Python interpreter into Vim or Emacs, for some kind...
Well, I have a python text editor in curses that seems to work. It does have an embedded interface to the interpreter running the editor (i.e. 'self' is the...
Erik Osheim
erik@...
Jan 27, 2007 4:14 pm
226
... That sounds cool. Lemme know if you release it. -Rob...
The Triangle (NC) Zope and Python Users Group invites you to register for Camp 5 and the BBQ Sprint: http://trizpug.org/boot-camp/camp5/ This is a Zope 3 boot...
You are invited to the Philadelphia Python Users' Group (PUG) on Tuesday 13 February 2007 (next Tuesday) at 7 p.m. After a short Q&A period, Jeff Abrahamson...