Re: lists vs. NumPy arrays for sets of dates and strings

2014-06-10 Thread Peter Otten
beliav...@aol.com.dmarc.invalid wrote: > I am going to read a multivariate time series from a CSV file that looks > like > > Date,A,B > 2014-01-01,10.0,20.0 > 2014-01-02,10.1,19.9 > ... > > The numerical data I will store in a NumPy array, since they are more > convenient to work with than lists

Re: try/except/finally

2014-06-10 Thread Thomas Rachel
Am 08.06.2014 05:58 schrieb Rustom Mody: Some people¹ think that gotos are a code-smell. ¹ I am not exactly those people. A chap called E W Dijkstra made the statement: "Goto statement considered harmful" and became famous. And became widely misunderstood. If anybody would read the whole what

Re: try/except/finally

2014-06-10 Thread Marko Rauhamaa
Thomas Rachel : > Essentially, you can write both good and bad code both with and > without goto. Point is, choose tasteful idioms in your code. Marko -- https://mail.python.org/mailman/listinfo/python-list

Is this sort of a constraint implementable in Python?

2014-06-10 Thread varun7rs
Hello Everyone, I'm working on a python code to input matrices into CPLEX solver. I have most of my code running fine but as of now, I don't know how to express this constraint. My objective is to minimize the number of nodes. I have got one of the weirdest looking constraints which I don't kno

Re: First time I looked at Python was(...)

2014-06-10 Thread alister
On Mon, 09 Jun 2014 21:54:25 +0100, Carlos Anselmo Dias wrote: > Hi ... > > I'm finishing my messages with this ... > > The first time I looked into Python was +- 10 years ago ... and in the > last 10 years I did not spent more than 30 minutes looking at ... but I > like it ... it's easy to read

Re: Interfacing Fortran applications

2014-06-10 Thread alister
On Mon, 09 Jun 2014 14:24:07 +0200, Michael Welle wrote: > Hello, > > Sturla Molden writes: > >> Michael Welle wrote: >> >>> I thought about equipping the Fortran application with sockets, so >>> that I can send input data and commands (which is now done via cmd >>> line) and reading output da

Re: First time I looked at Python was(...)

2014-06-10 Thread Robin Becker
On 10/06/2014 11:14, alister wrote: On Mon, 09 Jun 2014 21:54:25 +0100, Carlos Anselmo Dias wrote: I'm sorry What does all this relate to? Turing test? -- Robin Becker -- https://mail.python.org/mailman/listinfo/python-list

Re: First time I looked at Python was(...)

2014-06-10 Thread Carlos Anselmo Dias
On 06/10/2014 11:14 AM, alister wrote: On Mon, 09 Jun 2014 21:54:25 +0100, Carlos Anselmo Dias wrote: Hi ... I'm finishing my messages with this ... The first time I looked into Python was +- 10 years ago ... and in the last 10 years I did not spent more than 30 minutes looking at ... but I l

Re: try/except/finally

2014-06-10 Thread Rustom Mody
On Tuesday, June 10, 2014 12:57:29 PM UTC+5:30, Thomas Rachel wrote: > Am 08.06.2014 05:58 schrieb Rustom Mody: > > Some people� think that gotos are a code-smell. > > � I am not exactly those people. > > A chap called E W Dijkstra made the statement: "Goto statement considered > > harmful" and b

Re: First time I looked at Python was(...)

2014-06-10 Thread Ben Finney
Carlos Anselmo Dias writes: > Following my post Copy/paste of python team(...) + script attachment(...) I find those screeds very difficult to read. One significant improvement would be to write sentences *as* sentences, without trailing them away with an ellipsis. Then it would be clearer what

Re: First time I looked at Python was(...)

2014-06-10 Thread Carlos Anselmo Dias
On 06/10/2014 01:10 PM, Ben Finney wrote: Carlos Anselmo Dias writes: Following my post Copy/paste of python team(...) + script attachment(...) I find those screeds very difficult to read. One significant improvement would be to write sentences *as* sentences, without trailing them away with

Re: First time I looked at Python was(...)

2014-06-10 Thread alister
On Tue, 10 Jun 2014 13:39:50 +0100, Carlos Anselmo Dias wrote: > On 06/10/2014 01:10 PM, Ben Finney wrote: >> Carlos Anselmo Dias writes: >> >>> Following my post Copy/paste of python team(...) + script >>> attachment(...) >> I find those screeds very difficult to read. One significant >> improve

Re: First time I looked at Python was(...)

2014-06-10 Thread Carlos Anselmo Dias
On 06/10/2014 01:47 PM, alister wrote: On Tue, 10 Jun 2014 13:39:50 +0100, Carlos Anselmo Dias wrote: On 06/10/2014 01:10 PM, Ben Finney wrote: Carlos Anselmo Dias writes: Following my post Copy/paste of python team(...) + script attachment(...) I find those screeds very difficult to read

Re: First time I looked at Python was(...)

2014-06-10 Thread alister
On Tue, 10 Jun 2014 14:09:52 +0100, Carlos Anselmo Dias wrote: >>> Hi ... >>> >>> English is not my maternal language ... I wrote what I consider the >>> most appropriated taking in consideration that the summary of the >>> description might be enough to help people think about it ... >>> If those

Re: First time I looked at Python was(...)

2014-06-10 Thread alister
On Tue, 10 Jun 2014 11:53:38 +0100, Robin Becker wrote: > On 10/06/2014 11:14, alister wrote: >> On Mon, 09 Jun 2014 21:54:25 +0100, Carlos Anselmo Dias wrote: > >> >> I'm sorry What does all this relate to? >> >> >> > Turing test? I think you mast be correct -- Iowa State -- the hig

Re: First time I looked at Python was(...)

2014-06-10 Thread Carlos Anselmo Dias
On 06/10/2014 02:16 PM, alister wrote: On Tue, 10 Jun 2014 14:09:52 +0100, Carlos Anselmo Dias wrote: Hi ... English is not my maternal language ... I wrote what I consider the most appropriated taking in consideration that the summary of the description might be enough to help people think ab

Re: First time I looked at Python was(...)

2014-06-10 Thread Rustom Mody
On Tuesday, June 10, 2014 6:55:27 PM UTC+5:30, Carlos Anselmo Dias wrote: > https://www.youtube.com/watch?v=N1EwYpfUFQU (...) http://huntingtonleadership.com/blog/entry/communication-is-a-two-way-street.html -- https://mail.python.org/mailman/listinfo/python-list

Re: First time I looked at Python was(...)

2014-06-10 Thread Grant Edwards
On 2014-06-10, Carlos Anselmo Dias wrote: > English is not my maternal language ... And stringing together a bunch of phrases with elipses without every completing a sentence is the way things are done in your native language? I doubt it. -- Grant Edwards grant.b.edwards

Re: First time I looked at Python was(...)

2014-06-10 Thread Carlos Anselmo Dias
On 06/10/2014 02:47 PM, Grant Edwards wrote: On 2014-06-10, Carlos Anselmo Dias wrote: English is not my maternal language ... And stringing together a bunch of phrases with elipses without every completing a sentence is the way things are done in your native language? I doubt it. Hi ...

Re: First time I looked at Python was(...)

2014-06-10 Thread Ned Batchelder
On 6/10/14 9:59 AM, Carlos Anselmo Dias wrote: On 06/10/2014 02:47 PM, Grant Edwards wrote: On 2014-06-10, Carlos Anselmo Dias wrote: English is not my maternal language ... And stringing together a bunch of phrases with elipses without every completing a sentence is the way things are done

Re: First time I looked at Python was(...)

2014-06-10 Thread Carlos Anselmo Dias
On 06/10/2014 03:07 PM, Ned Batchelder wrote: On 6/10/14 9:59 AM, Carlos Anselmo Dias wrote: On 06/10/2014 02:47 PM, Grant Edwards wrote: On 2014-06-10, Carlos Anselmo Dias wrote: English is not my maternal language ... And stringing together a bunch of phrases with elipses without every

Re: First time I looked at Python was(...)

2014-06-10 Thread Joel Goldstick
This looks like a bot On Jun 10, 2014 10:08 AM, "Ned Batchelder" wrote: > On 6/10/14 9:59 AM, Carlos Anselmo Dias wrote: > >> >> On 06/10/2014 02:47 PM, Grant Edwards wrote: >> >>> On 2014-06-10, Carlos Anselmo Dias wrote: >>> >>> English is not my maternal language ... >>> And stringing t

Re: First time I looked at Python was(...)

2014-06-10 Thread alister
On Tue, 10 Jun 2014 14:59:09 +0100, Carlos Anselmo Dias wrote: > On 06/10/2014 02:47 PM, Grant Edwards wrote: >> On 2014-06-10, Carlos Anselmo Dias wrote: >> >>> English is not my maternal language ... >> And stringing together a bunch of phrases with elipses without every >> completing a sentenc

Re: First time I looked at Python was(...)

2014-06-10 Thread Rustom Mody
On Tuesday, June 10, 2014 7:48:05 PM UTC+5:30, Carlos Anselmo Dias wrote: > On 06/10/2014 03:07 PM, Ned Batchelder wrote: > > On 6/10/14 9:59 AM, Carlos Anselmo Dias wrote: > >> On 06/10/2014 02:47 PM, Grant Edwards wrote: > >>> On 2014-06-10, Carlos Anselmo Dias wrote: > English is not my ma

Re: First time I looked at Python was(...)

2014-06-10 Thread Carlos Anselmo Dias
On 06/10/2014 03:24 PM, Rustom Mody wrote: On Tuesday, June 10, 2014 7:48:05 PM UTC+5:30, Carlos Anselmo Dias wrote: On 06/10/2014 03:07 PM, Ned Batchelder wrote: On 6/10/14 9:59 AM, Carlos Anselmo Dias wrote: On 06/10/2014 02:47 PM, Grant Edwards wrote: On 2014-06-10, Carlos Anselmo Dias w

Re: First time I looked at Python was(...)

2014-06-10 Thread Mark H Harris
On 6/9/14 3:54 PM, Carlos Anselmo Dias wrote: Hi ... I'm finishing my messages with this ... The first time I looked into Python was +- 10 years ago ... and in the last 10 years I did not spent more than 30 minutes looking at ... but I like it ... it's easy to read ... even if I'm not familiar

Re: Is MVC Design Pattern good enough?

2014-06-10 Thread Ian Kelly
On Mon, Jun 9, 2014 at 9:54 PM, Stefan Ram wrote: > Chris Angelico writes: >>On Tue, Jun 10, 2014 at 12:57 PM, Stefan Ram wrote: >>>AFAIK standard Python has no GUI library at all, so Java SE >>>and C# already are better than Python insofar as they >>>include a standard GUI toolkit at all! In Py

Re: First time I looked at Python was(...)

2014-06-10 Thread Shiyao Ma
I wonder if it's opensourced. I am kinda interested in its implementation. On the whole, the performance is rather good. 2014-06-10 22:39 GMT+08:00 Mark H Harris : > On 6/9/14 3:54 PM, Carlos Anselmo Dias wrote: > >> Hi ... >> >> I'm finishing my messages with this ... >> >> The first time I loo

Re: First time I looked at Python was(...)

2014-06-10 Thread Carlos Anselmo Dias
On 06/10/2014 04:09 PM, Shiyao Ma wrote: I wonder if it's opensourced. I am kinda interested in its implementation. On the whole, the performance is rather good. 2014-06-10 22:39 GMT+08:00 Mark H Harris >: On 6/9/14 3:54 PM, Carlos Anselmo Dias wrote:

Re: First time I looked at Python was(...)

2014-06-10 Thread Carlos Anselmo Dias
On 06/10/2014 03:39 PM, Mark H Harris wrote: On 6/9/14 3:54 PM, Carlos Anselmo Dias wrote: Hi ... I'm finishing my messages with this ... The first time I looked into Python was +- 10 years ago ... and in the last 10 years I did not spent more than 30 minutes looking at ... but I like it ...

Re: First time I looked at Python was(...)

2014-06-10 Thread Carlos Anselmo Dias
On 06/10/2014 02:38 PM, Rustom Mody wrote: On Tuesday, June 10, 2014 6:55:27 PM UTC+5:30, Carlos Anselmo Dias wrote: https://www.youtube.com/watch?v=N1EwYpfUFQU (...) http://huntingtonleadership.com/blog/entry/communication-is-a-two-way-street.html Making part of the team ... https://ww

Re: First time I looked at Python was(...)

2014-06-10 Thread Søren
Hi ... That's great and you're one person with enough /Intelligence/ to participate in the projects I described you. You can think about the solution, logs , how the information is organized,etc. "You're certainly one of the persons!" I'm not writing more ... I have been on this mail

Re: First time I looked at Python was(...)

2014-06-10 Thread Carlos Anselmo Dias
On 06/10/2014 03:57 PM, Søren wrote: Hi ... That's great and you're one person with enough /Intelligence/ to participate in the projects I described you. You can think about the solution, logs , how the information is organized,etc. "You're certainly one of the persons!" I'm not writing m

Re: First time I looked at Python was(...)

2014-06-10 Thread Carlos Anselmo Dias
Let me finish with this ... https://www.youtube.com/watch?v=M79e5ji-53w I'm waiting for traffic of search engines to start organizing what must be organized ... I've already one main section more or less organized ... and that main section will allow to develop the other sections ... One o

Re: try/except/finally

2014-06-10 Thread Skip Montanaro
> Here is Dijkstra: > http://www.u.arizona.edu/~rubinson/copyright_violations/Go_To_Considered_Harmful.html ... > And here is Hoare... > | Ada has a plethora of features and notational conventions, many of them > | unnecessary and some of them, like exception handling, even > | dangerous. Do not

Re: try/except/finally

2014-06-10 Thread Mark Lawrence
On 10/06/2014 08:27, Thomas Rachel wrote: Am 08.06.2014 05:58 schrieb Rustom Mody: Some people¹ think that gotos are a code-smell. ¹ I am not exactly those people. A chap called E W Dijkstra made the statement: "Goto statement considered harmful" and became famous. And became widely misunder

Re: Is MVC Design Pattern good enough?

2014-06-10 Thread Mark Lawrence
On 10/06/2014 04:32, Chris Angelico wrote: On Tue, Jun 10, 2014 at 12:57 PM, Stefan Ram wrote: AFAIK standard Python has no GUI library at all, so Java SE and C# already are better than Python insofar as they include a standard GUI toolkit at all! In Python one first has to choose b

Re: try/except/finally

2014-06-10 Thread Grant Edwards
On 2014-06-10, Mark Lawrence wrote: > I entirely agree. I find it incredible that some people find it so > difficult to differentiate having tens or even hundreds of gotos > leaping around willy nilly to a similar number of labels, and a > similar number of gotos targetted at one label called S

Re: try/except/finally

2014-06-10 Thread alister
On Tue, 10 Jun 2014 19:14:18 +0100, Mark Lawrence wrote: > On 10/06/2014 08:27, Thomas Rachel wrote: >> Am 08.06.2014 05:58 schrieb Rustom Mody: >> >>> Some people¹ think that gotos are a code-smell. >>> ¹ I am not exactly those people. >>> A chap called E W Dijkstra made the statement: "Goto sta

How do I get zlib installed on a python2.7 alt install?

2014-06-10 Thread Nzyme11
Installed python 2.7.7 on SLES from source to /opt/python2.7. It's already an installed module on 2.6. How do I get zlib installed on python2.7 as well?? -- https://mail.python.org/mailman/listinfo/python-list

Re: Micro Python -- a lean and efficient implementation of Python 3

2014-06-10 Thread alister
On Tue, 10 Jun 2014 12:27:26 -0700, wxjmfauth wrote: > Le samedi 7 juin 2014 04:20:22 UTC+2, Tim Chase a écrit : >> On 2014-06-06 09:59, Travis Griggs wrote: >> >> > On Jun 4, 2014, at 4:01 AM, Tim Chase wrote: >> >> > > If you use UTF-8 for everything >> >> >> > >> > It seems to me, that inc

Re: First time I looked at Python was(...)

2014-06-10 Thread Terry Reedy
On 6/10/2014 1:19 PM, Carlos Anselmo Dias wrote: Let me finish with this ... https://www.youtube.com/watch? Yes, do finish with that. People, please quit responding to 'carlos' from premium-sponsor.com (which apparently exists but has no web page). -- Terry Jan Reedy -- https://mail.python

Re: First time I looked at Python was(...)

2014-06-10 Thread Carlos Anselmo Dias
Terry Jan Reedy ... https://www.youtube.com/watch?v=HbGHq2aUXDU (yhis one is portuguese ... I'm someone who did very probably more webpages than you in your entire life ... Do you exist? On 06/10/2014 08:57 PM, Terry Reedy wrote: On 6/10/2014 1:19 PM, Carlos Anselmo Dias wrote: Let me

Re: Is this sort of a constraint implementable in Python?

2014-06-10 Thread Gary Herron
On 06/10/2014 02:12 AM, varun...@gmail.com wrote: Hello Everyone, I'm working on a python code to input matrices into CPLEX solver. I have most of my code running fine but as of now, I don't know how to express this constraint. My objective is to minimize the number of nodes. I have got one of

Re: try/except/finally

2014-06-10 Thread Chris Angelico
On Wed, Jun 11, 2014 at 4:48 AM, Grant Edwards wrote: > I've seen some amazingly convoluted C code where people got themselves > wrapped around the axle six different ways in order to avoid using > "goto fail" or "goto retry". Invariably I was looking at the code > because it didn't work right an

Re: try/except/finally

2014-06-10 Thread Roy Smith
In article , Chris Angelico wrote: > Yeah. As soon as you take on board a hard-and-fast rule, you open > yourself up to stupid cases where the rule ought to have been broken. > I don't know a single piece of programming advice which, if taken as > an inviolate rule, doesn't at some point cause s

Re: First time I looked at Python was(...)

2014-06-10 Thread leo kirotawa
Gzz, Guys I'm from Brazil too, and I'm ashamed for this troll. And sorry by his terrible taste in music. Wondering now about moderation , have we one? []'s On Tue, Jun 10, 2014 at 5:07 PM, Carlos Anselmo Dias wrote: > > > Terry Jan Reedy ... > > https://www.youtube.com/watch?v=HbGHq2aUXDU (yhis

Re: try/except/finally

2014-06-10 Thread Chris Angelico
On Wed, Jun 11, 2014 at 6:38 AM, Roy Smith wrote: > In article , > Chris Angelico wrote: > >> Yeah. As soon as you take on board a hard-and-fast rule, you open >> yourself up to stupid cases where the rule ought to have been broken. >> I don't know a single piece of programming advice which, if

Re: First time I looked at Python was(...)

2014-06-10 Thread Carlos Anselmo Dias
The end-> for replies like this one ... As far as I'm concerned and I'm not ... we'll talk about what I wrote when it will be time too ... There we'll see who has the possibility of participating ... and I'm not excluding people ... and certainly not those who answered like this ... I can't

Re: os.startfile hanging onto the launched app, or my IDE?

2014-06-10 Thread Ethan Furman
On 06/09/2014 09:46 PM, Tim Golden wrote: On 09/06/2014 23:31, Ethan Furman wrote: On 06/09/2014 03:21 PM, Josh English wrote: So this quirk is coming from PyScripter, which is a shame, because I don't think it's under development, so it won't be fixed. The nice thing about Python code is yo

Re: First time I looked at Python was(...)

2014-06-10 Thread Carlos Anselmo Dias
Troll is you ... Get real ... On 06/10/2014 09:41 PM, leo kirotawa wrote: Gzz, Guys I'm from Brazil too, and I'm ashamed for this troll. And sorry by his terrible taste in music. Wondering now about moderation , have we one? []'s On Tue, Jun 10, 2014 at 5:07 PM, Carlos Anselmo Dias wrote:

Re: First time I looked at Python was(...)

2014-06-10 Thread Mark Lawrence
On 10/06/2014 21:41, leo kirotawa wrote: Gzz, Guys I'm from Brazil too, and I'm ashamed for this troll. And sorry by his terrible taste in music. Wondering now about moderation , have we one? No, otherwise the resident unicode expert would have been booted long ago. -- My fellow Pythonistas,

Re: First time I looked at Python was(...)

2014-06-10 Thread Larry Martell
On Tue, Jun 10, 2014 at 4:51 PM, Mark Lawrence wrote: > On 10/06/2014 21:41, leo kirotawa wrote: >> >> Gzz, >> >> Guys I'm from Brazil too, and I'm ashamed for this troll. And sorry by >> his terrible taste in music. >> Wondering now about moderation , have we one? >> > > No, otherwise the residen

Re: First time I looked at Python was(...)

2014-06-10 Thread Carlos Anselmo Dias
Hi... I don't understand the 'problem' of several people ... I created one post because I've several projects, I'm looking for one team of experienced experts in Python to work in my projects ... asap ... I provided one script(I'm not one expert in Python) to help people think and described t

Re: First time I looked at Python was(...)

2014-06-10 Thread Ethan Furman
On 06/09/2014 01:54 PM, Carlos Anselmo Dias wrote: [snip] *plonk* -- https://mail.python.org/mailman/listinfo/python-list

Re: First time I looked at Python was(...)

2014-06-10 Thread Mark H Harris
On 6/10/14 3:41 PM, leo kirotawa wrote: Guys I'm from Brazil too, and I'm ashamed for this troll. Don't feed the troll bot. OTOH, it might be fun to feed it some weird subject|predicate phrases to see what it does with them. Bots eat bananas because bouncing on berries becomes beenie baby

Re: try/except/finally

2014-06-10 Thread Ethan Furman
On 06/10/2014 01:38 PM, Roy Smith wrote: Chris Angelico wrote: # Yeah. As soon as you take on board a hard-and-fast rule, you open yourself up to stupid cases where the rule ought to have been broken. I don't know a single piece of programming advice which, if taken as an inviolate rule, doesn'

Re: First time I looked at Python was(...)

2014-06-10 Thread Carlos Anselmo Dias
On 06/10/2014 10:32 PM, Mark H Harris wrote: On 6/10/14 3:41 PM, leo kirotawa wrote: Guys I'm from Brazil too, and I'm ashamed for this troll. Don't feed the troll bot. OTOH, it might be fun to feed it some weird subject|predicate phrases to see what it does with them. Bots eat bananas b

Re: Micro Python -- a lean and efficient implementation of Python 3

2014-06-10 Thread Tim Delaney
On 11 June 2014 05:43, alister wrote: > > Your error reports always seem to resolve around benchmarks despite speed > not being one of Pythons prime objectives > By his own admission, jmf doesn't use Python anymore. His only reason to remain on this emailing/newsgroup is to troll about the FSR.

Re: try/except/finally

2014-06-10 Thread Mark Lawrence
On 10/06/2014 21:43, Ethan Furman wrote: On 06/10/2014 01:38 PM, Roy Smith wrote: Chris Angelico wrote: # Yeah. As soon as you take on board a hard-and-fast rule, you open yourself up to stupid cases where the rule ought to have been broken. I don't know a single piece of programming advice wh

Re: Micro Python -- a lean and efficient implementation of Python 3

2014-06-10 Thread Mark Lawrence
On 10/06/2014 20:43, alister wrote: On Tue, 10 Jun 2014 12:27:26 -0700, wxjmfauth wrote: [snip the garbage] jmf Your error reports always seem to resolve around benchmarks despite speed not being one of Pythons prime objectives Computers store data using bytes ASCII Characters can be use

Re: Micro Python -- a lean and efficient implementation of Python 3

2014-06-10 Thread Devin Jeanpierre
Please don't be unnecessarily cruel and antagonistic. -- Devin On Tue, Jun 10, 2014 at 4:16 PM, Mark Lawrence wrote: > On 10/06/2014 20:43, alister wrote: >> >> On Tue, 10 Jun 2014 12:27:26 -0700, wxjmfauth wrote: >> > > [snip the garbage] > > >>> >>> jmf >> >> >> Your error reports always seem

Re: try/except/finally

2014-06-10 Thread Steven D'Aprano
On Wed, 11 Jun 2014 06:37:01 +1000, Chris Angelico wrote: > I don't know > a single piece of programming advice which, if taken as an inviolate > rule, doesn't at some point cause suboptimal code. "Don't try to program while your cat is sleeping on the keyboard." -- Steven D'Aprano http://imp

Re: Micro Python -- a lean and efficient implementation of Python 3

2014-06-10 Thread Steven D'Aprano
On Tue, 10 Jun 2014 19:43:13 +, alister wrote: > On Tue, 10 Jun 2014 12:27:26 -0700, wxjmfauth wrote: Please don't feed the troll. I don't know whether JMF is trolling or if he is a crank who doesn't understand what he is doing, but either way he's been trying to square this circle for the

Re: try/except/finally

2014-06-10 Thread Chris Angelico
On Wed, Jun 11, 2014 at 10:00 AM, Steven D'Aprano wrote: > On Wed, 11 Jun 2014 06:37:01 +1000, Chris Angelico wrote: > >> I don't know >> a single piece of programming advice which, if taken as an inviolate >> rule, doesn't at some point cause suboptimal code. > > "Don't try to program while your

Re: try/except/finally

2014-06-10 Thread Roy Smith
> On Wed, Jun 11, 2014 at 10:00 AM, Steven D'Aprano > wrote: > > "Don't try to program while your cat is sleeping on the keyboard." In article , Chris Angelico wrote: > Hmm. I've never actually heard that one. Is it commonly taught in > programming classes? Because I haven't taken any. A pictu

Re: Micro Python -- a lean and efficient implementation of Python 3

2014-06-10 Thread Ethan Furman
On 06/10/2014 04:29 PM, Devin Jeanpierre wrote: Please don't be unnecessarily cruel and antagonistic. I completely agree. jmf should leave us alone and stop cruelly and antagonizingly baiting us with stupidity and falsehoods. -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-lis

Re: try/except/finally

2014-06-10 Thread Tim Delaney
On 11 June 2014 10:00, Steven D'Aprano wrote: > On Wed, 11 Jun 2014 06:37:01 +1000, Chris Angelico wrote: > > > I don't know > > a single piece of programming advice which, if taken as an inviolate > > rule, doesn't at some point cause suboptimal code. > > "Don't try to program while your cat is

Re: try/except/finally

2014-06-10 Thread Mark Lawrence
On 11/06/2014 01:40, Tim Delaney wrote: On 11 June 2014 10:00, Steven D'Aprano mailto:steve+comp.lang.pyt...@pearwood.info>> wrote: On Wed, 11 Jun 2014 06:37:01 +1000, Chris Angelico wrote: > I don't know > a single piece of programming advice which, if taken as an inviolate

Re: try/except/finally

2014-06-10 Thread Chris Angelico
On Wed, Jun 11, 2014 at 10:53 AM, Mark Lawrence wrote: > Does it make any difference if the cat is European or African? What? I don't know. ARGH! ChrisA -- https://mail.python.org/mailman/listinfo/python-list

Re: Micro Python -- a lean and efficient implementation of Python 3

2014-06-10 Thread Mark Lawrence
On 11/06/2014 00:29, Devin Jeanpierre wrote: Please don't be unnecessarily cruel and antagonistic. -- Devin I am simply giving our resident unicode expert a taste of his own medicine. If you don't like that complain to the PSF about the root cause of the problem, not the symptoms. -- My f

Re: try/except/finally

2014-06-10 Thread Mark Lawrence
On 11/06/2014 02:00, Chris Angelico wrote: On Wed, Jun 11, 2014 at 10:53 AM, Mark Lawrence wrote: Does it make any difference if the cat is European or African? What? I don't know. ARGH! ChrisA Awfully sorry, it's 2 a.m. here, next time I'll try to remember

Re: try/except/finally

2014-06-10 Thread Rustom Mody
On Tuesday, June 10, 2014 11:41:45 PM UTC+5:30, Skip Montanaro wrote: > Would be interesting to get their collective take on C++... > Are there any good parts? It appears the book was cancelled > https://www.matthewsbooks.com/productdetail.aspx?productid=4493SAT1969&returnurl=%2Fforthcomingtitles

Re: How do I get zlib installed on a python2.7 alt install?

2014-06-10 Thread dieter
Nzyme11 writes: > Installed python 2.7.7 on SLES from source to /opt/python2.7. Usually, an extension module is build automatically during the Python generation (from source) when its preconditions are met. This usually means, that the relevant development packages are installed. In your case, t