Most Popular posts

 

November 2006
M T W T F S S
« Oct   Dec »
 12345
6789101112
13141516171819
20212223242526
27282930  

Python 2.5

I have just installed Python 2.5 for Windows.
I was waiting for the Activestate edition, but they have not finalized it yet.

So I have downloaded

  1. python-2.5.msi – The official installed from the python website
  2. pywin32-210.win32-py2.5.exe – win 32 com extensions and development environment
  3. BeautifulSoup-3.0.3 – A screen scrapping library

Included in the 2.5 release is built in support for the SQLite library.
I will be using this extensively soon to back up my favourite web-site and store it in an SQLite database.

How to install BeautifulSoup


[Fri Nov 03] USER=strider [shire] ~/Desktop/BeautifulSoup-3.0.3
[23:44:56] 519 $ sudo python setup.py install
Password: xxxxxx
running install
running build
running build_py
creating build
creating build/lib
copying BeautifulSoup.py -> build/lib
copying BeautifulSoupTests.py -> build/lib
running install_lib
copying build/lib/BeautifulSoup.py -> /opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages
copying build/lib/BeautifulSoupTests.py -> /opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages
byte-compiling /opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/BeautifulSoup.py to BeautifulSoup.pyc
byte-compiling /opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/BeautifulSoupTests.py to BeautifulSoupTests.pyc

The SUDO is probably overkill, but it can’t hurt.

References

http://docs.python.org/inst/standard-install.html

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>