Python Embedding and pep-0263

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Peter Jakubik

    #1

    Python Embedding and pep-0263

    Hi
    I am embedding Python 2.3.3 in C++ under Win2k. I am using in my App only
    Python DLL and empty site.py (so that User doesn't have to install Python). The
    Python Scripts contains Non-ASCII characters and i get DeprecationWarn ing
    pep-0263.
    How can i set Python File encoding from C-Code before Script starts ?

    Any help would be appreciated.

    peter
Working...