On Tuesday 05 October 2010 12:25:51 Agnello George wrote: > ( i did'nt know where to post this; perl forum or python forum ) > > I am a bit confused, i have been learning perl last 1.5 yrs .. then > suddenly in my new company they use python to do all their scripting work , > so i would have to follow protocol :) and learn python >
You are right that in a workplace, one should normally use what the company has standardised on. If they standardised on Python, then use Python - it's not such a bad choice. > So now just wanted to know if i can do all that i could do in perl .. > would i be able to do in python .. the documentation of python doesn't > seem as crisp as the one in perl has . Well, Python is Turing-complete just like Perl is. See: http://en.wikipedia.org/wiki/Turing_completeness So anything you can do in Perl, you can do in Python as well, but naturally, possibly with more difficulty (or alternatively ease). See: http://www.paulgraham.com/power.html When working with Python, I've had to refer to its documentation at times, and now that I think of it, may agree that it's not as useful as Perl's. Anyhow, you may find this to be of use: http://wiki.python.org/moin/PerlPhrasebook > > so if one has to write a script ... how does one choose between python or > perl Well, it depends on many factors: which one of them one knows better, what does their workplace dictate, which of them they feel is more suitable for the script of program, which one they wish to practice, etc. ---------------------- Furthermore, I should note that you should work on your English writing skills. In your email, you have many lowercase "i"'s instead of "i", lack of initial uppercase letters, common use of ellipses instead of more suitable punctuation (including the invalid two-dot ellipsis - ".."), and other bad writing elements. Few people will take your E-mail messages seriously when they are written like that. Regards, Shlomi Fish -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ "Humanity" - Parody of Modern Life - http://shlom.in/humanity <rindolf> She's a hot chick. But she smokes. <go|dfish> She can smoke as long as she's smokin'. Please reply to list if it's a mailing list post - http://shlom.in/reply . -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/