Renamed test.py to __main__.py.

This commit is contained in:
Teal Dulcet 2025-01-13 03:59:16 -08:00
parent 35a0b10a19
commit 2087d569c0
3 changed files with 6 additions and 6 deletions

View File

@ -93,4 +93,4 @@ jobs:
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Script - name: Script
run: | run: |
python -X dev python/test.py python -X dev python/

View File

@ -33,9 +33,9 @@ python3 -m pip install wcwidth
``` ```
See the [tables.py](tables.py) file for full usage information. See the [tables.py](tables.py) file for full usage information.
Complete versions of all of the examples below and more can be found in the [test.py](test.py) file. Complete versions of all of the examples below and more can be found in the [`__main__.py`](__main__.py) file.
Run with: `python3 -OO test.py`. Run with: `python3 -OO .`.
#### Output str array as table #### Output str array as table
@ -269,9 +269,9 @@ python3 -m pip install wcwidth
``` ```
See the [graphs.py](graphs.py) file for full usage information. See the [graphs.py](graphs.py) file for full usage information.
Complete versions of all of the examples below and more can be found in the [test.py](test.py) file. Complete versions of all of the examples below and more can be found in the [`__main__.py`](__main__.py) file.
Run with: `python3 -OO test.py`. Run with: `python3 -OO .`.
If `height` is `0`, it will be set to the current height of the terminal (number of rows). If `width` is `0`, it will be set to the current width of the terminal (number of columns). If `height` is `0`, it will be set to the current height of the terminal (number of rows). If `width` is `0`, it will be set to the current width of the terminal (number of columns).

View File

@ -2,7 +2,7 @@
# Teal Dulcet, CS546 # Teal Dulcet, CS546
# Run: python3 -OO test.py # Run: python3 -OO .
import math import math
import operator import operator