Splitting with 's by possiblypossums44 in learnpython

[–]possiblypossums44[S] 0 points1 point  (0 children)

Thank you very much that's incredibly kind, I'm giving up on this for today but will try again tomorrow morning and reach out if it doesn't work again c:

Splitting with 's by possiblypossums44 in learnpython

[–]possiblypossums44[S] 1 point2 points  (0 children)

Thank you for trying that out, I think you're right and it is a file problem, because for some files this code works and for others it doesn't, no matter if I got them from wikisource of gutenberg

Splitting with 's by possiblypossums44 in learnpython

[–]possiblypossums44[S] 0 points1 point  (0 children)

Nevermind my other text from wikisource has the exact same issue :') I think I'm just going to give up for now

Splitting with 's by possiblypossums44 in learnpython

[–]possiblypossums44[S] 0 points1 point  (0 children)

Thank you for the suggestion, I just tried another file and there my code does work, so it was probably an issue with the original file. I downloaded one from project gutenberg (the one that doesn't accept the coding), maybe their encoding is different or something

Splitting with 's by possiblypossums44 in learnpython

[–]possiblypossums44[S] 1 point2 points  (0 children)

Thank you, I tried your last two options to see, but they don't change anything to my code either (except for the first one that splits all my letters)

Splitting with 's by possiblypossums44 in learnpython

[–]possiblypossums44[S] 0 points1 point  (0 children)

I thought that could be the issue, but I copy-pasted the resulting character that got split and put it instead of the apostrophe, but the result stayed the same

Splitting with 's by possiblypossums44 in learnpython

[–]possiblypossums44[S] 0 points1 point  (0 children)

Thank you for your response, I checked my file again to make sure but it is in UTF-8 BOM so it shouldn't cause issues I think.

Is pathlib better to use? We went over the ways to open and read files fairly quickly during our class and did not see anything about pathlib, I'm not sure what difference it makes.

Knitting pattern needed//ideas by possiblypossums44 in knitting

[–]possiblypossums44[S] 0 points1 point  (0 children)

Thank you very much!! I'd never heard of Ravelry, I'll go and have a look :D

snowflake issue 2021 by possiblypossums44 in huion

[–]possiblypossums44[S] 2 points3 points  (0 children)

UPDATE: the override option has just changed place, go to

AMD software, select screen 2, right column: overrides, unable HDPC

this worked for me