Admin

15 Inspiring Bruce Lee Quotes That Aspiring Hackers Can Learn From

15 Inspiring Bruce Lee Quotes That Aspiring Hackers Can Learn From

Bruce Lee is highly regarded as one of the most influential martial artist of all time. His amazing physical features, fitness, and skills made him a cultural icon. But perhaps unknown to some is his mental strength that contributed much to his success. He believed that any knowledge ultimately led to self-knowledge, and said that [...]

 Admin

A Simple Python Alarm Clock

A Simple Python Alarm Clock

Problem: You are all alone in a far away land and needed to wake up early the next day. The problem is, you forgot to bring any alarm clock. But, you brought a Linux-powered laptop computer with you. Say for example an Asus Eee PC.   Solution: Most Linux distributions have Python installed out-of-the-box. All [...]

 Admin

Holy Programming

Holy Programming

While looking for some Python codes using Google Code Search (beta), I got bored and remembered an article entitled “F*cking programming”. –A search query using profane words revealed the evil and yet the funny side of the people behind the codes. So, I began to wonder and think of the opposite side or character of programmers. [...]

 Admin

Extracting HTML Documents from Web Pages Using Python

Extracting HTML Documents from Web Pages Using Python

Extracting HTML Documents from Web Pages Using Python: Question: Can you extract HTML documents from live web pages without even using an internet browser? Answer: Yes you can. All you need is a Python interpreter and these shortcommands: >>> import urllib >>> sock = urllib.urlopen(“PAGE URL”) >>> htmlSource = sock.read() >>> sock.close() >>> print htmlSource Illustration (click to enlarge):

 Admin

Highly Recommended Books on Python

Highly Recommended Books on Python

Highly Recommended Books on Python: Here is my own compilation of highlyrecommended books about Python programming language. They are classified according to user’s experience level so take your pick: …………………. Beginner: Learning Python By: Mark Lutz With this hands-on book, you can master the fundamentals of the core Python language quickly and efficiently, whether you’re new to [...]

 Admin

How to Rescue Windows Files Using Linux and Python

How to Rescue Windows Files Using Linux and Python

How to Rescue Windows Files Using Linux and Python – The Problem: Windows Operating System is broken, must be a virus or something; need to rescue important filesimmediately. The Solution: A Linux Live CD with Python pre-installed; an external storage device; this Python script: #!/usr/bin/python # Filename: backup.py import os, time source = ['DIRECTORY OF WINDOWS FILES TO BE BACKED-UP!’] target_dir [...]

 Admin

Will Real Python Hackers Please Stand Up

Will Real Python Hackers Please Stand Up

Will Real Python Hackers Please Stand Up: Filipino Python hackers and enthusiasts, may I have your attention please. Several months ago, I emailed Guido van Rossum , Python’s author and BDFL( Benevolent Dictator For Life), asking him for some advice on organizing a PUG( Python User Group) here in the Philippines. To my surprise, I got a [...]