Re: How to play with Python in an existing app

2019-02-20 Thread 0x906 via Python-list
A rule of thumb to keep your sanity and maybe your job is to never touch a production system in any way. Use a copy of that db and do all your research there. > On Feb 20, 2019, at 10:56 AM, edmer2...@gmail.com wrote: > > So I'm a newbie to Python. I got access to an existing RavenDB and am >

Re: How to play with Python in an existing app

2019-02-20 Thread DL Neil
Edmer, On 21/02/19 7:56 AM, edmer2...@gmail.com wrote: So I'm a newbie to Python. I got access to an existing RavenDB and am supposed to install it on aws.amazon.com. If I succeed in setting this up, I am supposed to write some Python code. But how can I play with Python and test some querrie

Re: How to play with Python in an existing app

2019-02-20 Thread Rhodri James
On 20/02/2019 18:56, edmer2...@gmail.com wrote: So I'm a newbie to Python. I got access to an existing RavenDB and am supposed to install it on aws.amazon.com. If I succeed in setting this up, I am supposed to write some Python code. But how can I play with Python and test some querries withou

How to play with Python in an existing app

2019-02-20 Thread edmer2210
So I'm a newbie to Python. I got access to an existing RavenDB and am supposed to install it on aws.amazon.com. If I succeed in setting this up, I am supposed to write some Python code. But how can I play with Python and test some querries without f#cking up the database? Because the RavenDB is

Re: how to play

2015-07-20 Thread Ian Kelly
On Mon, Jul 20, 2015 at 10:29 AM, Aron Barsam wrote: > what is an 0S comand line? What OS are you using? In Windows it's a program called Command Prompt. In Mac OS X it's an application called Terminal. In Linux it's usually called something like Terminal or xterm. However, if you don't know how

Re: how to play

2015-07-20 Thread sohcahtoa82
On Sunday, July 19, 2015 at 12:04:26 PM UTC-7, Aron Barsam wrote: > i have trouble trying to play python please can you respond soon  ... > play python http://i.imgur.com/x2KwTbw.jpg -- https://mail.python.org/mailman/listinfo/python-list

Re: how to play

2015-07-19 Thread MRAB
On 2015-07-19 20:01, Aron Barsam wrote: i have trouble trying to play python please can you respond soon You'll need to provide some details. Saying "i have trouble" isn't helpful. Help us to help you. Which operating system are you using? Windows, MacOS, Linux? Which version? Which version

Re: how to play

2015-07-19 Thread Ian Kelly
On Sun, Jul 19, 2015 at 1:01 PM, Aron Barsam wrote: > i have trouble trying to play python please can you respond soon "Play" is an odd choice of verb. Are you under the impression that Python is a game? Anyway, here's how to use Python: 1. Download Python from python.org. 2. Install Python on y

how to play

2015-07-19 Thread Aron Barsam
i have trouble trying to play python please can you respond soon -- https://mail.python.org/mailman/listinfo/python-list

Re: how to play a sound file repeatedly in loop

2010-05-08 Thread MRAB
varnikat t wrote: How to run sound file repeatedly in loop ? When I do this, it does nothing and terminates: import pygst pygst.require("0.10") import gst, gtk n=0 while n<10: player = gst.element_factory_make("playbin2", "player") player.set_property("uri", "file:/home/varnika/hell

how to play a sound file repeatedly in loop

2010-05-08 Thread varnikat t
How to run sound file repeatedly in loop ? When I do this, it does nothing and terminates: import pygst pygst.require("0.10") import gst, gtk n=0 while n<10: player = gst.element_factory_make("playbin2", "player") player.set_property("uri", "file:/home/varnika/hello.ogg") player.se

Re: OS X: How to play .wav file w/Python?

2009-05-11 Thread alex23
On May 12, 11:55 am, kj wrote: > import pygame.mixer > > pygame.mixer.init() > pygame.mixer.Sound("bell.wav").play > print "done" > > What am I doing wrong? Your first mistake is not pasting here the traceback you received. That always makes it easier to assist with problems like this. However,

OS X: How to play .wav file w/Python?

2009-05-11 Thread kj
Hi. I'm trying to learn how to play a .wav file in OS X with Python. I tried the following, which ran without errors, but produced nothing audible (even though the file bell.wav plays perfectly well otherwise, e.g. view the Finder's Preview): import pygame.mixer pygame.