Tag: python

  • Uninstall Python Package from OS X

    I have been using Python 3 on my OS X provided by the installation package from Python.org for some time, and recently I have decided to switch to Python installation from Homebrew for easier management. In order to uninstall the Python from package, you must remove the files and symbolic links to them. WARNING: This…

  • Quick Guide to D-Bus with Python

    Recent weeks, I dealt with D-Bus for my Google Summer of Code project. I was trying to control system services, and systemd has a D-Bus interface. In the beginning, D-Bus seemed a little confusing for me, but I believe I understand it now. In this post I will try to explain it in simple terms…

  • How to Run Flask Applications with Nginx Using Gunicorn

    We have recently bought a VPS for İTÜ24, the online newsletter of Istanbul Technical University. The server is running on Ubuntu Server 12.04 operating system. Due to limited memory resources and performance concerns, we preferred to setup nginx as web server. Our server will serve several web pages and applications developed in various programming languages,…

  • WikiLeaks Cablegate Count v2

    Since the official WikiLeaks page has changed, the previous script needs to be updated. Here it is: Please remember to install piksemel module.

  • Show forecast using Yahoo! Weather

    Note: This snippet uses piksemel module to parse XML files. If you don’t have it, read this article to install it. First of all, you need the WOEID (Where on Earth Identification) of the city. In order to learn it, go to http://weather.yahoo.com and search for the city. You’ll find the WOEID at the end…