Tag Archives: Python

Setting Auto Completion in Python Shell

Dear Friends, Today I found very useful tips from the CDAT document page about how to make auto completion in python shell. Save the above code as .auto_completion_python_shell.py inyour home directory of your home directory in *nix system. Then open … Continue reading

Posted in Uncategorized | Tagged , , , , , | Leave a comment

Pytest Documentation: Unit test framework in Python

Dear All, Here I documented about An introduction to unit test in Python How to use PyTest framework in python to test your py code To download the above pdf document click on it. Thanks. Arulalan.T

Posted in Arulalan, CDAT, Documentation, IIT D, Python | Tagged , , , , , , | Leave a comment

Conducted Python & CDAT Workshop In IIT Delhi

Dear All, Past one week fully I was in busy by conducting the python and CDAT workshop in IIT Delhi. My professor Dr.Krishna Achuta Rao [1] decided to conduct cdat [2] workshop to his M.Tech students and Ph.D students. [1] … Continue reading

Posted in Arulalan, CDAT, Python, Talks | Tagged , , , , , | 7 Comments

How to install PyGrib inside our CDAT path

Dear All, Greetings.!. Now we are going to see the procedure to install PyGrib [1] inside the CDAT [2] installed path in our system. [1] http://code.google.com/p/pygrib/ [2] http://www2-pcmdi.llnl.gov/cdat Let us assume we have installed CDAT in our system and its … Continue reading

Posted in CDAT, Python | Tagged , , , | 9 Comments

How to change the rows into columns and columns into rows in numpy array

Dear All, Today my friend asked me to change the numpy array’s columns into rows and rows into columns. Then I searched in numpy documents and I got this simple way to do that. Refer : numpy.reshape( ) http://www.scipy.org/Numpy_Example_List_With_Doc#head-11717acafb821da646a8db6997e59b820ac8761a we … Continue reading

Posted in Uncategorized | Tagged , , , , , | 2 Comments

How to move the date in Python – Snippet code

Dear All, To move the date in python the following code may help. Using this function we can move the days in both past date and future date by specifying the no of movedays with -ve/+ve sign accordingly.

Posted in Python | Tagged , , , , , | Leave a comment

Created NCR-Python.in mailing list and forming the Python meetups in Delhi

Dear All, Greetings… Mr.Satyaakam Goswami has insist me to create one mailing list for NCR-Python users… He observed my interest on Python and he encourage me to create mailing list, wiki page and organize meetups in delhi for the python…. … Continue reading

Posted in NCR-Python.in, Python | Tagged , , , , | 1 Comment