Skip to content

Latest commit

 

History

History
108 lines (68 loc) · 1.47 KB

python.md

File metadata and controls

108 lines (68 loc) · 1.47 KB

Python

Project structures

└── src/ 
    ├── main.py
    ├── PackageA/
    │   ├── __init__.py
    │   ├── logic.py
    │   ├── SubPackageA1/
    │   │   ├── __init__.py
    │   │   └── util.py
    │   └── SubPackageA2/
    │       ├── __init__.py
    │       └── otherUtil.py
    └── PackageB/
        ├── __init__.py
        └── helpers.py

Definition and example
**********

Key Terms

packages and modules

packages: way of organizing Python modules into a hierarchical directory structure. modules: defined functions, classes, and variables that can be reused in other Python scripts

ImportError

**********

Key_Term2

Definition and example
**********


GETTING STARTED COMMANDS

Create virtual environment

python3 -m venv <virtual_environment_name>
-m module name

**********

Run python file

python3 <fil_name>.py

**********

COMMAND1

``
-

**********


ADVANCED COMMANDS

COMMAND2

``
-

**********

COMMAND3

``
-

**********


Configs

Name_of_config

What does the config do
Config example and definition of each term

**********


Processes

Process

  1. steps
  2. step
  3. step

**********


Links

Name