6 """ |
6 """ |
7 Module implementing some file system commands for MicroPython. |
7 Module implementing some file system commands for MicroPython. |
8 """ |
8 """ |
9 |
9 |
10 import ast |
10 import ast |
|
11 import os |
11 import time |
12 import time |
12 import os |
|
13 |
13 |
14 from PyQt6.QtCore import ( |
14 from PyQt6.QtCore import ( |
15 pyqtSlot, |
15 QCoreApplication, |
16 pyqtSignal, |
16 QEventLoop, |
17 QObject, |
17 QObject, |
18 QThread, |
18 QThread, |
19 QTimer, |
19 QTimer, |
20 QCoreApplication, |
20 pyqtSignal, |
21 QEventLoop, |
21 pyqtSlot, |
22 ) |
22 ) |
23 |
23 |
|
24 from eric7 import Preferences |
|
25 |
24 from .MicroPythonSerialPort import MicroPythonSerialPort |
26 from .MicroPythonSerialPort import MicroPythonSerialPort |
25 |
|
26 from eric7 import Preferences |
|
27 |
27 |
28 |
28 |
29 class MicroPythonCommandsInterface(QObject): |
29 class MicroPythonCommandsInterface(QObject): |
30 """ |
30 """ |
31 Class implementing some file system commands for MicroPython. |
31 Class implementing some file system commands for MicroPython. |