Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
98 views

Python Programming Basic Python: 1. Introduction To Python 5. Looping

The document provides an overview of the Python programming language, covering topics such as variables and data types, operators, conditional statements, loops, functions, modules, object-oriented programming, date/time handling, multithreading, network programming, databases, graphical user interfaces, and more. It includes 27 sections that describe key elements of Python syntax, the standard library, and common programming techniques.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
98 views

Python Programming Basic Python: 1. Introduction To Python 5. Looping

The document provides an overview of the Python programming language, covering topics such as variables and data types, operators, conditional statements, loops, functions, modules, object-oriented programming, date/time handling, multithreading, network programming, databases, graphical user interfaces, and more. It includes 27 sections that describe key elements of Python syntax, the standard library, and common programming techniques.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

PYTHON PROGRAMMING

Basic Python
1. Introduction to Python 5. Looping
 Overview  Loops
 Python Features  For Loops
 Python 2 Vs Python 3  While Loop
 Environment Setup  Else Clause of Loops
 Basic Syntax
 Interactive Mode Programming 6. Control Statements
 Script Mode Programming  Breaking
 Identifiers  Continuing
 Reserved Words  Pass
 Lines and Indentation
 Multiline Statements 7. Numbers
 Quotation in Python  Number System
 Comments in Pythons  Typecasting
 Waiting for the Users  Basic Operations
 Multiple Statement Groups as  Number Methods
Suites
 Command Line Arguments 8. Strings
 Online Help, help() And dir()  Accessing strings
 Basic Operations
2. Variables and Data types
 String Slices
 Variable Types  String Methods
 Assigning values to Variables
 Multiple Assignment 9. Lists
 Data types  List Creation
 Standard Data types  List Attributes
 Numbers, Strings, Lists, Tuples,  Combining Lists
Dictionary  Getting pieces of Lists(Slices)
 Data type conversion  Comparing Lists
 Sorting Lists
3. Operators  Iteration
 Types of Operator  Deleting
 Arithmetic Operators  Aggregates
 Comparison or Relational  Copying
Operators  Clearing
 Assignment operators  List Methods
 Logical Operators  Operators
 Bitwise Operators
 Membership Operators 10. Tuples
 Identity Operators  Tuple Notations
 Operator’s Precedence  Packaging and Un-packaging
 Operations on Tuples
4. Branches  Tuple Attributes
 if…else if…else statements  Conversions
 Nested if statement  Uses of Tuples
 Using List Comprehensions to
Process Tuple Elements
11. Dictionaries  The globals() and locals() Functions
 Dictionary Notation  The reload() Function
 Operation on Dictionaries  Creating a Module from a Directory
 Combining to Dictionaries  Packages in Python
 Deleting from Dictionary
15. Input and Output
12. Sets  Raw_input()
 Constructing Sets  Input()
 Membership Testing  File input
 Removing Items  Print()
 Iteration over Sets  File Output
 Set Operations
 Multiple Sets 16. Files
 Frozen set  File I/O
 Testing Files
13. Functions  Common File Operations
 Defining a Function  Finding Files
 Calling a Function  Current Directory
 Pass by Reference Vs Value
 Function Arguments 17. Exception Handling
 Required Arguments  Assertions in Python
 Keyword Arguments  What is Exception ?
 Default Arguments  Handling an Exception
 Variable-Length Arguments  The except clause with no
 The Anonymous Functions Exceptions
 The Return Statement  The except clause with multiple
 Scope Of Variables exceptions
 Global Vs Local Variables  The try-finally Clause
 Argument of an Exception
14. Modules  Raising an Exception
 Importing a Module  Exception Hierarchy
 The Import Statements
 Creating a Module from a File 18. Command Line Arguments
 The from…import Statement  Parsing Command-Line Arguments
 The from…import * Statement  getopt.getopt Method
 Locating Modules  Exception getopt.GetoptError
 Namespaces and Scoping
 The dir() Function
Advance Python
19. Python Object Oriented  Handling SIGINT signal
 Overview of OOP terminology
 Creating class 24. Multi Threading
 Creating instance objects  Starting a new thread
 Accessing attributes  The threading module
 Built-in class attributes  Creating thread using threading
 Destroying objects module
 Class inheritance  Synchronizing threads
 Overriding methods  Multithreaded priority queue
 Base overloading methods
 Overloading operators 25. Network Programming
 Data hiding  Sockets
 The socket module
20. Argparse  Server socket methods
 Introducing positional arguments  Client socket methods
 Introducing optional arguments  General socket methods
 Short options  Transmission control protocol
 Combining positional & optional  User datagram protocol
arguments
 Getting a little more advanced 26. Databases Programming
 Conflicting options  What is MySQLdb?
 Install MySQLdb
21. Date and Time  Database connection
 What is tick?  Creating database table
 What is time tuple  Insert operation
 Getting current time  Read operation
 Getting formatted time  Update operation
 Getting calendar for a month  Delete operation
 The time module  Performing transactions
 The calendar module  Commit operation
 Rollback operation
22. Process  Disconnecting database
 Handling errors
 Parent Process
 Child Process
 Orphan Process 27. Graphical User Interface
 Zombie Process
 Introduction
 Daemon Process
 What’s Tkinter?
 Forking
 Hello, Tkinter
 Exiting Child
 Layout management
 Waiting for the Child
 Widgets
 Menus & toolbars
23. Signals
 Some Common Signals
 Signal Handler
 signal.signal() method
 Handling signals
 Handling SIGCHLD signal

You might also like