I’d like to be able to include python code snippets in Excel (ideally, in a nice format — all colors/formats should be kept the same).
What would be the best way to go about it?
EDIT: I just want to store python code in an Excel spreadsheet for an easy overview — I am not going to run it — just want it to be nicely visible/formatted as part of an Excel worksheet.
I think that gist (from github) is precisely what you are looking for. From the description: