main.py (527B)
1 # This is a sample Python script. 2 3 # Press Shift+F10 to execute it or replace it with your code. 4 # Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings. 5 6 7 def print_hi(name): 8 # Use a breakpoint in the code line below to debug your script. 9 print(f'Hi, {name}') # Press Ctrl+8 to toggle the breakpoint. 10 11 12 # Press the green button in the gutter to run the script. 13 if __name__ == '__main__': 14 print_hi('PyCharm') 15 16 # See PyCharm help at https://www.jetbrains.com/help/pycharm/