Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| #!/bin/bash | |
| ### | |
| ### my-script — does one thing well | |
| ### | |
| ### Usage: | |
| ### my-script <input> <output> | |
| ### | |
| ### Options: | |
| ### <input> Input file to read. | |
| ### <output> Output file to write. Use '-' for stdout. |
| #!/usr/bin/env python3 | |
| import asyncio | |
| import time | |
| import aiohttp | |
| START = time.monotonic() | |
| #!/usr/bin/python | |
| import datetime | |
| import json | |
| import re | |
| import requests | |
| import time | |
| USER_AGENT_HEADER = {'User-Agent': 'nfl-fast-tweets/1.0'} |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000