This post shows you how to access various types of information in the RPM database and RPM package files using C and Python.
|
|
||
|
This post shows you how to access various types of information in the RPM database and RPM package files using C and Python. IPython is an enhanced interactive shell for Python which is very popular within the scientific and research communities. This post is a brief introduction to some of the more useful features of the IPython shell. A recent article in Red Hat Magazine by Noah Gift and Grig Gheorghiu called “This isn’t your grandpappy’d dd command demonstrated how to use Python, the dd utility and the Google Chart API to produce a bar chart showing throughput at different block sizes. However the output from the Python script was not the actual graph but a URL which you then had to paste into a Web browser to view the resulting chart. I though this script would be useful but did not want to have to cut and paste a URL into a Web browser so I decided This post demonstrates how to change date/time strings in an Apache web server log file from GMT/UTC to PST using the Python pytz module. |
||
|
Copyright © 2005-2013 Finnbarr P. Murphy. All Rights Reserved. Powered by WordPress & Atahualpa |
||