Adrian M
Adrian M

Reputation: 761

Pycharm console startup script not working

I'm using PyCharm Community Edition 4.0.4 on a Macbook running Mavericks. Under Preferences > Build, Execution, Deployment > Console > Python Console there is a text area to input a starting script. Initially it contains import sys; followed by a print statement that prints the file path of the Python framework as well as the file path of the current file. However, when I alter or delete the print statements in this section, and then hit apply and OK, nothing changes in my python console output. I have tried restarting Pycharm and then running a hello world program, but the initial starting script output is still there.

I am just running a simple hello world program, with one package and two files (the other being the default __init__.py). How can I alter the starting script correctly?

Upvotes: 2

Views: 3771

Answers (1)

Nafiul Islam
Nafiul Islam

Reputation: 82590

You want to change the startup scripts then. Change called "Starting Script":

enter image description here

Upvotes: 3

Related Questions