#[SOLVED] Is it possible to reload python scripts (eg AFC_form_tip.py) without restarting?

1 messages · Page 1 of 1 (latest)

faint nimbus
#

I'd like to try changes to scripts such as AFC_form_tip.py without having to restart the system in order to see their effects. Is it possible to reload these scripts via CLI or GUI such that I can iterate more quickly?

grand brook
faint nimbus
#

I'm making changes to the actual python script, not just the variables.

#

AFC_form_tips as an example, I'd like to be able to tinker with all of the files if possible

grand brook
#

oh you should be able to just restart klipper to load the new changes. Either with a service restart or on the gui in the top right of mainsail.

faint nimbus
#

When I had applied changes to configuration files through 'save and restart' the changes to the python script were not reflected

#

To clarify, I had made changes to the configuration and the python script but only saw the effects of the configuration changes until the device was restarted

grand brook
#

Try this it will restart the klipper service which should load the changes

faint nimbus
#

I'm checking now, I appreciate the assistance

#

Excellent, that worked. I wonder if this is comparable to systemctl restart klipper

#

I thought I had tried the service route before but this took care of it after a 'firmware restart' as well

#

thanks for the help!

#

[SOLVED] Is it possible to reload python scripts (eg AFC_form_tip.py) without restarting?

faint nimbus
gentle wave