ФАЙЛ PYTHON:
Код: Выделить всё
#CENTRALCOAST: 2250-2420
#CENTRALCOAST2: 2250-2267
#NORTHERNBEACHES: 2084-2108
CentralCoast = []
NorthernBeaches = []
OOR = []
Invalid = []
import math
def numLen(num):
return len(str(abs(num)))
with open('postcodes.txt') as input_file:
long_list = [line.strip() for line in input_file]
for i in range(len(long_list)):
long_list[i] = int(long_list[i])
for each in long_list:
if 2084
Подробнее здесь: [url]https://stackoverflow.com/questions/48617861/app-made-using-pyinstaller-closes-straight-away[/url]
Мобильная версия