Category: I/O File
Preloading images is useful when you like to access the images without delay when needed. For example, on mouse-over events over some buttons, the images has to be changed …
The Problem is from codeforces: http://www.codeforces.com/problemset/problem/5/A In Python, there is no explicit EOF, therefore, to read until the end of input stream, one can check the input string, and check …
September 19, 2012
batch script, beginner, DOS, I/O File, implementation, programming languages, string, tricks, windows, windows command shell
Previously, I have programmed some scripts in Windows Batch, and these can be found in the github. For example, the rot13.bat rotates given input string (command line parameters) to …
This is a simple batch script that I programmed many years ago. It demonstrates the idea of using shift parameters. The brackets ( and ) enable the expression of …
Python offers a module urllib and its advanced version urllib2 to allow downloading files from given URLs. The following shows three different ways to access the internet data. #!/usr/bin/env …