What's the recommended way for a status bar to send a web request?
- iTerm2 version:Build 3.3.3beta2
- OS version: 10.14.6
Maybe I'm doing something wrong - I was wondering if there's a way for a status bar component to send a web request. I want to display the weather using the following API:
Detailed steps to reproduce the problem:
- New Python Script
import urllib2at the top
- try to invoke the script
ModuleNotFoundError: No module named 'urllib2'
What should have happened:
It should be imported?