Skip to content

Commit

Permalink
2.30
Browse files Browse the repository at this point in the history
Added CLI mode
  • Loading branch information
Enderbyte09 authored Jun 10, 2022
1 parent eb97e8e commit 68a3310
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
18 changes: 9 additions & 9 deletions BasicUtilities.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
SYSVERSION = '2.30'
SNAPSHOT = True
SNAPSHOTVERSION = 5
SNAPSHOT = False
SNAPSHOTVERSION = 0
ASSEMBLEDVERSION = f"Basic Utilities {SYSVERSION}"
if SNAPSHOT:
ASSEMBLEDVERSION += f" Beta {SNAPSHOTVERSION}"
Expand Down Expand Up @@ -4160,17 +4160,17 @@ def ckill():
except Exception as e:
print(f"ERROR in command: {e}")
elif command == 'stat':
print('lines: 7382')
print('print statements: 1035')
print('Variables: 1879')
print('comparisons 482')
print('Exception handling loops 300')
print('lines: 7720')
print('print statements: 1106')
print('Variables: 1954')
print('comparisons 2000')
print('Exception handling loops 313')
print('While loops 56')
print('For loop 103')
print('Commands: 173')
print('Commands: 192')
print('Libraries Imported 28')
print('files utilized 77')
print('Tkinter windows used 108')
print('Tkinter windows used 103')
print("Functions: 150")
print("Classes: 4")

Expand Down
8 changes: 8 additions & 0 deletions compile.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,24 @@ move .\BasicUtilities\BasicUtilities.py BasicUtilities.py
move .\BasicUtilities\scupdate.py scupdate.py
del /s /f /q .\BasicUtilities\*
del .\dist\BasicUtilities.exe
del .\compiler-output\BasicUtilities.exe
del .\compiler-output\BasicUtilities.py
rmdir .\BasicUtilities\.temp
rmdir .\BasicUtilities\crash_reports
.\pyinstaller --icon=bu.ico --version-file=vf.txt --noconfirm BasicUtilities.py
.\pyinstaller --icon=bu.ico --version-file=vf.txt --onefile BasicUtilities.py
xcopy /s /e .\dist\BasicUtilities .\BasicUtilities
copy bu.ico .\BasicUtilities\bu.ico
copy turtle.ico .\BasicUtilities\turtle.ico
copy license.txt .\BasicUtilities\license.txt
copy scupdate.py .\BasicUtilities\scupdate.py
del /s /f /q .\compiler-output\*
"C:\Program Files (x86)\Inno Setup 6\iscc.exe" bu.iss
del /s /f /q .\BasicUtilities\*
rmdir /s /q .\BasicUtilities\
mkdir BasicUtilities
copy BasicUtilities.py .\compiler-output
copy bu.iss .\compiler-output
copy .\dist\BasicUtilities.exe .\compiler-output
move BasicUtilities.py .\BasicUtilities\BasicUtilities.py
move scupdate.py .\BasicUtilities\scupdate.py

0 comments on commit 68a3310

Please sign in to comment.