In Python, what is the best way to determine if an IP address (e.g., \'127.0.0.1\' or \'10.98.76.6\') is on a private network? The code does not s
\'127.0.0.1\'
\'10.98.76.6\'
If you want to avoid importing a module you can just apply a simple regex: