Helpful Information
 
 
Category: Development Articles
Python 101 (part 5): Snake Oil For The Soul

Yet another excellent article to play with, thank you. Unfortunatly, the author fell short of his promise to show us how to wipe out our hard drive(A function I would have alot of fun with!) but beyond that, I loved it. Thank you

Another great series of articles here on devshed! Because of this tutorials, i have started tinkering with python and now learning step by step. I do hope that this series of python tutorials will continue up to the aspect of data access using databases such as mysql or postgresql.
<br />
<br />
Well, on another note, i hope you or someone may post a link on how to configure apache to handle .py files for me to try python as cgi. Good work Devshed!

Most apache setups are pre-configured to run .py files. You just need to put them in the right place.
<br />
<br />
Put your perl files in your cgi-bin and access them like:
<br />
http://www.yourdomain.com/cgi-bin/script.py

Try searching here:
<br />
http://groups.google.com/groups?hl=en&safe=off&group=comp.lang.python
<br />
on the terms &quot;Apache configure cgi&quot;
<br />

<br />
Sheila King
<br />
sheila@spamcop.net
<br />
http://www.thinkspot.net/sheila/
<br />

<br />

I would like to thank the author for this wonderful Python tutorial. By reading this, I discovered that Python is a simple elegant language. It has inspired me to use the the Python 2.2 beta interpreter I downloaded a few months ago. I re-wrote a short program in Python that I previously had written in Delphi. I am truly impressed with the language. So thank you Vikram Vaswani.

Python 101 \(part 5\): Snake Oil For The Soul (http://www.devshed.com/c/a/Python/Python-101-part-5-Snake-Oil-For-The-Soul)

Now that you know how to create and use Python's tuples, lists and dictionaries, it's time to get your hands dirty. In this article, find out how to read from, and write to, files on the filesystem with built-in Python methods, and also take a look at some of the new features available in Python 2.x.

Please discuss this article in this thread. You can read the article here (http://www.devshed.com/c/a/Python/Python-101-part-5-Snake-Oil-For-The-Soul).










privacy (GDPR)