Chage Host and Port of Flask in PyCharm
Additional options
--host=127.0.0.2 --port=1234
Daily Notes of a Programmer
Additional options
--host=127.0.0.2 --port=1234
The IntelliJ IDEA short-cut to reformat source code is Ctrl+Alt+L. This happens to lock the screen in KDE (Gnome too?). How can I disable this so IntelliJ receives the key sequence?
On KDE Plasma 5 go to System Settings | Desktop Behaviour | Screen Locking
Here you will find a “Keyboard Shortcut” option. Change it to something else or set to none
References
https://stackoverflow.com/questions/211043/disable-global-ctrl-alt-l-hotkey-in-kde
Additional options
--host=0.0.0.0 --port=1883
References
https://www.jetbrains.com/help/pycharm/run-debug-configuration-flask-server.html
fig: matplotlib.figure.Figure=plt.figure() ax: matplotlib.axes.Axes=fig.add_subplot(111)
or
fig, ax=plt.subplots() assert isinstance(fig,matplotlib.figure.Figure) assert isinstance(ax,matplotlib.axes.Axes)
Dictionary
from typing import Dict cache: Dict[str, TemplateProperties] = {}
References
https://www.jetbrains.com/help/pycharm/type-hinting-in-product.html