Sequence OverviewPython has six built-in types of sequences. This chapter concentrates on two of the most common ones: lists and tuples.The other built-in sequence types are strings (which I revisit in the next chapter ), Unicode strings, buffer objects, and xrange objects.Common Sequence Operations Read More
posted @ 2011-01-18 18:04 庚武 Views(228) Comments(0) Diggs(0) Edit
Software RepositoriesAs mentioned previously, dgkg and APT take care of package management within Ubuntu. These tools are taken from teh Debian distribution of Linux, on which Ubuntu is babsed.Debian Package or dpkg, is the most basic part of the system. It's used to install and uninstall software, Read More
posted @ 2011-01-18 14:48 庚武 Views(654) Comments(0) Diggs(0) Edit
BASH tricks1. TAB key, autocomplete2. Piping outpute.g.:ls -al | lessls -al | grep -i flowerhistory | less3. Redirecting outpute.g.:ls -l directory_listing.txtls -l directory_listing.txtls -l ~/file_list.txtsort ~/file_list.txt ~/file_list_sorted.txt4. Using Brace Expansione.g.:mkdir Phot Read More
posted @ 2011-01-18 13:56 庚武 Views(168) Comments(0) Diggs(0) Edit