# ekta-developerr/python-learning architecture

> Architecture diagram of the GitHub repository ekta-developerr/python-learning, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-27). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/ekta-developerr/python-learning
- Repository: https://github.com/ekta-developerr/python-learning

## Overview

This repository is a set of standalone Python learning examples, not a single application. A learner runs an individual script, supplies console input where prompted, and sees printed results. The files cover variables and strings, control flow and loops, functions, collections, exceptions, and file handling. The excerpts show no shared application flow. The file-handling example writes to the tracked `studen.txt`; other file operations are not mapped because their targets are not in the tree. Sampled source supports the console interactions shown here.

Main entry points: [`Basic/File Handling.py`](https://github.com/ekta-developerr/python-learning/blob/main/Basic/File%20Handling.py) (File handling), [`Basic/variable.py`](https://github.com/ekta-developerr/python-learning/blob/main/Basic/variable.py) (Variables & strings), [`Basic/controlstrcutor.py`](https://github.com/ekta-developerr/python-learning/blob/main/Basic/controlstrcutor.py) (Conditionals), [`Basic/for_loop.py`](https://github.com/ekta-developerr/python-learning/blob/main/Basic/for_loop.py) (For loops)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_learner(("Learner"))
node_console["Console"]
node_variables["Variables &amp; strings<br/>[variable.py]"]
node_control["Conditionals<br/>[controlstrcutor.py]"]
node_forloop["For loops<br/>[for_loop.py]"]
node_whileloop["While loops<br/>[while.py]"]
node_functions["Functions<br/>[Function.py]"]
node_collections["Lists<br/>[Collection.py]"]
node_tuples["Tuples<br/>[tuple.py]"]
node_dictionaries["Dictionaries<br/>[dict.py]"]
node_sets["Sets<br/>[set.py]"]
node_exceptions["Exception handling<br/>[try_except.py]"]
node_files["File handling<br/>[File Handling.py]"]
node_studentfile["Student text file<br/>[studen.txt]"]

node_learner -->|"runs script"| node_variables
node_learner -->|"runs script"| node_control
node_learner -->|"runs script"| node_forloop
node_learner -->|"runs script"| node_whileloop
node_learner -->|"runs script"| node_functions
node_learner -->|"runs script"| node_collections
node_learner -->|"runs script"| node_tuples
node_learner -->|"runs script"| node_dictionaries
node_learner -->|"runs script"| node_sets
node_learner -->|"runs script"| node_exceptions
node_learner -->|"runs script"| node_files
node_variables -->|"reads input / prints"| node_console
node_control -->|"reads input / prints"| node_console
node_forloop -->|"reads input / prints"| node_console
node_whileloop -->|"reads input / prints"| node_console
node_functions -->|"prints"| node_console
node_collections -->|"reads input / prints"| node_console
node_tuples -->|"reads input / prints"| node_console
node_dictionaries -->|"reads input / prints"| node_console
node_sets -->|"prints"| node_console
node_exceptions -->|"reads input / prints"| node_console
node_files -->|"reads input / prints"| node_console
node_files -->|"writes"| node_studentfile

click node_variables "https://github.com/ekta-developerr/python-learning/blob/main/Basic/variable.py"
click node_control "https://github.com/ekta-developerr/python-learning/blob/main/Basic/controlstrcutor.py"
click node_forloop "https://github.com/ekta-developerr/python-learning/blob/main/Basic/for_loop.py"
click node_whileloop "https://github.com/ekta-developerr/python-learning/blob/main/Basic/while.py"
click node_functions "https://github.com/ekta-developerr/python-learning/blob/main/Basic/Function.py"
click node_collections "https://github.com/ekta-developerr/python-learning/blob/main/Basic/Collection.py"
click node_tuples "https://github.com/ekta-developerr/python-learning/blob/main/Basic/tuple.py"
click node_dictionaries "https://github.com/ekta-developerr/python-learning/blob/main/Basic/dict.py"
click node_sets "https://github.com/ekta-developerr/python-learning/blob/main/Basic/set.py"
click node_exceptions "https://github.com/ekta-developerr/python-learning/blob/main/Basic/try_except.py"
click node_files "https://github.com/ekta-developerr/python-learning/blob/main/Basic/File%20Handling.py"
click node_studentfile "https://github.com/ekta-developerr/python-learning/blob/main/studen.txt"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_learner,node_console toneIndigo
class node_variables,node_control,node_forloop,node_whileloop,node_functions,node_collections,node_tuples,node_dictionaries,node_sets,node_exceptions,node_files,node_studentfile toneTeal
```

## Components

### Other components

- **Learner**
- **Console**
- [Variables & strings](https://github.com/ekta-developerr/python-learning/blob/main/Basic/variable.py): `Basic/variable.py`
- [Conditionals](https://github.com/ekta-developerr/python-learning/blob/main/Basic/controlstrcutor.py): `Basic/controlstrcutor.py`
- [For loops](https://github.com/ekta-developerr/python-learning/blob/main/Basic/for_loop.py): `Basic/for_loop.py`
- [While loops](https://github.com/ekta-developerr/python-learning/blob/main/Basic/while.py): `Basic/while.py`
- [Functions](https://github.com/ekta-developerr/python-learning/blob/main/Basic/Function.py): `Basic/Function.py`
- [Lists](https://github.com/ekta-developerr/python-learning/blob/main/Basic/Collection.py): `Basic/Collection.py`
- [Tuples](https://github.com/ekta-developerr/python-learning/blob/main/Basic/tuple.py): `Basic/tuple.py`
- [Dictionaries](https://github.com/ekta-developerr/python-learning/blob/main/Basic/dict.py): `Basic/dict.py`
- [Sets](https://github.com/ekta-developerr/python-learning/blob/main/Basic/set.py): `Basic/set.py`
- [Exception handling](https://github.com/ekta-developerr/python-learning/blob/main/Basic/try_except.py): `Basic/try_except.py`
- [File handling](https://github.com/ekta-developerr/python-learning/blob/main/Basic/File%20Handling.py): `Basic/File Handling.py`
- [Student text file](https://github.com/ekta-developerr/python-learning/blob/main/studen.txt): `studen.txt`

## Connections

- Learner → Variables & strings: runs script
- Learner → Conditionals: runs script
- Learner → For loops: runs script
- Learner → While loops: runs script
- Learner → Functions: runs script
- Learner → Lists: runs script
- Learner → Tuples: runs script
- Learner → Dictionaries: runs script
- Learner → Sets: runs script
- Learner → Exception handling: runs script
- Learner → File handling: runs script
- Variables & strings → Console: reads input / prints
- Conditionals → Console: reads input / prints
- For loops → Console: reads input / prints
- While loops → Console: reads input / prints
- Functions → Console: prints
- Lists → Console: reads input / prints
- Tuples → Console: reads input / prints
- Dictionaries → Console: reads input / prints
- Sets → Console: prints
- Exception handling → Console: reads input / prints
- File handling → Console: reads input / prints
- File handling → Student text file: writes
