Adm1n_0v3rride

Coronavrius Map 2020

Nov 30th, 2020 (edited)
727
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/usr/bin/env python3
  2. # -*- coding: utf-8 -*-
  3.  
  4. import webbrowser
  5. import os
  6.  
  7. def Main():
  8.    
  9.     if sys.platform == "win32":
  10.        
  11.         os.system("cls")
  12.  
  13.         os.system("title Coronavrius Map 2020")
  14.  
  15.         print()
  16.  
  17.         print("Welcome to the Coronavrius Map 2020\n")
  18.  
  19.         print("Please select an option\n")
  20.  
  21.         print("[1] bing coronavirus map\n")
  22.  
  23.         print("[2] COVID-19 Map - Johns Hopkins Coronavirus Resource Center\n")
  24.  
  25.         covidmapone2020choice = int(input("#>:\t"))
  26.  
  27.         if covidmapone2020choice == 1:
  28.            
  29.             webbrowser.open("https://www.bing.com/covid/local/unitedstates")
  30.  
  31.         if covidmapone2020choice == 2:
  32.            
  33.             webbrowser.open("https://coronavirus.jhu.edu/map.html")
  34.  
  35.     elif sys.platform == "linux" or sys.platform == "linux2":
  36.        
  37.         os.system("clear")
  38.        
  39.         print()
  40.  
  41.         print("Welcome to the Coronavrius Map 2020\n")
  42.  
  43.         print("Please select an option\n")
  44.  
  45.         print("[1] bing coronavirus map\n")
  46.  
  47.         print("[2] COVID-19 Map - Johns Hopkins Coronavirus Resource Center\n")
  48.  
  49.         covidmapone2020choice = int(input("#>:\t"))
  50.  
  51.         if covidmapone2020choice == 1:
  52.            
  53.             webbrowser.open("https://www.bing.com/covid/local/unitedstates")
  54.  
  55.         if covidmapone2020choice == 2:
  56.            
  57.             webbrowser.open("https://coronavirus.jhu.edu/map.html")
  58.  
  59.     elif sys.platform == "darwin":
  60.        
  61.         os.system("clear")
  62.        
  63.         print()
  64.  
  65.         print("Welcome to the Coronavrius Map 2020\n")
  66.  
  67.         print("Please select an option\n")
  68.  
  69.         print("[1] bing coronavirus map\n")
  70.  
  71.         print("[2] COVID-19 Map - Johns Hopkins Coronavirus Resource Center\n")
  72.  
  73.         covidmapone2020choice = int(input("#>:\t"))
  74.  
  75.         if covidmapone2020choice == 1:
  76.            
  77.             webbrowser.open("https://www.bing.com/covid/local/unitedstates")
  78.  
  79.         if covidmapone2020choice == 2:
  80.            
  81.             webbrowser.open("https://coronavirus.jhu.edu/map.html")
  82.  
  83.  
RAW Paste Data