Install Python 2.7.2 from source on Ubuntu 10.04 LTS
The first thing I did was to create a wwwuser that I plan to run pyramid under. As a result, I am intentionally installing Python 2.7.2 under only 1 user account, and am leaving the system wide python...
View ArticleInstall Pyramid on Ubuntu 12.04 LTS in the Rackspace Cloud
Check the Installed Python Version python --version You should see the following output: Python 2.7.3 Install Prerequisites apt-get install python-setuptools python-pip python-virtualenv...
View ArticleNaming standards and consistency
I’m a big proponent of keeping a consistent naming standard, even when crossing languages. True, capitalization and syntax may change, but the standard should remain. Importantly, I have found that...
View ArticleOutput XML using Pyramid and Mako
I recently had to connect a .NET desktop application to a web service that was built using Pyramid. My first thought was to use JSONP. However, JSONP is only useful for small amounts of data…and I had...
View ArticleSetup virtualenv on Windows
I’m going to assume you have Python 2.7 correctly installed on Windows at C:\Python27. These instructions are applicable to Windows XP and Windows 7. Open Windows PowerShell, then enter: cd...
View ArticleInstall Tornado on Windows 7
Please see my prior post on how to Setup virtualenv on Windows. Open PowerShell, then enter the following commands: cd C:\Python27 .\env_tornado\Scripts\activate.bat .\Scripts\easy_install.exe pip...
View Article