I've got some .py and etc. file with code.
How to open it in powershell as text? I mean using invoke-item allows to open .txt in notepad but code.py will be executed using python.
So how to open it using powershell but in notepad at least(in notepad++ preferably)
notepad.exe your_file.py. If notepad++ is on your PATH then you should be able to do something very similar to open it with that application.