On 03/12/2016 04:40 AM, alister wrote:
On Fri, 11 Mar 2016 19:15:48 -0500, Fillmore wrote:
I not sure if you were being accused of being lazy as such but actually
being given the suggestion that there are other places that you can find
these answers that are probably better for a number of reason
On Fri, 11 Mar 2016 19:15:48 -0500, Fillmore wrote:
> On 3/11/2016 7:12 PM, Martin A. Brown wrote:
>>
>> Aside from your csv question today, many of your questions could be
>> answered by reading through the manual documenting the standard
>> datatypes (note, I am assuming you are using Python 3).
On 3/11/2016 7:12 PM, Martin A. Brown wrote:
Aside from your csv question today, many of your questions could be
answered by reading through the manual documenting the standard
datatypes (note, I am assuming you are using Python 3).
are you accusing me of being lazy?
if that's your accusatio
Good afternoon Fillmore,
> So, now I need to split a string in a way that the first element
> goes into a string and the others in a list:
>
> while($line = ) {
>
>my ($s,@values) = split /\t/,$line;
>
> I am trying with:
>
> for line in sys.stdin:
>s,values = line.strip().split("\t")
>
On Friday, March 11, 2016 at 3:42:36 PM UTC-8, Fillmore wrote:
> So, now I need to split a string in a way that the first element goes
> into a string and the others in a list:
>
> while($line = ) {
>
> my ($s,@values) = split /\t/,$line;
>
> I am trying with:
>
> for line in sys.stdin:
So, now I need to split a string in a way that the first element goes
into a string and the others in a list:
while($line = ) {
my ($s,@values) = split /\t/,$line;
I am trying with:
for line in sys.stdin:
s,values = line.strip().split("\t")
print(s)
but no luck:
ValueError: t
Big thank you to everyone who offered their help!
On 03/06/2016 11:38 PM, Fillmore wrote:
--
https://mail.python.org/mailman/listinfo/python-list
Fillmore wrote:
>
> Hi, I'm trying to move away from Perl and go to Python.
> Regex seems to bethe hardest challenge so far.
>
> Perl:
>
> while () {
> if (/(\d+)\t(.+)$/) {
> print $1." - ". $2."\n";
> }
> }
>
> into python
>
> pattern = re.compile(r"(\d+)\t(.+)$")
> with open(fiel
Also for regex hacking:
Try with findall before using match/search
--
https://mail.python.org/mailman/listinfo/python-list
Also for regex hacking:
Try with findall before using match/search
--
https://mail.python.org/mailman/listinfo/python-list
On 3/6/2016 11:38 PM, Fillmore wrote:
Hi, I'm trying to move away from Perl and go to Python.
Regex seems to bethe hardest challenge so far.
Perl:
while () {
if (/(\d+)\t(.+)$/) {
print $1." - ". $2."\n";
}
}
into python
pattern = re.compile(r"(\d+)\t(.+)$")
with open(fields_I
On Mon, Mar 7, 2016 at 3:38 PM, Fillmore wrote:
> pattern = re.compile(r"(\d+)\t(.+)$")
> with open(fields_Indexfile,mode="rt",encoding='utf-8') as headerfile:
> for line in headerfile:
> #sys.stdout.write(line)
> m = pattern.match(line)
> print(m.group(0))
> header
Hi, I'm trying to move away from Perl and go to Python.
Regex seems to bethe hardest challenge so far.
Perl:
while () {
if (/(\d+)\t(.+)$/) {
print $1." - ". $2."\n";
}
}
into python
pattern = re.compile(r"(\d+)\t(.+)$")
with open(fields_Indexfile,mode="rt",encoding='utf-8') a
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
--
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
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
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-
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
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
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
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
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
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
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
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
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
that switching to Python from Perl is a good idea at 45?
Where do I get started moving from Perl to Python?
which gotchas need I be aware of?
Thank you
Check out this link: http://www.linuxjournal.com/article/3882
It is an account of ESR's[1] first experiences going to Python from
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
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
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
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
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
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
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
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
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
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/
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
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
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.
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.
>
"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.
--
\
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
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
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
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
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
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
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
+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
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
ython from Perl is a good idea at 45?
http://srkunze.blogspot.de/2016/01/next-programming-language.html
Where do I get started moving from Perl to Python?
some keywords:
basic mathematical calculations
dicts and lists
classes
closures/mixins
and other tutorials. :)
which gotchas need I b
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
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
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
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
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
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
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
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
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
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
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
hing to Python from Perl is a good idea at 45?
Definitely. Never too old to learn new tricks.
> Where do I get started moving from Perl to Python?
Start with the Python tutorial in the docs; flip through that and get
an idea of broadly how things work. Then port a simple script, so you
know y
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
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
be able to work with both. Despite the
screams of this newsgroup, most professional projects that I've been
involved with are still using 2.x.
> Do you think that switching to Python from Perl is a good idea at 45?
Sure.
> Where do I get started moving from Perl to Python?
Read the
is a good idea at 45?
Where do I get started moving from Perl to Python?
which gotchas need I be aware of?
Thank you
--
https://mail.python.org/mailman/listinfo/python-list
d going back to the
ambiguity of Python 2 would be a disaster (in fact, the module I'm thinking of
had many potential bugs which got cleaned up as a direct result of the move to
3).
Do you think that switching to Python from Perl is a good idea at 45?
Yes. Yes yes yes.
Where do I ge
you think that switching to Python from Perl is a good idea at 45?
Where do I get started moving from Perl to Python?
which gotchas need I be aware of?
Thank you
Python does "have" regex.. it is not part of the language, but is in a
separate module. If you are used to the way that r
On Mar 27, 5:58 pm, Chris Angelico wrote:
> On Wed, Mar 27, 2013 at 10:29 PM, neurino wrote:
> > We are a small group of people (approx. 10), working separetely on their own
> > projects (each employee manages approx. 2-3 projects). We deal with high
> > loads of data everyday.
>
> > This workflo
On Wed, Mar 27, 2013 at 10:29 PM, neurino wrote:
> We are a small group of people (approx. 10), working separetely on their own
> projects (each employee manages approx. 2-3 projects). We deal with high
> loads of data everyday.
>
> This workflow has been flawless now for at least 15 years. New ge
#x27;t?
> But our concerns are that, in 3-4 years from
> > now, the tools we are going to develop must be still scalable,
> > mantainable, portable and of high-performance.
>
> >
> > We don't have any solid in-house know-how on Python. We just have to
> >
rs from
> now, the tools we are going to develop must be still scalable,
> mantainable, portable and of high-performance.
>
> We don't have any solid in-house know-how on Python. We just have to
> start everything from scracth. Where do you see advantages and
> drawbacks i
don't have any solid in-house know-how on Python. We just have to
start everything from scracth. Where do you see advantages and
drawbacks in switching from Perl to Python, given the work picture
above?
Thanks in advance for any opinions you might have.
--
http://mail.python.org/mailma
On 27 Dec, 22:58, Chris Angelico wrote:
> Rick, ever heard of the ELIZA Effect?
Can we _please_ stop feeding this troll?
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, Dec 27, 2012 at 5:50 PM, Ranting Rick
wrote:
> Every keyword, syntactical structure, style, etc, etc, should be based
> on logical foundations; not adolescent fads or propagating more
> idiotic cultural traditions. You piss and moan about language X and
> how asinine the language is, them
On Dec 26, 11:02 pm, Steven D'Aprano wrote:
> On Wed, 26 Dec 2012 20:07:53 -0800, Rick Johnson wrote:
> > My specific point is that the English word "variable" is unambiguous
>
> I'm sorry, do you mean "variable" the noun, or "variable" the adjective?
> [snip: sliding down the rabbit hole of a pol
On Wed, 26 Dec 2012 20:07:53 -0800, Rick Johnson wrote:
> My specific point is that the English word "variable" is unambiguous
I'm sorry, do you mean "variable" the noun, or "variable" the adjective?
If you mean the adjective, do you mean something which naturally changes,
in the sense that the
On Wednesday, December 26, 2012 2:29:13 AM UTC-6, Steven D'Aprano wrote:
> [snip]
I won't reply to your last post on a line-by-line basis because i feel we are
straying from my general point: which is that we should NEVER re-interpret
existing words (in an illogical manner) whilst transforming t
On 12/25/2012 04:42 PM, Rick Johnson wrote:
> With that accurate definition in mind you can now understand how
> Python classes CAN and DO have variables, just as Python modules have
> variables; psst: they're called "global variables"!
Nice ascii graphic, but citation needed. What CS text book a
On 12/25/2012 04:42 PM, Rick Johnson wrote:
> What IS a variable Dennis?
> #
>
> #Variable (ComputerScience)#
>
Found the reference you are quot
On Tue, 25 Dec 2012 16:19:21 -0800, Rick Johnson wrote:
> On Tuesday, December 25, 2012 4:56:44 PM UTC-6, Steven D'Aprano wrote:
>
>> Rick, what makes you think that this is logically inconsistent?
>> "Method" is the accepted name for functions attached to classes. They
>> report themselves as "m
1 - 100 of 234 matches
Mail list logo