Skip to content

No Spyder-Terminal on Spyder 5.0.5 (MacOS)

I tried to install spyder terminal on my spyder. Steps oI followed (in iPython Console): Then: And I get an error message that says: I thought that it was because of the enviroment, so I tried to create a new conda enviroment with the spyder terminal module. I do as follows (in my terminal): Then: And finally…

My code is confusing an input file name for a regex expression

My regular expression does not explicitly include a dash in a character range, but my code fails when the input file name is like this: Here is my code: It seems obvious that this part of the filename is the issue: [Maxi-Single] How do I handle filenames similar to that so that they are treated as fixed strin…

compare list elment to a string

I have the following list and the following string I want to check if any element in the list is in the string I tried using however it gives false seems python can’t recognize the element in the string, is there a way to check elements from list to a string if there is a match. i did it successfully

Kivy Error when I close the DatePicker (MultiScreen)

I’m trying to learn Kivy. Most stuff works when I just code it separate. But when I combine like MultiScreen with other code I always strugle. Here I want that after closing the DatePicker to change the Text(id: date_label. Same code worked without the MultiScreen Error: line 31, in on_cancel self.root.…

Stopping running while loop if conditions are met

The code below is intended to print out the contents of arrays, until either the mouse (left click) is released, or the end of the array is reached. How would I stop the while loop in the function logging_mouse, once the mouse is released? Answer you need to actually use the args to the on_click function&#823…