English
Open in Telegram

Thread کسی میدونه چطوری میتونم

9 messages · –
A
کسی میدونه چطوری میتونم encoding پایتون رو توی ویندوز رویutf8 تنظیم کنم؟
  1. A
    ۴هزار نفر عضو داره گروه یه نفر اینو بلد نیس ینی؟
      1. A
        # -*- coding: utf-8 -*- اینو اولین خط زدم اما باز ارور میده virtualenv هم نداره روی ویندوز خودم روی لینوکس کد رو که ران میکنم مشکل ندارم، مشکل فقط روی ویندوزه
          1. A
            RESTART: C:\Users\jamaal\Desktop\customcase\uploading files\New folder\image_upload.py Traceback (most recent call last): File "C:\Users\jamaal\Desktop\customcase\uploading files\New folder\image_upload.py", line 16, in <module> db.write(os.path.join(root, file) + '\n') File "C:\Python37-32\lib\encodings\cp1256.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode character '\u015e' in position 24: character maps to <undefined>
            1. ꪑ
              Dasturaye print ro intori benevisin shyd moshkel hal beshe : print (example . encode("utf-8"))
PPython + Linux ExpertsPython + Linux Experts@PythonLinuxExperts · group · Tech
4 287members21writing in 30 days
Venue feed Open in Telegram

An open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · Index limits · Remove a page · Catalog · Search · How we count