Re: [Python-Dev] Playing with a new theme for the docs

2012-03-24 Thread Ben Finney
Chris Angelico writes: > On Sun, Mar 25, 2012 at 11:41 AM, Ben Finney > wrote: > > You have control over how large your window size is, and if you have > > purposes so different that they demand different widths, then you > > can easily make different-width windows. > > I don't know about yours

Re: [Python-Dev] Playing with a new theme for the docs

2012-03-24 Thread Chris Angelico
On Sun, Mar 25, 2012 at 11:41 AM, Ben Finney wrote: > So, again, why make your browser window *for reading text* that large? > > You have control over how large your window size is, and if you have > purposes so different that they demand different widths, then you can > easily make different-widt

Re: Number of languages known [was Re: Python is readable] - somewhat OT

2012-03-24 Thread Tim Chase
On 03/24/12 17:08, Tim Delaney wrote: Absolutely. 10 years ago (when I was just a young lad) I'd say that I'd *forgotten* at least 20 programming languages. That number has only increased. And in the case of COBOL for me, it wasn't just forgotten, but actively repressed ;-) -tkc -- http:/

multiprocessing & itertools.product Iterator

2012-03-24 Thread Christian
Hey, I struggle to "extend" a multiprocessing example to my problem with a itertools.product result iterator. How I have to assign the combos.next() elements approriate to Pool.imap/calc functions? Thanks in advance Christian from multiprocessing import Process,Queue,Pool import Calculation im

Re: verbs in comments [OT]

2012-03-24 Thread Roy Smith
In article , Chris Angelico wrote: > It's funny how these things go. There are multiple distinct > conventions, and regarding function definition comments (or > docstrings), both of those do definitely exist. I think I've seen more > code in the second form ("this is what this code does"), but b

Re: verbs in comments [OT]

2012-03-24 Thread Chris Angelico
On Sun, Mar 25, 2012 at 7:32 AM, Colton Myers wrote: > > // Print the number of words... > // Prints the number of words... > > I've seen it both ways, and I don't think anyone will fault you for either. >  I usually use the first version, "commanding" the code to do what I want. >  It's also a ha

Re: Number of languages known [was Re: Python is readable] - somewhat OT

2012-03-24 Thread Chris Angelico
On Sun, Mar 25, 2012 at 9:08 AM, Tim Delaney wrote: > Being able to pick up a new language (skill, technology, methodology, etc) > is IMO the most important skill for a developer to have. Pick it up quickly, > become proficient with it, leave it alone for a couple of years, pick up the > new versi

Re: Number of languages known [was Re: Python is readable] - somewhat OT

2012-03-24 Thread Tim Delaney
On 23 March 2012 06:14, Chris Angelico wrote: > On Fri, Mar 23, 2012 at 4:44 AM, Steven D'Aprano > wrote: > > The typical developer knows three, maybe four languages > > moderately well, if you include SQL and regexes as languages, and might > > have a nodding acquaintance with one or two more.

Re: verbs in comments [OT]

2012-03-24 Thread Kiuhnm
On 3/24/2012 21:24, MRAB wrote: On 24/03/2012 19:36, Kiuhnm wrote: Why do you write // Print the number of words... def printNumWords(): ... and not // Prints the number of words... def printNumWords(): ... where "it" is understood? Is that an imperative or a base form or something else? The f

Re: Fetching data from a HTML file

2012-03-24 Thread John Nagle
On 3/23/2012 10:12 PM, Jon Clements wrote: ROBOT Framework Would people please stop using robotic names for things that aren't robots? Thank you. John Nagle -- http://mail.python.org/mailman/listinfo/python-list

Re: verbs in comments [OT]

2012-03-24 Thread Frederick Grose
On Sat, Mar 24, 2012 at 4:24 PM, MRAB wrote: > On 24/03/2012 19:36, Kiuhnm wrote: > >> Why do you write >>// Print the number of words... >>def printNumWords(): ... >> and not >>// Prints the number of words... >>def printNumWords(): ... >> where "it" is understood? >> Is that an

Re: verbs in comments [OT]

2012-03-24 Thread Colton Myers
> Why do you write > // Print the number of words... > def printNumWords(): ... > and not > // Prints the number of words... > def printNumWords(): ... > where "it" is understood? > Is that an imperative or a base form or something else? > > I've seen it both ways, and I don't think anyone will

Re: verbs in comments [OT]

2012-03-24 Thread MRAB
On 24/03/2012 19:36, Kiuhnm wrote: Why do you write // Print the number of words... def printNumWords(): ... and not // Prints the number of words... def printNumWords(): ... where "it" is understood? Is that an imperative or a base form or something else? The first is the imper

JSONBOT 0.84.4 RELEASE available

2012-03-24 Thread Bart Thate
*JSONBOT 0.84.4 RELEASE* available ! #IRC #XMPP #chatbot #WWW #Python #RSS #relay get it at: http://code.google.com/p/jsonbot/downloads/list documentation is at http://jsonbot.org *About JSONBOT:* JSONBOT is a chatbot that can take commands and react to events on the network it is conn

verbs in comments [OT]

2012-03-24 Thread Kiuhnm
Why do you write // Print the number of words... def printNumWords(): ... and not // Prints the number of words... def printNumWords(): ... where "it" is understood? Is that an imperative or a base form or something else? Kiuhnm -- http://mail.python.org/mailman/listinfo/python-list

argparse ConfigureAction problem

2012-03-24 Thread Neal Becker
I've been using arparse with ConfigureAction (which is shown below). But, it doesn't play well with positional arguments. For example: ./plot_stuff2.py --plot stuff1 stuff2 [...] plot_stuff2.py: error: argument --plot/--with-plot/--enable-plot/--no-plot/-- without-plot/--disable-plot: invalid b

The Oneness of God is the message of Jesus and all the Prophets, peace be upon them !!!!!!!!!!!!!!

2012-03-24 Thread BV BV
The Oneness of God is the message of Jesus and all the Prophets, peace be upon them The message that was brought by the Messiah (peace be upon him) was the call to worship God, the One, the Lord of the Messiah and the Lord of the worlds: "Now this is eternal life: that they may know you, the onl

The Oneness of God is the message of Jesus and all the Prophets, peace be upon them !!!!!!!!!!!!!!

2012-03-24 Thread BV BV
The Oneness of God is the message of Jesus and all the Prophets, peace be upon them The message that was brought by the Messiah (peace be upon him) was the call to worship God, the One, the Lord of the Messiah and the Lord of the worlds: "Now this is eternal life: that they may know you, the onl

Re: Comments wanted: Proposed change to install layout

2012-03-24 Thread python
Van, > ... harmonize the install layout for Python between platforms. > 1) the 'Scripts' directory would change to 'bin'; > 2) python.exe would move to the 'bin' directory; and > 3) the installer for Windows would get the optional ability to add this directory to the PATH. 1 vote in support of yo

Re: Is it technically possible to give Python option of naming process of running script?

2012-03-24 Thread Adam Tauno Williams
On Wed, 2012-03-14 at 07:43 -0700, xliiv wrote: > Like the topic.. . > I use Python a lot, both Windows and Linux, and it's little weird to > have many python process without fast distinction which is what. I'm not sure of my interpretation of your problem but if you want to set the name of the ru

Re: Stream programming

2012-03-24 Thread Kiuhnm
On 3/24/2012 4:23, Steven D'Aprano wrote: On Fri, 23 Mar 2012 17:00:23 +0100, Kiuhnm wrote: I've been writing a little library for handling streams as an excuse for doing a little OOP with Python. I don't share some of the views on readability expressed on this ng. Indeed, I believe that a pie