Last active
December 12, 2017 16:02
-
-
Save raganmd/be4e3edd2a195e596730edc38ef1e2b3 to your computer and use it in GitHub Desktop.
Example of using doc strings in a module in TouchDesigner
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# first let's clear the text port to make sure we're starting fresh | |
clear() | |
# Here we're printing out the doc strings for multi_by_two | |
print( "The Doc Strings for multi_by_two are:" ) | |
print( '\n' ) | |
print( mod( 'text_simple_reutrn' ).multi_by_two.__doc__ ) | |
# Here we're printing out the doc strings for lotic_test | |
print( "The Doc Strings for logic_test:" ) | |
print( '\n' ) | |
print( mod( 'text_simple_reutrn' ).logic_test.__doc__ ) | |
# Here we're printing out the doc strings for logic_test_two | |
print( "The Doc Strings for logic_test_two:" ) | |
print( '\n' ) | |
print( mod( 'text_simple_reutrn' ).logic_test_two.__doc__ ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment