Continuous Deployment Style Build System for Python

2013-06-14 Thread James Carpenter
Defend Against Fruit is focused on providing a pragmatic, continuous deployment style build system for Python. Current Python build systems do not properly account for the needs of effective continuous deployment. This package extends the Python tooling to add the missing pieces, including

Python Community Training Events

2013-06-14 Thread Calloway, Chris
Here are some upcoming Python community training events organized by the Triangle Python Users Group: PyOhio PyCamp 2013 offered July 22-26, 2013 at Ohio State University in conjunction with the PyOhio 2013 regional Python conference: http://trizpug.org/boot-camp/pyohio13/ Python Network and

[ANN] ErlPort (library to connect Erlang to Python) 1.0.0alpha released

2013-06-14 Thread Dmitry Vasilev
Hi all, I've just released ErlPort version 1.0.0alpha. ErlPort is a library for Erlang which helps connect Erlang to a number of other programming languages (currently supported Python and Ruby). Apart from using ErlPort as a tool to call Python/Ruby functions from Erlang it also can be used

Re: A few questiosn about encoding

2013-06-14 Thread Zero Piraeus
: On 14 June 2013 01:34, Nick the Gr33k supp...@superhost.gr wrote: Why doesn't it work like this? leading 0 = 1 byte flag leading 1 = 2 bytes flag leading 00 = 3 bytes flag leading 01 = 4 bytes flag leading 10 = 5 bytes flag leading 11 = 6 bytes flag Wouldn't it be more logical? Think

Re: My son wants me to teach him Python

2013-06-14 Thread Steven D'Aprano
On Thu, 13 Jun 2013 20:33:40 -0700, Rick Johnson wrote: On Thursday, June 13, 2013 3:18:57 PM UTC-5, Joshua Landau wrote: [...] GUI is boring. I don't give a damn about that. If I had it my way, I'd never write any interfaces again (although designing them is fine). Console interaction is

Re: Wrong website loaded when other requested

2013-06-14 Thread Nick the Gr33k
On 13/6/2013 10:31 μμ, Grant Edwards wrote: On 2013-06-13, Nick the Gr33k supp...@superhost.gr wrote: On 13/6/2013 9:37 , Andreas Perstinger wrote: On 13.06.2013 20:10, Nick the Gr33k wrote: [nothing new] Could you please stop spamming the whole internet with your problems. Not only that

Re: My son wants me to teach him Python

2013-06-14 Thread Jason Swails
On Thu, Jun 13, 2013 at 11:33 PM, Rick Johnson rantingrickjohn...@gmail.com wrote: On Thursday, June 13, 2013 3:18:57 PM UTC-5, Joshua Landau wrote: [...] GUI is boring. I don't give a damn about that. If I had it my way, I'd never write any interfaces again (although designing them is

Re: A few questiosn about encoding

2013-06-14 Thread Nick the Gr33k
On 14/6/2013 4:00 πμ, Cameron Simpson wrote: On 13Jun2013 17:19, Nikos as SuperHost Support supp...@superhost.gr wrote: | A code-point and the code-point's ordinal value are associated into | a Unicode charset. They have the so called 1:1 mapping. | | So, i was under the impression that by

Re: My son wants me to teach him Python

2013-06-14 Thread Chris Angelico
On Fri, Jun 14, 2013 at 4:13 PM, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: Here's another Pepsi Challenge for you: There is a certain directory on your system containing 50 text files, and 50 non-text files. You know the location of the directory. You want to locate all the

Re: Wrong website loaded when other requested

2013-06-14 Thread Chris Angelico
On Fri, Jun 14, 2013 at 4:14 PM, Nick the Gr33k supp...@superhost.gr wrote: And surely i'm not bothering you, since you never care to reply for anything i ask. Non sequitur. And if you do not like my posts, just don't read them. Be careful what you wish for. ChrisA --

Re: A few questiosn about encoding

2013-06-14 Thread Nick the Gr33k
On 14/6/2013 9:00 πμ, Zero Piraeus wrote: : On 14 June 2013 01:34, Nick the Gr33k supp...@superhost.gr wrote: Why doesn't it work like this? leading 0 = 1 byte flag leading 1 = 2 bytes flag leading 00 = 3 bytes flag leading 01 = 4 bytes flag leading 10 = 5 bytes flag leading 11 = 6 bytes flag

Re: A few questiosn about encoding

2013-06-14 Thread Antoon Pardon
Op 13-06-13 10:08, Νικόλαος Κούρας schreef: On 13/6/2013 10:58 πμ, Chris Angelico wrote: On Thu, Jun 13, 2013 at 5:42 PM, �� supp...@superhost.gr wrote: On 13/6/2013 10:11 ��, Steven D'Aprano wrote: No! That creates a string from 16474 in base two: '0b10001011010' I

Re: Wrong website loaded when other requested

2013-06-14 Thread Nick the Gr33k
On 13/6/2013 9:28 μμ, Joel Goldstick wrote: your code is not finding a file named this: '/home/nikos/public_html//home/dauwin/public_html/index.html' The first part of this file path is:'/home/nikos/public_html After that are TWO forward slashes which remind me of http:// and following

Re: A few questiosn about encoding

2013-06-14 Thread Nick the Gr33k
On 14/6/2013 10:36 πμ, Antoon Pardon wrote: Op 13-06-13 10:08, Νικόλαος Κούρας schreef: On 13/6/2013 10:58 πμ, Chris Angelico wrote: On Thu, Jun 13, 2013 at 5:42 PM, �� supp...@superhost.gr wrote: On 13/6/2013 10:11 ��, Steven D'Aprano wrote: No! That creates a string from 16474

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

2013-06-14 Thread Nick the Gr33k
On 14/6/2013 4:14 πμ, Steven D'Aprano wrote: On Thu, 13 Jun 2013 17:26:18 +0300, Νικόλαος Κούρας wrote: i just want 4 cases to examine so correct execute to be run: i'm reading and reading and reading this all over: if '-' not in ( name and month and year ): and i cant comprehend it.

Re: Problem creating a regular expression to parse open-iscsi, iscsiadm output (help?)

2013-06-14 Thread Kevin LaTona
On Jun 13, 2013, at 7:42 AM, Kevin LaTona li...@studiosola.com wrote: With the following code tweaks in Python 2.7.2, I find it works with VERBOSE for me, but not without. Sorry had a small bleep while writing that last line this AM. Of course the regex pattern would work in VERBOSE mode as

Re: Having a hard time to 'get' bing api search results

2013-06-14 Thread Kevin LaTona
Queries should be URL encoded; query string should be enclosed in %27 (apostrophe). I was looking at the wrong column on the ascii chart,… so your %27 was correct If you are getting in via a browser than it's url lib thing. You might want to look at Requst lib as a possible option.

Re: Having a hard time to 'get' bing api search results

2013-06-14 Thread Kevin LaTona
I did a quick test with url lib instead of urllib2 and got closer. Problem right now is without ID code I can't check any further. But it does look promising at this point. If all else fails http://docs.python.org/2/library/urllib.html#examples import urllib f =

Re: A few questiosn about encoding

2013-06-14 Thread Antoon Pardon
Op 14-06-13 09:49, Nick the Gr33k schreef: On 14/6/2013 10:36 πμ, Antoon Pardon wrote: Op 13-06-13 10:08, Νικόλαος Κούρας schreef: Indeed python embraced it in single quoting '0b10001011010' and not as 0b10001011010 which in fact makes it a string. But since bin(16474) seems to

Re: Having a hard time to 'get' bing api search results

2013-06-14 Thread Kevin LaTona
Your welcome. To be honest I am not 100% on the differences between. I could be off, but I recall urllib2 was a more refined version of urllib. Yet it seems like urllib works better for me, when I need to do a simple call like this. -Kevin On Jun 13, 2013, at 3:50 PM, Yves S. Garret

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

2013-06-14 Thread Chris Angelico
On Fri, Jun 14, 2013 at 6:03 PM, Nick the Gr33k supp...@superhost.gr wrote: print(name or month or year) print(k in (name and month and year)) Seriously, you can't see the difference between those lines? Either you're trolling - which is still a distinct possibility, but so is the converse - or

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

2013-06-14 Thread R. Michael Weylandt
On Fri, Jun 14, 2013 at 9:03 AM, Nick the Gr33k supp...@superhost.gr wrote: name=abcd month=efgh year=ijkl print(name or month or year) abcd Can understand that, it takes the first string out of the 3 strings that has a truthy value. print(k in (name and month and year)) True No

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

2013-06-14 Thread R. Michael Weylandt
On Fri, Jun 14, 2013 at 9:24 AM, R. Michael Weylandt michael.weyla...@gmail.com wrote: On Fri, Jun 14, 2013 at 9:03 AM, Nick the Gr33k supp...@superhost.gr wrote: No clue. since the expression in parenthesis returns 'abcd' how can 'k' contained within 'abcd' ? No it's not. See both above

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

2013-06-14 Thread Jussi Piitulainen
Nick the Gr33k writes: name=abcd month=efgh year=ijkl print(name or month or year) abcd Can understand that, it takes the first string out of the 3 strings that has a truthy value. print(k in (name and month and year)) True No clue. since the expression in parenthesis

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

2013-06-14 Thread Fábio Santos
On 14 Jun 2013 09:09, Nick the Gr33k supp...@superhost.gr wrote: print(name and month and year) ijkl Seems here is returning the last string out of 3 strings, but have no clue why Python doing this. You have been told this above. All languages kind of do that. Ever seen this command on a

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

2013-06-14 Thread Fábio Santos
On 14 Jun 2013 04:33, 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. +1 --

Re: A few questiosn about encoding

2013-06-14 Thread Nick the Gr33k
On 14/6/2013 11:22 πμ, Antoon Pardon wrote: Python prints numbers: No it doesn't, numbers are abstract concepts that can be represented in various notations, these notations are strings. Those notaional strings end up being printed. As I said before we are so used in using the decimal notation

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

2013-06-14 Thread Nick the Gr33k
On 14/6/2013 11:28 πμ, Jussi Piitulainen wrote: 'Parker' and 'May' and '2001' '2001' But why? that expression should return True since all stings are not empty. Either way, the interactive prompt is your friend. -- What is now proved was at first only imagined! --

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

2013-06-14 Thread Chris Angelico
On Fri, Jun 14, 2013 at 6:41 PM, Nick the Gr33k supp...@superhost.gr wrote: On 14/6/2013 11:28 πμ, Jussi Piitulainen wrote: 'Parker' and 'May' and '2001' '2001' But why? that expression should return True since all stings are not empty. It does. Not the bool value, but it does return a

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

2013-06-14 Thread Nick the Gr33k
On 14/6/2013 11:03 πμ, Nick the Gr33k wrote: On 14/6/2013 4:14 πμ, Steven D'Aprano wrote: On Thu, 13 Jun 2013 17:26:18 +0300, Νικόλαος Κούρας wrote: i just want 4 cases to examine so correct execute to be run: i'm reading and reading and reading this all over: if '-' not in ( name and month

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

2013-06-14 Thread Chris Angelico
On Fri, Jun 14, 2013 at 6:44 PM, Nick the Gr33k supp...@superhost.gr wrote: Someone want to explain this? Stop writing. Start reading. It has been explained. In the course of a long and adventurous thread in the principal European courts, it has been revealed to you that ... Fill in whatever

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

2013-06-14 Thread Fábio Santos
On 14 Jun 2013 09:51, Nick the Gr33k supp...@superhost.gr wrote: On 14/6/2013 11:28 πμ, Jussi Piitulainen wrote: 'Parker' and 'May' and '2001' '2001' But why? that expression should return True since all stings are not empty. Either way, the interactive prompt is your friend. At

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

2013-06-14 Thread Nick the Gr33k
On 14/6/2013 11:57 πμ, Chris Angelico wrote: On Fri, Jun 14, 2013 at 6:44 PM, Nick the Gr33k supp...@superhost.gr wrote: Someone want to explain this? Stop writing. Start reading. It has been explained. In the course of a long and adventurous thread in the principal European courts, it has

Re: Future standard GUI library

2013-06-14 Thread Chris Angelico
On Fri, Jun 14, 2013 at 3:39 PM, Frank Millman fr...@chagford.com wrote: It's not either-or. The server *MUST* perform the checks at the time of form submission; the question is whether or not to perform duplicate checks earlier. This is an absolute rule of anything where the client is capable

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

2013-06-14 Thread Fábio Santos
On 14 Jun 2013 09:56, Nick the Gr33k supp...@superhost.gr wrote: On 14/6/2013 11:03 πμ, Nick the Gr33k wrote: On 14/6/2013 4:14 πμ, Steven D'Aprano wrote: On Thu, 13 Jun 2013 17:26:18 +0300, Νικόλαος Κούρας wrote: i just want 4 cases to examine so correct execute to be run: i'm reading

Don't feed the troll... (was: Re: A few questiosn about encoding)

2013-06-14 Thread Heiko Wundram
Am 14.06.2013 10:37, schrieb Nick the Gr33k: So everything we see like: 16474 nikos abc123 everything is a string and nothing is a number? not even number 1? Come on now, this is _so_ obviously trolling, it's not even remotely funny anymore. Why doesn't killfiling work with the mailing list

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

2013-06-14 Thread Chris Angelico
On Fri, Jun 14, 2013 at 7:00 PM, Nick the Gr33k supp...@superhost.gr wrote: but i really wont to understand how 'or' and 'and' works inside an expression. please answer my previous post if you know. *eyeroll* You have all the information. Go play with it in the interactive interpreter until

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

2013-06-14 Thread Jussi Piitulainen
Nick the Gr33k writes: On 14/6/2013 11:28 πμ, Jussi Piitulainen wrote: 'Parker' and 'May' and '2001' '2001' But why? that expression should return True since all stings are not empty. It returns a value that counts as true in a conditional statement or expression: if '2001':

Re: Debugging memory leaks

2013-06-14 Thread Chris Angelico
On Fri, Jun 14, 2013 at 12:40 PM, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: On Thu, 13 Jun 2013 20:15:42 +, Giorgos Tzampanakis wrote: Therefore: if the leak seems to be small, it may be much more advicable to restart your process periodically (during times where a

Re: Don't feed the troll...

2013-06-14 Thread Nick the Gr33k
On 14/6/2013 12:06 μμ, Heiko Wundram wrote: Am 14.06.2013 10:37, schrieb Nick the Gr33k: So everything we see like: 16474 nikos abc123 everything is a string and nothing is a number? not even number 1? Come on now, this is _so_ obviously trolling, it's not even remotely funny anymore. Why

Re: Future standard GUI library

2013-06-14 Thread Frank Millman
Chris Angelico ros...@gmail.com wrote in message news:captjjmq_m4y0uxxt3jqythjj9ckbsvp+z2pgf5v_31xlrgf...@mail.gmail.com... On Fri, Jun 14, 2013 at 3:39 PM, Frank Millman fr...@chagford.com wrote: In my case, it is either-or. I do not just do field-by-field validation, I do field-by-field

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

2013-06-14 Thread Nick the Gr33k
On 14/6/2013 12:21 μμ, Jussi Piitulainen wrote: Nick the Gr33k writes: On 14/6/2013 11:28 πμ, Jussi Piitulainen wrote: 'Parker' and 'May' and '2001' '2001' But why? that expression should return True since all stings are not empty. It returns a value that counts as true in a

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

2013-06-14 Thread Nick the Gr33k
On 14/6/2013 12:12 μμ, Chris Angelico wrote: On Fri, Jun 14, 2013 at 7:00 PM, Nick the Gr33k supp...@superhost.gr wrote: but i really wont to understand how 'or' and 'and' works inside an expression. please answer my previous post if you know. *eyeroll* You have all the information. Go play

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

2013-06-14 Thread Nick the Gr33k
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 or month or year) abcd Can understand that, it takes the first string out of the 3 strings that has a truthy value. print(k in

Re: Wrong website loaded when other requested

2013-06-14 Thread Mark Lawrence
On 13/06/2013 15:28, Chris Angelico wrote: On Fri, Jun 14, 2013 at 12:23 AM, Νικόλαος Κούρας supp...@superhost.gr wrote: Please suggest something of why this happnes. You remind me of George. http://www.chroniclesofgeorge.com/ ChrisA George reminds me of the late Joyce Grenfell. The OP

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

2013-06-14 Thread Fábio Santos
On 14 Jun 2013 10:59, Nick the Gr33k 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 print(name or month or year) abcd Can understand that, it takes the

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

2013-06-14 Thread Robert Kern
On 2013-06-14 10:50, Nick the Gr33k 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 or month or year) abcd Can understand that, it takes the first string out of the 3

Re: A few questiosn about encoding

2013-06-14 Thread Cameron Simpson
On 14Jun2013 11:37, Nikos as SuperHost Support supp...@superhost.gr wrote: | On 14/6/2013 11:22 πμ, Antoon Pardon wrote: | | Python prints numbers: | No it doesn't, numbers are abstract concepts that can be represented in | various notations, these notations are strings. Those notaional strings |

Re: Don't feed the troll... (was: Re: A few questiosn about encoding)

2013-06-14 Thread Fábio Santos
On 14 Jun 2013 10:20, Heiko Wundram modeln...@modelnine.org wrote: Am 14.06.2013 10:37, schrieb Nick the Gr33k: So everything we see like: 16474 nikos abc123 everything is a string and nothing is a number? not even number 1? Come on now, this is _so_ obviously trolling, it's not even

Re: My son wants me to teach him Python

2013-06-14 Thread Tim Chase
On 2013-06-14 17:21, Chris Angelico wrote: On Fri, Jun 14, 2013 at 4:13 PM, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: Here's another Pepsi Challenge for you: There is a certain directory on your system containing 50 text files, and 50 non-text files. You know the

Re: A few questiosn about encoding

2013-06-14 Thread Cameron Simpson
On 14Jun2013 09:59, Nikos as SuperHost Support supp...@superhost.gr wrote: | On 14/6/2013 4:00 πμ, Cameron Simpson wrote: | On 13Jun2013 17:19, Nikos as SuperHost Support supp...@superhost.gr wrote: | | A code-point and the code-point's ordinal value are associated into | | a Unicode charset. They

Re: A few questiosn about encoding

2013-06-14 Thread Antoon Pardon
Op 14-06-13 10:37, Nick the Gr33k schreef: On 14/6/2013 11:22 πμ, Antoon Pardon wrote: Python prints numbers: No it doesn't, numbers are abstract concepts that can be represented in various notations, these notations are strings. Those notaional strings end up being printed. As I said before

Re: Don't feed the troll...

2013-06-14 Thread Antoon Pardon
Op 14-06-13 11:32, Nick the Gr33k schreef: I'mm not trolling man, i just have hard time understanding why numbers acts as strings. They don't. No body claimed numbers acted like strings. What was explained, was that when numbers are displayed, they are converted into a notational string, which

Re: Don't feed the troll...

2013-06-14 Thread Heiko Wundram
Am 14.06.2013 11:32, schrieb Nick the Gr33k: I'mm not trolling man, i just have hard time understanding why numbers acts as strings. If you can't grasp the conceptual differences between numbers and their/a representation, it's probably best if you stayed away from programming alltogether.

how to use two threads to produce even and odd numbers?

2013-06-14 Thread Zoe Wendy
I am going to compile a small python program in order to use Queue to produce a random with a thread. For example, using one thread to print odd number, while another thread to print even number. Here is my codes, please offer me some advice: import threading import random import time from

Re: Don't feed the troll...

2013-06-14 Thread Mark Lawrence
On 14/06/2013 11:20, Fábio Santos wrote: Since this is a lot of spam, I feel like leaving the list, but I also honestly want to help people use python and the replies to questions of others often give me much insight on several matters. Plenty of genuine people needing genuine help on the

Re: Don't feed the troll... (was: Re: A few questiosn about encoding)

2013-06-14 Thread rusi
On Jun 14, 3:20 pm, Fábio Santos fabiosantos...@gmail.com wrote: Come on now, this is _so_ obviously trolling, it's not even remotely funny anymore. Why doesn't killfiling work with the mailing list version of the python list? :-( I have skimmed the archives for this month, and I estimate

Re: Creating a Super Simple WWW Link, Copy, Paste into Spreadsheet Program

2013-06-14 Thread Denis McMahon
On Thu, 13 Jun 2013 12:28:09 -0700, buford.lumbar wrote: Hi, I'm new to Python. Would someone be able to write me and/or to show me how to write a simple program that: 1-follows a hyperlink from MS Excel to the internet (one of many links like this, http://www.zipdatamaps.com/76180, for

Re: My son wants me to teach him Python

2013-06-14 Thread Anssi Saari
Chris Angelico ros...@gmail.com writes: I have tab completion. Beat that, GUI. Decent GUIs *have* tab completion. Bad GUIs don't. Oh wait. Is a GUI with tab completion a GUI at all or more of a weird ass hybrid? What about a CLI that pops up a menu for completions? --

Re: Version Control Software

2013-06-14 Thread Anssi Saari
cutems93 ms2...@cornell.edu writes: Thank you everyone for such helpful responses! Actually, I have one more question. Does anybody have experience with closed source version control software? If so, why did you buy it instead of downloading open source software? Does closed source vcs

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

2013-06-14 Thread Roy Smith
In article 8a333cd0-c1cf-4f41-ac49-65f0b23ed...@ow4g2000pbc.googlegroups.com, 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 help-vampire

2013-06-14 Thread rusi
On Jun 14, 4:51 pm, rusi rustompm...@gmail.com wrote: On Jun 14, 3:20 pm, Fábio Santos fabiosantos...@gmail.com wrote: Come on now, this is _so_ obviously trolling, it's not even remotely funny anymore. Why doesn't killfiling work with the mailing list version of the python list? :-(

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

2013-06-14 Thread Denis McMahon
On Wed, 12 Jun 2013 11:54:25 +0300, Νικόλαος Κούρας wrote: So, i must tell: for i, month in enumerate(months): print('option value=%s %s /option' % (i, month) ) to somehow return '==' instead of 0 but don't know how. You could test for (month == 0) instead of re.search('=',

Re: how to use two threads to produce even and odd numbers?

2013-06-14 Thread Dave Angel
On 06/14/2013 07:50 AM, Zoe Wendy wrote: Welcome to the forum. Are you new to Python? Are you new to programming? What version of Python are you using? Is this a class assignment? I am going to compile a small python program in order to use Queue to produce a random with a thread.

Re: Don't feed the help-vampire

2013-06-14 Thread Heiko Wundram
Am 14.06.2013 14:09, schrieb rusi: Since identifying a disease by the right name is key to finding a cure: Nikos is not trolling or spamming; he is help-vampiring. Just to explain the trolling allegation: I'm not talking about him wanting to get his scripts fixed, that's help-vampiring most

Re: Version Control Software

2013-06-14 Thread Roy Smith
In article vg3obb899rk@coffee.modeemi.fi, Anssi Saari a...@sci.fi wrote: I have some experience with ClearCase. I don't know why anyone would buy it since it's bloated and slow and hard to use and likes to take over your computer. ClearCase was the right solution to certain specific

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

2013-06-14 Thread Nick the Gr33k
On 14/6/2013 3:03 μμ, Denis McMahon wrote: for i, month in enumerate(months): if i != 0: print('option value=%s %s /option' % (i, month) ) else: print('option value=%s %s /option' % (==, month) ) This s exactly what i was looking for Denis, thank you. I tough of that

Re: Don't feed the troll...

2013-06-14 Thread Nick the Gr33k
On 14/6/2013 2:09 μμ, Antoon Pardon wrote: Op 14-06-13 11:32, Nick the Gr33k schreef: I'mm not trolling man, i just have hard time understanding why numbers acts as strings. They don't. No body claimed numbers acted like strings. What was explained, was that when numbers are displayed, they

Re: Debugging memory leaks

2013-06-14 Thread rusi
On Jun 13, 6:24 am, writeson doug.farr...@gmail.com wrote: Anyway, my real question is how to go about debugging memory leak problems in Python, particularly for a long running server process written with Twisted. I'm not sure how to use heapy or guppy, and objgraph doesn't tell me enough to

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

2013-06-14 Thread Jussi Piitulainen
Nick the Gr33k writes: On 14/6/2013 12:21 μμ, Jussi Piitulainen wrote: Nick the Gr33k writes: On 14/6/2013 11:28 πμ, Jussi Piitulainen wrote: 'Parker' and 'May' and '2001' '2001' But why? that expression should return True since all stings are not empty. It returns a value

Re: A few questiosn about encoding

2013-06-14 Thread Nick the Gr33k
On 14/6/2013 1:19 μμ, Cameron Simpson wrote: On 14Jun2013 11:37, Nikos as SuperHost Support supp...@superhost.gr wrote: | On 14/6/2013 11:22 πμ, Antoon Pardon wrote: | | Python prints numbers: | No it doesn't, numbers are abstract concepts that can be represented in | various notations, these

Re: Don't feed the troll...

2013-06-14 Thread Joel Goldstick
go away Nick. Go far away. You are not a good person. You are not even a good Troll. You are just nick the *ick. You should take up something you can do better than this.. like maybe sleeping On Fri, Jun 14, 2013 at 8:36 AM, Nick the Gr33k supp...@superhost.grwrote: On 14/6/2013 2:09 μμ,

Re: Don't feed the troll...

2013-06-14 Thread Nick the Gr33k
On 14/6/2013 1:20 μμ, Fábio Santos wrote: On 14 Jun 2013 10:20, Heiko Wundram modeln...@modelnine.org mailto:modeln...@modelnine.org wrote: Am 14.06.2013 10:37, schrieb Nick the Gr33k: So everything we see like: 16474 nikos abc123 everything is a string and nothing is a

Re: Don't feed the troll...

2013-06-14 Thread Heiko Wundram
Am 14.06.2013 14:45, schrieb Nick the Gr33k: we are all benefit out of this. Let's nominate you for a nobel prize, saviour of python-list! -- --- Heiko. -- http://mail.python.org/mailman/listinfo/python-list

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

2013-06-14 Thread Gene Heskett
On Friday 14 June 2013 08:33:36 Roy Smith did opine: In article 8a333cd0-c1cf-4f41-ac49-65f0b23ed...@ow4g2000pbc.googlegroups.com, alex23 wuwe...@gmail.com wrote: On Jun 14, 2:24 am, حéêüëلïٍ تï‎ٌلٍ supp...@superhost.gr wrote: iam researchign a solution to this as we speak.

nimsg -- the Network Instant MeSsenGer

2013-06-14 Thread Hunter D
Some time ago, I posted the code to a p2p instant messaging program to this newsgroup. It was abandoned by me shortly after I posted (no reason, just wanted to work on other things). Anyways, I've worked on this program __a lot__ since I posted it here (including giving the program a name

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

2013-06-14 Thread Zero Piraeus
: On 14 June 2013 08:47, Gene Heskett ghesk...@wdtv.com wrote: One old (78) farts take on this endless thread is that its a sign that those who had it made in Greece, before the bill for it came due, are now being forced to actually (gasp, a 4 letter word) work for a living, eg producing

Re: Creating a Super Simple WWW Link, Copy, Paste into Spreadsheet Program

2013-06-14 Thread Neil Cerutti
On 2013-06-13, Nick Cash nick.c...@npcinternational.com wrote: there is a python module that reads and writes to excel files. look for that More than one, actually, and which to use depends on whether Excel files means the .xls or .xlsx format. On Windows, the most flexible solution is going

Re: Don't feed the troll...

2013-06-14 Thread Nick the Gr33k
On 14/6/2013 2:51 μμ, rusi wrote: Nikos: This is not against you personally. Just your current mode of conduct towards this list. And that mode quite simply is this: You have no interest in python, you are only interested in the immediate questions of your web-hosting. If that was True i

Re: A few questiosn about encoding

2013-06-14 Thread Nick the Gr33k
On 14/6/2013 1:50 μμ, Antoon Pardon wrote: Python works with numbers, but at the moment it has to display such a number it has to produce something that is printable. So it will build a string that can be used as a notation for that number, a numeral. And that is what will be displayed. so a

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

2013-06-14 Thread Nick the Gr33k
On 14/6/2013 3:40 μμ, Jussi Piitulainen wrote: Nick the Gr33k writes: On 14/6/2013 12:21 μμ, Jussi Piitulainen wrote: Nick the Gr33k writes: On 14/6/2013 11:28 πμ, Jussi Piitulainen wrote: 'Parker' and 'May' and '2001' '2001' But why? that expression should return True since all stings

Re: Don't feed the troll...

2013-06-14 Thread Antoon Pardon
Op 14-06-13 14:36, Nick the Gr33k schreef: On 14/6/2013 2:09 μμ, Antoon Pardon wrote: Op 14-06-13 11:32, Nick the Gr33k schreef: I'mm not trolling man, i just have hard time understanding why numbers acts as strings. They don't. No body claimed numbers acted like strings. What was explained,

Re: Don't feed the troll...

2013-06-14 Thread Fábio Santos
On Fri, Jun 14, 2013 at 1:58 PM, Heiko Wundram modeln...@modelnine.org wrote: Am 14.06.2013 14:45, schrieb Nick the Gr33k: we are all benefit out of this. Let's nominate you for a nobel prize, saviour of python-list! I don't want to be saved. I just found out how to mute conversations in

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

2013-06-14 Thread Zero Piraeus
: On 14 June 2013 09:07, Nick the Gr33k supp...@superhost.gr wrote: Thanks for explaining this but i cannot follow its logic at all. My mind is stuck trying to interpret it as an English sentence: if ('Parker' and 'May' and '2001') if ('Parker' or 'May' or '2001') i just don't get it and

[ANN] Pyreshark 0.1.1

2013-06-14 Thread Eshed Shaham
Hello, Although it's not a package, I thought this might be of interest to the list. https://code.google.com/p/pyreshark/ Pyreshark is a plugin for Wireshark that allows writing new dissectors in Python. More than just adding bindings, the dissectors are written in a declarative way, taking

Re: A few questiosn about encoding

2013-06-14 Thread Antoon Pardon
Op 14-06-13 14:59, Nick the Gr33k schreef: On 14/6/2013 1:50 μμ, Antoon Pardon wrote: Python works with numbers, but at the moment it has to display such a number it has to produce something that is printable. So it will build a string that can be used as a notation for that number, a

Re: Debugging memory leaks

2013-06-14 Thread rusi
On Jun 14, 1:15 am, Giorgos Tzampanakis giorgos.tzampana...@gmail.com wrote: Am I the only one who thinks this is terrible advice? I would expect a typical desktop app to run for a couple of hours -- maybe a couple of days. Living with a small (enough) leak there may be ok. [In particular I

Re: A few questiosn about encoding

2013-06-14 Thread Nick the Gr33k
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 value \x1b is a sequence you find inside

Re: Creating a Super Simple WWW Link, Copy, Paste into Spreadsheet Program

2013-06-14 Thread buford . lumbar
On Thursday, June 13, 2013 11:02:03 PM UTC-4, Steven D'Aprano wrote: On Thu, 13 Jun 2013 12:28:09 -0700, buford.lumbar wrote: Hi, I'm new to Python. Would someone be able to write me and/or to show me how to write a simple program that: [snip directions] Cannot be done. What

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

2013-06-14 Thread rusi
On Jun 14, 6:48 pm, Zero Piraeus sche...@gmail.com wrote: : On 14 June 2013 09:07, Nick the Gr33k supp...@superhost.gr wrote: Thanks for explaining this but i cannot follow its logic at all. My mind is stuck trying to interpret it as an English sentence: if ('Parker' and 'May' and

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

2013-06-14 Thread Nick the Gr33k
On 14/6/2013 4:48 μμ, Zero Piraeus wrote: : On 14 June 2013 09:07, Nick the Gr33k supp...@superhost.gr wrote: Thanks for explaining this but i cannot follow its logic at all. My mind is stuck trying to interpret it as an English sentence: if ('Parker' and 'May' and '2001') if ('Parker' or

Pool.map mongodb cursor

2013-06-14 Thread Christian
Hi, is it possible to avoid some memory overhead with a mongodb cursor and multiprocessing? Regarding to the size of the cursor, Python consuming at first a lot of memory. However the estimation is independend among each other document (chunking?). Maybe there is a better way using

Re: Version Control Software

2013-06-14 Thread Grant Edwards
On 2013-06-14, Roy Smith r...@panix.com wrote: All that being said, it is, as Anssi points out, a horrible, bloated, overpriced, complicated mess which requires teams of specially trained ClearCase admins to run. In other words, it's exactly the sort of thing big, stupid, Fortune-500

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

2013-06-14 Thread Grant Edwards
On 2013-06-14, Nick the Gr33k supp...@superhost.gr wrote: Well i do not understand it. Yea. We know. -- Grant Edwards grant.b.edwardsYow! I feel like a wet at parking meter on Darvon!

Re: Wrong website loaded when other requested

2013-06-14 Thread Grant Edwards
On 2013-06-14, Nick the Gr33k supp...@superhost.gr wrote: On 13/6/2013 10:31 , Grant Edwards wrote: On 2013-06-13, Nick the Gr33k supp...@superhost.gr wrote: On 13/6/2013 9:37 , Andreas Perstinger wrote: On 13.06.2013 20:10, Nick the Gr33k wrote: [nothing new] Could you please stop

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

2013-06-14 Thread Grant Edwards
On 2013-06-14, Nick the Gr33k supp...@superhost.gr wrote: I started another thread no kidding. because the last one was !@#$'ed up by irrelevant replies and was difficult to jeep track. name=abcd month=efgh year=ijkl print(name or month or year) abcd Can understand that, it

Re: Creating a Super Simple WWW Link, Copy, Paste into Spreadsheet Program

2013-06-14 Thread Michael Herman
Hi there - Yes, as others have said, this is not an easy project. That said, it can be down. I'd use a combination of DataNitro, to connect with Excel, and Scrapy, to easily scrap and crawl the sites. I'm adept at both and would be happy to help you with this. Email me at mich...@mherman.org for

Re: nimsg -- the Network Instant MeSsenGer

2013-06-14 Thread Hunter D
If you have any suggestions for features, bugs that you want to report, or just comments on the program in general, feel free to reply here. -- http://mail.python.org/mailman/listinfo/python-list

Re: Future standard GUI library

2013-06-14 Thread Wolfgang Keller
I share your passion for empowering a human operator to complete and submit a form as quickly as possible. I therefore agree that one should be able to complete a form using the keyboard only. This is not just about forms, it's about using the entire application without having to use the

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

2013-06-14 Thread Nick the Gr33k
On 14/6/2013 5:49 μμ, Grant Edwards wrote: On 2013-06-14, Nick the Gr33k supp...@superhost.gr wrote: I started another thread no kidding. because the last one was !@#$'ed up by irrelevant replies and was difficult to jeep track. name=abcd month=efgh year=ijkl print(name or month or

  1   2   3   4   >