my perl and python tutorial http://xahlee.org/perl-python/index.html is now available for download for offline reading. Download link at the bottom. Xah ∑...
The Condition of Industrial Programers Xah Lee, 2006-05 Before i stepped into the computing industry, my first industrial programing experience is at Wolfram...
Tabs versus Spaces in Source Code Xah Lee, 2006-05-13 In coding a computer program, there’s often the choices of tabs or spaces for code indentation. There...
Python, Lambda, and Guido van Rossum Xah Lee, 2006-05-05 In this post, i'd like to deconstruct one of Guido's recent blog about lambda in Python. In Guido's...
I have a website of photo gallery. It consists of many HTML pages with inline images. There are about 400 of photos and images. However, the site lacks a...
What is Expressiveness in a Computer Language Xah Lee, 200502. In languages human or computer, there's a notion of expressiveness. English for example, is very...
The Concepts and Confusions of Pre-fix, In-fix, Post-fix and Fully Functional Notations http://xahlee.org/UnixResource_dir/writ/notations.html A side note: the...
The Concepts and Confusions of Pre-fix, In-fix, Post-fix and Fully Functional Notations Xah Lee, 2006-03-15 Let me summarize: The LISP notation, is a...
Examples of Quality Documentation Xah Lee, 200512 I had the pleasure to read the PHP's manual today. http://www.php.net/manual/en/ Although Pretty Home Page is...
One-Liner Loop in Functional Style Xah Lee, 200510 Today we show a example of a loop done as a one-liner of Functional Programing style. Suppose you have a...
Split File Fullpath Into Parts Xah Lee, 20051016 Often, we are given a file fullpath and we need to split it into the directory name and file name. The file...
Perl-Python-a-Day: Sort a List Sort a List Xah Lee, 200510 In this page, we show how to sort a list in Python & Perl and also discuss some math of sort. To...
continued from sorting in Python at http://xahlee.org/perl-python/sort_list.html ... Sorting in Perl In Perl, to sort a list, do like this: @li=(1,9,2,3); @li2...
The following script takes a directory and print all the sizes of html files, counting the sizes of inline images. This script is useful in making sure that...
Lambda in Python 3000 Xah Lee, 200509 On Guido van Rossum's website: http://www.artima.com/weblogs/viewpost.jsp?thread=98196 dated 20050826, he muses with the...
Perl and Python Documentations Xah Lee, 20050921 Perl's documentation has come of age: http://perldoc.perl.org/ Python people really need to learn: • ample...
The official documentation for Python is http://docs.python.org/ The doc is downloadable. However, this official documentation is very lousy. A excellent quick...
200509: Making System Calls (with unix and Python 2.4) To make a system call, use: subprocess.Popen([r"gzip","-d", "x.txt.gz"]).wait() The subprocess module is...
Here's a example script that performs a simple task. The task is: suppose you a bunch of files named access_log.1.gz access_log.2.gz access_log.3.gz these are...
Python Doc Problem Example: os.system Xah Lee, 2005-09 today i'm trying to use Python to call shell commands. e.g. in Perl something like output=qx(ls) in...
On Python's Documentation Xah Lee, 20050831 I'm very sorry to say, that the Python doc is one of the worst possible in the industry. I'm very sick of Perl and...
The Perl solution is posted. It is a bit long. See http://xahlee.org/tree/Table.html the code is pasted below. It uses several auxiliary functions. #! perl #...
Here's the next tree functions exercise in Python, Perl, Java. The problem is to write a function named Table. Wolfram Research's Table function documentation...
the belated Java solution to previous Range exercise. import java.util.List; import java.util.ArrayList; import java.lang.Math; class math { public static List...
The following is a new section of the article “What are OOP's Jargons and Complexities” at http://xahlee.org/Periodic_dosage_dir/t2/oop.html ... The Rise...