Python Fresher
Python Fresher
a) Strings
slicing/len/concatenation/
b) Numbers
c) List
extend, append, slicing, join(), len(), zip()
d) Tuple
Define a tuple, operations
e) Dictionary
initialization/get/set/keys()/values()/items()/use tuple as a key, nested
dict
2) if/else/elif:
Study if else and elif
3) Loops:
For loop, while loop, range(), set, break, continue
list comprehension, list comprehension with conditions, dict comprehension
4) Functions:
normal function/ return type/ recursive function
wap for prime number, recursion for fibonacci
Miscellaneous:
- understand pip install
- study PEP8
- https://www.youtube.com/watch?v=Hwckt4J96dI
- https://www.python.org/dev/peps/pep-0008/
5) Modules in python
Import a module, understand the packages, __init__.py
6) DateTime module
Find today date/ date formats, strftime / strToDate, strptime
Find date diff/ total days between 2 days/ today + 3 days later date
8) Exception handling
Try catch with basic exception / print error stack
9) DBaccess
Setup workbench and perform mysql connection using python
SQL/Database:
- Basic mysql queries, with workbench mysql setup
- Python script to insert/fetch/update/delete record from sql table
Projects:
- Django projects
- A basic projects with 2-3 models
- Models which are having ForeignKey / ManyToMany mappings
- Migrations / Admin view
- Template rendering / template tags
- default with sqlitedb then try to migrate the same in mysql
- DRFin django
Create a url router, viewset & serializer with
Tools:
- Git
- basic git commands like
- git status / add / commit / reset / push / pull / fetch