<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.umiacs.umd.edu/hcil/index.php?action=history&amp;feed=atom&amp;title=Python_modules_on_hcil2</id>
	<title>Python modules on hcil2 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.umiacs.umd.edu/hcil/index.php?action=history&amp;feed=atom&amp;title=Python_modules_on_hcil2"/>
	<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/hcil/index.php?title=Python_modules_on_hcil2&amp;action=history"/>
	<updated>2026-05-15T08:14:10Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.7</generator>
	<entry>
		<id>https://wiki.umiacs.umd.edu/hcil/index.php?title=Python_modules_on_hcil2&amp;diff=43&amp;oldid=prev</id>
		<title>Mgubbels: Created page with &quot;If you&#039;re using Python on hcil2, you should know about the module directory I have set up.   To make it all accessible, just add the following to your .bashrc.   &lt;code&gt;     if...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/hcil/index.php?title=Python_modules_on_hcil2&amp;diff=43&amp;oldid=prev"/>
		<updated>2013-06-07T20:27:19Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;If you&amp;#039;re using Python on hcil2, you should know about the module directory I have set up.   To make it all accessible, just add the following to your .bashrc.   &amp;lt;code&amp;gt;     if...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;If you&amp;#039;re using Python on hcil2, you should know about the module directory I have set up. &lt;br /&gt;
&lt;br /&gt;
To make it all accessible, just add the following to your .bashrc. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
    if [ -e &amp;#039;/fs/hcil2/code/modules/python&amp;#039; ]; then&lt;br /&gt;
        export PYTHONPATH=&amp;quot;/fs/hcil2/code/modules/python2.7&amp;quot;&lt;br /&gt;
        export PATH=&amp;quot;$PATH:/fs/hcil2/code/modules/python2.7/scripts&amp;quot;&lt;br /&gt;
    fi&lt;br /&gt;
    if [ -e &amp;#039;/usr/local/python-2.7.1/bin/python2.7&amp;#039; ]; then&lt;br /&gt;
        alias python=&amp;quot;/usr/local/python-2.7.1/bin/python&amp;quot;&lt;br /&gt;
    fi&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So far, I&amp;#039;ve installed: &lt;br /&gt;
aes - simple AES encryption&lt;br /&gt;
atom - for working with ATOM feeds&lt;br /&gt;
BeautifulSoup - HTML/XML parser for screen scraping and code beautification&lt;br /&gt;
gdata - Google&amp;#039;s serverAPI for Docs, Spreadsheets, Calendar, Maps, etc.&lt;br /&gt;
numpy - data structures for numerical work&lt;br /&gt;
PIL - Python Imaging Library&lt;br /&gt;
pylint - syntax checker&lt;br /&gt;
web - Web.py framework&lt;br /&gt;
yappy - parser generator (like yacc/bison)&lt;br /&gt;
&lt;br /&gt;
The directory is hcil-writable so you can add others. Instead of the usual install command (python setup.py install) you would use this: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
python setup.py install --install-lib=/fs/hcil2/code/modules/python2.7 --install-scripts=/fs/hcil2/code/modules/python2.7/scripts&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use these in a web app that runs as apache, add the following to the top of your main file: &lt;br /&gt;
import sys; sys.path.insert(0, &amp;quot;/fs/hcil2/code/modules/python2.7&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
I set this up a while ago, but since it&amp;#039;s grown over time, I thought all should know where it is. &lt;br /&gt;
&lt;br /&gt;
Alex&lt;/div&gt;</summary>
		<author><name>Mgubbels</name></author>
	</entry>
</feed>