eismultiplexer-qt/external/QCodeEditor/example/resources/code_samples/python.py
Carl Philipp Klemm 2f3069a388 add QCodeEditor
2025-10-13 12:40:46 +02:00

15 lines
198 B
Python

import numpy
def sqr_array(x):
'''
Documentation for sqr_array.
A multi line string!'
'''
return np.array(x)**2
s = 'this is a string'
d = 10
x = np.arange(0,d,d/10)
y = sqr_array(x)