Mega Code Archive
Search
.Net
ASP .Net
ASP .Net Tutorial
C#
C# Book
C# by API
C# Tutorial
VB.Net
VB.Net by API
VB.Net Tutorial
Visual C++ .Net
VisualBasic Script
Java
Java
Java Book
Java by API
Java Tutorial
Script
Flash ActionScript
Flex
JavaScript DHTML
JavaScript Reference
JavaScript Tutorial
Database
MSSQL
MSSQL Tutorial
MySQL
MySQL Tutorial
Oracle PLSQL
Oracle PLSQL Tutorial
PostgreSQL
Languages
Android
C
C Tutorial
C++
C++ Tutorial
Delphi
Perl
PHP
Python
Python Tutorial
Ruby
Silverlight
Office
MSOfficeExcel 2007 Tutorial
MSOfficePowerPoint 2007 Tutorial
MSOfficeWord 2007 Tutorial
Data
XML
XML Tutorial
Python
Development 78 codes
Home
Python
Development
1 Aligning positive and negative numbers
2 Api helper
3 Cheap and simple API helper
4 Collect command-line options in a dictionary
5 Command Line Arguments
6 Data Compression
7 Dates are easily constructed and formatted
8 Dates support calendar arithmetic
9 Define and ouuput string
10 Define class to use system time class
11 Define your own class to store time and date
12 Demonstrates random number generation
13 Demonstrates the range() function
14 Different way to output string
15 Dir() and help() functions interactive aids
16 Displaying location, type and value for an int
17 Displaying location, type and value for your input
18 Document string
19 Echo command line arguments
20 Encode file
21 Formatted print
22 Formatting Numbers
23 Get user input
24 Getting user input
25 Introducing stdout and stderr
26 Iterating Through Environment Items
27 Link Python print stream into a file
28 Link Python system error stream into a file
29 Log print message into a file
30 Logging
31 Map string to sys stout write
32 More than one format in the string
33 Output float
34 Output with print
35 Performance Measurement
36 Pre defined system function for reflection
37 Print a formatted price list with a given width
38 Print out a date, given year, month, and day as numbers
39 Print variable into a string
40 Print variables into a string
41 Print with format
42 Printing to stderr
43 Quality Control
44 Random Choice
45 Random float
46 Random int value
47 Random integer chosen from range(6)
48 Random integers produced by randrange
49 Random number generation
50 Random string value
51 Read numbers till eof and show squares
52 Redirecting Error Information
53 Redirecting stdout and stderr Output
54 Redirects prints to file
55 Reflection
56 Return the current working directory
57 Sample Use of api helper for list
58 Sampling without replacement
59 Save standard to a varible
60 Simple addition program
61 Simple Script That Counts the Words in sys stdin
62 Sort stdin input lines and send result to stdout
63 Specify Documentation Strings during function definition
64 Splitting Pathnames
65 String Format
66 String formatting
67 String output format
68 String Output Width and Precision
69 String Simple Conversion
70 Sys stdin readline
71 Sys stdin readline() with out error check
72 Use print as C printf
73 Use raw input to read int value
74 Use system function to output
75 Use time structure
76 Using form %(name)format, as shown here
77 Why Use str on a doc string
78 Write Unicode strings directly to flout