keyboard-shortcuts

Key shortcut for running python file in VS code

Key shortcut for running python file in VS code Question: In VS Code, I’m writing python code. I was wondering if there is a key shortcut to run the file instead of pressing the run button in the right top corner of the screen constantly. Asked By: erwindenboer || Source Answers: You can press Ctrl …

Total answers: 3

How to move Jupyter notebook cells up/down using keyboard shortcut?

How to move Jupyter notebook cells up/down using keyboard shortcut? Question: Anyone knows keyboard shortcut to move cells up or down in Jupyter notebook? Cannot find the shortcut, any clues? Asked By: Burhan || Source Answers: The following solution works on JupyterLab (I currently have version 2.2.6): You must first open the Keyboard Shortcuts configuration …

Total answers: 6

Python tkinter (copy/paste not working with other languages)

Python tkinter (copy/paste not working with other languages) Question: I found out that whenever i switch the language from english to russian tkinter stops reacting to Ctrl+C, Ctrl+V or Ctrl+X. It still works when i switch back to english, even if the text is in russian. I tried all code snippets i could find on …

Total answers: 3

Keyboard shortcuts with tkinter in Python 3

Keyboard shortcuts with tkinter in Python 3 Question: I’ve created a menubar in Python 3, and I’m wondering how to add keyboard shortcuts and accelerators to it. Like hitting “F” for File Menu and whatnot. Through some digging around I found the “underline=” attribute, but it doesn’t seem to work in Python 3. It didn’t …

Total answers: 2

Delete cell ipython 2.0

Delete cell ipython 2.0 Question: There is probably a very easy solution to this but I’m not sure what it is. Delete cell command in IPython 1.2 used to be: ctrl-m d according to the help menu in version 2.0 it says, Shift-d: delete cell(press twice) I’ve tried holding shift then pressing d twice and …

Total answers: 2