Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to call a random function in python

import random

my_list = [func_test_1, func_test_2, func_test_3]
random.choice(my_list)()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #call #random #function #python
ADD COMMENT
Topic
Name
1+7 =