Practice test to brush up Python Daily life working skills
- Printing a String 'n' times using 1 line code.
Datetime & Date classes
- Creating Date/Datetime object.
- Adding 'n' number of days to a Date object. ex. Adding 3 days to 29 August should give 01 September.
- Getting day,month, week from a date object
- Changing specific part(hour/min/sec/day/month/year) of a datetime object
- Getting a string from a datetime object containing desired values like Month name/Month number with zero prefixed, two digit year etc.
Working with Text files
- Open a text file in read mode, write mode or append mode.
- Saving each line of text file in a list.
- Stripping each line of leading/trailing spaces, newline characters etc.
- Writing invitation letter as text files to 'n' number of people with the the name inside the letter-content as per the name of the person.
Working with excel/csv files with pandas
- Importing excel/csv files and displaying as tables
- Getting particular rows or particular columns by Index/label
API
- Call an API and also pass parameters to it
- Read JSON file by giving a call to an API
Flask
- Make bare minimum directory files.
This is the intentional end of this page.