Python Using Databases in Python Gettin' CRUD-y With It Add An Entry

Brice Roberts
Brice Roberts
22,415 Points

For anyone getting EOF errors when trying to use PyCharm

In your menu bar

Select Run>Edit Configurations

Tick the box for Emulate Terminal in Output Console under the Execution header.

ReRun, and then add your entry. When you are finished, enter CTRL+D and then hit enter. Your application will run as intended.

This will stop PyCharm from sending the incorrect EOF signal to the console.

1 Answer

My solution for Mac users.

In menu bar select PyCharm>Preferences>Keymap , search for EOF. Click Add Keyboard Shortcut. I used ⌘I because there is conflict with ⌘D.

After you run , type your entry, hit ⌘I and after that hit Enter.