Re: pylagiarism -- Need help now! Please provide code...

2012-08-14 Thread Fg Nu
Haha. Best listserv ever.  I've been on this list a day, and run me over with a lawnmower if I've written more than 200 lines of Python code, but this list is totally worth it. -- http://mail.python.org/mailman/listinfo/python-list

Re: pylagiarism -- Need help now! Please provide code...

2012-08-14 Thread Alex Strickland
cn tell itz a fraud - sp 2 gd! lolz On 2012/08/14 08:34 AM, Simon Cropper wrote: Hi Everyone, I just had a great idea for a new python module. I haven't bothered googling it or doing any research. I need help putting together some code; today preferably, my boss is on my back. Can someone plea

Re: pylagiarism -- Need help now! Please provide code...

2012-08-14 Thread Ben Finney
Simon Cropper writes: > I just had a great idea for a new python module. I haven't bothered > googling it or doing any research. That's the perfect time: everyone knows that ideas and enthusiasm are the key to a successful project. Show them early, and people will flock to you. Mind you, it's b

Re: pylagiarism -- Need help now! Please provide code...

2012-08-14 Thread Chris Angelico
On Tue, Aug 14, 2012 at 4:34 PM, Simon Cropper wrote: > I need help putting together some code; today preferably, my boss is on my > back. Can someone please contribute a functioning module showing me how to > do it? > Sure, old man, we'll help you out! *throws Maurice out of the tavern* ChrisA

Re: pylagiarism -- Need help now! Please provide code...

2012-08-14 Thread Steven D'Aprano
On Tue, 14 Aug 2012 16:34:01 +1000, Simon Cropper wrote: > Hi Everyone, > > I just had a great idea for a new python module. I haven't bothered > googling it or doing any research. > > I need help putting together some code; today preferably, my boss is on > my back. Can someone please contribut

Re: pylagiarism -- Need help now! Please provide code...

2012-08-14 Thread Anoop Thomas Mathew
On 14 August 2012 12:04, Simon Cropper wrote: > Hi Everyone, > > I just had a great idea for a new python module. I haven't bothered > googling it or doing any research. > > I need help putting together some code; today preferably, my boss is on my > back. Can someone please contribute a functioni

Re: in-place exponentiation incongruities

2012-08-14 Thread Giacomo Alzetta
Il giorno domenica 12 agosto 2012 23:53:46 UTC+2, Terry Reedy ha scritto: > > Are you actually planning to do this, or is this purely theoretical? > Yes, I do plan to implement ipow. > > Not true. Whether the function is coded in Python or C > > cls.__ipow__(base, exp, mod) # or > > base.__i

Re: how to call perl script from html using python

2012-08-14 Thread Steven D'Aprano
On Mon, 13 Aug 2012 23:21:34 -0700, Pervez Mulla wrote: > I wanna call perl objects using Python . I checked in internet ,I can > make use of inline function for this, But in HTML..?? You need to explain more about your problem, because I don't understand what you want to do in detail. For

Re: pylagiarism -- Need help now! Please provide code...

2012-08-14 Thread Fg Nu
Lol. Lol. Lol. It just keeps on givin'. From: Anoop Thomas Mathew To: Simon Cropper Cc: python-list@python.org Sent: Tuesday, August 14, 2012 12:11 AM Subject: Re: pylagiarism -- Need help now! Please provide code... On 14 August 2012 12:04, Simon Cropper

Re: [ANNOUNCE] Campaign to support the notmm project!

2012-08-14 Thread Ramchandra Apte
> I'm now really poor and cannot even finance the server hosting. You can use Google Code hosting for the project - even many Python Core Dev's stuff are done on it. -- http://mail.python.org/mailman/listinfo/python-list

Re: pylagiarism -- Need help now! Please provide code...

2012-08-14 Thread Peter Otten
Simon Cropper wrote: > Hi Everyone, > > I just had a great idea for a new python module. I haven't bothered > googling it or doing any research. > > I need help putting together some code; today preferably, my boss is on > my back. Can someone please contribute a functioning module showing me >

Re: print(....,file=sys.stderr) buffered?

2012-08-14 Thread Alain Ketterlin
Helmut Jarausch writes: > On Mon, 13 Aug 2012 15:43:31 +, Grant Edwards wrote: > >> On 2012-08-13, Helmut Jarausch wrote: >>> Hi, >>> >>> for tracing purposes I have added some print outs like >>> >>> print('+++ before calling foo',file=sys.stderr) >>> x=foo(..) >>> print('--- after calling

Re: Sharing code between different projects?

2012-08-14 Thread andrea crotti
2012/8/13 Rob Day : > I'd just create a module - called shared_utils.py or similar - and import > that in both projects. It might be a bit messy if there's no 'unifying > theme' to the module - but surely it'd be a lot less messy than your > TempDirectory class, and anyone else who knows Python wil

Re: pylagiarism -- Need help now! Please provide code...

2012-08-14 Thread Simon Cropper
On 14/08/12 18:19, Peter Otten wrote: Simon Cropper wrote: Hi Everyone, I just had a great idea for a new python module. I haven't bothered googling it or doing any research. I need help putting together some code; today preferably, my boss is on my back. Can someone please contribute a funct

Re: EXTERNAL: Re: pylagiarism -- Need help now! Please provide code...

2012-08-14 Thread Damon Register
Thanks, I needed something to start the day on the positive side. On 8/14/2012 5:32 AM, Simon Cropper wrote: Anyone willing to contribute money to help with the compilation of the code will get a portion of the profits. Just send me your account details, name and address; and I will ensure, on

RE: something about split()???

2012-08-14 Thread Andreas Tawn
> I have a question about the split function? surpose a = "|",and when I use > a.split("|") , I got the list > ['"",""] ,but I want to get the empty list,what should I do ? Something like... >>> [x for x in "|".split("|") if x] [] Cheers, Drea -- http://mail.python.org/mailman/listinfo/python

Re: pylagiarism -- Need help now! Please provide code...

2012-08-14 Thread Peter Otten
Simon Cropper wrote: > Anyone willing to contribute money to help with the compilation of the > code will get a portion of the profits. Just send me your account > details, name and address; and I will ensure, once I have been paid, > that I will send you your cut! :) This is starting to look lik

Re: save dictionary to a file without brackets.

2012-08-14 Thread Mark Lawrence
On 14/08/2012 03:54, Steven D'Aprano wrote: On Mon, 13 Aug 2012 18:07:26 +0100, Mark Lawrence wrote: On 13/08/2012 17:14, alex23 wrote: On Aug 13, 10:37 pm, Mark Lawrence wrote: Why on your say so? My mistake, I didn't realise you wanted to sound so tedious. Knock yourself out. Yes m'l

Re: How to uncompress a VOB file? (Win XP)

2012-08-14 Thread Mark Lawrence
On 14/08/2012 04:00, Steven D'Aprano wrote: On Tue, 14 Aug 2012 01:34:46 +0100, Mark Lawrence wrote: When did you seek my permission to call me by my forename? Sheesh. It's 2012, not 1812. If you sign your posts with your full name, you have to expect that people will call you "Mark" rather t

Re: pylagiarism -- Need help now! Please provide code...

2012-08-14 Thread Mark Lawrence
On 14/08/2012 07:34, Simon Cropper wrote: Hi Everyone, I just had a great idea for a new python module. I haven't bothered googling it or doing any research. [snip similar] Well I fell for it, there I was thinking you were serious and right at the bottom you have a disclaimer saying it

how to fix error "Requires python(abi)=2.4"

2012-08-14 Thread sagarnikam123
i am installing numpy on fedora with python 2.6,2.7 & 3.1 -- View this message in context: http://python.6.n6.nabble.com/how-to-fix-error-Requires-python-abi-2-4-tp4985031.html Sent from the Python - python-list mailing list archive at Nabble.com. -- http://mail.python.org/mailman/listinfo/pyt

Re: pylagiarism -- Need help now! Please provide code...

2012-08-14 Thread Chris Angelico
On Tue, Aug 14, 2012 at 9:46 PM, Mark Lawrence wrote: > Well I fell for it, there I was thinking you were serious and right at the > bottom you have a disclaimer saying it was tongue in cheek. You got me > hook, line and sinker. :) At least you had the grace to admit that you were tricked :) I

Re: pylagiarism -- Need help now! Please provide code...

2012-08-14 Thread Mark Lawrence
On 14/08/2012 10:32, Simon Cropper wrote: On 14/08/12 18:19, Peter Otten wrote: Simon Cropper wrote: Hi Everyone, I just had a great idea for a new python module. I haven't bothered googling it or doing any research. I need help putting together some code; today preferably, my boss is on my

Re: EXTERNAL: Re: pylagiarism -- Need help now! Please provide code...

2012-08-14 Thread Ben Finney
Damon Register writes: > On 8/14/2012 5:32 AM, Simon Cropper wrote: > > Anyone willing to contribute money to help with the compilation of > > the code will get a portion of the profits. Just send me your > > account details, name and address; and I will ensure, once I have > > been paid, that I

Re: pylagiarism -- Need help now! Please provide code...

2012-08-14 Thread Mark Lawrence
On 14/08/2012 11:27, Peter Otten wrote: Simon Cropper wrote: Anyone willing to contribute money to help with the compilation of the code will get a portion of the profits. Just send me your account details, name and address; and I will ensure, once I have been paid, that I will send you your cu

Re: How to uncompress a VOB file? (Win XP)

2012-08-14 Thread Steven D'Aprano
On Tue, 14 Aug 2012 12:38:24 +0100, Mark Lawrence wrote: > On 14/08/2012 04:00, Steven D'Aprano wrote: [...] > For the record I was asked to use my full name rather than my user name > on Python mailing lists. But see also my earlier reply to you on the > "save dictionary to a file without bracke

Re: EXTERNAL: Re: pylagiarism -- Need help now! Please provide code...

2012-08-14 Thread Ramchandra Apte
Yes. On 14 August 2012 17:20, Ben Finney wrote: > Damon Register writes: > > > On 8/14/2012 5:32 AM, Simon Cropper wrote: > > > Anyone willing to contribute money to help with the compilation of > > > the code will get a portion of the profits. Just send me your > > > account details, name and

Re: something about split()???

2012-08-14 Thread Ramchandra Apte
(Much) more Pythonic solution: >>> filter(None,"|".split("|")) On 14 August 2012 15:14, Andreas Tawn wrote: > > I have a question about the split function? surpose a = "|",and when I > use a.split("|") , I got the list > > ['"",""] ,but I want to get the empty list,what should I do ? > > Somethi

Re: EXTERNAL: Re: pylagiarism -- Need help now! Please provide code...

2012-08-14 Thread Ramchandra Apte
On 14 August 2012 19:01, Ramchandra Apte wrote: > Yes. > > > On 14 August 2012 17:20, Ben Finney wrote: > >> Damon Register writes: >> >> > On 8/14/2012 5:32 AM, Simon Cropper wrote: >> > > Anyone willing to contribute money to help with the compilation of >> > > the code will get a portion of

Re: Sharing code between different projects?

2012-08-14 Thread Jean-Michel Pichavant
andrea crotti wrote: I am in the situation where I am working on different projects that might potentially share a lot of code. I started to work on project A, then switched completely to project B and in the transiction I copied over a lot of code with the corresponding tests, and I started to

Re: save dictionary to a file without brackets.

2012-08-14 Thread Alister
On Tue, 14 Aug 2012 12:33:20 +0100, Mark Lawrence wrote: > On 14/08/2012 03:54, Steven D'Aprano wrote: >> On Mon, 13 Aug 2012 18:07:26 +0100, Mark Lawrence wrote: >> >>> On 13/08/2012 17:14, alex23 wrote: On Aug 13, 10:37 pm, Mark Lawrence wrote: > Why on your say so? My mistak

Re: Sharing code between different projects?

2012-08-14 Thread Steven D'Aprano
On Mon, 13 Aug 2012 17:53:32 +0100, andrea crotti wrote: > I started to work on project A, then switched completely to project B > and in the transiction I copied over a lot of code with the > corresponding tests, and I started to modify it. > > Now it's time to work again on project A, but I don

Strange behavior

2012-08-14 Thread light1quark
Hi, I am migrating from PHP to Python and I am slightly confused. I am making a function that takes a startingList, finds all the strings in the list that begin with 'x', removes those strings and puts them into a xOnlyList. However if you run the code you will notice only one of the strings beg

Re: Strange behavior

2012-08-14 Thread Alain Ketterlin
light1qu...@gmail.com writes: > However if you run the code you will notice only one of the strings > beginning with 'x' is removed from the startingList. > > def testFunc(startingList): > xOnlyList = []; > for str in startingList: > if (str[0] == 'x'): >

Re: Arithmetic with Boolean values

2012-08-14 Thread Hans Mulder
On 12/08/12 22:13:20, Alister wrote: > On Sun, 12 Aug 2012 19:20:26 +0100, Mark Lawrence wrote: > >> On 12/08/2012 17:59, Paul Rubin wrote: which can be simplified to: for x in range(len(L)//2 + len(L)%2): >>> >>> for x in range(sum(divmod(len(L), 2))): ... >>> >>> >> So who's going to b

Re: something about split()???

2012-08-14 Thread Jean-Michel Pichavant
Ramchandra Apte wrote: (Much) more Pythonic solution: >>> filter(None,"|".split("|")) On 14 August 2012 15:14, Andreas Tawn > wrote: > I have a question about the split function? surpose a = "|",and when I use a.split("|") , I got the list > ['"",""

Re: how to fix error "Requires python(abi)=2.4"

2012-08-14 Thread Benjamin Kaplan
On Aug 14, 2012 4:51 AM, "sagarnikam123" wrote: > > i am installing numpy on fedora with python 2.6,2.7 & 3.1 > > > > -- Python bytecode and C interface are not compatible across versions. If you're trying to install a numpy binary that was compiled against 2.4, it won't work with newer versions.

Re: Sharing code between different projects?

2012-08-14 Thread andrea crotti
2012/8/14 Jean-Michel Pichavant : > > I can think of logilab-common (http://www.logilab.org/848/) > > Having a company-wide python module properly distributed is one to achieve > your goal. Without distributing your module to the public, there's a way to > have a pypi-like server runnning on your p

Re: save dictionary to a file without brackets.

2012-08-14 Thread Mark Lawrence
On 14/08/2012 16:05, Alister wrote: On Tue, 14 Aug 2012 12:33:20 +0100, Mark Lawrence wrote: On 14/08/2012 03:54, Steven D'Aprano wrote: On Mon, 13 Aug 2012 18:07:26 +0100, Mark Lawrence wrote: On 13/08/2012 17:14, alex23 wrote: On Aug 13, 10:37 pm, Mark Lawrence wrote: Why on your say so

New image and color management library for Python 2+3

2012-08-14 Thread Christian Heimes
Hello fellow Pythonistas, I'm looking for co-developers, testers, documentation writers and users for a new image library I created. The code is available at https://bitbucket.org/tiran/smc.freeimage Background story: I'm working for a company that creates Python based solutions for libraries --

Re: Strange behavior

2012-08-14 Thread Terry Reedy
On 8/14/2012 11:59 AM, Alain Ketterlin wrote: light1qu...@gmail.com writes: However if you run the code you will notice only one of the strings beginning with 'x' is removed from the startingList. def testFunc(startingList): xOnlyList = []; for str in startingList:

Re: Strange behavior

2012-08-14 Thread Virgil Stokes
On 2012-08-14 17:38, light1qu...@gmail.com wrote: Hi, I am migrating from PHP to Python and I am slightly confused. I am making a function that takes a startingList, finds all the strings in the list that begin with 'x', removes those strings and puts them into a xOnlyList. However if you run

Fwd: Re: Strange behavior

2012-08-14 Thread Virgil Stokes
Original Message Subject:Re: Strange behavior Date: Tue, 14 Aug 2012 21:32:16 +0200 From: Virgil Stokes To: light1qu...@gmail.com On 2012-08-14 17:38, light1qu...@gmail.com wrote: Hi, I am migrating from PHP to Python and I am slightly confused. I am maki

[OT] A short Usenet primer (was: How to uncompress a VOB file? (Win XP))

2012-08-14 Thread Thomas 'PointedEars' Lahn
Mark Lawrence wrote: > On 14/08/2012 00:00, Xantipius wrote: >> On Aug 13, 3:40 pm, Mark Lawrence wrote: >>> On 13/08/2012 11:18, Xantipius wrote: subj >>> >>> Either >>> >>> a) write some code and when and if it fails give us a small code snippet >>> that demonstates the problem with the co

Re: looking for a neat solution to a nested loop problem

2012-08-14 Thread 88888 Dihedral
Nobody於 2012年8月7日星期二UTC+8下午11時32分55秒寫道: > On Mon, 06 Aug 2012 21:02:33 -0700, Larry Hudson wrote: > > > > >> for i in range(N,N+100): > > >> for j in range(M,M+100): > > >> do_something(i % 100 ,j % 100) > > >> > > >> Emile > > > > > > How about... > > > >

[OT] Posting under ones full name (was: How to uncompress a VOB file? (Win XP))

2012-08-14 Thread Thomas 'PointedEars' Lahn
Mark Lawrence wrote: > On 14/08/2012 04:00, Steven D'Aprano wrote: >> On Tue, 14 Aug 2012 01:34:46 +0100, Mark Lawrence wrote: >>> When did you seek my permission to call me by my forename? >> Sheesh. It's 2012, not 1812. If you sign your posts with your full name, >> you have to expect that peopl

Re: [OT] Posting under ones full name (was: How to uncompress a VOB file? (Win XP))

2012-08-14 Thread Chris Angelico
On Wed, Aug 15, 2012 at 7:12 AM, Thomas 'PointedEars' Lahn wrote: > Probably you were asked that so that your postings could be distinguished > from that of the other potential Marks around here. I have my surname in my From address, but I tend to sign my posts "ChrisA" (no relation, btw, to Dave

Re: Sharing code between different projects?

2012-08-14 Thread Cameron Simpson
On 13Aug2012 17:53, andrea crotti wrote: | I am in the situation where I am working on different projects that | might potentially share a lot of code. | | I started to work on project A, then switched completely to project B | and in the transiction I copied over a lot of code with the | corresp

Re: Strange behavior

2012-08-14 Thread Chris Angelico
On Wed, Aug 15, 2012 at 1:38 AM, wrote: > def testFunc(startingList): > xOnlyList = []; > for str in startingList: > if (str[0] == 'x'): > print str; > xOnlyList.append(str) > startingList.remo

Re: [OT] Posting under ones full name (was: How to uncompress a VOB file? (Win XP))

2012-08-14 Thread Steven D'Aprano
On Wed, 15 Aug 2012 07:46:31 +1000, Chris Angelico wrote: > I have my surname in my From address, but I tend to sign my posts > "ChrisA" (no relation, btw, to DaveA, though our surnames are similar). > That's generally been sufficient for distinguishing purposes, though if > anyone wants a truly u

Re: Strange behavior

2012-08-14 Thread Steven D'Aprano
On Tue, 14 Aug 2012 21:40:10 +0200, Virgil Stokes wrote: > You might find the following useful: > > def testFunc(startingList): > xOnlyList = []; j = -1 > for xl in startingList: > if (xl[0] == 'x'): That's going to fail in the starting list contains an empty string. Use xl.s

Re: [OT] Posting under ones full name (was: How to uncompress a VOB file? (Win XP))

2012-08-14 Thread Chris Angelico
On Wed, Aug 15, 2012 at 9:55 AM, Steven D'Aprano wrote: > On Wed, 15 Aug 2012 07:46:31 +1000, Chris Angelico wrote: > >> I have my surname in my From address, but I tend to sign my posts >> "ChrisA" (no relation, btw, to DaveA, though our surnames are similar). >> That's generally been sufficient

Re: [OT] Posting under ones full name

2012-08-14 Thread Thomas 'PointedEars' Lahn
Chris Angelico wrote: > Thomas 'PointedEars' Lahn wrote: >> Probably you were asked that so that your postings could be distinguished >> from that of the other potential Marks around here. > > I have my surname in my From address, but I tend to sign my posts > "ChrisA" (no relation, btw, to DaveA

Flushing buffer on file copy on linux

2012-08-14 Thread J
I was hoping someone could give me some ideas for a particular problem. I've got a python program that is used for basic testing of removable storage devices (usb, mmc, firewire, etc). Essentially, it looks for a mounted device (either user specified, or if not, the program loops through all remo

Re: Flushing buffer on file copy on linux

2012-08-14 Thread Cameron Simpson
On 14Aug2012 22:55, J wrote: | Now, the problem I have is that linux tends to buffer data writes to a | device, and I want to work around that. To what _specific_ purpose? Benchmarking? Ensuring the device can be pulled? Ensuring another program can see the data? (The last should be taken care of

Re: [OT] Posting under ones full name

2012-08-14 Thread Chris Angelico
On Wed, Aug 15, 2012 at 12:06 PM, Thomas 'PointedEars' Lahn wrote: > Chris Angelico wrote: > >> I have my surname in my From address, but I tend to sign my posts >> "ChrisA" (no relation, btw, to DaveA, though our surnames are >> similar). That's generally been sufficient for distinguishing >> pur

Re: [OT] Posting under ones full name

2012-08-14 Thread Chris Angelico
On Wed, Aug 15, 2012 at 12:06 PM, Thomas 'PointedEars' Lahn wrote: > Please use `[...]' or `[…]' to indicate omission instead. I could have > written `politeness...' myself. Incidentally, how _do_ the square brackets help? Can a reader know that you put square-bracketed dots and that I didn't om

Re: How to uncompress a VOB file? (Win XP)

2012-08-14 Thread Ben Finney
Steven D'Aprano writes: > (However, I don't promise not to roll my eyes if they choose a silly > moniker, and I am the final arbitrator as to what counts as silly.) I also don't promise to remember or comply with their request to be known by an egregiously silly moniker, with me as the sole arb

Re: How to uncompress a VOB file? (Win XP)

2012-08-14 Thread Chris Angelico
On Wed, Aug 15, 2012 at 1:31 PM, Ben Finney wrote: > People have the right to ask to be known by a particular name, but they > are obliged to be reasonable about how successful their request will be > when they ask. Reminds me of what Torhelm said during one of our Dungeons and Dragons campaigns:

Re: [OT] Posting under ones full name (was: How to uncompress a VOB file? (Win XP))

2012-08-14 Thread Steven D'Aprano
On Wed, 15 Aug 2012 11:44:29 +1000, Chris Angelico wrote: > On Wed, Aug 15, 2012 at 9:55 AM, Steven D'Aprano > wrote: >> On Wed, 15 Aug 2012 07:46:31 +1000, Chris Angelico wrote: >> >>> I have my surname in my From address, but I tend to sign my posts >>> "ChrisA" (no relation, btw, to DaveA, tho

Re: [OT] Posting under ones full name

2012-08-14 Thread Ben Finney
Chris Angelico writes: > On Wed, Aug 15, 2012 at 12:06 PM, Thomas 'PointedEars' Lahn > wrote: > > Please use `[...]' or `[…]' to indicate omission instead. I could > > have written `politeness...' myself. > > Incidentally, how _do_ the square brackets help? They are a long-standing convention f

Re: [OT] Posting under ones full name (was: How to uncompress a VOB file? (Win XP))

2012-08-14 Thread Chris Angelico
On Wed, Aug 15, 2012 at 1:43 PM, Steven D'Aprano wrote: > It was a joke, implying that my mother uses the same "truly unique" > handle as you. > > With over 7 billion people on the planet, and no upper limit on the > number of handles anyone can take, together with the lack of any > definitive cen

Re: [OT] Posting under ones full name

2012-08-14 Thread Chris Angelico
On Wed, Aug 15, 2012 at 1:56 PM, Ben Finney wrote: > Chris Angelico writes: > >> On Wed, Aug 15, 2012 at 12:06 PM, Thomas 'PointedEars' Lahn >> wrote: >> > Please use `[...]' or `[…]' to indicate omission instead. I could >> > have written `politeness...' myself. >> >> Incidentally, how _do_ the

it's really strange.how does it work?

2012-08-14 Thread levi nie
ok,what does "start, stop = 0, start" in the code mean? it's really strange.how does it work? code: def interval(start, stop=None, step=1): 'Imitates range() for step > 0' if stop is None: start, stop = 0, start result = [] i = start while i < stop: result.appen

Re: it's really strange.how does it work?

2012-08-14 Thread Ramchandra Apte
Even I got confused a bit: explaination: this is called iterable unpacking `start, stop = 0, start` is the same as: temp = start start = 0 stop = temp On 15 August 2012 10:37, levi nie wrote: > ok,what does "start, stop = 0, start" in the code mean? > it's really strange.how does it work? > > co

Re: it's really strange.how does it work?

2012-08-14 Thread Chris Rebert
On Tue, Aug 14, 2012 at 10:07 PM, levi nie wrote: > ok,what does "start, stop = 0, start" in the code mean? > it's really strange.how does it work? It's just parallel assignment (http://en.wikipedia.org/wiki/Assignment_%28computer_science%29#Parallel_assignment ). As to exactly how it works: htt

Order Before the Offer Wipe outs!!!

2012-08-14 Thread sfi anjana
Bear Gift Card Holder $7.79 Retail Price: $12.99 You Save: $5.20 (40%) Item No: 54899 Ships From: CANADA Condition / Status: New / 1 Available https://www.tripleclicks.com/detail.php?item=54899/10288668/ Bear carries a handbag perfectly sized to fill with gift cards (not included). Comes with

Re: something about split()???

2012-08-14 Thread Ramchandra Apte
filter is bad when you use lambda with it there are (good) cases for filter On 14 August 2012 22:39, Jean-Michel Pichavant wrote: > Ramchandra Apte wrote: > >> (Much) more Pythonic solution: >> >>> filter(None,"|".split("|")) >> >> On 14 August 2012 15:14, Andreas Tawn > andreas.tawn@ubisoft.**co

Re: Python Interview Questions

2012-08-14 Thread Robert Miles
On 7/10/2012 1:08 PM, Demian Brecht wrote: I also judge candidates on their beards (http://www.wired.com/wiredenterprise/2012/06/beard-gallery/). If the beard's awesome enough, no questions needed. They're pro. You should hire me quickly, then, since I have a beard, already turning partly gr