Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

__all__ python

__all__ = ['bar', 'baz']

waz = 5
bar = 10
def baz(): return 'baz' ##this will not be exported if you use import *
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python
ADD COMMENT
Topic
Name
1+6 =