Roy Smith [EMAIL PROTECTED] wrote:
In article [EMAIL PROTECTED],
Nick Craig-Wood [EMAIL PROTECTED] wrote:
My favourite mistake when I made the transition was calling methods
without parentheses. In perl it is common to call methods without
parentheses - in python this does
Nick Craig-Wood [EMAIL PROTECTED] wrote:
On the other hand, leaving out the parens returns the function itself,
which you can then call later. I've often used this to create data-driven
logic.
I didn't say it wasn't useful, just that if you came from Perl like I
did, it is an easy
On Sun, 2008-12-07 at 11:05 +0900, Bertilo Wennergren wrote:
Aahz wrote:
In article [EMAIL PROTECTED],
Bertilo Wennergren [EMAIL PROTECTED] wrote:
I don't suppose there is any introductory material out there that is
based on Python 3000 and that is also geared at people with a
Bertilo Wennergren [EMAIL PROTECTED] wrote:
I'm planning to start learning Python now, using Python 3000.
I have no previous Python skills, but I now Perl pretty well.
I'm also well experienced with JavaScript.
Any pointers and tips how I should go about getting into
Python?
Read Dive
In article [EMAIL PROTECTED],
Nick Craig-Wood [EMAIL PROTECTED] wrote:
My favourite mistake when I made the transition was calling methods
without parentheses. In perl it is common to call methods without
parentheses - in python this does absolutely nothing! pychecker does
warn about it
I'm planning to start learning Python now, using Python 3000.
I have no previous Python skills, but I now Perl pretty well.
I'm also well experienced with JavaScript.
Any pointers and tips how I should go about getting into
Python?
--
Bertilo Wennergren http://bertilow.com
--
In article [EMAIL PROTECTED],
Bertilo Wennergren [EMAIL PROTECTED] wrote:
I'm planning to start learning Python now, using Python 3000.
I have no previous Python skills, but I now Perl pretty well.
I'm also well experienced with JavaScript.
Any pointers and tips how I should go about
Roy Smith wrote:
Bertilo Wennergren [EMAIL PROTECTED] wrote:
I'm planning to start learning Python now, using Python 3000.
I have no previous Python skills, but I now Perl pretty well.
I'm also well experienced with JavaScript.
Any pointers and tips how I should go about getting into
Bertilo Wennergren wrote:
Roy Smith wrote:
Bertilo Wennergren [EMAIL PROTECTED] wrote:
I'm planning to start learning Python now, using Python 3000.
I have no previous Python skills, but I now Perl pretty well.
I'm also well experienced with JavaScript.
Any pointers and tips how I should
On Sat, 06 Dec 2008 08:50:20 -0500, Roy Smith wrote:
For your first
project, pick something that's small enough that you think you could
tackle it in under 50 lines of Perl.
Is there anything which *can't* be written in under 50 lines of Perl?
:-)
One of the very first things you'll
In article [EMAIL PROTECTED],
Bertilo Wennergren [EMAIL PROTECTED] wrote:
I don't suppose there is any introductory material out there that is
based on Python 3000 and that is also geared at people with a Perl
background? Too early for that I guess..
Honestly, the differences between 2.x and
I fully agree with Roy's answer.
COding small tasks is a good starting point. For quite some time you'll
be of course less efficient than with your previous language, but that's
part of the learning curve, isn't it.
I guess you'll learn the syntax rather quickly.
What's more painful is to learn
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Aahz)
wrote:
In article [EMAIL PROTECTED],
Bertilo Wennergren [EMAIL PROTECTED] wrote:
I don't suppose there is any introductory material out there that is
based on Python 3000 and that is also geared at people with a Perl
background? Too
News123 wrote:
What's more painful is to learn which functianilty is in which library
and which library exists.
cut
Yes and one mistake I still often find myself doing is, when confronted
with a particular problem, that I write some helper code to deal with
it. Of course later on I discover
In article [EMAIL PROTECTED],
Steven D'Aprano [EMAIL PROTECTED] wrote:
On Sat, 06 Dec 2008 08:50:20 -0500, Roy Smith wrote:
For your first
project, pick something that's small enough that you think you could
tackle it in under 50 lines of Perl.
Is there anything which *can't* be
On Dec 6, 5:00 am, Bertilo Wennergren [EMAIL PROTECTED] wrote:
I'm planning to start learning Python now, using Python 3000.
I have no previous Python skills, but I now Perl pretty well.
I'm also well experienced with JavaScript.
Any pointers and tips how I should go about getting into
On Dec 6, 12:30 pm, Roy Smith [EMAIL PROTECTED] wrote:
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Aahz)
wrote:
In article [EMAIL PROTECTED],
Bertilo Wennergren [EMAIL PROTECTED] wrote:
I don't suppose there is any introductory material out there that is
based on Python 3000 and
On Sat, 06 Dec 2008 14:15:28 -0500, Roy Smith wrote:
In article [EMAIL PROTECTED],
Steven D'Aprano [EMAIL PROTECTED] wrote:
On Sat, 06 Dec 2008 08:50:20 -0500, Roy Smith wrote:
For your first
project, pick something that's small enough that you think you could
tackle it in under 50
Perl Cookbook for Python Programmers:
http://pleac.sourceforge.net/pleac_python/index.html
P3K as starting point (slight cringe) as long as you know the caveats.
I'm of the mind as Christopher with regard to how Python 3.0 has been
released on Python.org:
I don't think that Python 3.0 is a bad
In article [EMAIL PROTECTED],
Steven D'Aprano [EMAIL PROTECTED] wrote:
Well, as an old-time unix hacker (who learned REs long before Perl
existed), my question to you would be, Is there any problem which
*shouldn't* be solved with an RE? :-)
One of the reasons REs don't get used in Python
Aahz wrote:
In article [EMAIL PROTECTED],
Bertilo Wennergren [EMAIL PROTECTED] wrote:
I don't suppose there is any introductory material out there that is
based on Python 3000 and that is also geared at people with a Perl
background? Too early for that I guess..
Honestly, the
Bertilo Wennergren wrote:
Aahz wrote:
In article [EMAIL PROTECTED],
Bertilo Wennergren [EMAIL PROTECTED] wrote:
I don't suppose there is any introductory material out there that is
based on Python 3000 and that is also geared at people with a Perl
background? Too early for that I
In article [EMAIL PROTECTED],
Python Nutter [EMAIL PROTECTED] wrote:
At least if you push REs inform the readers where to get the a RE GUI
builder written in Python so they can build and *test* the complex and
unwieldy REs to perform anything beyond the basic pattern searches.
Oh, my, I
In article [EMAIL PROTECTED],
Bertilo Wennergren [EMAIL PROTECTED] wrote:
The main reason I waited until Python 3000 came out is the new way
Unicode is handled. The old way seemed really broken to me. Much of
what I do when I program consists of juggling Unicode text (real
Unicode text with lots
24 matches
Mail list logo