Yes. That is what you want by the looks of your code.Dangermoth wrote: ↑Mon Feb 26, 2018 1:07 pmSo if I type "wind_chill_max = 0" at the top of the code does this mean its a global value and not local?
Sorry for the stupid question, I'm still trying to get my head around Python after using C for many years.
Code: Select all
wind_chill = 0
wind_chill_max = 1
if wind_chill < wind_chill_max:
wind_chill_max = wind_chill;
Code: Select all
wind_chill_max = 0
Code: Select all
ifconfig
route
Code: Select all
cat /etc/resolv.confCode: Select all
topCode: Select all
sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADECode: Select all
channel=acs_surveyCode: Select all
sudo service dnsmasq statusCode: Select all
idle3Code: Select all
python3 --version