En Fri, 30 Jan 2009 12:53:33 -0200, Hongyi Zhao <hongyi.z...@gmail.com>
escribió:
See the following errors I in my case:
$ python
'import site' failed; use -v for traceback
import socket
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named socket
Those errors indicate that Python is not working correctly in your system.
You should fix it before going on.
Another issue is: how can I perform all of these steps in a python
script?
Start reading the tutorial and working the examples:
http://docs.python.org/tutorial/
In a short time (maybe shorter than you expect) you'll manage enough of
Python to do this.
Come back when you have specific questions, or try the tutor list:
http://mail.python.org/mailman/listinfo/tutor
--
Gabriel Genellina
--
http://mail.python.org/mailman/listinfo/python-list