Reducing repetitiveness has made this code harder to read. I had to think about
what it is doing. It might be slightly faster, but in my opinion it is not
worth it.
--- Joseph S.
Teledyne Confidential; Commercially Sensitive Business Data
-Original Message-
From: Stefan Ram
Sent:
Maybe you can't do this, but I would suggest only running on the Python 3
systems. Refuse to jump through hoops for the Python 2 system. It is years
out of date.
It is not hard to upgrade from Python 2 to Python 3. There is a 2to3 utility,
and after that there should be very few things you wa
Floating point will always be a can of worms, as long as people expect it to
represent real numbers with more precision that float has. Usually this is not
an issue, but sometimes it is. And, although this example does not exhibit
subtractive cancellation, that is the surest way to have less p
I head a small software team much of whose output is Python. I would
gratefully accept any of the formats you show below. My preference is #1.
--- Joseph S.
Teledyne Confidential; Commercially Sensitive Business Data
-Original Message-
From: Paulo da Silva
Sent: Saturday, October
The way we do this, is in main.py, call a "globalizer" function in each other
file:
# call globalizers to get shortcuts as global variables
funcs.globalizer(interface, variable_dict)
util.globalizer(interface, variable_dict)
sd.globalizer(interface, variable_dict)
tests.global
Why would this application *require* parallel programming? This could be done
in one, single thread program. Call time to get time and save it as
start_time. Keep a count of the number of 6 hour intervals, initialize it to
0.
Once a second read data an append to list. At 6 hours after st