Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Creating a Project | Development Environment on Your PC
SQL in Python Projects

Creating a ProjectCreating a Project

By creating a project, you organize your code and resources into logical groups 📂. This simplifies navigation 🧭 and maintenance of your project 🗃, especially if it's a large one.

Let's create the first project

Repeat step by step to create a project. Please pay attention 🤓 to all selected and unselected options 📌 in the illustrations and repeat them in your project 🗃.

Image 1
Image 2
Image 3
  • At this stage, we have already created a Python project 🗃, and in the following charter, we will create a Python file 📝 for this project;
  • Together with the project, we also created the venv virtual environment.

What is venv ?

In venv, working with Python is like having separate "containers" 📦 for each of your projects. Each container has its own versions of Python and packages 📁, and they don't interfere with each other. This helps 🆘 avoid issues where different projects might need different versions of the same "tools" 🪚.

Let's break it down for different operating systems.

  • In macOS and many Unix-like systems, when you create a Python virtual environment (e.g., using venv), the .venv folder is hidden by default. You won't see it in Finder or in the terminal unless you choose to "Show Hidden Files". It's hidden to avoid clutter, as it contains technical files that you don't typically need to edit;
  • On Windows, the .venv folder isn't hidden. It's visible in File Explorer and can be accessed and modified directly.

So, depending on your operating system, you either see or don't see the .venv folder, but it serves the same purpose for Python virtual environments.

Все було зрозуміло?

Секція 1. Розділ 4
course content

Зміст курсу

SQL in Python Projects

Creating a ProjectCreating a Project

By creating a project, you organize your code and resources into logical groups 📂. This simplifies navigation 🧭 and maintenance of your project 🗃, especially if it's a large one.

Let's create the first project

Repeat step by step to create a project. Please pay attention 🤓 to all selected and unselected options 📌 in the illustrations and repeat them in your project 🗃.

Image 1
Image 2
Image 3
  • At this stage, we have already created a Python project 🗃, and in the following charter, we will create a Python file 📝 for this project;
  • Together with the project, we also created the venv virtual environment.

What is venv ?

In venv, working with Python is like having separate "containers" 📦 for each of your projects. Each container has its own versions of Python and packages 📁, and they don't interfere with each other. This helps 🆘 avoid issues where different projects might need different versions of the same "tools" 🪚.

Let's break it down for different operating systems.

  • In macOS and many Unix-like systems, when you create a Python virtual environment (e.g., using venv), the .venv folder is hidden by default. You won't see it in Finder or in the terminal unless you choose to "Show Hidden Files". It's hidden to avoid clutter, as it contains technical files that you don't typically need to edit;
  • On Windows, the .venv folder isn't hidden. It's visible in File Explorer and can be accessed and modified directly.

So, depending on your operating system, you either see or don't see the .venv folder, but it serves the same purpose for Python virtual environments.

Все було зрозуміло?

Секція 1. Розділ 4
some-alt