Français
Ouvrir dans Telegram

Fil de discussion کسی میدونه چطوری میتونم

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 · groupe · Technologie
4 287membres20écrivent en 30 jours
Fil de la communauté Ouvrir dans Telegram

Un fil public ouvert issu de l'index de recherche ChatCrawler — « le Google du Telegram public » ; actualisé à mesure que la communauté est explorée. Les heures sont en UTC.

Contenu public uniquement, API officielle de Telegram. À propos · FAQ · Limites de l'index · Retirer une page · Catalogue · Recherche · Comment nous comptons