Re: Importing constantly changing variables

2015-12-26 Thread Ian Kelly
On Sat, Dec 26, 2015 at 8:14 AM, wrote: > As you can see, I want the program to print all values each 5 seconds. > When I run the file "main.py" it does print values every 5 seconds, BUT when > I manually change > the values (e.g. airTemperture = 30 instead of 24) and

Importing constantly changing variables

2015-12-26 Thread ariklapid . swim
Hello everyone ! First of all, excuse me for my horrible English. I am an electronics engineering student, trying to use raspberry pi for one of my projects. Meanwhile, my goal is simply to create a pair of files, written in python, which would do the following: A file named "sensors.py"

Re: Importing constantly changing variables

2015-12-26 Thread Ben Finney
ariklapid.s...@gmail.com writes: > Hello everyone ! > First of all, excuse me for my horrible English. As is often the case with people who make this apology, your English is far better than most native English speakers can use any other language :-) > A file named "sensors.py" imports varying