コード例 #1
0
ファイル: weather.py プロジェクト: martygrant/mungo
 def __init__(self, bot):
     self.bot = bot
     self.weather_object = w(unit=Unit.CELSIUS)
     self.degree_sign = u'\N{DEGREE SIGN}'
     self.default_city = 'glasgow'
コード例 #2
0
ファイル: test.py プロジェクト: bernatbonet/weather-forecast
 def test_1(self):
     city = 'Palma'
     w(city)
コード例 #3
0
ファイル: test.py プロジェクト: bernatbonet/weather-forecast
 def test_2(self):
     city = 'NewYork'
     w(city)
コード例 #4
0
ファイル: test.py プロジェクト: bernatbonet/weather-forecast
 def test_3(self):
     city = 'kjabfifnbweq'
     w(city)