The Python Standard Library — Python v2.7.2 documentation While The Python Language Reference describes the exact syntax and semantics of the Python language, this library reference manual describes the standard library that is distributed with Python. It also describes some of the optional components that are commonly included in Python distributions. Python’s standard library is very extensive, offering a wide range of facilities as indicated by the long table of contents listed below. The library contains built-in modules (written in C) that provide access to system functionality such as file I/O that would otherwise be inaccessible to Python programmers, as well as modules written in Python that provide standardized solutions for many problems that occur in everyday programming. Some of these modules are explicitly designed to encourage and enhance the portability of Python programs by abstracting away platform-specifics into platform-neutral APIs.
CS 97SI: Introduction to Competitive Programming Contests Course Information and Announcements Instructor: Jaehyun ParkStanford ACM-ICPC Coaches: Jaehyun Park, Andy Nguyen, Jerry Cain(Added on 8/21/2013) This class was taught in 2011-12 Winter. I'm getting a lot of emails asking if I'm teaching it again, but there is no plan to offer the course at the moment. Lecture slides Practice Problems All the problems below are from Peking Online Judge (POJ). Problems are classified into 10 different categories, and the lectures will cover essential algorithms and theoretical background for each particular category. The numbers in parentheses represent the difficulty of the problems (0: easiest, 10: hardest). Common coding mistakes Not initializing variablesUsing 32-bit integers instead of 64-bit onesUsing out-of-bound array indicesUsing a semicolon after a for loop for(i = 0; i < n; i++); some code Reusing the same variable in nested for loops for(i = 0; i < 1000; i++) for(i = 0; i < 10; i++) some code #define min(a, b) a<b? Writing cos(180) instead of cos(pi)
Introduction to Computer Science using Java This is a course in Java programming for beginners. It covers the fundamentals of programming, roughly the same material that is covered in a beginning programming course in a university or in a high school AP Computer Science course. For maximum benefit, go though these ../Java5/Notes interactively, thinking about and answering the question at the bottom of each page. There are about 20 pages per chapter. If you spend about 3 minutes per page each chapter will take about 60 minutes, or longer if you copy and run some of the programs. These Notes assume that you have a recent version of Java, available from Oracle, Inc. at and a text editor such as Notepad. For more about these .. A German translation of these .. A French translation of selected chapters is available at www.lifl.fr/~secq/IUT/JAVA/intro.html Here is very nice site (unrelated to this site) that allows you to practice Java programming on line:
PythonLearn - Self-paced learning Python