(string)
| 53 | |
| 54 | # noinspection PyCompatibility,PyUnresolvedReferences |
| 55 | def quote(string): |
| 56 | try: |
| 57 | from urllib.parse import quote |
| 58 | |
| 59 | return quote(string) |
| 60 | except ModuleNotFoundError: |
| 61 | from urllib import pathname2url |
| 62 | |
| 63 | return pathname2url(string) |
| 64 | |
| 65 | |
| 66 | class SimpleTableCell: |