Skip to content

Kzarama/Python

Repository files navigation

Python

Content

Projects

Training with python, here there are a exercises of python made in:

Virtual environment

First method

To create a venv

python3 -m venv .env

Second method

To create a venv

virtualenv .env --python=python3.8

To activate venv

In linux

source .env\bin\activate

In windows

.env\Scrips\activate

Install libraries from requirements.txt

pip install -r requirements.txt
pip freeze > requirements.txt

py file to exe

Install pyinstaller

pip install pyinstaller

Create the exe with

pyinstaller FILE_NAME.py

Options:

  • -F, --onefile: to create only one file
  • -i, --icon: to add a icon in the exe

About

python training

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published