Re: psss...I want to move from Perl to Python

2016-02-02 Thread Rick Johnson
On Sunday, January 31, 2016 at 9:15:38 PM UTC-6, Chris Angelico wrote: > That said, though, I would GREATLY prefer Rick to post > less provocatively. I'll admit that my tone can "sometimes" be acerbic, but it's not like i was attacking someone for *NO* justifiable reason, in fact, my response was

Re: psss...I want to move from Perl to Python

2016-02-02 Thread Rick Johnson
On Sunday, January 31, 2016 at 9:35:17 PM UTC-6, MRAB wrote: > In [jmf's] defence, he _was_ the one who drew attention to > the unexpected slowness of the FSR under certain > circumstances in the Windows build of Python 3.3, albeit > in a rather over-dramatized way. Thanks MRAB. You and Terry may

Re: psss...I want to move from Perl to Python

2016-02-02 Thread Martin A. Brown
Hello, >http://www.barnesandnoble.com/w/perl-to-python-migration-martin-c-brown/1004847881?ean=9780201734881 > >Given that this was published in 2001, surely it is time for a >second edition. How many times do you think somebody migrates from Perl to Python?! ;) -Martin P.S. I was amused

Re: psss...I want to move from Perl to Python

2016-02-02 Thread paul.hermeneutic
On Jan 29, 2016 6:51 AM, "Dennis Lee Bieber" wrote: > > http://www.barnesandnoble.com/w/perl-to-python-migration-martin-c-brown/1004847881?ean=9780201734881 Given that this was published in 2001, surely it is time for a second edition. -- https://mail.python.org/mailman/listinfo/python-list

Re: psss...I want to move from Perl to Python

2016-01-31 Thread MRAB
On 2016-02-01 03:15:10, "Chris Angelico" wrote: On Mon, Feb 1, 2016 at 1:59 PM, Rustom Mody wrote: On Saturday, January 30, 2016 at 3:57:28 PM UTC+5:30, wxjmf wrote: Python 3.5.1 is still suffering from the same buggy behaviour as in Python 3.0 . is banned whereas this is not: On

Re: psss...I want to move from Perl to Python

2016-01-31 Thread Rustom Mody
On Sunday, January 31, 2016 at 11:15:50 PM UTC+5:30, Paul Rubin wrote: > Rustom Mody writes: > > I would guess it needs more recoding than explicit compilation! > > Maybe something like http://www.colm.net/open-source/ragel/ > > Unfortunately no python binding so far :-( > > Neat, that looks kind

Re: psss...I want to move from Perl to Python

2016-01-31 Thread Rustom Mody
On Monday, February 1, 2016 at 8:45:38 AM UTC+5:30, Chris Angelico wrote: > There are a lot of people here who post good content but phrase things > poorly. And everyone has a bad day. (Terry Reedy, I'm hoping this was > just a bad day - there were several rather caustic posts from you. > Sorry to

Re: psss...I want to move from Perl to Python

2016-01-31 Thread Chris Angelico
On Mon, Feb 1, 2016 at 1:59 PM, Rustom Mody wrote: > On Saturday, January 30, 2016 at 3:57:28 PM UTC+5:30, wxjmf wrote: > >> Python 3.5.1 is still suffering from the same buggy >> behaviour as in Python 3.0 . > > is banned > > whereas this is not: > > On Saturday, January 30, 2016 at 3:01:09 AM UT

Re: psss...I want to move from Perl to Python

2016-01-31 Thread Rustom Mody
On Monday, February 1, 2016 at 5:22:22 AM UTC+5:30, Terry Reedy wrote: > On 1/31/2016 5:34 PM, Fillmore wrote: > > On 01/30/2016 05:26 AM, wxjmfauth wrote: > > > >>> Python 2 vs python 3 is anything but "solved". > >> Python 3.5.1 is still suffering from the same buggy > >> behaviour as in Python 3

Re: psss...I want to move from Perl to Python

2016-01-31 Thread Terry Reedy
On 1/31/2016 5:34 PM, Fillmore wrote: On 01/30/2016 05:26 AM, wxjmfa...@gmail.com wrote: Python 2 vs python 3 is anything but "solved". Python 3.5.1 is still suffering from the same buggy behaviour as in Python 3.0 . Can you elaborate? Please do not propagate jmf's repeated trolls to pytho

Re: psss...I want to move from Perl to Python

2016-01-31 Thread Chris Angelico
On Mon, Feb 1, 2016 at 9:34 AM, Fillmore wrote: > On 01/30/2016 05:26 AM, wxjmfa...@gmail.com wrote: > >>> Python 2 vs python 3 is anything but "solved". >> >> >> >> Python 3.5.1 is still suffering from the same buggy >> behaviour as in Python 3.0 . > > > > Can you elaborate? This is jmf. His pos

Re: psss...I want to move from Perl to Python

2016-01-31 Thread Fillmore
On 01/30/2016 05:26 AM, wxjmfa...@gmail.com wrote: Python 2 vs python 3 is anything but "solved". Python 3.5.1 is still suffering from the same buggy behaviour as in Python 3.0 . Can you elaborate? -- https://mail.python.org/mailman/listinfo/python-list

Re: psss...I want to move from Perl to Python

2016-01-31 Thread Michael Torrie
On 01/31/2016 03:34 PM, Fillmore wrote: > On 01/30/2016 05:26 AM, wxjmfa...@gmail.com wrote: > >>> Python 2 vs python 3 is anything but "solved". >> >> >> Python 3.5.1 is still suffering from the same buggy >> behaviour as in Python 3.0 . > Can you elaborate? Sad to say jmf is a long-time troll o

Re: psss...I want to move from Perl to Python

2016-01-31 Thread Cameron Simpson
On 31Jan2016 09:49, Paul Rubin wrote: Cameron Simpson writes: Adzapper. It has many many regexps matching URLs. (Actually a more globlike syntax, but it gets turned into a regexp.) You plug it into your squid proxy. Oh cool, is that out there in circulation? Yes: http://adzapper.sourcefo

Re: psss...I want to move from Perl to Python

2016-01-31 Thread Paul Rubin
Cameron Simpson writes: > Adzapper. It has many many regexps matching URLs. (Actually a more > globlike syntax, but it gets turned into a regexp.) You plug it into > your squid proxy. Oh cool, is that out there in circulation? It sounds like the approach of merging all the regexes into one and c

Re: psss...I want to move from Perl to Python

2016-01-31 Thread Paul Rubin
Rustom Mody writes: > I would guess it needs more recoding than explicit compilation! > Maybe something like http://www.colm.net/open-source/ragel/ > Unfortunately no python binding so far :-( Neat, that looks kind of like lex/flex but with more backends. -- https://mail.python.org/mailman/listi

Re: psss...I want to move from Perl to Python

2016-01-31 Thread Terry Reedy
On 1/30/2016 10:22 PM, Rustom Mody wrote: On Sunday, January 31, 2016 at 7:27:06 AM UTC+5:30, Steven D'Aprano wrote: On Sunday 31 January 2016 09:18, Gregory Ewing wrote: Correct. The re module keeps a cache of the last N regexes used, for some value of N (possibly 10?) so for casual use ther

Re: psss...I want to move from Perl to Python

2016-01-31 Thread Rustom Mody
True... $ python Python 2.7.10 (default, Oct 14 2015, 16:09:02) [GCC 5.2.1 20151010] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import re >>> re._MAXCACHE 100 But 100 is still large enough that for most normal users/uses re-compilation is pointless. --

Re: psss...I want to move from Perl to Python

2016-01-31 Thread Cameron Simpson
On 30Jan2016 19:53, rusi wrote: On Sunday, January 31, 2016 at 9:18:31 AM UTC+5:30, Cameron Simpson wrote: On 30Jan2016 19:22, rusi wrote: >Have you ever seen a program that uses 512 re's? >I havent :-) I have. I've got one right here. It happens to be in perl, but it has been in need of a rec

Re: psss...I want to move from Perl to Python

2016-01-31 Thread Cameron Simpson
On 31Jan2016 20:23, Steven D'Aprano wrote: On Sun, 31 Jan 2016 02:48 pm, Cameron Simpson wrote: I have. I've got one right here. It happens to be in perl, but it has been in need of a recode in Python for a long time. It has about 3000 regexps. Wow. What's the code do? Adzapper. It has many

Re: psss...I want to move from Perl to Python

2016-01-31 Thread Steven D'Aprano
On Sun, 31 Jan 2016 02:48 pm, Cameron Simpson wrote: > I have. I've got one right here. It happens to be in perl, but it has been > in need of a recode in Python for a long time. It has about 3000 regexps. Wow. What's the code do? -- Steven -- https://mail.python.org/mailman/listinfo/python-

Re: psss...I want to move from Perl to Python

2016-01-30 Thread Cameron Simpson
On 30Jan2016 19:22, rusi wrote: Python 3.4.3+ (default, Oct 14 2015, 16:03:50) [GCC 5.2.1 20151010] on linux Type "help", "copyright", "credits" or "license" for more information. python.el: native completion setup loaded import re re._MAXCACHE 512 Have you ever seen a program that uses 512

Re: psss...I want to move from Perl to Python

2016-01-30 Thread MRAB
On 2016-01-31 01:56:51, "Steven D'Aprano" wrote: On Sunday 31 January 2016 09:18, Gregory Ewing wrote: Rustom Mody wrote: 1. One can use string-re's instead of compiled re's And I gather that string REs are compiled on first use and cached, so you don't lose much by using them most of

Re: psss...I want to move from Perl to Python

2016-01-30 Thread Rustom Mody
On Sunday, January 31, 2016 at 9:18:31 AM UTC+5:30, Cameron Simpson wrote: > On 30Jan2016 19:22, rusi wrote: > >Python 3.4.3+ (default, Oct 14 2015, 16:03:50) > >[GCC 5.2.1 20151010] on linux > >Type "help", "copyright", "credits" or "license" for more information. > python.el: native completi

Re: psss...I want to move from Perl to Python

2016-01-30 Thread Rustom Mody
On Sunday, January 31, 2016 at 7:27:06 AM UTC+5:30, Steven D'Aprano wrote: > On Sunday 31 January 2016 09:18, Gregory Ewing wrote: > > > Rustom Mody wrote: > >> 1. One can use string-re's instead of compiled re's > > > > And I gather that string REs are compiled on first use and > > cached, so yo

Re: psss...I want to move from Perl to Python

2016-01-30 Thread Steven D'Aprano
On Sunday 31 January 2016 09:18, Gregory Ewing wrote: > Rustom Mody wrote: >> 1. One can use string-re's instead of compiled re's > > And I gather that string REs are compiled on first use and > cached, so you don't lose much by using them most of the > time. Correct. The re module keeps a cache

Re: psss...I want to move from Perl to Python

2016-01-30 Thread Rick Johnson
On Friday, January 29, 2016 at 9:38:23 PM UTC-6, Rustom Mody wrote: > JustForTheRecord[1]: Rick is someone who I sometimes agree with... Thanks for reacting in a rational, cool-headed manner. Many folks, especially the new members of this group, may not understand *WHY* i react so passionately w

Re: psss...I want to move from Perl to Python

2016-01-30 Thread Gregory Ewing
Rustom Mody wrote: 1. One can use string-re's instead of compiled re's And I gather that string REs are compiled on first use and cached, so you don't lose much by using them most of the time. -- Greg -- https://mail.python.org/mailman/listinfo/python-list

Re: psss...I want to move from Perl to Python

2016-01-30 Thread Sven R. Kunze
On 29.01.2016 23:49, Ben Finney wrote: "Sven R. Kunze" writes: On 29.01.2016 01:01, Fillmore wrote: How was the Python 2.7 vs Python 3.X solved? which version should I go for? Python 3 is the new and better one. More importantly: Python 2 will never improve; Python 3 is the only one that is

Re: psss...I want to move from Perl to Python

2016-01-30 Thread Steven D'Aprano
On Sat, 30 Jan 2016 09:47 am, Ben Finney wrote: > Steven D'Aprano writes: > >> You should have started with the official tutorial: >> >> https://docs.python.org/2/tutorial/ > > And these days the default recommendation should be to start with the > official tutorial for the current stable versi

Re: psss...I want to move from Perl to Python

2016-01-30 Thread Larry Hudson via Python-list
On 01/28/2016 04:01 PM, Fillmore wrote: I learned myself Perl as a scripting language over two decades ago. All through this time, I would revert to it from time to time whenever I needed some text manipulation and data analysis script. My problem? maybe I am stupid, but each time I have to g

Re: psss...I want to move from Perl to Python

2016-01-29 Thread Rustom Mody
On Saturday, January 30, 2016 at 3:01:09 AM UTC+5:30, Rick Johnson wrote: > On Friday, January 29, 2016 at 6:21:21 AM UTC-6, Ulli Horlacher wrote: > > I nearly gave up with Python at the very beginning before > > I realised that OO-programming is optional in Python! :-) > > Most tutorials I found s

Re: psss...I want to move from Perl to Python

2016-01-29 Thread Chris Angelico
On Sat, Jan 30, 2016 at 2:08 PM, Terry Reedy wrote: > On 1/29/2016 3:51 PM, Chris Angelico wrote: >> >> On Sat, Jan 30, 2016 at 7:42 AM, Fillmore >> wrote: > > >>> - Is there a good IDE that can be used for debugging? all free IDEs for >>> Perl >>> suck and it would be awesome if Python was bette

Re: psss...I want to move from Perl to Python

2016-01-29 Thread Terry Reedy
On 1/29/2016 3:51 PM, Chris Angelico wrote: On Sat, Jan 30, 2016 at 7:42 AM, Fillmore wrote: - Is there a good IDE that can be used for debugging? all free IDEs for Perl suck and it would be awesome if Python was better than that. Debugging Python code is generally easy enough without an I

Re: psss...I want to move from Perl to Python

2016-01-29 Thread Rustom Mody
On Saturday, January 30, 2016 at 3:01:09 AM UTC+5:30, Rick Johnson wrote: > On Friday, January 29, 2016 at 6:21:21 AM UTC-6, Ulli Horlacher wrote: > > I nearly gave up with Python at the very beginning before > > I realised that OO-programming is optional in Python! :-) > > Most tutorials I found s

Re: psss...I want to move from Perl to Python

2016-01-29 Thread Ben Finney
Fillmore writes: > On 1/29/2016 4:30 PM, Rick Johnson wrote: > > People who are unwilling to "expanding their > > intellectual horizons" make me sick!!! > > did I miss something or is this aggressiveness unjustified? Indeed it is unjustified. The person to whom you respond is best ignored (auto

Re: psss...I want to move from Perl to Python

2016-01-29 Thread Josef Pktd
On Friday, January 29, 2016 at 4:50:25 PM UTC-5, Cody Piersall wrote: > On Fri, Jan 29, 2016 at 2:42 PM, Fillmore > wrote: > > I actually have a few followup question. > > > - will iNotebook also work in Python 3? > Yes! And just FYI, it's called they Jupyter Notebook now, but pretty much > ever

Re: psss...I want to move from Perl to Python

2016-01-29 Thread Cameron Simpson
On 29Jan2016 18:12, Steven D'Aprano wrote: On Fri, 29 Jan 2016 11:25 am, Chris Angelico wrote: Probably the biggest thing to take note of is the Python object model - how names and objects and assignment work. It's pretty straight-forward, but if it's not what you're used to, you'll need to ge

Re: psss...I want to move from Perl to Python

2016-01-29 Thread MRAB
On 2016-01-30 00:57:10, "Fillmore" wrote: On 1/29/2016 4:30 PM, Rick Johnson wrote: People who are unwilling to "expanding their intellectual horizons" make me sick!!! did I miss something or is this aggressiveness unjustified? In the past, he has posted under the name "Ranting Rick", whic

Re: psss...I want to move from Perl to Python

2016-01-29 Thread Fillmore
On 1/29/2016 4:30 PM, Rick Johnson wrote: People who are unwilling to "expanding their intellectual horizons" make me sick!!! did I miss something or is this aggressiveness unjustified? -- https://mail.python.org/mailman/listinfo/python-list

Re: psss...I want to move from Perl to Python

2016-01-29 Thread Ben Finney
Steven D'Aprano writes: > You should have started with the official tutorial: > > https://docs.python.org/2/tutorial/ And these days the default recommendation should be to start with the official tutorial for the current stable version of the Python language, Python 3 https://docs.python.org/3/

Re: psss...I want to move from Perl to Python

2016-01-29 Thread Rick Johnson
On Friday, January 29, 2016 at 2:49:24 PM UTC-6, sohca...@gmail.com wrote: > I'm convinced that anyone who actually prefers Perl's > syntax over Python is suffering from Stockholm Syndrome. > > [...] > > Readability counts. I'd say readability is one of the > most important features of a language

Re: psss...I want to move from Perl to Python

2016-01-29 Thread Gregory Ewing
sohcahto...@gmail.com wrote: On Thursday, January 28, 2016 at 6:34:34 PM UTC-8, Chris Angelico wrote: https://xkcd.com/353/ I have this comic pinned to the outside wall of my cubicle at work, where I use Python for 98% of my work. Another good thing to pin to your wall: http://www.gentooge

Re: psss...I want to move from Perl to Python

2016-01-29 Thread Cody Piersall
On Fri, Jan 29, 2016 at 2:42 PM, Fillmore wrote: > I actually have a few followup question. > - will iNotebook also work in Python 3? Yes! And just FYI, it's called they Jupyter Notebook now, but pretty much everyone still (colloquially) calls it the IPython Notebook so you're in good company.

Re: psss...I want to move from Perl to Python

2016-01-29 Thread Chris Angelico
On Sat, Jan 30, 2016 at 7:41 AM, wrote: > It's funny...when I first started using Python, I hated it because it held > your hand and made everything too easy. I was a major C, C++ and Java > fanatic. Now, I LOVE Python because it holds your hand and makes everything > so easy. > Exactly. >

Re: psss...I want to move from Perl to Python

2016-01-29 Thread Ben Finney
"Sven R. Kunze" writes: > On 29.01.2016 01:01, Fillmore wrote: > > How was the Python 2.7 vs Python 3.X solved? which version should I > > go for? > > Python 3 is the new and better one. More importantly: Python 2 will never improve; Python 3 is the only one that is actively developed. -- \

Re: psss...I want to move from Perl to Python

2016-01-29 Thread Gregory Ewing
Random832 wrote: The main source of confusion is that $foo[5] is an element of @foo. $foo{'x'} is an element of %foo. Both of these have absolutely nothing to do with $foo. And this is where Perl seems totally insane to me. Obviously it knows from the square brackets that foo[5] is referring to

Re: psss...I want to move from Perl to Python

2016-01-29 Thread Nathan Hilterbrand
On Fri, Jan 29, 2016 at 3:42 PM, Fillmore wrote: > > I actually have a few followup question. > > - will iNotebook also work in Python 3? > > - What version of Python 3 do you recommend I install on Windows? > > - Is Python 3 available also for CygWin? > > - I use Ubuntu at home. Will I be able t

Re: psss...I want to move from Perl to Python

2016-01-29 Thread Rick Johnson
On Friday, January 29, 2016 at 6:21:21 AM UTC-6, Ulli Horlacher wrote: > I nearly gave up with Python at the very beginning before > I realised that OO-programming is optional in Python! :-) > Most tutorials I found so far makes OO mandatory. Just more evidence that old dogs are incapable of learn

Re: psss...I want to move from Perl to Python

2016-01-29 Thread Chris Angelico
On Sat, Jan 30, 2016 at 7:42 AM, Fillmore wrote: > I actually have a few followup question. > > - will iNotebook also work in Python 3? You mean the IPython notebook? Yep! > - What version of Python 3 do you recommend I install on Windows? The latest stable - currently, that's 3.5. > - Is Pyth

Re: psss...I want to move from Perl to Python

2016-01-29 Thread sohcahtoa82
On Friday, January 29, 2016 at 1:12:34 AM UTC-8, Ulli Horlacher wrote: > Steven D'Aprano wrote: > > > Every time I make a half-hearted attempt to learn enough Perl syntax to get > > started, I keep running into the differences between $foo, %foo and @foo > > and dire warnings about what happens i

Re: psss...I want to move from Perl to Python

2016-01-29 Thread sohcahtoa82
On Thursday, January 28, 2016 at 6:34:34 PM UTC-8, Chris Angelico wrote: > On Fri, Jan 29, 2016 at 1:06 PM, Paul Rubin wrote: > > Fillmore writes: > >> I look and Python and it looks so much more clean > > > > Yes it is, I forgot everything I knew about Perl shortly after starting > > to use

Re: psss...I want to move from Perl to Python

2016-01-29 Thread Fillmore
I actually have a few followup question. - will iNotebook also work in Python 3? - What version of Python 3 do you recommend I install on Windows? - Is Python 3 available also for CygWin? - I use Ubuntu at home. Will I be able to install Python 3 with apt-get? will I need to uninstall previo

Re: psss...I want to move from Perl to Python

2016-01-29 Thread Fillmore
+1 On 1/29/2016 10:07 AM, Random832 wrote: The main source of confusion is that $foo[5] is an element of @foo. $foo{'x'} is an element of %foo. Both of these have absolutely nothing to do with $foo. -- https://mail.python.org/mailman/listinfo/python-list

Re: psss...I want to move from Perl to Python

2016-01-29 Thread Fillmore
So many answers. So much wisdom...thank you everyone On 01/28/2016 07:01 PM, Fillmore wrote: -- https://mail.python.org/mailman/listinfo/python-list

Re: psss...I want to move from Perl to Python

2016-01-29 Thread Sven R. Kunze
Hi, On 29.01.2016 01:01, Fillmore wrote: I look and Python and it looks so much more clean add to that that it is the language of choice of data miners... add to that that iNotebook looks powerful All true. :) Does Python have Regexps? "import re" https://docs.python.org/3.5/li

Re: psss...I want to move from Perl to Python

2016-01-29 Thread Random832
On Fri, Jan 29, 2016, at 04:12, Ulli Horlacher wrote: > Steven D'Aprano wrote: > > > Every time I make a half-hearted attempt to learn enough Perl syntax to get > > started, I keep running into the differences between $foo, %foo and @foo > > and dire warnings about what happens if you use the wro

Re: psss...I want to move from Perl to Python

2016-01-29 Thread Ulli Horlacher
James Harris wrote: > I nearly gave up with Python at the very beginning before I realised not > to mix tabs and spaces. I nearly gave up with Python at the very beginning before I realised that OO-programming is optional in Python! :-) Most tutorials I found so far makes OO mandatory. -- Ul

Re: psss...I want to move from Perl to Python

2016-01-29 Thread Steven D'Aprano
On Fri, 29 Jan 2016 11:21 pm, Ulli Horlacher wrote: > Most tutorials I found so far makes OO mandatory. You should have started with the official tutorial: https://docs.python.org/2/tutorial/ which doesn't get into classes until Chapter 9, after: - using Python as a calculator; - numbers, st

Re: psss...I want to move from Perl to Python

2016-01-29 Thread James Harris
On 29/01/2016 09:12, Ulli Horlacher wrote: Steven D'Aprano wrote: Every time I make a half-hearted attempt to learn enough Perl syntax to get started, I keep running into the differences between $foo, %foo and @foo and dire warnings about what happens if you use the wrong sigil I have starte

Re: psss...I want to move from Perl to Python

2016-01-29 Thread Chris Angelico
On Fri, Jan 29, 2016 at 6:12 PM, Steven D'Aprano wrote: > On Fri, 29 Jan 2016 11:25 am, Chris Angelico wrote: > >> Probably the biggest thing to take note of is the Python object model >> - how names and objects and assignment work. It's pretty >> straight-forward, but if it's not what you're used

Re: psss...I want to move from Perl to Python

2016-01-29 Thread Ulli Horlacher
Steven D'Aprano wrote: > Every time I make a half-hearted attempt to learn enough Perl syntax to get > started, I keep running into the differences between $foo, %foo and @foo > and dire warnings about what happens if you use the wrong sigil I have started learning Python several times and surre

Re: psss...I want to move from Perl to Python

2016-01-29 Thread Jussi Piitulainen
Fillmore writes: > Does Python have Regexps? Start by importing the re module (as said). Find its documentation at the following link (together with a list of many other modules that come standard with Python). Also, once imported to the interactive session, help(re), dir(re). https://docs.pytho

Re: psss...I want to move from Perl to Python

2016-01-28 Thread Steven D'Aprano
On Fri, 29 Jan 2016 11:25 am, Chris Angelico wrote: > Probably the biggest thing to take note of is the Python object model > - how names and objects and assignment work. It's pretty > straight-forward, but if it's not what you're used to, you'll need to > get your head around it. Here's a good ta

Re: psss...I want to move from Perl to Python

2016-01-28 Thread Michael Torrie
On 01/28/2016 07:34 PM, Chris Angelico wrote: > On Fri, Jan 29, 2016 at 1:06 PM, Paul Rubin wrote: >> Fillmore writes: >>> I look and Python and it looks so much more clean >> >> Yes it is, I forgot everything I knew about Perl shortly after starting >> to use Python. > > https://xkcd.com/35

Re: psss...I want to move from Perl to Python

2016-01-28 Thread Rick Johnson
On Thursday, January 28, 2016 at 6:28:25 PM UTC-6, Nathan Hilterbrand wrote: > Python 2 vs python 3 is anything but "solved". You will hear arguments > in favor of both. I will not make a suggestion, because I do not have > on my flame-resistant clothing Indeed. About the only subject more vol

Re: psss...I want to move from Perl to Python

2016-01-28 Thread Chris Angelico
On Fri, Jan 29, 2016 at 2:23 PM, Rick Johnson wrote: > On Thursday, January 28, 2016 at 6:28:25 PM UTC-6, Nathan Hilterbrand wrote: >> Python 2 vs python 3 is anything but "solved". You will hear arguments >> in favor of both. I will not make a suggestion, because I do not have >> on my flame-re

Re: psss...I want to move from Perl to Python

2016-01-28 Thread Chris Angelico
On Fri, Jan 29, 2016 at 11:01 AM, Fillmore wrote: > Does Python have Regexps? Yes! Although there are often other ways of doing things, so you don't *have* to use a regex for everything. But yes, Python has a powerful regular expression library. > How was the Python 2.7 vs Python 3.X solved? whi

Re: psss...I want to move from Perl to Python

2016-01-28 Thread Chris Angelico
On Fri, Jan 29, 2016 at 1:06 PM, Paul Rubin wrote: > Fillmore writes: >> I look and Python and it looks so much more clean > > Yes it is, I forgot everything I knew about Perl shortly after starting > to use Python. https://xkcd.com/353/ Particularly the hover text. :) ChrisA -- https://m

Re: psss...I want to move from Perl to Python

2016-01-28 Thread paul . hermeneutic
On Thu, Jan 28, 2016 at 5:01 PM, Fillmore wrote: > > I learned myself Perl as a scripting language over two decades ago. All > through this time, I would revert to it from time to time whenever I needed > some text manipulation and data analysis script. > > My problem? maybe I am stupid, but each

Re: psss...I want to move from Perl to Python

2016-01-28 Thread Paul Rubin
Fillmore writes: > I look and Python and it looks so much more clean Yes it is, I forgot everything I knew about Perl shortly after starting to use Python. > add to that that it is the language of choice of data miners... There are a bunch of statistical libraries and that sort of thing but

psss...I want to move from Perl to Python

2016-01-28 Thread Fillmore
I learned myself Perl as a scripting language over two decades ago. All through this time, I would revert to it from time to time whenever I needed some text manipulation and data analysis script. My problem? maybe I am stupid, but each time I have to go back and re-learn the syntax, the got

Re: psss...I want to move from Perl to Python

2016-01-28 Thread Cameron Simpson
On 28Jan2016 19:01, Fillmore wrote: I learned myself Perl as a scripting language over two decades ago. All through this time, I would revert to it from time to time whenever I needed some text manipulation and data analysis script. My problem? maybe I am stupid, but each time I have to go b

Re: psss...I want to move from Perl to Python

2016-01-28 Thread Nathan Hilterbrand
On 01/28/2016 07:01 PM, Fillmore wrote: I learned myself Perl as a scripting language over two decades ago. All through this time, I would revert to it from time to time whenever I needed some text manipulation and data analysis script. My problem? maybe I am stupid, but each time I have t