- Last Active
I got the same error, but I added the encoding in the second line and it works. Thank you both! Also for helping me to break the psychological barrier “oh no, coding is hard to start”. Now I want to experiment more. :)
m = re.match(r'^(.+?)@(.+?)\®(.+?).pdf$', os.path.basename(pdf))
Thank you, it works! Except that... actually I have "®" not "$" in my filenames. So I replaced it accordingly in your regex and I get this: SyntaxError: Non-ASCII character '\xc2' in file /Users/jakub/Downloads/ris.py on line 11, but no encoding d…
Thank you! macOS Big Sur. But you can also redirect me somewhere, I don’t want to steal your time. I think I can adapt the script, I'm just not sure how to execute it.
Thank you! I've never executed a Python script – is this the way to do it? https://www.pythoncentral.io/execute-python-script-file-shell/
Thank you, now I only have to learn to code! :)
Just another user expressing interest in having a built-in dark-mode setting for Zotero.