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.
pythoncode in a worksheet (say, in a textbox), for reference purposes and easy overview of the code. I want the code to be easy to view, with colors etc.