title: How to exit Python script in Command Prompt?
body: <p>On previous computers, when I would try to exit a Python script on the Windows command prompt, all you need to do is press <kbd>ctrl</kbd>+<kbd>c</kbd>.</p>
  <p>But when I do that on my computer it tells me &quot;KeyboardInterrupt&quot;:</p>
  <pre><code>C:\Windows\System32
  &gt;python
  Python 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 07:18:10) [MSC v.1900 32 bit (Intel)] on win32
  Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.
  &gt;&gt;&gt; [I press ctrl+c]
  KeyboardInterrupt
  &gt;&gt;&gt;
  </code></pre>
  <p>So how do I fix this so I can exit the Python script?</p>
  <p>Thanks.</p>
  <p><strong>Edit</strong>:<br />
  <kbd>ctrl</kbd>+<kbd>z</kbd> works, but I need to enter it as code. Was hoping for a quick and easy way to just exit the script, but oh well.</p>