analitics

Pages

Monday, December 29, 2014

WinPython - 32 and 64bit portable distribution with Qt.

The new WinPython (version 3.3.5.4) released at 2014-12-22 come with this issue:
WinPython is a free open-source portable distribution of the Python programming language for Windows XP/7/8, designed for scientists, supporting both 32bit and 64bit versions of Python 2 and Python 3.
I use 64bit portable distribution with Python 3.3.5 (v3.3.5:62cf4e77f785, Mar 9 2014, 10:35:05) [MSC v.1600 64 bit (AM
D64)] on win32 and working very well.
From this link you can download it.
WinPython is a free scientific Python distribution for Windows that is portable.It is completely isolated from the rest of the system. Also, WinPython can be installed in a folder (will be put into your download folder)and can be moved anywhere.
You can move on an USB stick and this will make entirely functional.
WinPython is bundled with a lot of existing Python packages.
Also, it includes graphical and command-line utilities to install/uninstall any Python package easily.

This come with spyder 2.3.2 version editor to edit your scripts.

You can use also Qt with Qt designer and you also have a demo application, see:

Sunday, December 21, 2014

pygame - using sound, mixer, volume, channels, fade-in and out effect .

PyGame module come with sound feature and this allow users to test some effects.
The next tutorial show you how to deal with pygame sound effect.
After, you can test all effects with python version 3.4.1 .
I used keys to change effects. The song is a ogg file.
I used this sample from a recording of of the album Through the Devil Softly by the artist Hope Sandoval and The Warm Inventions from here.