dictionary initialization
Weiguang Shi
wgshi at namao.cs.ualberta.ca
Fri Nov 26 14:29:02 EST 2004
Caleb,
In article <opsh3pirx21js0xs at news.telkomsa.net>, Caleb Hattingh wrote:
> ...
>And then have x=1? Is this the question of debate here? One line of
>initialisation to specify the type?
Right.
>
>IF this is the point you are making, and the awk functionality
>demostrated in this particular example is a really significant
>feature for you in your specific problem domain, then I must concede
>that awk is probably right for you, and you shouldn't waste your
>time with Python.
Thanks for the advice. I'll stay with awk and shell for most of my
text processing (simple but, hey, 90% of the time I'm not doing
anything complex) and go Python for binary data processing and larger
projects. BTW, I think learning Python is a good use of my time.
Weiguang
More information about the Python-list
mailing list