Http Request From Python Import Math Function