Brown Bakani
Brown Bakani

Reputation: 11

creating python files from pycharm terminal

How does one create a python file from pycharm terminal.In VS Code they use "code {name}" so I want something similar to that but in pycharm.

I am getting an error "zsh:command not found:code"

Upvotes: 0

Views: 1262

Answers (2)

AVINASH SRIVASTAVA
AVINASH SRIVASTAVA

Reputation: 18

  1. Setting->Keymap
  2. Search "new"
  3. Under "Pyhon Community Edition" there will be an option for "Python File"
  4. Add a new shortcut to this option (SHIFT+N is usually unassigned)

Upvotes: 0

Jacob Kearney
Jacob Kearney

Reputation: 431

you can create a python file from the pycharm terminal just by typing

touch myPythonFile.py

Upvotes: 3

Related Questions