Mesde
Mesde
Purpose: It’s great for small-scale apps where you need to store data
without the complexity of setting up a full database server.
- Use Case: Perfect for desktop apps, small websites, or local data
storage.
- Basic Example:
Python
Import sqlite3
Conn = sqlite3.connect(‘example.db’)
Cursor = conn.cursor()
Create a table
Insert a record
Conn.commit()
Conn.close
2.:nth-child(odd)` (CSS):
- What it is: A CSS pseudo-class used to target every odd-numbered
child element (e.g., 1st, 3rd, 5th, etc.) of a parent element.
- Basic Example:
Tr:nth-child(odd) {
Background-color: #f0f0f0;
In a table, this makes every odd row have a light gray background.