genic in pthon