import this
print("Hello World!")
- Py docs: Built-in Functions
- exec()
- help()
- slice() [:]
- type()
- @property
- [enumerate()]
- [sorted()]
- [isinstance()]
- [round()]
- [dir(object)]
- Py docs: String
- Py docs: Dictinary
- Py docs: List
- Py docs: Set, Frozenset
- Py docs: ENUM
- Collections:
- Counter
- [defaultdict]
- [namedtuple]
- [queue]
- [iter: next()]
- [zip]
- [vars] - Returns
dict{attribute: value}
an object's
[yield]
Py docs: The Python Standard Library
- Py docs: Operators
- Py docs: Coroutines and Tasks
- [Coroutines]
- Py docs: Configuration file parser
- Py docs: Operating system interfaces
- Py docs: Basic date and time types
- Py docs: DB-API 2.0 interface for SQLite databases
- Py docs: CSV File Reading and Writing
- math
- Py docs: multiprocessing
- [struct]
- [pickle]
- [socket]
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
pip install Django
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
- Start django app -
./manage.py runserver
./manage.py shell
- Django docs: Templates
- Django template
- [Models]
- [Forms]
- Django docs: Static files
- Django docs: Logging
- Django docs: Lookups
pip install plotly
.plot:
- data[trace]
- layout
- buttons
pip install pytest
Run tests - py.test -v
VS Code - Enable PyTest
Manage > Settings > Search: Python › Testing: Py Test Enabled
set to true
pip install opencv-python
pip install requests
pip install selenium
pip install SQLAlchemy
pip install beautifulsoup4
- Beautiful Soup docs
- Usage:
pip install pandas
pip install numpy
pip install scipy
pip install coverage