When you load in the browser and search for an address, the URL in the address bar looks something like this: address is in the URL, but there’s a lot of additional text there as well. If there are no command line arguments, then the program will know to use the contents of the clipboard.įirst you need to figure out what URL to use for a given street address. the script will use the command line arguments instead of the clipboard.
Based on the instructions in Appendix B, set up mapIt.py so that when you run it from the command line, like so.Ĭ:\> mapit 870 Valencia St, San Francisco, CA 94110