How can I receive error messages from the Python interpreter? -



How can I receive error messages from the Python interpreter? -

i write python code in notepad++, save .py file , run double clicking on file in windows.

however if there syntax errors in file, programme shuts down. no error message.

how can receive error messages regarding problems in program? also, what's best way code run python scripts?

when double-clicking .py file in windows, standard programme handler launched execute file. python interpreter, runs in console window. process finished—successful or not—the window closes again, doesn’t allow see error messages.

in order maintain around, run programme within command line, e.g. opening cmd.exe first , executing file there. way, when python process exists, output still visible.

python

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -