We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b16b619 commit a603f86Copy full SHA for a603f86
quantumlab.py
@@ -5,19 +5,17 @@
5
import os
6
7
class QuantumLabScreen(BoxLayout):
8
- PYTHON_NAME = "python"
+ PYTHON_NAME = "python3"
9
def run_python(self, filename):
10
global cmd
11
cmd = self.PYTHON_NAME + " " + filename
12
- app.stop()
+ os.system(cmd)
13
14
class QuantumLabApp(App):
15
def build(self):
16
screen = QuantumLabScreen()
17
return screen
18
19
-cmd = ""
20
if __name__ == "__main__":
21
app = QuantumLabApp()
22
app.run()
23
- os.system(cmd)
0 commit comments