[Tutor] python web development

2013-12-23 Thread Ismar Sehic
hello everyone, i just got myself a nice vps box, and i want to play with it for a while, set it up for web development with python.i just need few guidelines, what should i take care of, what packages to install etc... ___ Tutor maillist - Tutor@python

Re: [Tutor] Chutes & Ladders

2013-12-23 Thread Keith Winston
On Sun, Dec 22, 2013 at 3:04 PM, wrote: > > games = [p1.gameset(gamecount) for _ in range(multicount)] So Peter gave me a list of suggesttions, all of which I've incorporated and gotten running, and it's been instructive. But in my haste I included the line above, cut & pasted from his suggest

Re: [Tutor] Chutes & Ladders

2013-12-23 Thread Peter Otten
Keith Winston wrote: > On Sun, Dec 22, 2013 at 3:04 PM, wrote: > >> To sum it up: I like what you have, my hints are all about very minor >> points >> :) >> > > > Peter, that's a bunch of great suggestions, I knew there were a lot of > places to streamline, make more readable, and probably mak

Re: [Tutor] Chutes & Ladders

2013-12-23 Thread Peter Otten
Keith Winston wrote: > On Sun, Dec 22, 2013 at 3:04 PM, wrote: > >> >> games = [p1.gameset(gamecount) for _ in range(multicount)] > > > So Peter gave me a list of suggesttions, all of which I've incorporated > and gotten running, and it's been instructive. > > But in my haste I included the l

Re: [Tutor] python web development

2013-12-23 Thread Alan Gauld
On 23/12/13 08:46, Ismar Sehic wrote: hello everyone, i just got myself a nice vps box, I'm not sure what a vps box is but... with it for a while, set it up for web development with python.i just need few guidelines, what should i take care of, what packages There are many frameworks for we

Re: [Tutor] Chutes & Ladders

2013-12-23 Thread Mark Lawrence
On 23/12/2013 06:07, Keith Winston wrote: On Sun, Dec 22, 2013 at 3:04 PM, mailto:tutor-requ...@python.org>> wrote: games = [p1.gameset(gamecount) for _ in range(multicount)] So Peter gave me a list of suggesttions, all of which I've incorporated and gotten running, and it's been instruct

Re: [Tutor] Chutes & Ladders

2013-12-23 Thread Steven D'Aprano
On Mon, Dec 23, 2013 at 01:07:15AM -0500, Keith Winston wrote: > On Sun, Dec 22, 2013 at 3:04 PM, wrote: > > > > > games = [p1.gameset(gamecount) for _ in range(multicount)] [...] > But in my haste I included the line above, cut & pasted from his > suggestion, without understanding what the under

Re: [Tutor] Using asyncio in event-driven network library

2013-12-23 Thread Tobias M.
On 22.12.2013 16:59, Tobias M. wrote: On 12/22/2013 04:50 PM, Mark Lawrence wrote: I'm sorry that I can't help directly, but the asyncio module is so new that I don't know if any of the other regulars here can help either :( I'd be inclined to wait for 24 hours from time of posting and if yo

[Tutor] How to post: Was Re: The Charms of Gmail

2013-12-23 Thread Oscar Benjamin
On 22 December 2013 21:01, Dominik George wrote: > > And it is what I hate *most*, especially on mailing lists. It makes me > want to call for a complete GMail ban, because it appears GMail users > *always* manage to do such things ... Can we please focus on being welcoming to newcomers instead o

Re: [Tutor] Using asyncio in event-driven network library

2013-12-23 Thread Mark Lawrence
On 23/12/2013 12:06, Tobias M. wrote: On 22.12.2013 16:59, Tobias M. wrote: On 12/22/2013 04:50 PM, Mark Lawrence wrote: I'm sorry that I can't help directly, but the asyncio module is so new that I don't know if any of the other regulars here can help either :( I'd be inclined to wait for 24

Re: [Tutor] How to post: Was Re: The Charms of Gmail

2013-12-23 Thread Mark Lawrence
On 23/12/2013 12:00, Oscar Benjamin wrote: On 22 December 2013 21:01, Dominik George wrote: And it is what I hate *most*, especially on mailing lists. It makes me want to call for a complete GMail ban, because it appears GMail users *always* manage to do such things ... Can we please focus o

Re: [Tutor] How to post: Was Re: The Charms of Gmail

2013-12-23 Thread Steven D'Aprano
On Mon, Dec 23, 2013 at 12:59:15PM +, Mark Lawrence wrote: > I entirely agree. I'll offer to supply the cotton wool, baby oil, bibs > and nappies that we can wrap the newbies up in "Wrap the newbies up in"? Who taught you to speak English? And what's with the two spaces after a full stop?

Re: [Tutor] How to post: Was Re: The Charms of Gmail

2013-12-23 Thread Mark Lawrence
On 23/12/2013 15:11, Steven D'Aprano wrote: On Mon, Dec 23, 2013 at 12:59:15PM +, Mark Lawrence wrote: I entirely agree. I'll offer to supply the cotton wool, baby oil, bibs and nappies that we can wrap the newbies up in "Wrap the newbies up in"? Who taught you to speak English? My lat

Re: [Tutor] How to post: Was Re: The Charms of Gmail

2013-12-23 Thread Andy McKenzie
You know what? I've been lurking here a long time. I've asked a few questions and gotten a few useful responses. But overwhelmingly, when I think of this list, I find that my instinctive response is "Full of rude, arrogant people." So screw this. I don't need to keep reading insults to people

Re: [Tutor] How to post: Was Re: The Charms of Gmail

2013-12-23 Thread Steven D'Aprano
On Mon, Dec 23, 2013 at 03:31:14PM +, Mark Lawrence wrote: > On 23/12/2013 15:11, Steven D'Aprano wrote: [...] > >And what's > >with the two spaces after a full stop? > > That's UK English, It isn't part of the English language. It's a *typesetting* convention, and one which was mostly popul

[Tutor] Fwd: Re: How to post: Was Re: The Charms of Gmail

2013-12-23 Thread Steven D'Aprano
With permission of the author, I have been asked to forward this to the list. I trust that those vigilantees on the warpath against gmail are happy now, as there is one fewer gmail user using Python. - Forwarded message from Andy McKenzie - In-Reply-To: <20131223151122.GB29356@ando>

Re: [Tutor] Fwd: Re: How to post: Was Re: The Charms of Gmail

2013-12-23 Thread Mark Lawrence
On 23/12/2013 16:26, Steven D'Aprano wrote: With permission of the author, I have been asked to forward this to the list. I trust that those vigilantees on the warpath against gmail are happy now, as there is one fewer gmail user using Python. what excellent news. With any luck we'll soon be

Re: [Tutor] How to post: Was Re: The Charms of Gmail

2013-12-23 Thread Prasad, Ramit
Mark Lawrence wrote: > I'll nag who I bloody well like until such time time as they can post > without pissing me off. But what really pisses me off is people telling > me how to behave. So please stop nagging, you nagger. Oh, the irony. ~Ramit This email is confidential and subject to imp

Re: [Tutor] Fwd: Re: How to post: Was Re: The Charms of Gmail

2013-12-23 Thread Danny Yoo
Would everyone mind dropping this thread, at least for a few days? As far as I can tell, there's zero Python content in it, so I'm not getting much information from it. More than that, it's affecting my morale in a fairly negative manner. Thanks. ___ T

Re: [Tutor] How to post: Was Re: The Charms of Gmail

2013-12-23 Thread emile
On 12/23/2013 07:11 AM, Steven D'Aprano wrote: Are you now even a *tiny* bit moved to use a single space after full stops?) No. See http://www.heracliteanriver.com/?p=324 Emile ___ Tutor maillist - Tutor@python.org To unsubscribe or change subsc

Re: [Tutor] How to post: Was Re: The Charms of Gmail

2013-12-23 Thread Danny Yoo
Hi Emile, Can we cut this thread off for a while? I know it's interesting to talk about the proper way of posting and composing mails: it's something of a meta-topic, and therefore can attract a lot of discussion due to it's self-feeding nature. But it seems somewhat tangent to learning how to p

Re: [Tutor] How to post: Was Re: The Charms of Gmail

2013-12-23 Thread Ricardo Aráoz
El 23/12/13 12:31, Mark Lawrence escribió: I'll nag who I bloody well like until such time time as they can post without pissing me off. But what really pisses me off is people telling me how to behave. So please stop nagging, you nagger. And that's a PLONK! You are not so interesting that

[Tutor] Cantor pairing in three dimensions?

2013-12-23 Thread Danny Yoo
I've got a puzzle: so there's a well-known function that maps the naturals N to N^2: it's called Cantor pairing: http://en.wikipedia.org/wiki/Pairing_function It's one of those mind-blowing things that I love. I ran across it a few years ago in a thread on Python-tutor a few years back:

Re: [Tutor] Fwd: Re: How to post: Was Re: The Charms of Gmail

2013-12-23 Thread Tim Johnson
* Danny Yoo [131223 07:48]: > Would everyone mind dropping this thread, at least for a few days? > > As far as I can tell, there's zero Python content in it, so I'm not > getting much information from it. More than that, it's affecting my > morale in a fairly negative manner. Thanks. I've bee

Re: [Tutor] Cantor pairing in three dimensions?

2013-12-23 Thread Steven D'Aprano
On Mon, Dec 23, 2013 at 10:32:14AM -0800, Danny Yoo wrote: > I've got a puzzle: so there's a well-known function that maps the > naturals N to N^2: it's called Cantor pairing: > > http://en.wikipedia.org/wiki/Pairing_function [...] > So here's the question: is there an analogy of the Cantor pa

Re: [Tutor] Fwd: Re: How to post: Was Re: The Charms of Gmail

2013-12-23 Thread Keith Winston
Yikes, as the progenitor of the antecedent of this screed... I'm sorry! I have found, by and large, this to be a very helpful list, there's no question it has kept me moving forward at times that I might not have in python. Lots of generosity and knowledge. And when someone suggested a way of doing