src/eric7/MicroPython/MicroPythonWebreplDeviceInterface.py

branch
eric7
changeset 10069
435cc5875135
parent 10037
e5d8dbcae771
child 10229
e50bbf250343
equal deleted inserted replaced
10068:7febcdccb2a1 10069:435cc5875135
167 self.__pasteOff() 167 self.__pasteOff()
168 self.__blockReadyRead = False 168 self.__blockReadyRead = False
169 169
170 return True 170 return True
171 171
172 def execute(self, commands, *, mode="raw", timeout=0): 172 def execute(self, commands, *, mode="raw", timeout=0): # noqa: U100
173 """ 173 """
174 Public method to send commands to the connected device and return the 174 Public method to send commands to the connected device and return the
175 result. 175 result.
176 176
177 @param commands list of commands to be executed 177 @param commands list of commands to be executed
238 err = b"" 238 err = b""
239 239
240 self.__blockReadyRead = False 240 self.__blockReadyRead = False
241 return out, err 241 return out, err
242 242
243 def executeAsync(self, commandsList, submitMode): 243 def executeAsync(self, commandsList, submitMode): # noqa: U100
244 """ 244 """
245 Public method to execute a series of commands over a period of time 245 Public method to execute a series of commands over a period of time
246 without returning any result (asynchronous execution). 246 without returning any result (asynchronous execution).
247 247
248 @param commandsList list of commands to be execute on the device 248 @param commandsList list of commands to be execute on the device

eric ide

mercurial