0% found this document useful (0 votes)
16 views8 pages

Python: 1 Python Object and Data Structure Basics

The document provides an overview of key topics in Python including: 1) Python object and data structure basics such as numbers, variables, strings, lists, and formatting 2) Python comparison operators and statements 3) Python methods and functions for object-oriented programming 4) Modules and packages for organizing Python code 5) Error and exception handling in Python 6) Python decorators for modifying functions and methods 7) Python generators for iterating over sequences 8) Advanced Python modules and objects
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views8 pages

Python: 1 Python Object and Data Structure Basics

The document provides an overview of key topics in Python including: 1) Python object and data structure basics such as numbers, variables, strings, lists, and formatting 2) Python comparison operators and statements 3) Python methods and functions for object-oriented programming 4) Modules and packages for organizing Python code 5) Error and exception handling in Python 6) Python decorators for modifying functions and methods 7) Python generators for iterating over sequences 8) Advanced Python modules and objects
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 8

PYTHON

1. Python object and data structure basics


2. Python comparison operators
3. Python statements
4. Python methods and functions
5. Object oriented programming
6. Modules and packages
7. Errors and exception handling
8. Python decorators
9. Python generators
10. Advanced python modules
11. Advanced python objects and data structures

1 PYTHON OBJECT AND DATA STRUCTURE BASICS

1 Introduction to Python Data types

2 Numbers
For reminder I use %. It is used to see if I can devide number with
two or not.
2 ** 3 = 8

3 Variable assignments

example = 56 is int
example = 56.4 is float
#Flexible or rather changeable
variables.# Combinatiom down there
4 Introduction to Strings

4 spaces
5 Indexing and Slicing with the Strings

5.1If I am using numbers equal to


zero or higher then I am picking
up character in this direction.

5.2If I am using numbers equal to


zero or lower then I am picking
up character in this direction.

Go from character 2 and include it

Go up to but do not include it.


6 String propertis and methods
7 Print formatting with the Strings
8 Lists in Python

You might also like