Skip to content

Instantly share code, notes, and snippets.

@dedSyn4ps3
Created February 10, 2024 01:18
Show Gist options
  • Save dedSyn4ps3/a01e0c420d1b5ac0d47966f92626d287 to your computer and use it in GitHub Desktop.
Save dedSyn4ps3/a01e0c420d1b5ac0d47966f92626d287 to your computer and use it in GitHub Desktop.
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