Skip to content

vitalib/3_bars

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Closest bar

Prints bars with maximum and minimum quantity of seats, displays information about the bar that is the closest to given gps coordinates.

How to utilize

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-00

Launching on Windows is the same

Purposes of project

Code is created for learning purposes. Within the framework of web development learning course DEVMAN.org

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%