I am using an online jupyter notebook that is somehow configured to read all .py files as jupyter notebook files:

I am a big fan of this setup and would like to use it everywhere. On my own jupyter installation however, .py files are just interpreted as test files and are not by default loaded into jupyter cells. How can I achieve the same configuration for my jupyter notebook?
