scriptinguy wrote:1) Most of my work involves slicing, dicing and extracting portions from command line outputs and either e-mailing the results, or putting the results in excel etc. Can I do that in Python ?
2) My work involves having the script log remotely into storage arrays through SSH. Few Google searches pointed me to Fabric and Paramiko which are used for this purpose. Thing is, getting the output is just a part of the job. Once I am in there, I need to extract certain outputs from the command line outputs so that to keep the output relevant and compact. In Perl, I do that using regex. Does Python allow me to do that?
Yes for both of these.
scriptinguy wrote:4) Will it be better to use 32 bit or 64 bit python?
For me, it's mostly about 3rd party modules, some of them don't support 64-bit(or at least didn't when I checked, which was years ago).
Also, 64-bit might use more memory.
But, it will probably perform better, and let you use more ram.
scriptinguy wrote:5) Which is a better option? Activestate Python or MSI Installer from Python.org?
The ActiveState one has a few additional modules built-in, but you can install those separately if you need them.
So it doesn't really matter which you choose.
scriptinguy wrote:7) And most importantly, can anyone suggest a good book targeted for Python Version 2.7?
Since you already know some programming, I'd recommend just reading the official tutorial
But if you're specifically looking for a book, I've heard How to Think Like a Computer Scientist
is pretty good.