Skip to content
Snippets Groups Projects
Commit 7bed704e authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

Doc: rm code_snippet.py

parent 6522ef72
No related branches found
No related tags found
1 merge request!726Doc: hugo now using Examples from top-level source directory
import sys
import numpy
class Base:
"""
Base class
"""
def __init__(self):
self.x = None
self.y = numpy.sin(numpy.pi/2.0)
def value(self):
return self.y
def say_hello():
"""
Prints 'Hello World' message
"""
b = Base()
print("Hello World", b.value())
if __name__ == '__main__':
say_hello()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment