|
||||||
| Python Discussion forum for Python, a high-level language with simple syntax, but yet powerful. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
| Sponsored Links |
|
|
|
|||||
|
Which platform are you using?
I only know one way, if you are going to use the standard libraries, but it's only compatible with Windows. Code:
import winsound
winsound.PlaySound("sound.wav", winsound.SND_FILENAME)
It's pretty easy to install new libraries. In your Python-directory, you've a file called "Lib," you just need to place the files in there. The library will probably have a README og INSTALL file, which would help you, if it need configuration, or something else first.
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum C/C++ resources - C/C++ frequently asked questions Python resources - Python frequently asked questions I'm always up for a chat, so feel free to contact me... |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Computer Sound | Chan | C# Programming | 3 | 06-30-2007 12:36 PM |
| Getting sound volume values for different chanels. | vanarebane | C# Programming | 2 | 03-11-2007 03:04 PM |
| Sounds and Sound Loop Resources | TVDinner | Website Design | 0 | 03-10-2007 08:20 AM |
| Are you playing very often | xtraze | Video Game Talk | 10 | 02-25-2007 01:50 PM |
| Using Timer to repeat a sound Question | skilletsteve | Visual Basic Programming | 1 | 08-30-2006 12:59 PM |
| Xav | ........ | 162.68 |
| neerlin | ........ | 100 |
| satrian | ........ | 100 |
| delia | ........ | 100 |
| chili5 | ........ | 70.08 |
| morefood2001 | ........ | 42.41 |
| MeTh0Dz|Reb0rn | ........ | 28.44 |
| RyanTuosto | ........ | 20 |
| gamiR | ........ | 19.64 |
| John | ........ | 14.46 |
Goal: 100,000 Posts
Complete: 68%