Curriculum
Short Specializations
Python Back-end
Concepts:
For this project, look at these concepts:
Read or watch:
- Allowed editors:
vi,vim,emacs - Files interpreted/compiled on Ubuntu 18.04 LTS using
python3(version 3.7) - First line of file using exactly shebang
#!/usr/bin/env python3 - Mandatory
README.mdfile - Code use the
pycodestyle(version 2.5.) - File must be executable
- Length of file tested using
wc - All modules should have a documentation (
python3 -c 'print(__import__("my_module").__doc__)') - All classes should have a documentation (
python3 -c 'print(__import__("my_module").MyClass.__doc__)') - All functions (inside / outside a class) should have a documentation (
python3 -c 'print(__import__("my_module").my_function.__doc__)') and (python3 -c 'print(__import__("my_module").MyClass.my_function.__doc__)') - A documentation explaining purpose of the module or class or method (length will be verified)
main.py
Click to show/hide file contents
#!/usr/bin/env python3
var = __import__('file').var
print(var())
print(var.__annotations__)