Re: [Tutor] Hello, and a newbie question

2013-04-19 Thread Prasad, Ramit
eryksun wrote: > On Tue, Apr 16, 2013 at 7:57 PM, Virgilio Rodriguez Jr > wrote: > > Can someone please do me the favor and remove me from this god forsaken > > email list I am sorry I signed up all it has done is taken over my phone and > > rings all night long with emails I am not interested in

Re: [Tutor] Hello, and a newbie question

2013-04-16 Thread Sander Sweers
On 04/17/2013 02:34 AM, eryksun wrote: > I just went through the steps. You don't even need your password. > Enter your email address in the bottom field of the list info page: > > http://mail.python.org/mailman/listinfo/tutor > > Click the button that says "Unsubscribe or edit options". Then sim

Re: [Tutor] Hello, and a newbie question

2013-04-16 Thread eryksun
On Tue, Apr 16, 2013 at 8:15 PM, eryksun wrote: >> Can someone please do me the favor and remove me from this god forsaken >> email list I am sorry I signed up all it has done is taken over my phone and >> rings all night long with emails I am not interested in any more because it >> is just too m

Re: [Tutor] Hello, and a newbie question

2013-04-16 Thread eryksun
On Tue, Apr 16, 2013 at 7:57 PM, Virgilio Rodriguez Jr wrote: > Can someone please do me the favor and remove me from this god forsaken > email list I am sorry I signed up all it has done is taken over my phone and > rings all night long with emails I am not interested in any more because it > is

Re: [Tutor] Hello, and a newbie question

2013-04-16 Thread Steven D'Aprano
On 17/04/13 01:58, Andy McKenzie wrote: 1) Python 2.7 or 3.x? I know I'm going to want to do some work with NLTK (which appears to only have an alpha version out for Python 3), but I've just gone through the hassle of dealing with an upgrade from PHP 4 to 5.3, and I'd rather not start learning

Re: [Tutor] Hello, and a newbie question

2013-04-16 Thread Andy McKenzie
On Tue, Apr 16, 2013 at 7:39 PM, Alan Gauld wrote: > On 16/04/13 22:20, Andy McKenzie wrote: > > For instance: output of running print_r on a very short dictionary from >> PHP: >> >> Array >> ( >> [key3] => thing3 >> [key2] => thing2 >> [key1] => thing1 >> ) >> >> And running ppri

Re: [Tutor] Hello, and a newbie question

2013-04-16 Thread eryksun
On Tue, Apr 16, 2013 at 6:17 PM, Dave Angel wrote: > Someone else may know if "identical" has some exceptions. But as for where > to put it, you'd need it for any module (including your own script) which is > going to use the newer print() function. I think any differences will result from the I

Re: [Tutor] Hello, and a newbie question

2013-04-16 Thread Alan Gauld
On 16/04/13 22:20, Andy McKenzie wrote: For instance: output of running print_r on a very short dictionary from PHP: Array ( [key3] => thing3 [key2] => thing2 [key1] => thing1 ) And running pprint on the same dict in Python: {'key1': 'thing1', 'key2': 'thing2', 'key3': 'thing3

Re: [Tutor] Hello, and a newbie question

2013-04-16 Thread Dave Angel
On 04/16/2013 05:47 PM, Andy McKenzie wrote: On Tue, Apr 16, 2013 at 5:31 PM, Dave Angel wrote: To get 3.x functionality, you'd want to use from __future__ import print_function and I do not think that works in 2.6 or older versions. It also can be awkward even in 2.7 if you're mi

Re: [Tutor] Hello, and a newbie question

2013-04-16 Thread Andy McKenzie
On Tue, Apr 16, 2013 at 5:31 PM, Dave Angel wrote: > On 04/16/2013 05:20 PM, Andy McKenzie wrote: > >> >> >> > > >>> >>> Thanks for the advice, folks. Given that it looks like the biggest >> changes >> are unicode handling (which I'm not going to need any time soon) and the >> way the pri

Re: [Tutor] Hello, and a newbie question

2013-04-16 Thread Dave Angel
On 04/16/2013 05:20 PM, Andy McKenzie wrote: Thanks for the advice, folks. Given that it looks like the biggest changes are unicode handling (which I'm not going to need any time soon) and the way the print function works, I decided to stick with 2.7. I'm an IT guy, though unemploye

Re: [Tutor] Hello, and a newbie question

2013-04-16 Thread Andy McKenzie
On Tue, Apr 16, 2013 at 4:18 PM, Dave Angel wrote: > On 04/16/2013 11:58 AM, Andy McKenzie wrote: > >> Hey folks. >> >> I'm just starting to pick up Python, and I'd like to avoid some of the >> mistakes I made in the past. To elaborate on that, my primary >> programming/scripting experience is P

Re: [Tutor] Hello, and a newbie question

2013-04-16 Thread Dave Angel
On 04/16/2013 11:58 AM, Andy McKenzie wrote: Hey folks. I'm just starting to pick up Python, and I'd like to avoid some of the mistakes I made in the past. To elaborate on that, my primary programming/scripting experience is PHP, with a little bit of Perl thrown in. Like so many people who wri

Re: [Tutor] Hello, and a newbie question

2013-04-16 Thread Alan Gauld
On 16/04/13 16:58, Andy McKenzie wrote: 1) Python 2.7 or 3.x? I know I'm going to want to do some work with NLTK (which appears to only have an alpha version out for Python 3), but I've just gone through the hassle of dealing with an upgrade from PHP 4 to 5.3, and I'd rather not start learning

[Tutor] Hello, and a newbie question

2013-04-16 Thread Andy McKenzie
Hey folks. I'm just starting to pick up Python, and I'd like to avoid some of the mistakes I made in the past. To elaborate on that, my primary programming/scripting experience is PHP, with a little bit of Perl thrown in. Like so many people who write in PHP, I was entirely self-taught, and woul