Skip to content

Commit

Permalink
Renamed test.py to __main__.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
tdulcet committed Jan 13, 2025
1 parent 35a0b10 commit 2087d56
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,4 @@ jobs:
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Script
run: |
python -X dev python/test.py
python -X dev python/
8 changes: 4 additions & 4 deletions python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ python3 -m pip install wcwidth
```
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

Expand Down Expand Up @@ -269,9 +269,9 @@ python3 -m pip install wcwidth
```
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).

Expand Down
2 changes: 1 addition & 1 deletion python/test.py → python/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Teal Dulcet, CS546

# Run: python3 -OO test.py
# Run: python3 -OO .

import math
import operator
Expand Down

0 comments on commit 2087d56

Please sign in to comment.