Tags » Python

How to read the content of a website with python

For this example code I used a timeout, checked the status code and used json if possible.

After some reading, about what libraries to use when it comes to reading content from websites, I wanted to try pythons… 743 more words


MIT 6.00SC | Lecture 13 | Some Basic Probability and Plotting Data


In the last lecture, we had a error in our code, because the Random walk code, did not output correct value of small samples as we had manually checked. 1,006 more words


The Pi 2 Means Faster GPIO

The Raspberry Pi is a great machine to learn the ins and outs of blinking pins, but for doing anything that requires blinking pins fast… 149 more words

Raspberry Pi

Install Pandas/Numpy/Scipy without root access

If you want to install Pandas on Linux (Ubuntu, Redhat, etc.), but you don’t have root access, the installation may take a while. This is just record how I did it. 82 more words


Python for Android Tutorial #7 – PyJNIus - Using Android native classes to start an Intent


This is the seventh post about mobile development with Python. In this  post, I’ll show you how to work with PyJNIus, a Python module to access Java classes as Python classes using JNI. 1,079 more words


install Pyload on NAS Synology - DSM 5.1

Two months ago I bought a new Network Attached Storage.
For my purposes, I choose a NAS Synology DS213J with two hd Western Digital RED of 3TB for each, to have 3TB of free space with a best RAID1 “bit-to-bit” backup. 704 more words


Python snippet of the day - check if a process is running

Quick’n’dirty function in Python to check whether a process is running.
Note: this only works on Linux and requires importing the re module, so YMMV. 52 more words