It indeed depends on the OS, and probably on the version of Python you are using.
As you mentioned, ctrl+C does not work on your Windows 10 with Python 3.6, but it does work on my Windows 10 with Python 3.4. Therefore, you really need to try and see what works for you.
Try the following commands, and keep the one that works:
- ctrl+C
- ctrl+D
- ctrl+Z then Return
In addition, the following should work with any terminal:
exit()
then Returnquit()
then Return
Trivia: if you type quit
and hit Return, the console tells you, at least for Python 3.4:
Use quit() or Ctrl-Z plus Return to exit
Related Posts:
- ow can I find where Python is installed on Windows?
- Python virtualenv questions
- Python command not working in command prompt
- PermissionError: [WinError 5] Access is denied python using moviepy to write gif
- PermissionError: [WinError 5] Access is denied python using moviepy to write gif
- “python” not recognized as a command
- Python not working in the command line of git bash
- ‘pip’ is not recognized as an internal or external command
- Why is “MINGW64” appearing on my Git bash?
- Using %PROGRAMFILES(x86)% on Windows OS 32bit
- how to get program files x86 env variable?
- Difference between masm32 and masm?
- How do I start PowerShell from Windows Explorer?
- Tensorflow import error: No module named ‘tensorflow’
- A fatal error occurred while creating a TLS client credential. The internal error state is 10013
- How can I install pip on Windows?
- PermissionError: [Errno 13] Permission denied
- What does “@” mean in Windows batch scripts
- Permanently add a directory to PYTHONPATH?
- What are good grep tools for Windows? [closed]
- How to run a PowerShell script
- How to add to the PYTHONPATH in Windows, so it finds my modules/packages?
- How do I install and use cURL on Windows?
- How to list files in windows using command prompt (cmd). I’ve tried using ‘ ls ‘ as in Linux but it shows an error?
- Can’t connect to MySQL server on ‘localhost’ (10061) after Installation
- Setting Windows PowerShell environment variables
- Can’t connect to MySQL server on ‘localhost’ (10061) after Installation
- Why is Windows 32-bit called Windows x86 and not Windows x32?
- How to run a PowerShell script
- How can I open a cmd window in a specific location?
- anaconda – path environment variable in windows
- Python 3.2 Unable to import urllib2 (ImportError: No module named urllib2)
- Create an empty file on the commandline in windows (like the linux touch command)
- How to remove anaconda from windows completely?
- How to solve “The directory is not empty” error when running rmdir command in a batch script?
- “X does not name a type” error in C++
- what is a “dump file” in windows task manager?
- Python 3.2 Unable to import urllib2 (ImportError: No module named urllib2)
- How do I run Redis on Windows?
- Need to navigate to a folder in command prompt
- How do I create a Batch file to change an exe installer to Win XP SP3 compatibility mode and launch installer
- How to clear the interpreter console?
- How to install pip3 on Windows?
- Using putty to scp from windows to Linux
- Python Setup Disabling Path Length Limit Pros and Cons?
- How to clear the interpreter console?
- Installing tensorflow with anaconda in windows
- ‘npm’ is not recognized as internal or external command, operable program or batch file
- error: Unable to find vcvarsall.bat
- error: Unable to find vcvarsall.bat
- how to open an mp3 file with c
- What languages are Windows, Mac OS X and Linux written in?
- “OverflowError: Python int too large to convert to C long” on windows but not mac
- How to run a makefile in Windows?
- ‘pip3’ is not recognized as an internal or external command, operable program or batch file
- Command Prompt “Net View System Error 6118”
- git clone: Authentication failed for
- How to compile LEX/YACC files on Windows?
- How to run ‘sudo’ command in windows
- Batch script loop
- What is the ‘realtime’ process priority setting for?
- Verify return code: 20 when testing OpenSSL
- Git Bash won’t run my python files?
- How to install xgboost in Anaconda Python (Windows platform)?
- Command ‘ls’ not working in command prompt
- Command line for looking at specific port
- “OverflowError: Python int too large to convert to C long” on windows but not mac
- How to uninstall a Windows Service when there is no executable for it left on the system?
- openssh windows bad owner or permissions
- What is the default password for Postgres
- “X does not name a type” error in C++
- Windows Activator .bat Text
- How To Activate Windows 10
- ‘npm’ is not recognized as internal or external command, operable program or batch file
- how to edit or see the source code for dll files
- What is the difference between Cygwin and MinGW?
- No Module Named ‘_pywrap_tensorflow_internal’
- Text editor to open big (giant, huge, large) text files
- UnicodeDecodeError: ‘charmap’ codec can’t decode byte X in position Y: character maps to
- Using GNU Scientific Library (GSL) under Windows x64 with MinGW
- Xampp MySQL not starting – “Attempting to start MySQL service…”
- Visual C++ executable and missing MSVCR100d.dll
- How to install pytorch in windows?
- Python 3.2 Unable to import urllib2 (ImportError: No module named urllib2)
- Can’t start hostednetwork
- What is the ASCII Code of ½?
- Docker for Windows error: “Hardware assisted virtualization and data execution protection must be enabled in the BIOS”
- Why Local Users and Groups is missing in Computer Management on Windows 10 Home?
- How to force `findstr` to ignore `Cannot open` returns
- Npm Please try using this command again as root/administrator
- Choosing a Windows automation scripting language. AutoIt vs Autohotkey
- How to install PyQt5 on Windows?
- How to stop Python closing immediately when executed in Microsoft Windows
- “ImportError: No module named site” on Windows
- How to downgrade the installed version of ‘pip’ on windows?
- sudo command not found on Cygwin
- Pip – Fatal error in launcher: Unable to create process using ‘”‘
- OpenSSL: PEM routines:PEM_read_bio:no start line:pem_lib.c:703:Expecting: TRUSTED CERTIFICATE
- python pip on Windows – command ‘cl.exe’ failed
- Windows- Pyinstaller Error “failed to execute script ” When App Clicked