I would like to know if it is possible to run a python code directly within a notebook and transform it in a sagemath function. The problem is that I am nearly sure that is possible, but I do not know how to install it --- I am under windows an a poor programmer.
For instance if some one has to kindness to take as an exemple https://github.com/fordc5/PrisonersDilemmaCSWorkshop, it will be great.