v2.3
This commit is contained in:
14
README.md
14
README.md
@@ -40,26 +40,16 @@ dr1p4ns1 v2.3 - cp437 ansi parsing - this logic will be rolled into bots like kr
|
||||

|
||||
## summary
|
||||
## prerequisites
|
||||
- `apt install python3`
|
||||
- `python3`
|
||||
## usage - main file
|
||||
```
|
||||
running 'python3 dr1p4ns1.py' will batch process all the ans extension files in the ansiscii directory
|
||||
running 'python3 dr1p4ns1.py /path/to/ansi/files' will load all the .ans files in that directory
|
||||
```
|
||||
## test data and debugging
|
||||
- running `python3 test.py` will present table data and create an ansi file for testing
|
||||
- change the line below from False to True at the bottom of `dr1p4ns1.py` for some parse debugging
|
||||
```d=dr1p4ns1(ansifile=_FILE_,width=80,debug=False)```
|
||||
## files overview
|
||||
```
|
||||
[dr1p4ns1.py](dr1p4ns1.py) - main file, reads 'work.ans' and attempts to parse and display
|
||||
dr1p4ns1.py - main file, reads 'work.ans' and attempts to parse and display
|
||||
ansiscii/ - storing the ansi and ascii graphics in this subdirectory while testing
|
||||
test.py - used to generate test ansi file and presents table data
|
||||
test.ans - thie file is created after running test.py to contain controlled test data
|
||||
```
|
||||
## state
|
||||
```
|
||||
while working on the reencoding portions its operating as a viewer, pumper, basic file operations.
|
||||
```
|
||||
## notes
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user