You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
424 B
33 lines
424 B
#!/usr/bin/python |
|
# -*- coding: utf-8 -*- |
|
|
|
def funkcion(): |
|
print "done" |
|
|
|
funkcion() |
|
|
|
|
|
def funkcion2(vvv): |
|
print vvv |
|
|
|
funkcion2("vav") |
|
|
|
|
|
def funkcion3(vvv): |
|
return vvv |
|
|
|
print funkcion3("vuv") |
|
out = funkcion3("viv") |
|
print out |
|
|
|
|
|
import sys # take argument from command line, handle if its not given |
|
def fromsys(this): |
|
print this |
|
|
|
thisinto = "" |
|
try: |
|
thisinto = sys.argv[1] |
|
except: |
|
pass |
|
fromsys(thisinto)
|
|
|