Ejemplo n.º 1
0
location = pygeoip.GeoIP( '.dat file here')

location.record_by_addr('IP address')


##############################################


# How to convert any currency values in python


from currency_converter import CurrencyConverter

c = CurrencyConverter()

c.Convert(1,"INR",'KRW')


##################################################



# how to play chess in python

import chess
board = chess.Board()
print(board)


# now we move some coins
NF3 = chess.move.from_uci("g1f3")