omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular
    1. Home
    2. ConfusedIdiot

    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.


    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Best 1
    • Controversial 0
    • Groups 0

    ConfusedIdiot

    @ConfusedIdiot

    1
    Reputation
    449
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    ConfusedIdiot Unfollow Follow

    Best posts made by ConfusedIdiot

    • Pythonista not recognizing quotation marks, misinterpreting apostrophes?

      Simple problem, really. I type in quotation marks to denote multiline comments or strings, but the punctuation gets typed out as “smart” quotes. However, when I use an apostrophe by holding the ! key on my iPad, Pythonista recognizes it as quotation mark. This is very unfortunate because I using a bluetooth keyboard greatly increases my coding speed, and I would hate to keep dealing with this problem.

      So, long story short, Pythonista doesn't recognize quotation marks as valid punctuation for strings and such but when I use an apostrophe, which most keyboards wouldn't have, Pythonista thinks it's a legit quotation mark.

      Edit:
      Apostrophes which Pythonista recognizes as single quotes:
      '''
      Quotation marks that Pythonista doesn't recognize and so gives me an error:
      ‘’’
      See the difference?
      Also, holding the ? key gives me these double quotes " which are in fact functional.
      So essentially the only thing not working is the actual dedicated quotation mark key.

      Edit #2: Turns out iOS turns on Smart Punctuation by default, which caused this problem. If anyone is having the same problem, turning off Smart Punctuation in Settings > General > Keyboard will fix it!

      posted in Pythonista
      ConfusedIdiot
      ConfusedIdiot

    Latest posts made by ConfusedIdiot

    • Pythonista not recognizing quotation marks, misinterpreting apostrophes?

      Simple problem, really. I type in quotation marks to denote multiline comments or strings, but the punctuation gets typed out as “smart” quotes. However, when I use an apostrophe by holding the ! key on my iPad, Pythonista recognizes it as quotation mark. This is very unfortunate because I using a bluetooth keyboard greatly increases my coding speed, and I would hate to keep dealing with this problem.

      So, long story short, Pythonista doesn't recognize quotation marks as valid punctuation for strings and such but when I use an apostrophe, which most keyboards wouldn't have, Pythonista thinks it's a legit quotation mark.

      Edit:
      Apostrophes which Pythonista recognizes as single quotes:
      '''
      Quotation marks that Pythonista doesn't recognize and so gives me an error:
      ‘’’
      See the difference?
      Also, holding the ? key gives me these double quotes " which are in fact functional.
      So essentially the only thing not working is the actual dedicated quotation mark key.

      Edit #2: Turns out iOS turns on Smart Punctuation by default, which caused this problem. If anyone is having the same problem, turning off Smart Punctuation in Settings > General > Keyboard will fix it!

      posted in Pythonista
      ConfusedIdiot
      ConfusedIdiot