kj wrote:
I'd written a Perl module to facilitate the writing of scripts.
It contained all my boilerplate code for parsing and validating
command-line options, generating of accessor functions for these
options, printing of the help message and of the full documentation,
testing, etc.
A lot
On 2008-01-30, grflanagan [EMAIL PROTECTED] wrote:
On Jan 29, 5:39 pm, kj [EMAIL PROTECTED] wrote:
For command line options I get a long way with this:
[code python]
def _getargs():
allargs = sys.argv[1:]
args = []
kwargs = {}
key = None
while allargs:
arg =
On Jan 31, 2:56 pm, A.T.Hofkamp [EMAIL PROTECTED] wrote:
On 2008-01-30, grflanagan [EMAIL PROTECTED] wrote:
On Jan 29, 5:39 pm, kj [EMAIL PROTECTED] wrote:
For command line options I get a long way with this:
[code python]
def _getargs():
allargs = sys.argv[1:]
args = []
In [EMAIL PROTECTED] Reedick, Andrew [EMAIL PROTECTED] writes:
Be that as it may, the activation barrier to using Python for my
scripting remains too high.
=20
I'd written a Perl module to facilitate the writing of scripts.
It contained all my boilerplate code for parsing and validating
In [EMAIL PROTECTED] Wildemar Wildenburger [EMAIL PROTECTED] writes:
kj wrote:
Is there any good reading (to ease the transition) for Perl
programmers trying to learn Python?
www.diveintopython.org
Thanks. Not for Perl programmers specifically, but it looks useful
all the same.
kynn
--
On Jan 29, 5:39 pm, kj [EMAIL PROTECTED] wrote:
[...]
It's not the Python syntax that I'm having problems with, but rather
with larger scale issues such as the structuring of packages,
techniques for code reuse, test suites, the structure of
distributions,... Python and Perl seem to come from
-Original Message-
From: [EMAIL PROTECTED] [mailto:python-
[EMAIL PROTECTED] On Behalf Of kj
Sent: Tuesday, January 29, 2008 11:39 AM
To: python-list@python.org
Subject: Python noob SOS (any [former?] Perlheads out there?)
For many months now I've been trying to learn Python
kj a écrit :
For many months now I've been trying to learn Python, but I guess
I'm too old a dog trying to learn new tricks... For better or
worse, I'm so used to Perl when it comes to scripting, that I'm
just having a very hard time getting a hang of The Python Way.
(snip)
I'd written a
On Jan 29, 4:39 pm, kj [EMAIL PROTECTED] wrote:
It's not the Python syntax that I'm having problems with, but rather
with larger scale issues such as the structuring of packages,
techniques for code reuse, test suites, the structure of
distributions,... Python and Perl seem to come from
On Jan 29, 10:39 am, kj [EMAIL PROTECTED] wrote:
I'd written a Perl module to facilitate the writing of scripts.
It contained all my boilerplate code for parsing and validating
command-line options, generating of accessor functions for these
options, printing of the help message and of the
For many months now I've been trying to learn Python, but I guess
I'm too old a dog trying to learn new tricks... For better or
worse, I'm so used to Perl when it comes to scripting, that I'm
just having a very hard time getting a hang of The Python Way.
It's not the Python syntax that I'm
kj wrote:
Is there any good reading (to ease the transition) for Perl
programmers trying to learn Python?
www.diveintopython.org
While it is a bit dated by now (Python 2.2), that thing worked wonders
for me. Shows you Python in action and presents a fair amount of its
philosophy along the
12 matches
Mail list logo