When you enroll through our links, we may earn a small commission—at no extra cost to you. This helps keep our platform free and inspires us to add more value.

Python 3: Programming in Python for Beginners
Unlock creativity with Skillshare! Learn acrylic painting, AI writing, graphic design, and photography.

This Course Includes
skillshare
0 (0 reviews )
19 hours 30 minutes
english
Online - Self Paced
course
SkillShare
About Python 3: Programming in Python for Beginners
What will you know after this course?
What is Python? Installation and first execution
Variables, creating and running external srcript, interactive Shell
Comments
Types of Variables
Math Operators
Exercise: adding VAT to products
Semicolon and ENTER - assigning multiple values to variables at once
Assignment operators
Playing with Strings (Slicing, adding and having fun)
Importing libraries - basics
ATTENTION - important lecture about common mistake regarding functions
Taking data from user and type conversion (casting)
Comparison (Relational) Operators
Instruction 'if' why INDENTATION is IMPORTANT in Python | DO NOT SKIP!
Calculator Exercise
Values different than zero
Logical Operators
Loop while
EXERCSE: Summing numbers
Loop for
Break and continue
EXERCISE: Guess Number
What are Lists? Basic operations on lists
Checking if element is 'in' or 'not in' the list
Operating on lists with Functions
Tuples - what does immutable mean?
Dictionary
Sets
Operations on sets
Nested types
Processing nested types using loops
Dictionary inside Dictionary, Dictionary inside List - when to choose which?
Extracting records from nested dictionaries
EXERCISE: Dynamic dictionary with definitions
List comprehensions
Python generator expressions
Dictionary comprehensions
Set comprehension
EXERCISE: Finding numbers that are divisible by 7, but are not divisible by 5
How to create a function? What problem functions solve?
Passing more than one argument, function with multiple parameters
Returning values 'return'
Your own modules imported
enum - what it is and why you should use it?
EXERCISE: Arithmetic sequence, summing numbers up to entered number
Measuring PERFORMANCE of code | How well (fast) some part of code work
Function as argument of another function | How to measure performance of func
Default arguments
Keyword and positional arguments
EXERCISE - checking if value is in container
Variable length argument
Local vs Global Variables - scope - lifetime of variables
Immutable vs mutable objects
Shallow vs Deep copy of object
Lambda | Anonymous functions - what are they? when should you use them?
Drawing random numbers - creating a program that checks if you hit the monster
Random events - choice vs choices function
shuffle - shuffling cards in 'war' game
EXERCISE: Drawing elements without REPETITION - lottery game - 6 numbers from 49
EXERCISE | GAME - Drawing random chests colours with random rewards
EXERCISE | GAME - drawing approximate values to a certain value
What is a file? How to create it? Why do we need to CLOSE it? How to save data?
Exceptions, try, finally block on practical example
Opening the file using: with... as...:
Reading the content of file - read vs readlines, splitting lines, encoding
seek and tell - changing and reading the position of last operation in file
append - adding text at the end of file
a+, r+, w+ - two function file opening modes
Keyword except - catching exceptions - EXERCISE - loading names and surnames
Generator functions - yield keyword
EXERCISE: Generate infinite amount of numbers multiplied by themselves
Send method in generator functions
What is JSON? Why do we use it? What problems does JSON solve?
Creating and saving data from Python in JSON format to file and String
Pretty Printer - loading/saving pretty and sorted JSON
Loading data from JSON file to Python
What is pip and PyPi? Installing and playing with external package - request
Loading data from server from JSON file - preface to next EXERCISE
Processing JSON data | extracting top values from list of dictionaries
Refactoring - making our code easier to maintain from previous lecture
SOLUTION 1: Retrieving a few users from server at the same time
SOLUTION 2: Retrieving a few users from server at the same time
SOLUTION 3: Retrieving a few users from server at the same time
defaultdict supplying missing values of dictionary when accessing empty element
What is public API? Where to find them? stackoverflow API
Getting JSON from stackoverflow.com -> getting top questions from last week
Opening websites from Python code - webbrowser module
Getting records from last week - datetime module
EXERCISE: CAT system - introduction
POST - adding a cat to favourite list
DELETE - removing a cat from favourite list
VSC - downloading and installing
Setting up the workspace in VSC and installing basic extensions
Linter - what is linting - how to use it, settings in .vscode
Code Runner | Custom Shortcuts | Shortcuts from other editors, Interactive shell
Icons theme
Bracket Pair Colorizer - improving readability of your code
Python Preview - watching the code execution while writing it
Python Quick Print
Code Spell Checker
Auto Save - making sure your file is saved after each change
Snippets and pass keyword
Automatic code formatting
Debugging mode - how to professionally debug your code?
Ligatures - custom font created especially for programmers - Fira Code
What is Object Oriented Programming?
What are objects and classes? How to create a simple object and class?
Creating your first method - what is "self"?
__init__ - sending arguments to class for initialization
EXERCISE: Create rockets that can move up
Document String - docstring
__str__ - dunder method representing text of object
EXERCISE: Organizing more than one class - Rocket Board
__getitem__, __setitem__ - setting and getting values using dunder methods
EXERCISE: Counting distance between rockets
Is it important to understand math that was used in the last lecture?
Static Methods
Setting type for variables using annotations - Pyright extension
__len__
class / static variables - creating USER with unique ids
EXERCISE: Bank Account - withdraw/deposit money
How to properly handle returned values from methods?
Inheritance and method overriding - super()
EXERCISE: Inheritance on practical example - result
EXERCISE: playing with cube, square and rectangle
Inheritance vs association - when to use which?
What You Will Learn?
- Save your precious time by buying this Python course. You will learn how to program in Python in a fast and easy way!.
- If you want to learn a language that can be used in every circumstance and earn good money then you are in the right place!.
- All of this is presented by a young man who shares his knowledge, so the language used can be easily understood by everyone..
- The course is designed for those who don't have any prior knowledge about programming. It doesn't matter if you have never written any programs or you have no idea about programming... After my course all of this will change. You will bust the myth that programming is a difficult thing only for the few!.
- Python is:.
- Python is used by:.
- After this Python course you will know:.
- how to import and use basic Python libraries.
- what are the functions and how to use them.
- how arithmetic, logical and relational operators work.
- how to operate on Strings :-).
- how to create conditions with the help of conditional statements.
- what they are and when to use lists, collections, tuples, dictionaries.
- how to create advanced expressions for generating, lists, dictionaries and sets..
- how loops work.
- how to handle files.
- how to create random events on a mini game..
- how to support JSON format on a practical example - requesting content from API servers.
- how to install external PyPi packages.
- how to handle Visual Studio Code in Python.
- That's not all!.
- The Python course has a lot of practical exercises..
- Python is often used by professional programmers. Even tho they uses daily other languages, they still use Python to solve complex problems..
- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.
- I believe that everyone has the ability to develop software if they are taught properly. Including you. I'm going to give you the context of each new concept I teach you. After my course you will finally understand everything that you code..
- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.
- If you have any questions regarding the topics covered in this Python course, please feel free to ask. I'm always happy to help those who want to learn!.
- JOIN NOW and become Expert in Python.