Skip to content

BUGGY: Never use "None" instead of None

THere it is: https://gitlab.aip.de/lketzer/platypos/-/blob/master/platypos_package/Planet_class_LoFo14.py#L62

just try:

print("None")
print(None)

... You see, it will be a nightmare for debugging

a = "None"

if a is None:
   print("Yes it is")
else:
   print("No it is not it is {}".format(a))

good luck ;)