I am working on pulling weather data from a number of sources online, here is some of my code to get this data.
import wunderground as wg
import weatherScraper as wp
def main():
wg.main()
ws.main()
if (__name__ == "__main__"):
main()
Both of the main functions contain sleep functions. I was wondering if it would be possible to run both simultaneously? Currently it runs one, has the sleep function activate, and such.