DEV Community

Pizofreude
Pizofreude

Posted on • Edited on

1

Quick Notepad++ Setup for Python

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

Using online compiler 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 saved it as "Run Python" or whatever you like:
 python -i "$(FULL_CURRENT_PATH)"
Enter fullscreen mode Exit fullscreen mode
  1. Set a hotkey for that. I set ctrl+F5 for that.
  2. Now simply test any code you want in Notepad++, saves it and hit ctrl+F5 to run the python code. Done.

Top comments (0)

Build gen AI apps that run anywhere with MongoDB Atlas

Build gen AI apps that run anywhere with MongoDB Atlas

MongoDB Atlas bundles vector search and a flexible document model so developers can build, scale, and run gen AI apps without juggling multiple databases. From LLM to semantic search, Atlas streamlines AI architecture. Start free today.

Start Free

👋 Kindness is contagious

Explore this insightful write-up, celebrated by our thriving DEV Community. Developers everywhere are invited to contribute and elevate our shared expertise.

A simple "thank you" can brighten someone’s day—leave your appreciation in the comments!

On DEV, knowledge-sharing fuels our progress and strengthens our community ties. Found this useful? A quick thank you to the author makes all the difference.

Okay