So my original problem was that splitting an input separated by tabs using split(‘\t’) did not split the string up. However, as mikael pointed it out, using split() - leaving it empty - works! Thank you for the answers!
Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Posts made by Simplemathic
-
RE: Can’t use split(‘\t’) on inputs separated by tabs
-
Can’t use split(‘\t’) on inputs separated by tabs
I have to write a program that expects numbers separated by tabs (‘\t’) as its input. I tried to Create an input like this in Pythonista using the tab (upper left button) but that was not recognized as ‘\t’. (The split() function was unable to detect tabs as ‘\t’) How could I create this type of input?