Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7504815
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T21:41:55+00:00 2026-05-29T21:41:55+00:00

I want If I am editing a php file I should be able to

  • 0

I want If I am editing a php file I should be able to press a key combination or click a menu item that’ll launch the php-cli and run my current file? How do I do it in Notepad++.

Also I need this for Python.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T21:41:57+00:00Added an answer on May 29, 2026 at 9:41 pm

    I honestly don’t recommend installing an IDE for Python unless you use it for large-scale projects or work on large, complex scripts on a daily basis. Notepad++ works great with the NppExec plugin. I use the following steps:

    1. Download (if it does not already exist) the NppExec plugin and place the .dll file in [Notepad++ installation path]\plugins

    2. Open a Python file in Notepad++, press F6 to execute

    3. Type the following lines in the window that pops up:

      NPP_SAVE
      python "$(FULL_CURRENT_PATH)"
      
    4. The above lines basically tell NppExec to “save the current Python file and run it using the version of python that first appears in the path environment variables“

    5. Click on “Save” and type in a recognizable name such as ‘run_python’

    6. Go to the menubar, Plugins -> NppExec -> Advanced Options..

    7. Under ‘Menu item’, choose the script we just created above, and ‘Add/Modify’ it to the Menu items with a suitable name. This allows us to assign shortcut keys through Settings -> Shortcut Mapper -> Plugin commands

    8. Navigate to the script name and choose any shortcut keys like Ctrl+R

    9. Use the shortcut Ctrl+R to save and run the Python file

    A few points to note when using NppExec:

    • Make sure that you check the option Plugins -> NppExec -> Follow $(CURRENT_DIRECTORY). This makes sure that Python looks for the script in the current path, not the Notepad++ path.

    • The console window that docks to the main editor window does not have word wrap turned on by default. Use Ctrl+W within the console to activate word wrap and not miss any useful output data

    • Kill a running Python script by pressing Ctrl+C within the console window

    Once all this is done, Notepad++ basically functions like an IDE. It may lack features like pdb debugging, but it works really well with Python. I’m pretty sure the execution steps for Perl/PHP scripts are also more or less similar.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to item's subcatory selected when editing category: <?php function categoryFormEdit() { $ID
Basically, I'm editing files that have include file names and I want a quick
I am editing a vba program and want to code the vba to click
I want to add a row of headers to an existing CSV file, editing
I want to make a PHP class, lets say Myclass.php. Now inside that class
So I'm editing the index.php in my WP theme's folder, essentially what I want
I want to print simple text file (no style, formatting ) ,such that it
I have a form for editing notifications that looks like: <form action='edit.php' method =
I want to parse (in a special way) a CSS file with PHP. Example:
I want to ensure a user isn't editing the same form data in two

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.