# Basics

- [Ch01-Python Introduction](https://csp.gitbook.io/python-learning/basics/ch01-python-introduction.md)
- [Get Started With Python](https://csp.gitbook.io/python-learning/basics/ch01-python-introduction/get-started-with-python.md)
- [Your First Python Program](https://csp.gitbook.io/python-learning/basics/ch01-python-introduction/your-first-python-program.md)
- [Python Comments](https://csp.gitbook.io/python-learning/basics/ch01-python-introduction/python-comments.md)
- [Ch02-Python Fundamentals](https://csp.gitbook.io/python-learning/basics/ch02-python-fundamentals.md)
- [Python Variables and Literals](https://csp.gitbook.io/python-learning/basics/ch02-python-fundamentals/python-variables-and-literals.md)
- [Python Type Conversion](https://csp.gitbook.io/python-learning/basics/ch02-python-fundamentals/python-type-conversion.md)
- [Python Basic Input and Output](https://csp.gitbook.io/python-learning/basics/ch02-python-fundamentals/python-basic-input-and-output.md)
- [Python Operators](https://csp.gitbook.io/python-learning/basics/ch02-python-fundamentals/python-operators.md)
- [Ch03-Python Flow Control](https://csp.gitbook.io/python-learning/basics/ch03-python-flow-control.md)
- [Python if...else Statement](https://csp.gitbook.io/python-learning/basics/ch03-python-flow-control/python-if...else-statement.md)
- [Python for Loop](https://csp.gitbook.io/python-learning/basics/ch03-python-flow-control/python-for-loop.md)
- [Python while Loop](https://csp.gitbook.io/python-learning/basics/ch03-python-flow-control/python-while-loop.md)
- [Python break and continue](https://csp.gitbook.io/python-learning/basics/ch03-python-flow-control/python-break-and-continue.md)
- [Python pass Statement](https://csp.gitbook.io/python-learning/basics/ch03-python-flow-control/python-pass-statement.md)
- [Ch04-Python Data types](https://csp.gitbook.io/python-learning/basics/ch04-python-data-types.md)
- [Python Numbers and Mathematics](https://csp.gitbook.io/python-learning/basics/ch04-python-data-types/python-numbers-and-mathematics.md)
- [Python List](https://csp.gitbook.io/python-learning/basics/ch04-python-data-types/python-list.md)
- [Python Tuple](https://csp.gitbook.io/python-learning/basics/ch04-python-data-types/python-tuple.md)
- [Python String](https://csp.gitbook.io/python-learning/basics/ch04-python-data-types/python-string.md)
- [Python Set](https://csp.gitbook.io/python-learning/basics/ch04-python-data-types/python-set.md)
- [Python Dictionary](https://csp.gitbook.io/python-learning/basics/ch04-python-data-types/python-dictionary.md)
- [Ch05-Python Functions](https://csp.gitbook.io/python-learning/basics/ch05-python-functions.md)
- [Python Functions](https://csp.gitbook.io/python-learning/basics/ch05-python-functions/python-functions.md)
- [Python Function Arguments](https://csp.gitbook.io/python-learning/basics/ch05-python-functions/python-function-arguments.md)
- [Python Variable Scope](https://csp.gitbook.io/python-learning/basics/ch05-python-functions/python-variable-scope.md)
- [Python Global Keyword](https://csp.gitbook.io/python-learning/basics/ch05-python-functions/python-global-keyword.md)
- [Python Recursion](https://csp.gitbook.io/python-learning/basics/ch05-python-functions/python-recursion.md)
- [Python Modules](https://csp.gitbook.io/python-learning/basics/ch05-python-functions/python-modules.md)
- [Python Package](https://csp.gitbook.io/python-learning/basics/ch05-python-functions/python-package.md)
- [Python Main function](https://csp.gitbook.io/python-learning/basics/ch05-python-functions/python-main-function.md)
- [Ch06-Python Files](https://csp.gitbook.io/python-learning/basics/ch06-python-files.md)
- [Python Directory and Files Management](https://csp.gitbook.io/python-learning/basics/ch06-python-files/python-directory-and-files-management.md)
- [Python CSV: Read and Write CSV files](https://csp.gitbook.io/python-learning/basics/ch06-python-files/python-csv-read-and-write-csv-files.md)
- [Reading CSV files in Python](https://csp.gitbook.io/python-learning/basics/ch06-python-files/reading-csv-files-in-python.md)
- [Writing CSV files in Python](https://csp.gitbook.io/python-learning/basics/ch06-python-files/writing-csv-files-in-python.md)
- [Ch07-Python Exception Handling](https://csp.gitbook.io/python-learning/basics/ch07-python-exception-handling.md)
- [Python Exceptions](https://csp.gitbook.io/python-learning/basics/ch07-python-exception-handling/python-exceptions.md)
- [Python Exception Handling](https://csp.gitbook.io/python-learning/basics/ch07-python-exception-handling/python-exception-handling.md)
- [Python Custom Exceptions](https://csp.gitbook.io/python-learning/basics/ch07-python-exception-handling/python-custom-exceptions.md)
- [Ch08-Python Object & Class](https://csp.gitbook.io/python-learning/basics/ch08-python-object-and-class.md)
- [Python Objects and Classes](https://csp.gitbook.io/python-learning/basics/ch08-python-object-and-class/python-objects-and-classes.md)
- [Python Inheritance](https://csp.gitbook.io/python-learning/basics/ch08-python-object-and-class/python-inheritance.md)
- [Python Multiple Inheritance](https://csp.gitbook.io/python-learning/basics/ch08-python-object-and-class/python-multiple-inheritance.md)
- [Polymorphism in Python](https://csp.gitbook.io/python-learning/basics/ch08-python-object-and-class/polymorphism-in-python.md)
- [Python Operator Overloading](https://csp.gitbook.io/python-learning/basics/ch08-python-object-and-class/python-operator-overloading.md)
- [Ch09-Python Advanced Topics](https://csp.gitbook.io/python-learning/basics/ch09-python-advanced-topics.md)
- [List comprehension](https://csp.gitbook.io/python-learning/basics/ch09-python-advanced-topics/list-comprehension.md)
- [Python Lambda / Anonymous Function](https://csp.gitbook.io/python-learning/basics/ch09-python-advanced-topics/python-lambda-anonymous-function.md)
- [Python Iterators](https://csp.gitbook.io/python-learning/basics/ch09-python-advanced-topics/python-iterators.md)
- [Python Generators](https://csp.gitbook.io/python-learning/basics/ch09-python-advanced-topics/python-generators.md)
- [Python Namespace and Scope](https://csp.gitbook.io/python-learning/basics/ch09-python-advanced-topics/python-namespace-and-scope.md)
- [Python Closures](https://csp.gitbook.io/python-learning/basics/ch09-python-advanced-topics/python-closures.md)
- [Python Decorators](https://csp.gitbook.io/python-learning/basics/ch09-python-advanced-topics/python-decorators.md)
- [Python @property decorator](https://csp.gitbook.io/python-learning/basics/ch09-python-advanced-topics/python-property-decorator.md)
- [Python RegEx](https://csp.gitbook.io/python-learning/basics/ch09-python-advanced-topics/python-regex.md)
- [Ch10-Python Date and Time](https://csp.gitbook.io/python-learning/basics/ch10-python-date-and-time.md)
- [Python datetime](https://csp.gitbook.io/python-learning/basics/ch10-python-date-and-time/python-datetime.md)
- [Python strftime()](https://csp.gitbook.io/python-learning/basics/ch10-python-date-and-time/python-strftime.md)
- [Python strptime()](https://csp.gitbook.io/python-learning/basics/ch10-python-date-and-time/python-strptime.md)
- [How to get current date and time in Python?](https://csp.gitbook.io/python-learning/basics/ch10-python-date-and-time/how-to-get-current-date-and-time-in-python.md)
- [Python Get Current Time](https://csp.gitbook.io/python-learning/basics/ch10-python-date-and-time/python-get-current-time.md)
- [Python timestamp to datetime and vice-versa](https://csp.gitbook.io/python-learning/basics/ch10-python-date-and-time/python-timestamp-to-datetime-and-vice-versa.md)
- [Python time Module](https://csp.gitbook.io/python-learning/basics/ch10-python-date-and-time/python-time-module.md)
- [Python sleep()](https://csp.gitbook.io/python-learning/basics/ch10-python-date-and-time/python-sleep.md)
- [Ch11-Additional Topic](https://csp.gitbook.io/python-learning/basics/ch11-additional-topic.md)
- [Precedence and Associativity of Operators in Python](https://csp.gitbook.io/python-learning/basics/ch11-additional-topic/precedence-and-associativity-of-operators-in-python.md)
- [Python Keywords and Identifiers](https://csp.gitbook.io/python-learning/basics/ch11-additional-topic/python-keywords-and-identifiers.md)
- [Python Asserts](https://csp.gitbook.io/python-learning/basics/ch11-additional-topic/python-asserts.md)
- [Python Json](https://csp.gitbook.io/python-learning/basics/ch11-additional-topic/python-json.md)
- [Python pip](https://csp.gitbook.io/python-learning/basics/ch11-additional-topic/python-pip.md)
- [Python \*args and \*\*kwargs](https://csp.gitbook.io/python-learning/basics/ch11-additional-topic/python-args-and-kwargs.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://csp.gitbook.io/python-learning/basics.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
