Include a file: Difference between revisions
Content added Content deleted
Line 1,825: | Line 1,825: | ||
<lang python>import one # note there is no .py sufix |
<lang python>import one # note there is no .py sufix |
||
# then you may use |
|||
⚫ | |||
⚫ | |||
otherwise use |
|||
⚫ | |||
⚫ | |||
or |
|||
<lang python>from one import *</lang> |
<lang python>from one import *</lang> |
||
Line 1,836: | Line 1,836: | ||
<lang python>from one import OneClass, one_function |
<lang python>from one import OneClass, one_function |
||
# then you may use |
|||
one_function() |
# one_function() |
||
object = OneClass()</lang> |
# object = OneClass()</lang> |
||
=={{header|Prolog}}== |
=={{header|Prolog}}== |