Prints bars with maximum and minimum quantity of seats, displays information about the bar that is the closest to given gps coordinates.
Script requires Python3.5
Launching on Linux
$ python bars.py <filepath> # possibly requires call of python3 executive instead of just python
Smallest bar:
Name : БАР. СОКИ
Address : Дубравная улица, дом 34/29
SeatsCount : 0
Phone : (495) 258-94-19
Biggest bar:
Name : Спорт бар «Красная машина»
Address : Автозаводская улица, дом 23, строение 1
SeatsCount : 450
Phone : (905) 795-15-84
Please input yr gps coordinates: 37.1 58.2
The closest bar for you is:
Name : Бар «Адамов Роман Анатольевич»
Address : 2-й Западный проезд, дом 2
SeatsCount : 24
Phone : (000) 000-00-00Launching on Windows is the same
Code is created for learning purposes. Within the framework of web development learning course DEVMAN.org