During the process of operating pycharm, many novice partners said that they do not know how to add program configuration files. So how do you add program configuration files to pycharm? The editor below will share with you the detailed method of adding program configuration files to pycharm.
First use pycharm to create a new project. The startup file in the project is as shown in the figure.
A startup configuration file is added to the project, as shown in the figure. The configuration file lists the database connection information.
Next, let’s take a look at how to attach this configuration file at startup. First, find the Run—>Edit Configurations option in the menu bar.
After clicking, a configuration window will pop up, as shown in the figure. In the configuration window, the editor will automatically locate your startup entry file.
Add the address of our configuration file in the red box below, as shown in the figure:
Note that the added address is preceded by config, which must be written, otherwise an error will be reported.
Finally, we start and take a look at the output. You will see that our configuration file has been loaded, as shown in the figure:
The above is the detailed method of adding program configuration files to pycharm brought to you by the editor. Let’s learn together. I believe it can help some new users.