0

I recently updated PyCharm to its new version (2021.3.2) and realized that I cannot use the command %run anymore in a console to run a file. Previously, I was using such command with arguments as follows:

%run file.py --arg1 False --arg2 0.5

How can I do the same in the new PyCharm?

1

1 Answer 1

1

%run is a magic command from IPtyhon. I had to install the package in PyCharm to use such command.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.