Skip to main content

Quick Notepad++ Setup for Python

Updated 1 min readMarkdown
Quick Notepad++ Setup for Python

Sometimes using built-in Python IDLE isn't so quick after all for testing code blocks.

Using online compilers such as Programmiz is limited by the library available. Need to use import os? Sorry NO-GO.

Luckily, Notepad++ comes to the rescue with a very concise setup:

  1. Go to the Run tab in Notepad++

  2. Click Run...

  3. Enter the following command and save it as "Run Python" or whatever you like:

 python -i "$(FULL_CURRENT_PATH)"
  1. Set a hotkey for that. I set ctrl+F5 for that.

  2. Now simply test any code you want in Notepad++, save it and hit ctrl+F5 to run the Python code. Done.

About the author

  • I use tech to simplify tasks, one stack at a time. Exploring ways to optimize my analytics workflow by integrating customize agentic workflow to shorten lead time by 10x. I work in automotive, mechanical & aerospace industries, e-commerce, and Web3 industries. I advocate for FOSS, full stack, Velo cycling and technical writing. Let's connect and collaborate on projects.

No comments yet. Be the first to comment.