How do I reload a module after changing it?

You can instruct Pycharm to automatically reload modules upon changing by adding the following lines to settings->Build,Excecution,Deployment->Console->Python Console in the Starting Script: %load_ext autoreload %autoreload 2 Update: This function requires IPython (pip install ipython) as described here: Reloading submodules in IPython

PyCharm: Remote Development

This configuration is simpler than it seems. Creating a server configuration: specifying its name, type, and visibility Open the Deployment page: On Mac ⌘, on Windows and Linux File | Settings and click Deployment under Build, Execution, Deployment. Choose Tools | Deployment | Configuration on the main menu. (see image below) In the left-hand pane, … Read more

How can I force PyCharm to inspect the requirements.txt file and suggest updates?

I tried opening any .py file, checking Package requirements file field (Settings – Tools – Python Integrated Tools). Nothing triggered my PyCharm on Windows to detect a new dependency added to requirements.txt. Since the virtual environment was created with PyCharm’s Add Local, trying to get pip to work for the virtual environment with a Windows … Read more

PyCharm hide files by pattern

Settings/Preferences | Editor | File Types –> Ignore files and folders This will permanently hide all of such files. Since this is an IDE-wide setting, it will affect ALL projects and such files will be excluded from the project. Alternatively — use Settings/Preferences | Appearance & Behavior | Scopes and define custom scope with desired … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)