Playing stereo wav files in Python

2008-07-16 Thread AM
-Hello all,

I am trying to play stereo wavefiles in python with no success. I can
play mono wavefiles, using either pygames mixer library, python's
winsound library or wxPython's wx.Sound library, but i cannot get
stereo wavefiles to play in any of these.  Normally i wouldn't care
and covert the files to mono, but the phase difference between the two
ears in important for this application. Does anyone know of a way that
i have missed? I am using a LynxONE soundcard if that is important.

-AM
--
http://mail.python.org/mailman/listinfo/python-list


Re: Image enhance

2025-09-03 Thread AM CR via Python-list
Good morning everyone.

First of all, thank you in advance for your advice and suggestions.

After a few attempts, I've come to the conclusion that working on Windows
XP isn't very reasonable, given the many advances available.

I'll try this on a Windows 7 Home machine.

I'd appreciate it if someone could advise me on which version of Python is
recommended for that operating system.

Thank you very much.

Arodri

Thomas Passin  escreveu (terça, 2/09/2025 à(s) 23:24):

> On 9/2/2025 11:29 AM, amrodi--- via Python-list 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.
>
> The code file you posted contains several words that probably contain
> non-ascii characters (e.g.,  colorizacao). By default, Python 2.x uses
> ASCII encoding for the source file. You can tell it to use another
> encoding by a special comment at the start of the file that contains
>
> "# coding: utf-8"
>
> (or whatever encoding you want). One common comment format, which is
> understood by many Linux programs, is
>
> # -*- coding: utf-8 -*-
>
> Python 3.x uses utf-8 by default.
>
> --
> https://mail.python.org/mailman3//lists/python-list.python.org
>
-- 
https://mail.python.org/mailman3//lists/python-list.python.org


not able to use python

2022-08-17 Thread i am unable to use python
    

    

   Sent from [1]Mail for Windows

    

References

   Visible links
   1. https://go.microsoft.com/fwlink/?LinkId=550986
-- 
https://mail.python.org/mailman/listinfo/python-list