Initial commit
This commit is contained in:
1 parent
82e815fab2
commit
7d4b30154a
259 files changed
+600233
-2
No files matched your search
@@ -0,0 +1,15 @@
|
||||
# simplemod.py
|
||||
|
||||
x = 42 # A global variable
|
||||
|
||||
# A simple function
|
||||
def foo():
|
||||
print("x is %s" % x)
|
||||
|
||||
# A simple class
|
||||
class Spam:
|
||||
def yow(self):
|
||||
print('Yow!')
|
||||
|
||||
# A scripting statement
|
||||
print("Loaded simplemod")
|
||||
Reference in new issue
Block a user