Quantcast
Channel: Python – AkbarAhmed.com
Browsing latest articles
Browse All 10 View Live

Image may be NSFW.
Clik here to view.

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 Article


Image may be NSFW.
Clik here to view.

Install 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 Article


Image may be NSFW.
Clik here to view.

Naming 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 Article

Image may be NSFW.
Clik here to view.

Output 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 Article

Image may be NSFW.
Clik here to view.

Setup 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 Article


Image may be NSFW.
Clik here to view.

Install 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
Browsing latest articles
Browse All 10 View Live