De cursus Python voor beginners is een inleidende cursus die is ontworpen voor diegenen die nieuw zijn in programmeren of die Python willen leren als hun eerste programmeertaal. De cursus behandelt de fundamentele concepten van programmeren, zoals variabelen, gegevenstypen, lussen, voorwaardelijke uitspraken en functies.
Gedurende de cursus leren studenten hoe ze eenvoudige programma’s kunnen schrijven met behulp van Python en maken ze kennis met basisprogrammeertechnieken en best practices. Naast het leren van de basisprincipes van programmeren in Python, leren studenten ook hoe zebibliotheken en modules kunnen gebruiken om de mogelijkheden van hun programma’s uit te breiden.
De cursus is ontworpen om praktijkgericht en interactief te zijn, waarbij studenten oefeningen en projecten voltooien om hun leerproces te versterken. Aan het einde van de cursus hebben studenten een sterke basis in programmeren in Python en kunnen ze eenvoudige programma’s schrijven en problemen oplossen met behulp van Python.
-
Getting Started
-
Primitive Types
-
Control Flow
-
Functions
-
Data Structures
- Lists
- Accessing Items
- List Unpacking
- Looping over Lists
- Adding or Removing Items
- Finding Items
- Sorting Lists
- Lambda Functions
- Map Functions
- Filter Functions
- List Comprehensions
- Zip Functions
- Stacks
- Queues
- Tuples
- Swapping Variables
- Arrays
- Sets
- Dictionaries
- Dictionary Comprehensions
- Generator Expressions
- Unpacking Operator
- Exercise
-
Exceptions
-
Classes
- Classes
- Creating Classes
- Constructors
- Class vs Instance Attributes
- Class vs Instance Methods
- Magic Methods
- Comparing Objects
- Performing Arithmetic Operations
- Making Custom Containers
- Private Members
- Properties
- Inheritance
- The Object Class
- Method Overriding
- Multi-level Inheritance
- Multiple Inheritance
- A Good Example of Inheritance
- Abstract Base Classes
- Polymophism
- Duck Typing
- Extending Built-in Types
- Data Classes
-
Modules
-
Python Standard Library
- Python Standard Library
- Working with Paths
- Working with Directories
- Working with Files
- Working with Zip Files
- Working with JSON Files
- Working with a SQLite Database
- Working with Timestamps
- Working with DateTimes
- Working with Time Deltas
- Generating Random Values
- Opening the Browser
- Sending Emails
- Templates
- Command-line Arguments
- Running External Programs
-
Python Package Index
-
Popular Python Packages
-
Building Web Applications with Django
- Introduction
- Your First Django Project
- Your First App
- Views
- Models
- Migrations
- Changing the Modules
- Admin
- Customizing the Admin
- Database Abstraction API
- Templates
- Adding Bootstrap
- Customizing the Layout
- Sharing a Template Across Multiple Apps
- Url Parameters
- Getting a Single Object
- Raising 404 Errors
- Referencing Urls
- Creating APIs
- Adding the Homepage
- Getting Ready to Deploy
- Deployment
-
Machine Learning with Python