Created
February 10, 2024 01:18
-
-
Save dedSyn4ps3/a01e0c420d1b5ac0d47966f92626d287 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
from rich.progress import track | |
def checkVersion(name): | |
version = "1.0.0" | |
getUpdate(f"Fetching current version for {name}...") | |
print(f"\n[+] All Good! You're using the most recent of {name} --> {version}\n") | |
def getUpdate(description): | |
for i in track(range(100), description=description): | |
time.sleep(.1) # Simulate work being done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment