2019-08-14 14:11:25 +00:00
|
|
|
print("Yep, I got imported.")
|
|
|
|
|
|
|
|
try:
|
|
|
|
x = const(1)
|
|
|
|
except NameError:
|
2020-03-23 02:26:08 +00:00
|
|
|
print("const not defined")
|
2019-08-14 14:11:25 +00:00
|
|
|
|
|
|
|
const = lambda x: x
|
|
|
|
|
|
|
|
_CNT01 = "CONST01"
|
|
|
|
_CNT02 = const(123)
|
|
|
|
A123 = const(123)
|
|
|
|
a123 = const(123)
|
|
|
|
|
2020-03-23 02:26:08 +00:00
|
|
|
|
2019-08-14 14:11:25 +00:00
|
|
|
def dummy():
|
|
|
|
return False
|
|
|
|
|
2020-03-23 02:26:08 +00:00
|
|
|
|
2019-08-14 14:11:25 +00:00
|
|
|
def saysomething():
|
|
|
|
print("There, I said it.")
|
|
|
|
|
2020-03-23 02:26:08 +00:00
|
|
|
|
2019-08-14 14:11:25 +00:00
|
|
|
def neverexecuted():
|
|
|
|
print("Never got here!")
|
|
|
|
|
2020-03-23 02:26:08 +00:00
|
|
|
|
2019-08-14 14:11:25 +00:00
|
|
|
print("Yep, got here")
|