{"id":617,"date":"2015-07-27T21:14:08","date_gmt":"2015-07-27T20:14:08","guid":{"rendered":"http:\/\/axotron.se\/blog\/?p=617"},"modified":"2015-07-27T21:15:33","modified_gmt":"2015-07-27T20:15:33","slug":"solution-to-very-slow-keyboard-response-in-ipython","status":"publish","type":"post","link":"https:\/\/axotron.se\/blog\/solution-to-very-slow-keyboard-response-in-ipython\/","title":{"rendered":"Solution to Very Slow Keyboard Response in IPython"},"content":{"rendered":"<p>I am starting to use Python (on Windows) and am running IPython as well as pylab and matplotlib. I had a problem though, keyboard input in IPython was very slow (maybe half a second delay for each character). This was extra noticeable when pasting e.g. a path. After some googling around, I found this discussion:<\/p>\n<p><a href=\"https:\/\/groups.google.com\/a\/continuum.io\/forum\/#!topic\/anaconda\/kvWVtW40aDI\" target=\"_blank\">https:\/\/groups.google.com\/a\/continuum.io\/forum\/#!topic\/anaconda\/kvWVtW40aDI<\/a><\/p>\n<p>There, they say that starting IPython using the following command could help:<\/p>\n<pre>ipython console --pylab<\/pre>\n<p>I adapted this to Windows by right-clicking the on the IPython icon in the start menu and added<\/p>\n<pre>console --pylab<\/pre>\n<p>to the string in the target field so that it reads:<\/p>\n<pre>C:\\Anaconda\\python.exe \"C:\\Anaconda\\Scripts\/ipython-script.py\" console --pylab<\/pre>\n<p>When I now start IPython through this shortcut, the delay is almost completely gone! When I paste in a string, it might take a tenth of a second or so for 20 characters to be pasted, which is not really fast, but still well below the limit for being annoying and a vast improvement over the previous situation.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am starting to use Python (on Windows) and am running IPython as well as pylab and matplotlib. I had a problem though, keyboard input in IPython was very slow (maybe half a second delay for each character). This was extra noticeable when pasting e.g. a path. After some googling around, I found this discussion: &hellip; <a href=\"https:\/\/axotron.se\/blog\/solution-to-very-slow-keyboard-response-in-ipython\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Solution to Very Slow Keyboard Response in IPython<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-617","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/axotron.se\/blog\/wp-json\/wp\/v2\/posts\/617","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/axotron.se\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/axotron.se\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/axotron.se\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/axotron.se\/blog\/wp-json\/wp\/v2\/comments?post=617"}],"version-history":[{"count":2,"href":"https:\/\/axotron.se\/blog\/wp-json\/wp\/v2\/posts\/617\/revisions"}],"predecessor-version":[{"id":619,"href":"https:\/\/axotron.se\/blog\/wp-json\/wp\/v2\/posts\/617\/revisions\/619"}],"wp:attachment":[{"href":"https:\/\/axotron.se\/blog\/wp-json\/wp\/v2\/media?parent=617"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/axotron.se\/blog\/wp-json\/wp\/v2\/categories?post=617"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/axotron.se\/blog\/wp-json\/wp\/v2\/tags?post=617"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}