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: gi

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 under

Re: Debugging memory leaks

2013-06-15 Thread Chris Angelico
On Sat, Jun 15, 2013 at 4:52 PM, dieter wrote: > Chris Angelico 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.

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 easil

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 entirel

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 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" | | >>> print(name o

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 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 the names he previ

Re: Don't feed the troll...

2013-06-15 Thread Zero Piraeus
: On 14 June 2013 08:50, Nick the Gr33k 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 actually does is good;

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 wrote: | "D'Arcy J.M. Cain" 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 out | > duplicates. | | The message se

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, whe

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 dis

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

2013-06-15 Thread Lele Gaifax
Nick the Gr33k 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 la

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 t

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

2013-06-15 Thread Lele Gaifax
Nick the Gr33k 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 are truthy,

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 ne

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" .

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"

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 c

Re: Debugging memory leaks

2013-06-15 Thread Ben Finney
rusi writes: > On Jun 15, 5:16 am, Ben Finney 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 desktop. > > > > Any memory leak in any of those

Re: Don't feed the troll...

2013-06-15 Thread Ben Finney
Cameron Simpson writes: > On 15Jun2013 10:42, Ben Finney 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 requires more > | processing). > | > |

Re: Pattern Search Regular Expression

2013-06-15 Thread rusi
On Jun 15, 3:55 pm, Mark Lawrence 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 pat

Re: Debugging memory leaks

2013-06-15 Thread rusi
On Jun 15, 4:23 pm, Ben Finney wrote: > rusi writes: > > On Jun 15, 5:16 am, Ben Finney 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: Debugging memory leaks

2013-06-15 Thread Chris Angelico
On Sat, Jun 15, 2013 at 9:35 PM, rusi wrote: > On Jun 15, 4:23 pm, Ben Finney wrote: >> rusi writes: >> > On Jun 15, 5:16 am, Ben Finney wrote: >> > > Is a web browser a “typical desktop app”? A filesystem browser? An >> > > instant messenger? A file transfer application? A podcatcher? All of >

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 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 message in my mailbo

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

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 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'

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 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 evaluation of "boolean"

Re: Future standard GUI library

2013-06-15 Thread Chris Angelico
On Sat, Jun 15, 2013 at 10:25 PM, Wolfgang Keller 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 long. Y

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 t

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 "", line 1, in > TypeError: list indices must be integers, not tuple > > So why would the

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 -- http://mail.pytho

Re: Version Control Software

2013-06-15 Thread Roy Smith
In article , Chris Angelico wrote: > On Sat, Jun 15, 2013 at 3:39 PM, Tim Delaney > 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 wo

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 se

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, 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 Windows, the pyven

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] > > > > >

Re: A few questiosn about encoding

2013-06-15 Thread Grant Edwards
On 2013-06-15, Denis McMahon 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 thing that i did

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

Re: A few questiosn about encoding

2013-06-15 Thread Roy Smith
In article , 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). I would have defined it more like, "some arbitrary collection of adja

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 ba

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, http://wiki.python.org/m

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 separ

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 onlin

Re: A few questiosn about encoding

2013-06-15 Thread Joel Goldstick
On Sat, Jun 15, 2013 at 11:14 AM, Nick the Gr33k wrote: > 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 us

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 id

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. http://docs.python.o

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 quest

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. > > >

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 here

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 mo

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 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 do that when replying to a mail

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 gr

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 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 to a mailing list??? They're already > > getting a reply. Sen

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 wrote: > On Jun 14, 2:24 am, Νικόλαος Κούρας wrote: >> iam researchign a solution to this as we speak. > > Spamming endless "ZOMG HELP ME I'M INCOMPETENT" posts isn't "research". > -- > http://mail.python.org/mailman/listinfo/python-list BTW: Do we have a

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 > 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

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

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 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 repl

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 wrote: On Jun 14, 2:24 am, Νικόλαος Κούρας wrote: iam researchign a solution to this as we speak. Spamming endless "ZOMG HELP ME I'M INCOMPETENT" posts isn't "research". -- http://mail.python.org/m

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 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

Re: Don't feed the troll...

2013-06-15 Thread rusi
On Jun 15, 10:30 pm, Nick the Gr33k 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 wrote: > On 15/6/2013 8:11 μμ, Chris “Kwpolska” Warrick wrote: > > > > > > > > > > > On Fri, Jun 14, 2013 at 5:25 AM, alex23 wrote: > >> On Jun 14, 2:24 am, Νικόλαος Κούρας wrote: > >>> iam researchign a solution to this as we speak. > > >> Spamming endless "Z

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 wrote: > On 15/6/2013 8:11 μμ, Chris “Kwpolska” Warrick wrote: >> >> On Fri, Jun 14, 2013 at 5:25 AM, alex23 wrote: >>> >>> On Jun 14, 2:24 am, Νικόλαος Κούρας wrote: iam researchign a solution to this as we speak. >>> >>> >>> Spamming en

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 wrote: On Jun 14, 2:24 am, Νικόλαος Κούρας wrote: iam researchign a solution to this as we speak. Spamming endless "ZOMG HELP ME I'M INCOMPETENT" posts i

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 d

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 wrote: >>> On Jun 14, 2:24 am, Νικόλαος Κούρας wrote: iam researchign a solution to this as we speak. >>> >>> Spamming endless "ZOMG H

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. -- http://mail.python.org/mai

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 wrote: > On 15/6/2013 8:11 μμ, Chris “Kwpolska” Warrick wrote: >> >> On Fri, Jun 14, 2013 at 5:25 AM, alex23 wrote: >>> >>> On Jun 14, 2:24 am, Νικόλαος Κούρας wrote: iam researchign a solution to this as we speak. >>> >>> >>> Spamming en

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 > 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

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 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

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 no

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 grou

Re: Don't feed the troll...

2013-06-15 Thread Andreas Perstinger
Nick the Gr33k 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 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 wrote: On Jun 14, 2:24 am, Νικόλαος Κούρας wrote: > iam researchign a soluti

Re: Don't feed the troll...

2013-06-15 Thread rusi
On Jun 15, 10:52 pm, Steven D'Aprano 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 excessively large threads, Niko

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, Niko

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 i

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 u

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), xtopdf,

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 val

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 le

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 nik

Re: Pattern Search Regular Expression

2013-06-15 Thread subhabangalore
On Sunday, June 16, 2013 12:17:18 AM UTC+5:30, ru...@yahoo.com wrote: > 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

Timsort in Cpython

2013-06-15 Thread alphonse23
I'm currently trying to make sense of Python's Timsort function. From the wikipedia page I was told the algorithm is located somewhere here: http://hg.python.org/cpython/file/default/Objects/listobject.c So of all the functions in there, could somebody point to me which one is timsort? Thanks,

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

2013-06-15 Thread Jarrod Henry
Nick, at this point, you need to hire someone to do your work for you. We are not here to do your job. I would suggest finding a coder for hire and letting them do this job correctly. Thanks. On Sat, Jun 15, 2013 at 2:38 PM, Nick the Gr33k wrote: > Hello, > > Trying to browse > http://superh

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

2013-06-15 Thread Nick the Gr33k
On 15/6/2013 10:46 μμ, Jarrod Henry wrote: Nick, at this point, you need to hire someone to do your work for you. The code is completely ready. Some detail is missing and its not printing the files as expected. Irrelevant to my question i just noticed weird behavior about my pelatologio.py sc

Re: Don't feed the troll...

2013-06-15 Thread rurpy
On 06/15/2013 12:18 PM, rusi wrote: > On Jun 15, 10:52 pm, Steven D'Aprano +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, infl

Re: Don't feed the troll...

2013-06-15 Thread Nick the Gr33k
On 15/6/2013 10:54 μμ, ru...@yahoo.com wrote: On 06/15/2013 12:18 PM, rusi wrote: On Jun 15, 10:52 pm, Steven D'Aprano 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,

Re: Timsort in Cpython

2013-06-15 Thread Zachary Ware
On Sat, Jun 15, 2013 at 2:44 PM, wrote: > I'm currently trying to make sense of Python's Timsort function. From the > wikipedia page I was told the algorithm is located somewhere here: > http://hg.python.org/cpython/file/default/Objects/listobject.c > > So of all the functions in there, could s

Re: Timsort in Cpython

2013-06-15 Thread Robert Kern
On 2013-06-15 20:44, alphons...@gmail.com wrote: I'm currently trying to make sense of Python's Timsort function. From the wikipedia page I was told the algorithm is located somewhere here: http://hg.python.org/cpython/file/default/Objects/listobject.c So of all the functions in there, could s

  1   2   >