-
Course Orientation
-
Python Fundamentals
-
Database Query (SQL & PostgreSQL)
-
FastAPI + Odoo Integration
-
Odoo Architecture & Dev Environment Setup
-
Creating Your First Custom Module
-
Models & Fields — The Odoo ORM
-
Computed Fields, Constraints & Onchange
-
ORM Methods & Recordset Operations
-
Form & List Views — XML Architecture
-
Search Views, Filters & Group By
-
View Inheritance & Module Extension
-
Business Methods, Workflows & Status Bars
-
Wizards (TransientModel)
-
Security — Groups, Access Rights & Record Rules
-
QWeb Reports — PDF & Print Layouts
-
Scheduled Actions & Automated Rules
-
External API & JSON-RPC Deep Dive
-
On-Prem & Cloud Deployment
-
Capstone — Full Custom Module Build
Variables, Data Types & Operators
Master the vocabulary of Python: how values are stored, typed and combined.
Key topics
- Variables as names bound to objects; assignment and reassignment; naming rules and conventions (snake_case).
- Core types:
int,float,str,bool,NoneType;type()andisinstance(). - Strings: indexing, slicing, immutability, f-strings, common methods (
strip,split,join,replace). - Operators: arithmetic, comparison, logical (
and/or/not), membership (in), identity (is), assignment shortcuts; operator precedence. - Truthiness and type conversion (
int(),str(),float()).
Exercise / deliverable
Build a profile_card.py that stores your name, age, height and "is enrolled" flag in variables, then prints a one-line summary using an f-string with a type shown for each value.
Level: Beginner | Duration: ~0.5h. Names, values and the core built-in types, plus every operator group you will use daily.
Rating
0
0
There are no comments for now.