Skip to content

sergius-la/Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python

import this
print("Hello World!")

Variables


Functions

Built-in Functions

Try Except (Catch)


Data Types

Data Structure


OOP


Standard Library

[yield]

Py docs: The Python Standard Library

Virtual Environments and Packages

Standard Modules


Python application structure

helloworld/
│
├── helloworld/
│   ├── __init__.py
│   ├── helloworld.py
│   └── helpers.py
│
├── tests/
│   ├── helloworld_tests.py
│   └── helpers_tests.py
│
├── .gitignore
├── LICENSE
├── README.md
├── requirements.txt // Reqired packages
|── conftest.py // Unit testing config
└── setup.py

Django

pip install Django

pip docs

Version
python -m django --version

TODO: Move to Links:
[RU] Уроки Django 2.x
EN Python Django Tutorial

  • Django admin commands - django-admin
  • Start django project django-admin startproject django_project
    • Start django app - python manage.py startapp blog

  • ./manage.py runserver
  • ./manage.py shell

Django Notes


Plotly

pip install plotly

pip docs

.plot:
    - data[trace]
    - layout
        - buttons

PyTest

pip install pytest

pip docs

pytest: DataProvider

Run tests - py.test -v

VS Code - Enable PyTest

Manage > Settings > Search: Python › Testing: Py Test Enabled set to true


Open CV

pip install opencv-python

pip docs


Requests: HTTP for Humans

pip install requests

pip docs


Selenium with Python

pip install selenium

pip docs


SQLAlchemy

pip install SQLAlchemy

pip docs


Beautiful Soup

pip install beautifulsoup4


Pandas

pip install pandas

Pip docs


Numpu

pip install numpy

Pip docs


Scipy

pip install scipy

Pip docs


Coverage

pip install coverage

About

GitNotes - Python

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages