Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python create a function with optional parameter

def some_function (self, a, b, c, d = None, e = None, f = None, g = None, h = None):
    #code
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #create #function #optional #parameter
ADD COMMENT
Topic
Name
3+4 =