See this :
pygame.mixer.init(frequency=22050, size=-16, channels=2, buffer=4096)
song = pygame.mixer.Sound(bird.ogg)
pygame.mixer.Sound.play(song)
and then use the
channel.set_volume(0, 1)
time.sleep(1)
On Wednesday, December 17, 2014 10:02:30 PM UTC+2, Jacob Kruger wrote:
Ok, trying
I install Python 2.7 on Windows XP.
I try use :
import win32service
import win32serviceutil
But I got that error :
ImportError: No module named win32service
Where is this module ?
--
http://mail.python.org/mailman/listinfo/python-list
Ok,
I asking that to understand the correct way of python and I don't want
make mistakes.
I suppose has many tricks used by bad guys.
--
http://mail.python.org/mailman/listinfo/python-list
On Apr 1, 4:22 am, timo verbeek timoverbee...@gmail.com wrote:
On Apr 1, 12:48 am, Abethebabe abrahamalra...@gmail.com wrote:
I wanted to know if there was a way I could get a Python program to
run off of my flash drive as soon as the computer (Windows) detected
the device?
For example
Hi everyone .
My questions is why vars().has_key('b') is False ?'
I expecting to see True because is a variable ...
Thanks
Please see code bellow .
x=11
def something():
... b=25
...
vars().has_key('x')
True
vars().has_key('b')
False
globals().has_key('x')
True
globals().has_key('b')
Dear friends .
I have two simple questions:
It is possible to encrypt with md5 python source code?
What option do I have to protect my python source code?
Thank you .
--
http://mail.python.org/mailman/listinfo/python-list
I had a talk about Python and distribution of commercial products
created with python. This made me think of a way to protect my source
code to be distributed. I thought a live CD version and then to an
encryption method of a portion of source code. These thoughts are the
source of two questions.
now i have Fedora 12
Now when i try to use md5 , python say :
python
Python 2.6.2 (r262:71600, Aug 21 2009, 12:22:21)
[GCC 4.4.1 20090818 (Red Hat 4.4.1-6)] on linux2
Type help, copyright, credits or license for more information.
import md5
__main__:1: DeprecationWarning: the md5 module is
Tkinter is deafult on python .
Is more easy to use any editor text (geany).
I donțt see a good IDE for GUI
On Nov 9, 6:49 am, Antony anthonir...@gmail.com wrote:
Hi all
I just wanted to know which module is best for developing designing
interface in python .
i have come across some modules
I have this error , what happen ?
Python 2.5.2 (r252:60911, Sep 30 2008, 15:41:38)
[GCC 4.3.2 20080917 (Red Hat 4.3.2-4)] on linux2
Type help, copyright, credits or license for more information.
import md5
pass = md5.new()
File stdin, line 1
pass = md5.new()
^
SyntaxError:
And if you have this commands :alias ,ll ?
This commands not working , see sh: ll: command not found
and for watch and top need to use something to out from loops .
On Oct 15, 11:15 pm, TerryP bigboss1...@gmail.com wrote:
On Oct 15, 7:42 pm, Jeremy jlcon...@gmail.com wrote:
I need to write a
Hello !
I wanna use python to follow the tree folders from one url.
Example :
If url is www.site.com/first/ and
first is first folder with next subfolders 01,02,03
The result of script should be :
www.site.com/first/01/
www.site.com/first/02/
www.site.com/first/03/
Maybe urllib has some
Hello !
I wanna use python to follow the tree folders from one url to get
data about dirs and folders.
Example :
If url is www.site.com/first/ and
first is first folder with next subfolders 01,02,03
The result of script should be :
www.site.com/first/01/
www.site.com/first/02/
Hello!
I see on my Diagram Editor software this :
File - Export... - (on Export option is : PyDia Code
Generation ... .py)
What python is in this file ?
How help me with python code ?
Thank you !
--
http://mail.python.org/mailman/listinfo/python-list
Hello !
I want use python to change the note from .jpeg files .
What is the functions on PIL how make this ?
Thank you !
--
http://mail.python.org/mailman/listinfo/python-list
Hello !
I have accont on myphpadmin on my server.
I want to create one script in python.
This script manage sql task from my sql server .
How i make this in a simple way ?
Thank you !
--
http://mail.python.org/mailman/listinfo/python-list
16 matches
Mail list logo