Re: Version Control Software

2013-06-15 Thread Chris Angelico
On Sat, Jun 15, 2013 at 3:39 PM, Tim Delaney timothy.c.dela...@gmail.com wrote: I can absolutely confirm how much ClearCase slows things down. I completely refused to use dynamic views for several reasons - #1 being that if you lost your network connection you couldn't work at all... And that

Re: Memory usage steadily going up while pickling objects

2013-06-15 Thread Peter Otten
Giorgos Tzampanakis wrote: I have a program that saves lots (about 800k) objects into a shelve database (I'm using sqlite3dbm for this since all the default python dbm packages seem to be unreliable and effectively unusable, but this is another discussion). The process takes about 10-15

Re: A few questiosn about encoding

2013-06-15 Thread Denis McMahon
On Fri, 14 Jun 2013 16:58:20 +0300, Nick the Gr33k wrote: On 14/6/2013 1:14 μμ, Cameron Simpson wrote: Normally a character in a b'...' item represents the byte value matching the character's Unicode ordinal value. The only thing that i didn't understood is this line. First please tell me

Re: Don't feed the troll...

2013-06-15 Thread Denis McMahon
On Fri, 14 Jun 2013 12:32:56 +0300, Nick the Gr33k wrote: I'mm not trolling man, i just have hard time understanding why numbers acts as strings. It depends on the context. -- Denis McMahon, denismfmcma...@gmail.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Newbie: The philosophy behind list indexes

2013-06-15 Thread Peter Otten
Chris Rebert wrote: On Jun 14, 2013 10:26 PM, ian.l.came...@gmail.com wrote: What is the thinking behind stopping 'one short' when slicing or iterating through lists? I find Dijkstra's explanation rather convincing: http://www.cs.utexas.edu/~EWD/transcriptions/EWD08xx/EWD831.html This is

Re: Wrong website loaded when other requested

2013-06-15 Thread Nick the Gr33k
On 14/6/2013 9:45 μμ, Mark Lawrence wrote: On 14/06/2013 17:46, Mark Lawrence wrote: Sure, just give me your password. He actually offered to do just this!!! How stupid can you get? I'm so fed up with his behaviour that I've emailed the Greek Embassy in London pointing out what he's up

Re: Debugging memory leaks

2013-06-15 Thread dieter
Chris Angelico ros...@gmail.com writes: ... It's terrible advice in generality, because it encourages a sloppiness of thinking: Memory usage doesn't matter, we'll just instruct people to reset everything now and then. Memory usage may matter. But if you loose 1 kb a day, your process can run

Re: Eval of expr with 'or' and 'and' within

2013-06-15 Thread alex23
On Saturday, 15 June 2013 02:09:20 UTC+10, Steven D'Aprano wrote: To everyone else... I know that Nikos' posts are draining. Sometimes he brings me to the brink of despair too. But if you aren't part of the solution, you are part of the problem: writing short-tempered, insulting posts

Re: Eval of expr with 'or' and 'and' within

2013-06-15 Thread Nick the Gr33k
On 15/6/2013 9:50 πμ, alex23 wrote: Please keep the snarky comments offlist. Tried that. He posts them back here. Alternatively, I'd ask that if you're so willing to deal with him, that the *two of you* take this show offlist instead? I'm genuinely curious as to whether he'd agree to this:

Re: Newbie: The philosophy behind list indexes

2013-06-15 Thread John Ladasky
On Friday, June 14, 2013 10:21:28 PM UTC-7, ian.l@gmail.com wrote: I'm sure there's a good reason, but I'm worried it will result in a lot of 'one-off' errors for me, so I need to get my head around the philosophy of this behaviour, and where else it is observed (or not observed.) My

Re: Debugging memory leaks

2013-06-15 Thread Chris Angelico
On Sat, Jun 15, 2013 at 4:52 PM, dieter die...@handshake.de wrote: Chris Angelico ros...@gmail.com writes: ... It's terrible advice in generality, because it encourages a sloppiness of thinking: Memory usage doesn't matter, we'll just instruct people to reset everything now and then.

Re: Newbie: The philosophy behind list indexes

2013-06-15 Thread Olive
On 15/06/13 07:21, ian.l.came...@gmail.com wrote: I bet this is asked quite frequently, however after quite a few hours searching I haven't found an answer. What is the thinking behind stopping 'one short' when slicing or iterating through lists? By example; a=[0,1,2,3,4,5,6] a [0, 1, 2,

Re: Eval of expr with 'or' and 'and' within

2013-06-15 Thread Denis McMahon
On Sat, 15 Jun 2013 10:04:41 +0300, Nick the Gr33k wrote: I called my self 'Ferrous Cranus'(this is what a guy from a forum initially called me for being hard-headed :-) ) because i'm indeed hardheaded and if i believe that 1 thing should have worked in some way i cant change my mind easily

Re: Eval of expr with 'or' and 'and' within

2013-06-15 Thread Nick the Gr33k
On 14/6/2013 7:42 μμ, Nobody wrote: Python implements these operators by returning the actual value which determined the result of the expression rather than simply True or False. which in turn the actual value being returned is a truthy or a falsey. That cleared the mystery in my head

Re: Eval of expr with 'or' and 'and' within

2013-06-15 Thread Nick the Gr33k
On 15/6/2013 10:49 πμ, Denis McMahon wrote: On Sat, 15 Jun 2013 10:04:41 +0300, Nick the Gr33k wrote: I called my self 'Ferrous Cranus'(this is what a guy from a forum initially called me for being hard-headed :-) ) because i'm indeed hardheaded and if i believe that 1 thing should have worked

Re: Eval of expr with 'or' and 'and' within

2013-06-15 Thread Nick the Gr33k
On 15/6/2013 3:14 πμ, Cameron Simpson wrote: On 14Jun2013 12:50, Nikos as SuperHost Support supp...@superhost.gr wrote: | I started another thread because the last one was !@#$'ed up by | irrelevant replies and was difficult to jeep track. | | name=abcd | month=efgh | year=ijkl | |

Re: A certainl part of an if() structure never gets executed.

2013-06-15 Thread Nick the Gr33k
On 15/6/2013 8:27 πμ, Larry Hudson wrote: On 06/14/2013 09:56 AM, Nick the Gr33k wrote: On 14/6/2013 7:31 μμ, Steven D'Aprano wrote: On Fri, 14 Jun 2013 16:07:56 +0300, Nick the Gr33k wrote: Returning True is the same thing as returning a variable's truthy value? NO! 'True' and 'False'

Re: Don't feed the help-vampire

2013-06-15 Thread Ian Kelly
On Fri, Jun 14, 2013 at 6:09 AM, rusi rustompm...@gmail.com wrote: Since identifying a disease by the right name is key to finding a cure: Nikos is not trolling or spamming; he is help-vampiring. I think he's a very dedicated troll elaborately disguised as a help vampire. Remember that one of

Re: Don't feed the troll...

2013-06-15 Thread Zero Piraeus
: On 14 June 2013 08:50, Nick the Gr33k supp...@superhost.gr wrote: So, if i had no interest of actually learning python i would just cut n' paste provided code without worrying what it actually does, since knowing that came form you would be enough to know that works. Worrying what it

Re: Don't feed the troll...

2013-06-15 Thread Robert Kern
On 2013-06-15 03:09, Cameron Simpson wrote: On 15Jun2013 10:42, Ben Finney ben+pyt...@benfinney.id.au wrote: | D'Arcy J.M. Cain da...@druid.net writes: | Even for those who do participate by email, though, your approach is | broken: | My answer is simple. Get a proper email system that filters

Pattern Search Regular Expression

2013-06-15 Thread subhabangalore
Dear Group, I am trying to search the following pattern in Python. I have following strings: (i)In the ocean (ii)On the ocean (iii) By the ocean (iv) In this group (v) In this group (vi) By the new group . I want to extract from the first word to the last word, where first

Re: Memory usage steadily going up while pickling objects

2013-06-15 Thread Giorgos Tzampanakis
On 2013-06-15, Peter Otten wrote: Giorgos Tzampanakis wrote: I have a program that saves lots (about 800k) objects into a shelve database (I'm using sqlite3dbm for this since all the default python dbm packages seem to be unreliable and effectively unusable, but this is another discussion).

Re: Eval of expr with 'or' and 'and' within

2013-06-15 Thread Lele Gaifax
Nick the Gr33k supp...@superhost.gr writes: On 15/6/2013 3:14 πμ, Cameron Simpson wrote: But for what you are doing, and and or are not good operations. Something like: k in (name+month+year) or k in name or k in month or k in year Used to wrote it myself like the latter but

Re: Memory usage steadily going up while pickling objects

2013-06-15 Thread Giorgos Tzampanakis
On 2013-06-15, Dave Angel wrote: On 06/14/2013 07:04 PM, Giorgos Tzampanakis wrote: I have a program that saves lots (about 800k) objects into a shelve database (I'm using sqlite3dbm for this since all the default python dbm packages seem to be unreliable and effectively unusable, but this is

Re: A certainl part of an if() structure never gets executed.

2013-06-15 Thread Lele Gaifax
Nick the Gr33k supp...@superhost.gr writes: On 15/6/2013 8:27 πμ, Larry Hudson wrote: Also they do NOT return a variable's truthy value, they return the variable itself. No, as seen from my above examples, what is returned after the expr eval are the actual variables' values, which in turn

Re: Pattern Search Regular Expression

2013-06-15 Thread Steven D'Aprano
On Sat, 15 Jun 2013 02:42:55 -0700, subhabangalore wrote: Dear Group, I am trying to search the following pattern in Python. I have following strings: (i)In the ocean (ii)On the ocean (iii) By the ocean (iv) In this group (v) In this group (vi) By the new group .

Re: Memory usage steadily going up while pickling objects

2013-06-15 Thread Peter Otten
Giorgos Tzampanakis wrote: So it seems that the pickle module does keep some internal cache or something like that. I don't think there's a global cache. The Pickler/Unpickler has a per- instance cache (the memo dict) that you can clear with the clear_memo() method, but that doesn't matter

Re: Pattern Search Regular Expression

2013-06-15 Thread Mark Lawrence
On 15/06/2013 10:42, subhabangal...@gmail.com wrote: Dear Group, I am trying to search the following pattern in Python. I have following strings: (i)In the ocean (ii)On the ocean (iii) By the ocean (iv) In this group (v) In this group (vi) By the new group . I want to

Re: Pattern Search Regular Expression

2013-06-15 Thread Denis McMahon
On Sat, 15 Jun 2013 10:05:01 +, Steven D'Aprano wrote: On Sat, 15 Jun 2013 02:42:55 -0700, subhabangalore wrote: Dear Group, I am trying to search the following pattern in Python. I have following strings: (i)In the ocean (ii)On the ocean (iii) By the ocean (iv) In this group

Re: Pattern Search Regular Expression

2013-06-15 Thread Mark Lawrence
On 15/06/2013 11:24, Denis McMahon wrote: On Sat, 15 Jun 2013 10:05:01 +, Steven D'Aprano wrote: On Sat, 15 Jun 2013 02:42:55 -0700, subhabangalore wrote: Dear Group, I am trying to search the following pattern in Python. I have following strings: (i)In the ocean (ii)On the ocean

Re: Memory usage steadily going up while pickling objects

2013-06-15 Thread Giorgos Tzampanakis
On 2013-06-15, Peter Otten wrote: Giorgos Tzampanakis wrote: So it seems that the pickle module does keep some internal cache or something like that. I don't think there's a global cache. The Pickler/Unpickler has a per- instance cache (the memo dict) that you can clear with the

Re: Debugging memory leaks

2013-06-15 Thread Ben Finney
rusi rustompm...@gmail.com writes: On Jun 15, 5:16 am, Ben Finney ben+pyt...@benfinney.id.au wrote: Is a web browser a “typical desktop app”? A filesystem browser? An instant messenger? A file transfer application? A podcatcher? All of those typically run for months at a time on my

Re: Don't feed the troll...

2013-06-15 Thread Ben Finney
Cameron Simpson c...@zip.com.au writes: On 15Jun2013 10:42, Ben Finney ben+pyt...@benfinney.id.au wrote: | The message sent to the individual typically arrives earlier (since | it is sent straight from you to the individual), and the message on | the forum arrives later (since it typically

Re: Pattern Search Regular Expression

2013-06-15 Thread rusi
On Jun 15, 3:55 pm, Mark Lawrence breamore...@yahoo.co.uk wrote: On 15/06/2013 11:24, Denis McMahon wrote: On Sat, 15 Jun 2013 10:05:01 +, Steven D'Aprano wrote: On Sat, 15 Jun 2013 02:42:55 -0700, subhabangalore wrote: Dear Group, I am trying to search the following

Re: Debugging memory leaks

2013-06-15 Thread rusi
On Jun 15, 4:23 pm, Ben Finney ben+pyt...@benfinney.id.au wrote: rusi rustompm...@gmail.com writes: On Jun 15, 5:16 am, Ben Finney ben+pyt...@benfinney.id.au wrote: Is a web browser a “typical desktop app”? A filesystem browser? An instant messenger? A file transfer application? A

Re: Debugging memory leaks

2013-06-15 Thread Chris Angelico
On Sat, Jun 15, 2013 at 9:35 PM, rusi rustompm...@gmail.com wrote: On Jun 15, 4:23 pm, Ben Finney ben+pyt...@benfinney.id.au wrote: rusi rustompm...@gmail.com writes: On Jun 15, 5:16 am, Ben Finney ben+pyt...@benfinney.id.au wrote: Is a web browser a “typical desktop app”? A filesystem

Re: Don't feed the troll...

2013-06-15 Thread D'Arcy J.M. Cain
On Sat, 15 Jun 2013 21:29:35 +1000 Ben Finney ben+pyt...@benfinney.id.au wrote: Bah. Plenty of us like both. In the inbox alerts me that someone replied to _my_ post, and in the python mail gets it nicely threaded. Your mail client doesn't alert you to a message addressed to you? Every

Re: problem uploading docs to pypi

2013-06-15 Thread Irmen de Jong
On 15-6-2013 2:23, MRAB wrote: About 10 ten days ago I got the error: Upload failed (503): backend write error while trying to upload to PyPI, and it failed the same way the second time, but worked some time later. You're right. I tried it again just now and it succeeded this time.

Re: Future standard GUI library

2013-06-15 Thread Wolfgang Keller
Okay... how long does a round-trip cost? With a protocol that wasn't made for the purpose (such as HTTP) and all that HTML to render (not to mention javascript that's required for even the most trivial issues) - way too long. Considering that usability guidelines generally permit ~100ms for

Re: A certainl part of an if() structure never gets executed.

2013-06-15 Thread Nick the Gr33k
On 15/6/2013 12:54 μμ, Lele Gaifax wrote: Nick the Gr33k supp...@superhost.gr writes: On 15/6/2013 8:27 πμ, Larry Hudson wrote: Also they do NOT return a variable's truthy value, they return the variable itself. No, as seen from my above examples, what is returned after the expr eval are

Re: Eval of expr with 'or' and 'and' within

2013-06-15 Thread Nick the Gr33k
On 15/6/2013 12:48 μμ, Lele Gaifax wrote: Nick the Gr33k supp...@superhost.gr writes: but those 2 gives the same results back k in (name+month+year) == k in (name and month and year) True so both seem to work as expected. That happens only by chance: it seems you now understand the

Re: Future standard GUI library

2013-06-15 Thread Chris Angelico
On Sat, Jun 15, 2013 at 10:25 PM, Wolfgang Keller felip...@gmx.net wrote: Okay... how long does a round-trip cost? With a protocol that wasn't made for the purpose (such as HTTP) and all that HTML to render (not to mention javascript that's required for even the most trivial issues) - way too

Re: Eval of expr with 'or' and 'and' within

2013-06-15 Thread Nick the Gr33k
On 15/6/2013 12:48 μμ, Lele Gaifax wrote: but those 2 gives the same results back k in (name+month+year) == k in (name and month and year) True so both seem to work as expected. That happens only by chance: it seems you now understand the evaluation of boolean expressions in Python, so the

Re: Pattern Search Regular Expression

2013-06-15 Thread Denis McMahon
On Sat, 15 Jun 2013 11:55:34 +0100, Mark Lawrence wrote: sentence = By the new group words = sentence.split() words[words[0],words[-1]] Traceback (most recent call last): File stdin, line 1, in module TypeError: list indices must be integers, not tuple So why would the OP want

Re: Pattern Search Regular Expression

2013-06-15 Thread Denis McMahon
On Sat, 15 Jun 2013 13:41:21 +, Denis McMahon wrote: first_and_last = [sentence.split()[i] for i in (0, -1)] middle = sentence.split()[1:-2] Bugger! That last is actually: sentence.split()[1:-1] It just looks like a two. -- Denis McMahon, denismfmcma...@gmail.com --

Re: Version Control Software

2013-06-15 Thread Roy Smith
In article mailman.3359.1371275633.3114.python-l...@python.org, Chris Angelico ros...@gmail.com wrote: On Sat, Jun 15, 2013 at 3:39 PM, Tim Delaney timothy.c.dela...@gmail.com wrote: I can absolutely confirm how much ClearCase slows things down. I completely refused to use dynamic views

Potential Python 3.3.2 pyvenv bug on Windows

2013-06-15 Thread peter
I've recently hit an issue with pyvenv that is causing AttributeErrors in other packages on Windows (see https://groups.google.com/forum/?fromgroups#!topic/pylons-discuss/FpOSMDpdvy4). Here's what I believe is going on: On Windows, the pyvenv pydoc script has a .py extension - so import finds

Re: Pattern Search Regular Expression

2013-06-15 Thread Mark Lawrence
On 15/06/2013 14:45, Denis McMahon wrote: On Sat, 15 Jun 2013 13:41:21 +, Denis McMahon wrote: first_and_last = [sentence.split()[i] for i in (0, -1)] middle = sentence.split()[1:-2] Bugger! That last is actually: sentence.split()[1:-1] It just looks like a two. I've a very strong

Re: Potential Python 3.3.2 pyvenv bug on Windows

2013-06-15 Thread Fábio Santos
On Sat, Jun 15, 2013 at 3:17 PM, pe...@psantoro.net wrote: I've recently hit an issue with pyvenv that is causing AttributeErrors in other packages on Windows (see https://groups.google.com/forum/?fromgroups#!topic/pylons-discuss/FpOSMDpdvy4). Here's what I believe is going on: On

Re: Pattern Search Regular Expression

2013-06-15 Thread subhabangalore
On Saturday, June 15, 2013 7:58:44 PM UTC+5:30, Mark Lawrence wrote: On 15/06/2013 14:45, Denis McMahon wrote: On Sat, 15 Jun 2013 13:41:21 +, Denis McMahon wrote: first_and_last = [sentence.split()[i] for i in (0, -1)] middle = sentence.split()[1:-2] Bugger! That last

Re: A few questiosn about encoding

2013-06-15 Thread Grant Edwards
On 2013-06-15, Denis McMahon denismfmcma...@gmail.com wrote: On Fri, 14 Jun 2013 16:58:20 +0300, Nick the Gr33k wrote: On 14/6/2013 1:14 , Cameron Simpson wrote: Normally a character in a b'...' item represents the byte value matching the character's Unicode ordinal value. The only

Re: A few questiosn about encoding

2013-06-15 Thread Nick the Gr33k
On 15/6/2013 5:44 μμ, Grant Edwards wrote: There is some ambiguity in the term byte. It used to mean the smallest addressable unit of memory (which varied in the past -- at one point, both 20 and 60 bit bytes were common). These days the smallest addressable unit of memory is almost always 8

Re: A few questiosn about encoding

2013-06-15 Thread Roy Smith
In article kphul7$74q$1...@reader1.panix.com, Grant Edwards invalid@invalid.invalid wrote: There is some ambiguity in the term byte. It used to mean the smallest addressable unit of memory (which varied in the past -- at one point, both 20 and 60 bit bytes were common). I would have defined

Re: Pattern Search Regular Expression

2013-06-15 Thread Andreas Perstinger
subhabangal...@gmail.com wrote: I know this solution but I want to have Regular Expression option. Just learning. http://mattgemmell.com/2008/12/08/what-have-you-tried/ Just spell out what you want: A word at the beginning, followed by any text, followed by a word at the end. Now look up the

Re: Pattern Search Regular Expression

2013-06-15 Thread Mark Lawrence
On 15/06/2013 15:31, subhabangal...@gmail.com wrote: Dear Group, I know this solution but I want to have Regular Expression option. Just learning. Regards, Subhabrata. Start here http://docs.python.org/2/library/re.html Would you also please read and action this,

Re: A few questiosn about encoding

2013-06-15 Thread Nick the Gr33k
On 15/6/2013 5:59 μμ, Roy Smith wrote: And, yes, especially in networking, everybody talks about octets when they want to make sure people understand what they mean. 1 byte = 8 bits in networking though since we do not use encoding schemes with variable lengths like utf-8 is, how do we

Re: A few questiosn about encoding

2013-06-15 Thread Steven D'Aprano
On Sat, 15 Jun 2013 17:49:13 +0300, Nick the Gr33k wrote: What the difference between a byte and a byte's value? Nothing. -- Steven -- http://mail.python.org/mailman/listinfo/python-list

Re: Version Control Software

2013-06-15 Thread Giorgos Tzampanakis
On 2013-06-15, Roy Smith wrote: And that right there is why modern source control systems are distributed, not centralized. It's so much easier with git; we lost our central hub at one point, and another dev and I simply pulled from each other for a bit until we got a new Scaphio online. With

Re: A few questiosn about encoding

2013-06-15 Thread Joel Goldstick
On Sat, Jun 15, 2013 at 11:14 AM, Nick the Gr33k supp...@superhost.grwrote: On 15/6/2013 5:59 μμ, Roy Smith wrote: And, yes, especially in networking, everybody talks about octets when they want to make sure people understand what they mean. 1 byte = 8 bits in networking though since we

Re: Don't feed the troll...

2013-06-15 Thread Steven D'Aprano
On Sat, 15 Jun 2013 07:58:27 -0400, D'Arcy J.M. Cain wrote: I suggested including the poster that you are replying to. In the name of all that's good and decent in the world, why on earth would you do that when replying to a mailing list??? They're already getting a reply. Sending them TWO

Re: A certainl part of an if() structure never gets executed.

2013-06-15 Thread Michael Torrie
On 06/15/2013 07:07 AM, Nick the Gr33k wrote: result = mylist (since its a no-emoty list) result.append('bar') result is mylist True Never seen the last statement before. What does that mean? result is mylist Yes. Surprisingling good question.

Scripting Calligra Sheets with Python

2013-06-15 Thread Jim Byrnes
I've read all the docs I can find and worked through a lot of examples but I can't figure out how to shift the focus from one cell to another. Could someone point me to the command or an example of how to do this? Thanks, Jim -- http://mail.python.org/mailman/listinfo/python-list

Re: A certainl part of an if() structure never gets executed.

2013-06-15 Thread Nick the Gr33k
On 15/6/2013 6:53 μμ, Michael Torrie wrote: On 06/15/2013 07:07 AM, Nick the Gr33k wrote: result = mylist (since its a no-emoty list) result.append('bar') result is mylist True Never seen the last statement before. What does that mean? result is mylist Yes. Surprisingling good

Re: Pattern Search Regular Expression

2013-06-15 Thread subhabangalore
On Saturday, June 15, 2013 8:34:59 PM UTC+5:30, Mark Lawrence wrote: On 15/06/2013 15:31, subhabangal...@gmail.com wrote: Dear Group, I know this solution but I want to have Regular Expression option. Just learning. Regards, Subhabrata. Start here

Re: Scripting Calligra Sheets with Python

2013-06-15 Thread Mark Lawrence
On 15/06/2013 16:55, Jim Byrnes wrote: I've read all the docs I can find and worked through a lot of examples but I can't figure out how to shift the focus from one cell to another. Could someone point me to the command or an example of how to do this? Thanks, Jim Have you tried asking

Re: Pattern Search Regular Expression

2013-06-15 Thread Mark Lawrence
On 15/06/2013 17:28, subhabangal...@gmail.com wrote: You've been pointed at several links, so what have you tried, and what, if anything, went wrong? Or do you simply not understand, in which case please say so and we'll help. I'm not trying to be awkward, it's simply known that you learn

Re: Don't feed the troll...

2013-06-15 Thread Chris “Kwpolska” Warrick
On Sat, Jun 15, 2013 at 5:40 PM, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: On Sat, 15 Jun 2013 07:58:27 -0400, D'Arcy J.M. Cain wrote: I suggested including the poster that you are replying to. In the name of all that's good and decent in the world, why on earth would you

Re: Pattern Search Regular Expression

2013-06-15 Thread rurpy
On 06/15/2013 03:42 AM, subhabangal...@gmail.com wrote: Dear Group, I am trying to search the following pattern in Python. I have following strings: (i)In the ocean (ii)On the ocean (iii) By the ocean (iv) In this group (v) In this group (vi) By the new group . I

Re: Don't feed the troll...

2013-06-15 Thread D'Arcy J.M. Cain
On Sat, 15 Jun 2013 18:41:41 +0200 Chris “Kwpolska” Warrick kwpol...@gmail.com wrote: On Sat, Jun 15, 2013 at 5:40 PM, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: In the name of all that's good and decent in the world, why on earth would you do that when replying to a mailing

Re: Potential Python 3.3.2 pyvenv bug on Windows

2013-06-15 Thread peter
Agreed. I did submit a bug report. If the core developers fix this, I suspect they will do so in a manner that does not break existing docs. However, my workaround (rename the pyvenv created scripts\pydoc.py file) should suffice for those who need the problem solved now. Take care, Peter

Re: RFD: rename comp.lang.python to comp.support.superhost

2013-06-15 Thread Chris “Kwpolska” Warrick
On Fri, Jun 14, 2013 at 5:25 AM, alex23 wuwe...@gmail.com wrote: On Jun 14, 2:24 am, Νικόλαος Κούρας supp...@superhost.gr wrote: iam researchign a solution to this as we speak. Spamming endless ZOMG HELP ME I'M INCOMPETENT posts isn't research. --

Re: Don't feed the troll...

2013-06-15 Thread Steven D'Aprano
On Sat, 15 Jun 2013 18:41:41 +0200, Chris “Kwpolska” Warrick wrote: On Sat, Jun 15, 2013 at 5:40 PM, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: On Sat, 15 Jun 2013 07:58:27 -0400, D'Arcy J.M. Cain wrote: I suggested including the poster that you are replying to. In the

Mailman forwarding (was: Don't feed the troll...)

2013-06-15 Thread W. Trevor King
On Sat, Jun 15, 2013 at 01:07:29PM -0400, D'Arcy J.M. Cain wrote: On Sat, 15 Jun 2013 18:41:41 +0200 Chris “Kwpolska” Warrick wrote: On Sat, Jun 15, 2013 at 5:40 PM, Steven D'Aprano wrote: In the name of all that's good and decent in the world, why on earth would you do that when replying

Re: Don't feed the troll...

2013-06-15 Thread Chris “Kwpolska” Warrick
On Sat, Jun 15, 2013 at 7:07 PM, D'Arcy J.M. Cain da...@druid.net wrote: On Sat, 15 Jun 2013 18:41:41 +0200 Chris “Kwpolska” Warrick kwpol...@gmail.com wrote: On Sat, Jun 15, 2013 at 5:40 PM, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: In the name of all that's good and

Re: RFD: rename comp.lang.python to comp.support.superhost

2013-06-15 Thread Nick the Gr33k
On 15/6/2013 8:11 μμ, Chris “Kwpolska” Warrick wrote: On Fri, Jun 14, 2013 at 5:25 AM, alex23 wuwe...@gmail.com wrote: On Jun 14, 2:24 am, Νικόλαος Κούρας supp...@superhost.gr wrote: iam researchign a solution to this as we speak. Spamming endless ZOMG HELP ME I'M INCOMPETENT posts isn't

Re: Don't feed the troll...

2013-06-15 Thread Nick the Gr33k
On 15/6/2013 7:41 μμ, Chris “Kwpolska” Warrick wrote: On Sat, Jun 15, 2013 at 5:40 PM, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: On Sat, 15 Jun 2013 07:58:27 -0400, D'Arcy J.M. Cain wrote: I suggested including the poster that you are replying to. In the name of all that's

Re: Don't feed the troll...

2013-06-15 Thread rusi
On Jun 15, 10:30 pm, Nick the Gr33k supp...@superhost.gr wrote: You are spamming my thread. With you as our spamming-guru, Onward! Sky is the limit! -- http://mail.python.org/mailman/listinfo/python-list

Re: RFD: rename comp.lang.python to comp.support.superhost

2013-06-15 Thread rusi
On Jun 15, 10:29 pm, Nick the Gr33k supp...@superhost.gr wrote: On 15/6/2013 8:11 μμ, Chris “Kwpolska” Warrick wrote: On Fri, Jun 14, 2013 at 5:25 AM, alex23 wuwe...@gmail.com wrote: On Jun 14, 2:24 am, Νικόλαος Κούρας supp...@superhost.gr wrote: iam researchign a solution to this

Re: RFD: rename comp.lang.python to comp.support.superhost

2013-06-15 Thread Fábio Santos
On Sat, Jun 15, 2013 at 6:29 PM, Nick the Gr33k supp...@superhost.gr wrote: On 15/6/2013 8:11 μμ, Chris “Kwpolska” Warrick wrote: On Fri, Jun 14, 2013 at 5:25 AM, alex23 wuwe...@gmail.com wrote: On Jun 14, 2:24 am, Νικόλαος Κούρας supp...@superhost.gr wrote: iam researchign a solution to

Re: RFD: rename comp.lang.python to comp.support.superhost

2013-06-15 Thread Mark Lawrence
On 15/06/2013 18:29, Nick the Gr33k wrote: On 15/6/2013 8:11 μμ, Chris “Kwpolska” Warrick wrote: On Fri, Jun 14, 2013 at 5:25 AM, alex23 wuwe...@gmail.com wrote: On Jun 14, 2:24 am, Νικόλαος Κούρας supp...@superhost.gr wrote: iam researchign a solution to this as we speak. Spamming endless

Re: A certainl part of an if() structure never gets executed.

2013-06-15 Thread Michael Torrie
On 06/15/2013 10:18 AM, Nick the Gr33k wrote: a and b you say are names, which still are memory chunks Yes no matter how you look at it, a dictionary of names and objects is memory and variables in that sense. But at a higher level, we can consider the differences with how a language like C

Re: RFD: rename comp.lang.python to comp.support.superhost

2013-06-15 Thread Alister
On Sat, 15 Jun 2013 20:29:09 +0300, Nick the Gr33k wrote: On 15/6/2013 8:11 μμ, Chris “Kwpolska” Warrick wrote: On Fri, Jun 14, 2013 at 5:25 AM, alex23 wuwe...@gmail.com wrote: On Jun 14, 2:24 am, Νικόλαος Κούρας supp...@superhost.gr wrote: iam researchign a solution to this as we speak.

Re: Don't feed the troll...

2013-06-15 Thread Michael Torrie
On 06/15/2013 11:30 AM, Nick the Gr33k wrote: You are spamming my thread. No he's not. The subject is changed on this branch of the thread, so it's easy to see in any good e-mail reader that this sub-thread or branch is diverting. This is proper list etiquette. --

Re: RFD: rename comp.lang.python to comp.support.superhost

2013-06-15 Thread Chris “Kwpolska” Warrick
On Sat, Jun 15, 2013 at 7:29 PM, Nick the Gr33k supp...@superhost.gr wrote: On 15/6/2013 8:11 μμ, Chris “Kwpolska” Warrick wrote: On Fri, Jun 14, 2013 at 5:25 AM, alex23 wuwe...@gmail.com wrote: On Jun 14, 2:24 am, Νικόλαος Κούρας supp...@superhost.gr wrote: iam researchign a solution to

Re: Don't feed the troll...

2013-06-15 Thread Steven D'Aprano
On Sat, 15 Jun 2013 19:25:21 +0200, Chris “Kwpolska” Warrick wrote: On Sat, Jun 15, 2013 at 7:07 PM, D'Arcy J.M. Cain da...@druid.net wrote: On Sat, 15 Jun 2013 18:41:41 +0200 Chris “Kwpolska” Warrick kwpol...@gmail.com wrote: On Sat, Jun 15, 2013 at 5:40 PM, Steven D'Aprano

Re: Don't feed the troll...

2013-06-15 Thread Mark Lawrence
On 15/06/2013 18:30, Nick the Gr33k wrote: On 15/6/2013 7:41 μμ, Chris “Kwpolska” Warrick wrote: On Sat, Jun 15, 2013 at 5:40 PM, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: On Sat, 15 Jun 2013 07:58:27 -0400, D'Arcy J.M. Cain wrote: I suggested including the poster that you

Re: RFD: rename comp.lang.python to comp.support.superhost

2013-06-15 Thread Steven D'Aprano
On Sat, 15 Jun 2013 18:43:42 +0100, Mark Lawrence wrote: A classic example of the pot calling the kettle black. If you're going to continue making unproductive, off-topic, inflammatory posts that prolong these already excessively large threads, Nikos won't be the only one kill-filed. If you

Re: Don't feed the troll...

2013-06-15 Thread Steven D'Aprano
On Sat, 15 Jun 2013 10:36:00 -0700, rusi wrote: With you as our spamming-guru, Onward! Sky is the limit! If you're going to continue making unproductive, off-topic, inflammatory posts that prolong these already excessively large threads, Nikos won't be the only one kill-filed. If you have

Re: Pattern Search Regular Expression

2013-06-15 Thread subhabangalore
On Saturday, June 15, 2013 3:12:55 PM UTC+5:30, subhaba...@gmail.com wrote: Dear Group, I am trying to search the following pattern in Python. I have following strings: (i)In the ocean (ii)On the ocean (iii) By the ocean (iv) In this group (v) In this group

Re: Don't feed the troll...

2013-06-15 Thread Andreas Perstinger
Nick the Gr33k supp...@superhost.gr wrote: You are spamming my thread. Well, you don't own this thread. In fact nobody owns it. This is a public forum and thus anybody can answer to any post as he likes. Bye, Andreas -- http://mail.python.org/mailman/listinfo/python-list

Re: RFD: rename comp.lang.python to comp.support.superhost

2013-06-15 Thread Chris “Kwpolska” Warrick
On Sat, Jun 15, 2013 at 7:52 PM, Alister alister.w...@ntlworld.com wrote: On Sat, 15 Jun 2013 20:29:09 +0300, Nick the Gr33k wrote: On 15/6/2013 8:11 μμ, Chris “Kwpolska” Warrick wrote: On Fri, Jun 14, 2013 at 5:25 AM, alex23 wuwe...@gmail.com wrote: On Jun 14, 2:24 am, Νικόλαος Κούρας

Re: Don't feed the troll...

2013-06-15 Thread rusi
On Jun 15, 10:52 pm, Steven D'Aprano steve +comp.lang.pyt...@pearwood.info wrote: On Sat, 15 Jun 2013 10:36:00 -0700, rusi wrote: With you as our spamming-guru, Onward! Sky is the limit! If you're going to continue making unproductive, off-topic, inflammatory posts that prolong these already

Re: RFD: rename comp.lang.python to comp.support.superhost

2013-06-15 Thread Mark Lawrence
On 15/06/2013 18:51, Steven D'Aprano wrote: On Sat, 15 Jun 2013 18:43:42 +0100, Mark Lawrence wrote: A classic example of the pot calling the kettle black. If you're going to continue making unproductive, off-topic, inflammatory posts that prolong these already excessively large threads,

Re: Version Control Software

2013-06-15 Thread Dan Sommers
On Sat, 15 Jun 2013 15:29:27 +, Giorgos Tzampanakis wrote: Also, is working without connection to the server such big an issue? One would expect that losing access to the central server would indicate significant problems that would impact development anyway. Everyone and every device is

Re: Pattern Search Regular Expression

2013-06-15 Thread rurpy
On Saturday, June 15, 2013 11:54:28 AM UTC-6, subhaba...@gmail.com wrote: Thank you for the answer. But I want to learn bit of interesting regular expression forms where may I? No Mark, thank you for your links but they were not sufficient. Links to the Python reference documentation are

XML to PDF book with ElementTree and xtopdf

2013-06-15 Thread vasudevram
Hi list, This may be of interest - a program to create simple PDF books from XML text content: Create PDF books with XMLtoPDFBook: http://jugad2.blogspot.in/2013/06/create-pdf-books-with-xmltopdfbook.html XMLtoPDFBook.py requires ElementTree (which is in the standard Python library),

Re: Don't feed the troll...

2013-06-15 Thread Nick the Gr33k
On 15/6/2013 8:47 μμ, Steven D'Aprano wrote: I still get two copies if you CC me. That's still unnecessary and rude. If I wanted a copy emailed to me, I'd subscribe via email rather than via news. Whether you agree or not, I'd appreciate if you respect my wishes rather than try to wiggle out of

Re: A few questiosn about encoding

2013-06-15 Thread Nick the Gr33k
On 14/6/2013 4:58 μμ, Nick the Gr33k wrote: On 14/6/2013 1:14 μμ, Cameron Simpson wrote: Normally a character in a b'...' item represents the byte value matching the character's Unicode ordinal value. The only thing that i didn't understood is this line. First please tell me what is a byte

Re: Don't feed the troll...

2013-06-15 Thread Steven D'Aprano
On Sat, 15 Jun 2013 11:18:03 -0700, rusi wrote: At least two people -- Alex and Antoon -- have told you that by supporting Nikos, when everyone else wants him off list, you are part of the problem. And others have publicly thanked me for giving useful answers to Nikos, because they have

Why 'files.py' does not print the filenames into a table format?

2013-06-15 Thread Nick the Gr33k
Hello, Trying to browse http://superhost.gr/?page=files.py with tailing -F of the error_log i noticed that error log outputs no error! So that means that the script is correct. here are the directory app's files. ni...@superhost.gr [~/www/data/apps]# ls -l total 412788 drwxr-xr-x 2 nikos

  1   2   3   >