Metadata-Version: 2.4
Name: aai-python-codes
Version: 0.3.0
Summary: AAI Python practical programs
Author: Sahil Choradia
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: numpy>=1.26
Requires-Dist: matplotlib>=3.8
Requires-Dist: scikit-learn>=1.3

# AAI Python Codes

Installable collection of AAI Python practical programs.

## Python-version independent workflow

The package supports Python 3.9 and newer. Python packages are installed per Python interpreter, so the important rule is: **install and open IDLE with the same interpreter**.

### Normal installation

```cmd
py -m pip install --upgrade aai-python-codes
```

### Open the matching IDLE

```cmd
py -m idlelib
```

This avoids the common problem where a PC has multiple Python versions and IDLE is using a different one from `pip`.

### View Practical 1A source in IDLE

```python
from importlib.resources import files
print(files("aai_python_codes").joinpath("Practical_1A.py").read_text())
```

### View any practical

```python
from importlib.resources import files
print(files("aai_python_codes").joinpath("Practical_1B.py").read_text())
```

Replace the filename with any practical in the package.

### Run a practical

```cmd
py -m aai_python_codes 1A
```

## Supported Python versions

Python 3.9+ (including current Python releases, subject to availability of compatible third-party libraries).
