In [17]:
#first we pickle Rick 
import pickle

rick = """
class Rick:  # Définition de notre classe Personne
    def __init__(self):  # Notre méthode constructeur
        print("Pickle Riiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiick")
        self.name = "Sanchez"
        self.pic = "iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAKL2lDQ1BJQ0MgcHJvZmlsZQAASMedlndUVNcWh8+9d3qhzTDSGXqTLjCA9C4gHQRRGGYGGMoAwwxNbIioQEQREQFFkKCAAaOhSKyIYiEoqGAPSBBQYjCKqKhkRtZKfHl57+Xl98e939pn73P32XuftS4AJE8fLi8FlgIgmSfgB3o401eFR9Cx/QAGeIABpgAwWempvkHuwUAkLzcXerrICfyL3gwBSPy+ZejpT6eD/0/SrFS+AADIX8TmbE46S8T5Ik7KFKSK7TMipsYkihlGiZkvSlDEcmKOW+Sln30W2VHM7GQeW8TinFPZyWwx94h4e4aQI2LER8QFGVxOpohvi1gzSZjMFfFbcWwyh5kOAIoktgs4rHgRm4iYxA8OdBHxcgBwpLgvOOYLFnCyBOJDuaSkZvO5cfECui5Lj25qbc2ge3IykzgCgaE/k5XI5LPpLinJqUxeNgCLZ/4sGXFt6aIiW5paW1oamhmZflGo/7r4NyXu7SK9CvjcM4jW94ftr/xS6gBgzIpqs+sPW8x+ADq2AiB3/w+b5iEAJEV9a7/xxXlo4nmJFwhSbYyNMzMzjbgclpG4oL/rfzr8DX3xPSPxdr+Xh+7KiWUKkwR0cd1YKUkpQj49PZXJ4tAN/zzE/zjwr/NYGsiJ5fA5PFFEqGjKuLw4Ubt5bK6Am8Kjc3n/qYn/MOxPWpxrkSj1nwA1yghI3aAC5Oc+gKIQARJ5UNz13/vmgw8F4psXpjqxOPefBf37rnCJ+JHOjfsc5xIYTGcJ+RmLa+JrCdCAACQBFcgDFaABdIEhMANWwBY4AjewAviBYBAO1gIWiAfJgA8yQS7YDApAEdgF9oJKUAPqQSNoASdABzgNLoDL4Dq4Ce6AB2A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JPMshJrvrc85sXlj29YbZiTOaT0jiu6BBce+iUKnvXLlocZ/QgISvmxvozPH2c31seG7wR24u/x1gI4eo7KkgkDQi1804qeya8mnRGVUzSqiYHsGoEHhhrAkIdwutuDDQ7tGzKU13Sz7dsTb9y97Nmd8Aj3BYpqzsPgNYVFobiZUdYYv6GvFz1LuDSM/67GbQ1cDfgNWHIdhR/j8kbNLaZRHs3AAAAABJRU5ErkJggg=="
rick = Rick()
"""
with open('Rick', 'wb') as f:
    pickle.dump(rick,f)
In [18]:
#then we load him with pickle and cheat with exec :
import pickle

with open('Rick', 'rb') as f:
    exec(pickle.load(f))

print(rick.name)
Pickle Riiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiick
Sanchez

so we have a pickle Rick now ...

source here

https://github.com/bussiere/PickleRick

In [20]:
from IPython.display import display, HTML
display(HTML('''<img src="data:image/png;base64,'''+rick.pic+'''">'''))