Course “Python: Setting up the environment”

Course updated on February 14, 2025

Subscribe

Access this and all courses with a subscription

What's included

Theory: 16 lessons
Exercises: 0
Questions: 0
Self-study tasks
Extra materials
Extended materials for 16 lessons

Description

In this course, you will learn how to set up an environment. You will learn about virtual environments, the standard pip package manager, and the alternative Poetry manager. You will learn how to create conflict-free dependencies for your programs, run programs locally, and create install files with entry points. You will learn how to create a project and link libraries to it. The knowledge you gain from this course will help you organize your local environment intelligently and use best practices for managing your code. This course is a must for anyone who wants to learn how to program in Python. To make learning easier, you should know the basics of the command line and the Git version control system.

You will learn

  • Install Python in the operating system
  • Set up a local environment to run Python code
  • Run scripts, modules, and packages

Syllabus

1

Introduction

Getting to know the course and its goals

2

Installing Python

Installing the interpreter and learning how to use the REPL

3

Working with the REPL

Finding out what Python REPL is and how to use this powerful tool

4

Read more about Python

Introducing of the concept of interpretation

5

Packages and indices

Exploring code bundling and package indices

6

Setuptools, distutils, and pip modules

Discussing the distutils library, the Setuptools package, and the pip installer

7

Installing pip

Learning how to install pip and download the first package

8

Alternative package sources

Learning how to use pip to install packages from alternative sources

9

Virtual environments

Learning to avoid interdependencies and clutter in the global environment

10

Scripts

Learning to write and run scripts

11

Running modules and packages

Learning how to design modules and packages that can be imported and run as scripts

12

Accessibily for working with Python

Learn about tools that improve the development, packaging, and deployment

13

Getting started with Poetry

Learning how to install and set up Poetry to create your first project

14

Poetry and dependency management

Learning how to add dependencies to a project and run developer tools

15

Poetry and scripts

Learning how to describe the points of entry into the program in Poetry projects

16

Building a package distribution using Poetry

Building project distributions and learning to install them with pip

Course Cover
  • Run code right in the browser
  • Lifetime access
  • Learn at your own pace
Subscribe

Access this and all courses with a subscription