I am trying to modify the default Python compiler / run command in Gayani.
Some searches have indicated that I will need to modify the last two lines of /usr/share/geany/filetypes.python as follows
# compiler = python - M py_compile "% f" # run_cmd = python "% F" compiler = python3 -c "import py_compile; py_compile.compile ('% f')" run_cmd = python3 "% f"
After resuming Geany, Build -> and; Set up Build command
still shows the old commands and tries to run the PI3 script. First of all: Do not change the global configuration for something like this, because it will change the default behavior for all system users and may be confusing.
Change the file inside the file /usr/share/geany/filetypes.python
to your ~ / .config / geany / fileefs / filetypes.python
.
When using the menu Build-> set build command
it will also be saved there, in reality, there is no need to update the file manually, but via the menu To It will also benefit, the change will appear without restarting Ganni
No comments:
Post a Comment