'Python is not reading character'
I have a telegram bot which sends Yo'riqnoma.pdf file to users. Users are taking this file like this > Yo riqnoma.pdf
There is no any error messages in scripts, user is just taking this file like this, without this ' character. How can I make it correct, please help me.
FILE_UNBLOCK = "./Yo'riqnoma.pdf"
@state()
def last_unblock(review_unblock=constants.ACTION_AGENT_UNBLOCK) -> Input:
return Input(constants.MSG_UNBLOCK, document=constants.FILE_UNBLOCK, user_type=UserType.User)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
