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 Tutorial
Introduction 31 codes
Home
Python Tutorial
Introduction
1 A literal is a number or string that appears directly in a program
2 A Module with Conditional Test Code
3 A variable is basically a name that represents some value
4 Assignment Operator
5 Augmented Assignment
6 Augmented Assignments
7 Chained Assignments
8 Chaining together assignments is okay
9 Continuation ( )
10 Do calculation in print
11 Everything to the right of # is ignored
12 Find out the Source
13 Getting Help with __doc__
14 If you add a comma at the end, your next print statement will continue printing on the same line
15 Is it main file
16 Modules are Programs
17 Modules are Used to Define Things
18 Multiple Assignment
19 Multiple Statements on a Single Line ( ; )
20 None placeholder
21 Once a variable has been assigned, you can access it by using its name
22 Print to a file
23 Print to standard error
24 Printing with Commas
25 Python is dynamically typed, no pre-declaration of a variable or its type is necessary
26 Sequence Unpacking
27 Setting the PYTHONPATH for your module
28 Statements and Syntax
29 The identifiers listed in a global statement refer to the global variables that the function needs to rebind
30 To reload the simple module, you would use the following
31 Using Code Indentation