@@ -0,0 +1,569 @@
+import subprocess%0A%0Adef dl_osm_from_extents(xmax, xmin, ymax, ymin):%0A%0A    # overpass url for grabbing data%0A    url = 'http://overpass-api.de/api/map?bbox=' + str(xmin) + ',' + str(ymin) + ',' + str(xmax) + ',' + str(ymax)%0A%0A    # send the request%0A    subprocess.call(%5B%22wget%22, url%5D)%0A%0A    # temp name, since it returns it as this string%0A    temp_name = 'map?bbox=' + str(xmin) + ',' + str(ymin) + ',' + str(xmax) + ',' + str(ymax)%0A%0A    # rename to map.osm.xml for future use!%0A    subprocess.call(%5B%22mv%22, temp_name, %22map.osm.xml%22%5D)%0A%0A# e.g.%0Adl_osm_from_extents(-77,-78,45,46)%0A

Create dl_osm_from_extents.py