import numpy
if __name__ == '__main__':
a = numpy.array([[10, 20, 30],
[15, 25, 35],
[20, 40, 60]])
xdiff = numpy.zeros_like(a)
xdiff[:, 1:-1] = a[:, 2:]-a[:, :-2]
print(xdiff)
subprocess.call = (['xcopy',txt1.get(),txt2.get()])
(.venv391) D:\Documents\PycharmProjects\tst_eel>pip list
Package Version
---------------- -------
bottle 0.12.19
bottle-websocket 0.2.9
cffi 1.14.4
Eel 0.14.0
future 0.18.2
gevent 21.1.1
gevent-websocket 0.10.1
greenlet 1.0.0
pip 20.3.3
pycparser 2.20
pyparsing 2.4.7
setuptools 51.3.3
wheel 0.36.2
whichcraft 0.6.1
zope.event 4.5.0
zope.interface 5.2.0