A comprehensive and concise course to master the fundamentals of Python programming
Key Features
- Gain a solid understanding of the fundamentals of Python 3
- Become comfortable in using Python datatypes, functions, packages, and modules
- Apply your learning to write and run simple Python scripts from the Linux terminal
Book Description
With Python, you can build applications, such as Google, Instagram, Spotify, and Reddit. But to make such applications, you should have a strong knowledge of the fundamentals of Python. This course will be your step-by-step guide to master the fundamentals of Python programming.
The course starts by walking you through the process of setting up a Python development environment. Next, you will get an overview of the versions and history of Python programming and write a simple "Hello World" program to understand the structure of Python code. Moving along, you will get a detailed understanding of Python variables, datatypes, built-in functions, conditional statements, and loops. Next, you will learn how to work with lists, tuples, sets, dictionaries, strings, functions, modules, and packages in Python. Later, you will learn to debug your Python program, work with files, and learn how to handle exceptions. Next, you will learn how to use numbers and date and time functions in Python programs and study the concepts of package management. Finally, you will learn to create, activate, and deactivate Python virtual environments and get an overview of comprehensions and decorators.
By the end of this course, you will have gained the knowledge and skills of all the basic concepts of Python programming and will be ready to take up advanced Python concepts.
The code files and all related files are uploaded on GitHub at https://github.com/PacktPublishing/Python-Programming-for-Beginners-Hands-on-Online-Lab-
What you will learn
- Explore Python datatypes variables and functions
- Find out how to create and work with modules and packages
- Read and write a CSV and binary file
- Grasp techniques to handle exceptions
- Find out how to debug Python programs
- Create, activate, and deactivate Python virtual environments
Who this book is for
This course is designed for anyone who is interested in learning the basics of Python programming. There are no prerequisites to take this course as you will learn everything from scratch.