获取一个国家所在的大陆的名称。
ContinentInfo的Python项目详细描述
大陆信息
continetinfo是python包,用于获取一个国家所在的大陆的名称。
安装
大陆信息需要最少的Python 2.7才能运行。
$ pip install ContinentInfo
使用量
$ from ContinentInfo import get_continent $ country_name= get_continent('India') $ country_name $ 'Asia'
许可证
版权所有(c)2019 Rohit Swami
此项目在麻省理工学院许可下获得许可-有关详细信息,请参见license.txt文件