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

2013-06-15 Thread Denis McMahon
On Sat, 15 Jun 2013 19:18:53 +0300, Nick the Gr33k wrote: > In both situations we still have 2 memory units holding values, so hows > that different? Consider that each named variable is a pointer to a memory location that holds a value. This is one of the ways in that a typed compiled language

Re: Memory usage steadily going up while pickling objects

2013-06-15 Thread dieter
Giorgos Tzampanakis writes: > ... > So it seems that the pickle module does keep some internal cache or > something like that. This is highly unlikely: the "ZODB" (Zope object database) uses pickle (actually, it is "cPickle", the "C" implementation of the "pickle" module) for serialization. The "

Re: Debugging memory leaks

2013-06-15 Thread dieter
Chris Angelico writes: > ... > Right. Everything needs to be scaled. Everything needs to be in > perspective. Losing 1 kilobit per day is indeed trivial; even losing > one kilobyte per day, which is what I assume you meant :), isn't > significant. But it's not usually per day, it's per leaking act

Re: Version Control Software

2013-06-15 Thread Chris Angelico
On Sun, Jun 16, 2013 at 3:20 PM, Steven D'Aprano wrote: > On Sun, 16 Jun 2013 14:13:13 +1000, Chris Angelico wrote: > >> I didn't think there would be that much difference, tbh. Mainly, I'm >> just seeing cpython as not being 200MB of history, or so I'd thought. >> Pike has ~30K commits (based on

Re: Version Control Software

2013-06-15 Thread Steven D'Aprano
On Sun, 16 Jun 2013 14:13:13 +1000, Chris Angelico wrote: > I didn't think there would be that much difference, tbh. Mainly, I'm > just seeing cpython as not being 200MB of history, or so I'd thought. > Pike has ~30K commits (based on 'git log --oneline|wc -l'); CPython has > roughly 80K (based on

Python Greek mailing list [was Re: Why 'files.py' does not print the filenames into a table format?]

2013-06-15 Thread Steven D'Aprano
Nikos, Have you considered subscribing to this? http://mail.python.org/mailman/listinfo/python-greece Possibly some of these concepts will be easier for you to understand if explained to you in your native language. Or you might be able to join a local Users Group who can help you. -- Ste

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

2013-06-15 Thread Steven D'Aprano
On Sat, 15 Jun 2013 18:55:05 -0700, Tim Roberts wrote: > Nick the Gr33k wrote: >> >>but i'm doing this all day long i just dont comprehend why it works this >>way. it doesn't make any sense to me. > > It's just a rule you'll have to learn. The "and" and "or" operators in > Python simply do not

Re: Version Control Software

2013-06-15 Thread Chris Angelico
On Sun, Jun 16, 2013 at 1:55 PM, rusi wrote: > On Jun 16, 4:14 am, Chris Angelico wrote: >> On Sun, Jun 16, 2013 at 12:16 AM, Roy Smith wrote: >> > The advantage of DVCS is that everybody has a full copy of the repo. >> > The disadvantage of the DVCS is that every MUST have a full copy of the >>

Re: Fatal Python error: Py_Initialize: can't initialize sys standard streams

2013-06-15 Thread Larry Hudson
On 06/15/2013 03:10 PM, alex23 wrote: On Jun 16, 7:29 am, lucabrasi...@gmail.com wrote: Here's a report of a similar issue with Blender (which also provides a local install of Python under Windows): http://translate.google.com.au/translate?hl=en&sl=fr&u=http://blenderclan.tuxfamily.org/html/m

Re: Timsort in Cpython

2013-06-15 Thread alphonse23
Yes I've read it. Very interesting read. There are other resources too online that make it very clear, for instance the wikipedia articles is pretty good. Though, if anyone would be interested in helping me out further -- though by all means, I'm not lazy, I can figure it myself. But, I wanted t

Re: Version Control Software

2013-06-15 Thread rusi
On Jun 16, 4:14 am, Chris Angelico wrote: > On Sun, Jun 16, 2013 at 12:16 AM, Roy Smith wrote: > > The advantage of DVCS is that everybody has a full copy of the repo. > > The disadvantage of the DVCS is that every MUST have a full copy of the > > repo.  When a repo gets big, you may not want to

Re: Fatal Python error: Py_Initialize: can't initialize sys standard streams

2013-06-15 Thread Terry Reedy
On 6/15/2013 8:03 PM, MRAB wrote: On 15/06/2013 23:10, alex23 wrote: \__init__.py", line 123 raise CodecRegistryError,\ ^ SyntaxError: invalid syntax To me that traceback looks like it's Python 3 trying to run code written for Python 2. If that is the case, the ^ should be under the ',' (a

Re: Timsort in Cpython

2013-06-15 Thread Terry Reedy
On 6/15/2013 4:21 PM, alphons...@gmail.com wrote: Well. I'm going to have a ton of fun trying to make sense of this. http://hg.python.org/cpython/file/default/Objects/listsort.txt is pretty clear (to me) for most of the basics. -- Terry Jan Reedy -- http://mail.python.org/mailman/listinfo/p

Re: Fatal Python error: Py_Initialize: can't initialize sys standard streams

2013-06-15 Thread Dave Angel
On 06/15/2013 10:44 PM, lucabrasi wrote: On Saturday, June 15, 2013 5:03:27 PM UTC-7, MRAB wrote: On 15/06/2013 23:10, alex23 wrote: should be banned> Do you have a separate installation of Python? It's possible it may be conflicting. If you rename it's folder to something else

Re: Imports (in Py3), please help a novice

2013-06-15 Thread John Ladasky
Followup to my own post: I am sticking pretty closely to this example from Mike Driscoll which, admittedly, is based on Python 2.6: http://www.blog.pythonlibrary.org/2012/07/08/python-201-creating-modules-and-packages/ I'm trying to do this one step at a time. First try a local import, then i

Re: Fatal Python error: Py_Initialize: can't initialize sys standard streams

2013-06-15 Thread lucabrasi
On Saturday, June 15, 2013 7:44:09 PM UTC-7, lucabrasi wrote: > On Saturday, June 15, 2013 5:03:27 PM UTC-7, MRAB wrote: > > > On 15/06/2013 23:10, alex23 wrote: > > > > > > > On Jun 16, 7:29 am, lucabrasi...@gmail.com wrote: > > > > > > >> I get this error when I try to save .dxf files in I

Re: Fatal Python error: Py_Initialize: can't initialize sys standard streams

2013-06-15 Thread lucabrasi
On Saturday, June 15, 2013 5:03:27 PM UTC-7, MRAB wrote: > On 15/06/2013 23:10, alex23 wrote: > > > On Jun 16, 7:29 am, lucabrasi...@gmail.com wrote: > > >> I get this error when I try to save .dxf files in Inkscape: > > >> > > >> Fatal Python error: Py_Initialize: can't initialize sys standard

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

2013-06-15 Thread Tim Roberts
Nick the Gr33k wrote: > >but i'm doing this all day long i just dont comprehend why it works this >way. >it doesn't make any sense to me. It's just a rule you'll have to learn. The "and" and "or" operators in Python simply do not return a boolean value. The expression "a or b" is evaluated as:

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

2013-06-15 Thread Nick the Gr33k
On 16/6/2013 4:10 πμ, Mark Lawrence wrote: I have no intention of kill-filing you, muting your threads or ignoring you. I do intend hounding you until with any luck you crawl off into a hole somewhere and leave this group in peace. No such luck i'm afraid for you. And it seems to me that you a

CC etiquette for mailing lists (was: Don't feed the troll...)

2013-06-15 Thread W. Trevor King
On Sun, Jun 16, 2013 at 12:51:04AM +, Steven D'Aprano wrote: > On Sun, 16 Jun 2013 09:09:37 +1000, Chris Angelico wrote: > > Mailman is the software that runs python-list@python.org, so this > > *is* applicable to everyone who reads the mailing list (including > > myself). The fact that there'

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

2013-06-15 Thread Nick the Gr33k
On 16/6/2013 1:51 πμ, Chris Angelico wrote: On Sun, Jun 16, 2013 at 6:29 AM, Benjamin Schollnick wrote: cur.execute('''SELECT ID FROM counters WHERE url = %s''', page ) cur.execute('''INSERT INTO counters (url) VALUES (%s)''', page ) Sure, whoever wrote that code is a fool. http://xkcd.com/32

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

2013-06-15 Thread Nick the Gr33k
On 16/6/2013 1:51 πμ, Chris Angelico wrote: On Sun, Jun 16, 2013 at 6:29 AM, Benjamin Schollnick wrote: cur.execute('''SELECT ID FROM counters WHERE url = %s''', page ) cur.execute('''INSERT INTO counters (url) VALUES (%s)''', page ) Sure, whoever wrote that code is a fool. http://xkcd.com/32

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

2013-06-15 Thread Mark Lawrence
On 16/06/2013 02:03, Nick the Gr33k wrote: On 16/6/2013 12:29 πμ, Mark Lawrence wrote: On 15/06/2013 20:38, Nick the Gr33k wrote: Thank you and please whoever does not feel like helping, please at least not spam the thread. Your arrogance clearly has no bounds. Your spamming to my thread

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

2013-06-15 Thread Nick the Gr33k
On 16/6/2013 1:51 πμ, Chris Angelico wrote: On Sun, Jun 16, 2013 at 6:29 AM, Benjamin Schollnick wrote: cur.execute('''SELECT ID FROM counters WHERE url = %s''', page ) cur.execute('''INSERT INTO counters (url) VALUES (%s)''', page ) Sure, whoever wrote that code is a fool. http://xkcd.com/32

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

2013-06-15 Thread Nick the Gr33k
On 16/6/2013 12:29 πμ, Mark Lawrence wrote: On 15/06/2013 20:38, Nick the Gr33k wrote: Thank you and please whoever does not feel like helping, please at least not spam the thread. Your arrogance clearly has no bounds. Your spamming to my threads in an unproductive and yet bitching way ha

Imports (in Py3), please help a novice

2013-06-15 Thread John Ladasky
I'm currently running Python 3.3 on Ubuntu 13.04. Up until now, I have gotten away with writing modules whose namespace is completely defined within a single Python script. That has allowed me to use the following, simple setup script for installation by distutils: ## setup.py ## from distuti

Re: Don't feed the troll...

2013-06-15 Thread Steven D'Aprano
On Sun, 16 Jun 2013 09:09:37 +1000, Chris Angelico wrote: > On Sun, Jun 16, 2013 at 3:47 AM, Steven D'Aprano > wrote: >> On Sat, 15 Jun 2013 19:25:21 +0200, Chris “Kwpolska” Warrick wrote: >>> The source code seems to think otherwise: >> >> Mailman is not the only mailing list software in the wor

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

2013-06-15 Thread Steven D'Aprano
On Sat, 15 Jun 2013 22:29:29 +0100, Mark Lawrence wrote: > Your arrogance clearly has no bounds. This is a public forum and people > can say what they like. You've wasted enough time as it is, so why > don't you simply bugger off. Congratulation. You have just entered an extremely exclusive clu

Re: Fatal Python error: Py_Initialize: can't initialize sys standard streams

2013-06-15 Thread MRAB
On 15/06/2013 23:10, alex23 wrote: On Jun 16, 7:29 am, lucabrasi...@gmail.com wrote: I get this error when I try to save .dxf files in Inkscape: Fatal Python error: Py_Initialize: can't initialize sys standard streams Then it seems to recover but it doesn't really recover. It saves the files a

Re: Python MegaMan X clone - full game engine

2013-06-15 Thread chetaget
On 2013-06-15 23:10:46 +, Turtle Wizard said: Hi all, I made a codebase which is easy for extensions of making enemy AI's (anything really), most is based on inheritance of some good classes. Here it is including first level : https://github/zork9/pygame-pyMM Enjoy! Cool stuff, but the

Python MegaMan X clone - full game engine

2013-06-15 Thread Turtle Wizard
Hi all, I made a codebase which is easy for extensions of making enemy AI's (anything really), most is based on inheritance of some good classes. Here it is including first level : https://github/zork9/pygame-pyMM Enjoy! -- Time heals. my blog : http://thediaryofelvishhealer.blogspot.be/ --

Re: Version Control Software

2013-06-15 Thread Chris Angelico
On Sun, Jun 16, 2013 at 12:16 AM, Roy Smith wrote: > The advantage of DVCS is that everybody has a full copy of the repo. > The disadvantage of the DVCS is that every MUST have a full copy of the > repo. When a repo gets big, you may not want to pull all of that data > just to get the subtree you

Re: Don't feed the troll...

2013-06-15 Thread Chris Angelico
On Sun, Jun 16, 2013 at 3:47 AM, Steven D'Aprano wrote: > On Sat, 15 Jun 2013 19:25:21 +0200, Chris “Kwpolska” Warrick wrote: >> The source code seems to think otherwise: > > Mailman is not the only mailing list software in the world, and the > feature you are referring to is optional. > >> http:/

Re: Version Control Software

2013-06-15 Thread Chris Angelico
On Sun, Jun 16, 2013 at 4:29 AM, Dan Sommers wrote: > 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 wo

Re: Fatal Python error: Py_Initialize: can't initialize sys standard streams

2013-06-15 Thread lucabrasi
On Saturday, June 15, 2013 3:10:07 PM UTC-7, alex23 wrote: > On Jun 16, 7:29 am, lucabrasi...@gmail.com wrote: > > > I get this error when I try to save .dxf files in Inkscape: > > > > > > Fatal Python error: Py_Initialize: can't initialize sys standard streams > > > > > > Then it seems to rec

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

2013-06-15 Thread Chris Angelico
On Sun, Jun 16, 2013 at 6:29 AM, Benjamin Schollnick wrote: > cur.execute('''SELECT ID FROM counters WHERE url = %s''', page ) > cur.execute('''INSERT INTO counters (url) VALUES (%s)''', page ) > > Sure, whoever wrote that code is a fool. > > http://xkcd.com/327/ > > They didn't sanitize your data

Re: Fatal Python error: Py_Initialize: can't initialize sys standard streams

2013-06-15 Thread alex23
On Jun 16, 7:29 am, lucabrasi...@gmail.com wrote: > I get this error when I try to save .dxf files in Inkscape: > > Fatal Python error: Py_Initialize: can't initialize sys standard streams > > Then it seems to recover but it doesn't really recover. It saves the files > and then DraftSite won't ope

Re: Fatal Python error: Py_Initialize: can't initialize sys standard streams

2013-06-15 Thread alex23
On Jun 16, 7:43 am, Mark Lawrence wrote: > Your Python version would help :)  How did you install Inkscape?  It > looks strange to see it in Program Files, I'd normally expect to see it > in the site packages directory. Inkscape is an application, not a library. It provides its own local install

Re: Don't feed the troll...

2013-06-15 Thread Mark Lawrence
On 15/06/2013 22:47, alex23 wrote: On Jun 16, 5:29 am, Steven D'Aprano wrote: And others have publicly thanked me for giving useful answers to Nikos, because they have learned from them. I take it you'll also be critical of people on list now saying "we don't do your homework for you"? Or is

Re: Don't feed the troll...

2013-06-15 Thread alex23
On Jun 16, 5:29 am, Steven D'Aprano wrote: > And others have publicly thanked me for giving useful answers to Nikos, > because they have learned from them. I take it you'll also be critical of people on list now saying "we don't do your homework for you"? Or is there some fundamental difference h

Re: Version Control Software

2013-06-15 Thread Tim Delaney
On 16 June 2013 01:29, Giorgos Tzampanakis wrote: > On 2013-06-15, Roy Smith 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. > I

Re: Timsort in Cpython

2013-06-15 Thread alphonse23
Ahh, that makes perfect sense. Thanks for clearing that up. On Saturday, June 15, 2013 1:55:29 PM UTC-7, Robert Kern wrote: > On 2013-06-15 21:21, alphons...@gmail.com wrote: > > > Hey guys, > > > Thanks for the quick reply! So why did they decide to call it listsort in > > the source instead?

Re: Fatal Python error: Py_Initialize: can't initialize sys standard streams

2013-06-15 Thread Mark Lawrence
On 15/06/2013 22:29, lucabrasi...@gmail.com wrote: I get this error when I try to save .dxf files in Inkscape: Fatal Python error: Py_Initialize: can't initialize sys standard streams Then it seems to recover but it doesn't really recover. It saves the files and then DraftSite won't open them.

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

2013-06-15 Thread Mark Lawrence
On 15/06/2013 20:38, Nick the Gr33k wrote: Thank you and please whoever does not feel like helping, please at least not spam the thread. Your arrogance clearly has no bounds. This is a public forum and people can say what they like. You've wasted enough time as it is, so why don't you sim

Fatal Python error: Py_Initialize: can't initialize sys standard streams

2013-06-15 Thread lucabrasi154
I get this error when I try to save .dxf files in Inkscape: Fatal Python error: Py_Initialize: can't initialize sys standard streams Then it seems to recover but it doesn't really recover. It saves the files and then DraftSite won't open them. Here is what the thing says when Inkscape tried to

Re: Pattern Search Regular Expression

2013-06-15 Thread Mark Lawrence
On 15/06/2013 22:03, Joshua Landau wrote: On 15 June 2013 11:18, Mark Lawrence wrote: I tend to reach for string methods rather than an RE so will something like this suit you? c:\Users\Mark\MyPython>type a.py for s in ("In the ocean", "On the ocean", "By the ocean",

Re: Pattern Search Regular Expression

2013-06-15 Thread Joshua Landau
On 15 June 2013 11:18, Mark Lawrence wrote: > I tend to reach for string methods rather than an RE so will something like > this suit you? > > c:\Users\Mark\MyPython>type a.py > for s in ("In the ocean", > "On the ocean", > "By the ocean", > "In this group", >

Re: Timsort in Cpython

2013-06-15 Thread Robert Kern
On 2013-06-15 21:21, alphons...@gmail.com wrote: Hey guys, Thanks for the quick reply! So why did they decide to call it listsort in the source instead? Why didn't they keep it as Timsort? This was the first implementation of the algorithm. The algorithm was only colloquially named "Timsort"

Re: Pattern Search Regular Expression

2013-06-15 Thread rurpy
Oops... On Saturday, June 15, 2013 12:47:18 PM UTC-6, ru...@yahoo.com wrote: > Links to the Python reference documentation are useful for people > just beginning with some aspect of Python; they are for people who > already know Python and want to look up details. That was supposed to be: Link

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

2013-06-15 Thread Joshua Landau
On 15 June 2013 20:51, Nick the Gr33k wrote: > 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. Look, Nick, A lot of peo

Re: A few questiosn about encoding

2013-06-15 Thread Benjamin Schollnick
Nick, >> The only thing that i didn't understood is this line. >> First please tell me what is a byte value >> >>> \x1b is a sequence you find inside strings (and "byte" strings, the >>> b'...' format). >> >> \x1b is a character(ESC) represented in hex format >> >> b'\x1b' is a byte object that

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

2013-06-15 Thread Benjamin Schollnick
>> 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. Then the code is not completely ready, it has bugs, and your trying to have the list debug and fix it for you for free.

Re: Timsort in Cpython

2013-06-15 Thread alphonse23
Hey guys, Thanks for the quick reply! So why did they decide to call it listsort in the source instead? Why didn't they keep it as Timsort? Well. I'm going to have a ton of fun trying to make sense of this. -- http://mail.python.org/mailman/listinfo/python-list

Re: Pattern Search Regular Expression

2013-06-15 Thread Terry Reedy
On 6/15/2013 12:28 PM, subhabangal...@gmail.com wrote: Suppose I want a regular expression that matches both "Sent from my iPhone" and "Sent from my iPod". How do I write such an expression--is the problem, "Sent from my iPod" "Sent from my iPhone" which can be written as, re.compile("Sent fro

Re: Don't feed the troll...

2013-06-15 Thread rurpy
On Saturday, June 15, 2013 2:04:31 PM UTC-6, Νικόλαος Κούρας wrote: > Thank you ruspy. Don't thank me. You are not contributing in a positive way to the situation. -- http://mail.python.org/mailman/listinfo/python-list

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

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

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

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

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

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

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

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

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

  1   2   >