• James007

    TextView - Saving TextView text to a file. Cannot save when text contains a “ quotation mark. All other normal characters can be saved.

    def SAVE_SCOPEB(sender):
         jf.open(“Note_Data.py”, ‘w’)
         jf.write(JWriteNote.text)
         jf.close()
    

    The above function works and saves text to a disk file on cloud, but when a quotation mark is part of the text, the following message is received - ‘ascii’ codec, can’t encode, characters in positions 0-1: ordina....

    My first post, Thank you in advance.d

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!