On Tue, Sep 2, 2025 at 1:46 PM amrodi9999--- via Python-list <python-list@python.org> wrote: > > I'm new to Python. > Operating System - Windows XP SP3 > Python 2.7 installed. > > I got a script that tries to improve the image? > I created a bat file using the command line. > > C:\python27\python.exe d:\temp\teste.py > > But even though it runs, it displays an error: > > "... no encoding declare..." > > Can anyone help? > > My sincere thanks in advance. > -- > https://mail.python.org/mailman3//lists/python-list.python.org
Not sure if you have provided enough information. Perhaps show your code. Python 2.7 has been superseded for maybe 10 years or more with python3.x. Are you really using XP? wow! -- Joel Goldstick -- https://mail.python.org/mailman3//lists/python-list.python.org