Linked Questions

39 votes
6 answers
93k views

How do you run a python script from within notepad++? [duplicate]

When I'm using textmate, I simply hit "apple+r" and the program gets interpreted. How can I run a program from within notepad++? I see that F5 is for "Run", but pointing that to Python.exe simply ...
Chad's user avatar
  • 401
2 votes
1 answer
15k views

Running Python With Notepad++ [duplicate]

I have notepad++ version v6.9.1 and python 3.5 (32 bit). Running Windows 10. I need to be able to run my python code, but when I try to download the PyNPP plugin (this is what I use at school) it ...
Noah Anderson's user avatar
44 votes
4 answers
74k views

How do I run python 2 and 3 in windows 7? [duplicate]

Is there a way to install python 3 over an installation of python 2 without ruining anything? The main issue is that I have code that runs by "python xxxxx.py abc123". Is there a way to change python ...
SwimBikeRun's user avatar
  • 4,360
26 votes
13 answers
105k views

Using Notepad++ to compile Java code

I've been trying to set up Notepad++ as a little Java environment, mainly for learning Java as I was having some difficulty getting a simple program to work with NetBeans, unfortunately all the advice ...
Joseph's user avatar
  • 3,949
6 votes
5 answers
10k views

Why is sys.exit() causing a traceback?

According to How to exit from Python without traceback?, calling sys.exit() in a Python script should exit silently without a traceback. import sys sys.exit(0) However, when I launch my script from ...
Stevoisiak's user avatar
  • 25.8k
8 votes
2 answers
15k views

Getting user input while running a python script in atom

Not really sure whether I'm just not looking in the right place or whether this feature is yet to be implemented, but after installing the atom script package and testing it out on a program that ...
user avatar
3 votes
1 answer
8k views

Use IDLE to launch script using the full file path

I'm currently using Notepad++ to edit my python script, and I would like to be able to use a shortcut to make my script run in IDLE. Currently, I have: cd C:\Python32 pythonw.exe Lib\idlelib\idle.pyw ...
MikeKusold's user avatar
  • 1,632
24 votes
2 answers
3k views

pytest: how to explicitly enable a plugin in command line

Let's say I disabled a pytest plugin in my pytest.ini file like: [pytest] ... addopts= -p no:myplugin Now I would like to be able to enable it sometimes with command line arguments, something ...
eLRuLL's user avatar
  • 18.8k
1 vote
1 answer
2k views

How to execute a Python File that imports from files within it's own folder in Notepad ++?

I want to edit my code in notepad++ and be able to run it from there. However as my script imports library from it's own folder it's proving difficult. This is what the directory for the script look ...
Mattwmaster58's user avatar
-2 votes
2 answers
1k views

Python on Notepad++ : How to pass command line arguments?

"ValueError: need more than 1 value to unpack - Learn Python the Hard Way Ex: 13" This problem has been discussed a lot of times on this forum. Is there a way to pass on the arguments in the Notepad++...
A S's user avatar
  • 11
1 vote
2 answers
2k views

Issue with Python Batch file to run Python through Notepad++

EDIT: The code I wrote in my Python file was just this: print "foo" I'm using Windows XP Home Premium on this tiny little HP Mini 1000, and I want to run Python files, since we're learning it in ...
RickyAYoder's user avatar
0 votes
3 answers
996 views

bash on Ubuntu on windows Linux, folder recognition, and running Python scripts

I'm new to Linux. I recently downloaded Bash on Ubuntu on Windows 10 (after the Anniversary edition update to Windows 10). Since this update is relatively new, there is not much online regarding ...
tpoh's user avatar
  • 361
0 votes
1 answer
942 views

Running a python script in notepad ++ doesn't work and other posts doesn't work

Recently, (Half an hour ago) I downloaded Notepad++ to code in rather than IDLE. Just to see if everything works out I created this simple program to test def test(): print("hello") test() I ...
ImpendingStorm's user avatar
0 votes
2 answers
551 views

How can I sync Notepad++ and Python shell?

I prefer Notepad++ for programming but python's shell is really a quick way to view immediate results. Running the program from inside of notepad and locating the file everytime is too much time ...
bzal's user avatar
  • 203
1 vote
2 answers
285 views

Python: Running Code from Notepad++ to the Python Console [duplicate]

I'm attempting a small coding project; a simple encryption program. I was wondering if I would be able to directly run my Python code from Notepad++, or if there is a different program that could do ...
Kevin McKraken's user avatar

15 30 50 per page