Are IPython Notebooks code or slides? (for licensing purpose) I prepared a short tutorial in IPython Notebook and want to release it on an open license. However, as it is something between code and slides, I do not know if Creative Commons licenses are suitable (they are not meant to be used for code) or should I rather something specific for code (say, MIT or BSD)?

If you are not familiar with IPython Notebook, it looks like that (not mine):


Introduction to Linear Regression (from this course)

Deep Dreams (with Caffe) - Google
While CC licenses aren't really appropriate for code, and code licenses aren't really appropriate for text, there's no real downside to assigning both kinds to the same material. This is "dual-licensing" (reasonably common for software), and it allows the reuser to choose whether they wish to use and redistribute your material under license A or license B.

They can then pick the particular license which is most appropriate for their purposes without having to (eg) try and work out how to apply the BSD license to a graph.

For example, you could use a license statement that says something like:


  This material is copyright Piotr Migdal and made available under the Creative Commons Attribution (CC-BY) license (link). Code is also made available under the MIT License (link).