Jun-19-2019, 09:30 AM
Hi,
The point is: even wrong code is a better starting point than no code at all. So please post your code here.
These are Python basics, so I'd recommend to read again the official documentation or the corresponding section in the tutorial on this.
Regards, noisefloor
Quote: I know there is no multiprocessing in it. I didn't post it, because there was always an error.Let's say it like this: if there would have been no error, there would have been no reason to post here ;-)
The point is: even wrong code is a better starting point than no code at all. So please post your code here.
Quote: I tried the apply function, but it didn't work. Could you show me how the apply method works?What did you try? Show the code. "It did not work" is not helpful as an error message.
Quote: try..except is the only thing I know. Is there any other option?
except
accepts an argument to catch certain exceptions, e.g. except IndexError
would catch index errors only, no syntax errors or name errors or ...These are Python basics, so I'd recommend to read again the official documentation or the corresponding section in the tutorial on this.
Regards, noisefloor