Skip to content
This repository was archived by the owner on Feb 5, 2024. It is now read-only.

Commit 0cb163e

Browse files
authored
debug descriptions
1 parent 1fe23f1 commit 0cb163e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,19 @@ e 4 0101
3636
! 3 101
3737
```
3838

39+
## Debug Mode
40+
You can turn debug mode on and see what 's happening in the background for your huffman tree ...
41+
open ds.py file and turn DEBUG = True
42+
```python
43+
...
44+
45+
#config
46+
DEBUG = True
47+
logging.basicConfig(level=logging.DEBUG, format='%(asctime)s-%(levelname)s: %(message)s', datefmt='%M:%S')
48+
49+
...
50+
```
51+
3952
## MinHeap
4053

4154
You can also generate min-heap tree for huffman tree but remember in huffman class min-heap tree automatically generated for huffman-tree

0 commit comments

Comments
 (0)