How exactly do I import a .wav file and run it?
also is it possible to run it inside a while loop if so or it just
start playing when its run? - Tom 14
--
For the GUI (Tkinter) there is tkSnack.
If you want to run it from the command line you could use sox.
--
https://mail.python.org/mailman/lis
with open(localpath, 'wb') as fl:
PermissionError: [Errno 13] Permission denied: 'c:'
I remember gloomily (haven't used windows since ages) that newer
Windows versions don't like users to write directly to C:. Have you
tried to save the file to your Documents folder?
Regards,
Alba
--
htt
> with open(localpath, 'wb') as fl:
> PermissionError: [Errno 13] Permission denied: 'c:'
I remember gloomily (haven't used windows since ages) that newer
Windows versions don't like users to write directly to C:. Have you
tried to save the file to your Documents folder?
Regards,
Alba
--- So
Hi,
This might sound weird, but is there a limit how many dictionaries a
can create/use in a single script?
My reason for asking is I split a 2-column-csv (phone#, ref#) file into
a dict and am trying to put duplicated phone numbers with different ref
numbers into new dictionaries. The scrip
Thanks Peter for the fast response, but the prob is solved. My
colleague just verbally slapped me because a dict SHOULDN'T have
duplicate keys...
I change it around to duplicate values and it works fine
I think I need coffee now... lots of it.
--
https://mail.python.org/mailman/listinfo/pyt
from __future__ import braces is just an easter egg... ...and shouldn't
it better state from __past__ import braces ;-)
Anyway, as far as I know the IPython interpreter can recognize lines
ending in ‘:’ and indent the next line, while also un-indenting
automatically after ‘raise’ or ‘return’.
Am 01.08.2013 14:11, schrieb beliav...@aol.com:
On Tuesday, February 18, 2003 2:27:58 PM UTC-5, Mike Silva wrote:
Hi all,
My son is 11 and wants to try programming, partly because it's what
I
do for a living. Even though I don't (yet?) use or even know
Python,
through some unexplainable thou
Am 09.08.2013 05:47, schrieb David:
On 9 August 2013 14:11, Adam Mercer wrote:
I'm trying to write a script that writes some content to a file root
through sudo, but it's not working at all. I am using:
[...]
At a quick glance, I have a couple of suggestions.
command = ['echo', '-n', ch
[Tue Aug 27 13:02:57 2013] [error] [client 110.202.175.189] Error in
sys.excepthook:
[Tue Aug 27 13:02:57 2013] [error] [client 110.202.175.189]
ValueError: underlying buffer has been detached
[Tue Aug 27 13:02:57 2013] [error] [client 110.202.175.189]
[Tue Aug 27 13:02:57 2013] [error] [client 11
Am 27.08.2013 16:04, schrieb Ferrous Cranus:
Στις 27/8/2013 4:59 μμ, ο/η ishish έγραψε:
[Tue Aug 27 13:02:57 2013] [error] [client 110.202.175.189] Error
in
sys.excepthook:
[Tue Aug 27 13:02:57 2013] [error] [client 110.202.175.189]
ValueError: underlying buffer has been detached
[Tue Aug 27
Am 28.08.2013 10:48, schrieb Ferrous Cranus:
>> I quote from a Python 3 Guide
>> [http://python.about.com/od/python30/ss/30_strings_3.htm]:
>>
>> The two data types, str and bytes, are mutually exclusive. One
>> cannot
>> legally combine them into one call. With the distinction between
>> t
Am 28.08.2013 12:14, schrieb Ferrous Cranus:
Okey, continue trying and trying i came up with this:
try:
if os.path.exists( path + page ) or os.path.exists( cgi_path + page
):
cur.execute('''SELECT ID FROM counters WHERE url = %s''', page )
data = cur.fetchone()
except:
Well there you have it:
File "/home/nikos/public_html/cgi-bin/metrites.py", line 191, in
if not data:
NameError: name 'data' is not defined
--
http://mail.python.org/mailman/listinfo/python-list
Am 28.08.2013 13:52, schrieb AdamKal:
Hi,
From time to time I have to apply a series of functions to a value in
such a way:
func4(func3(func2(func1(myval
I was wondering if there is a function in standard library that would
take a list of functions and a initial value and do the above like
Am 09.09.2013 13:02, schrieb Larry Hastings:
To download Python 3.4.0a2 visit:
http://www.python.org/download/releases/3.4.0/
[quote]
Python 3.4.0 alpha 2 was released on September 10th, 2013...
[/quote]
Import from __future__ ?? ;-)
--
https://mail.python.org/mailman/listinfo/python-lis
Am 01.10.2013 13:25, schrieb Νίκος:
Στις 1/10/2013 3:21 μμ, ο/η Νίκος έγραψε:
Στις 1/10/2013 3:12 μμ, ο/η Heiko Wundram έγραψε:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Am 01.10.2013 14:06, schrieb Νίκος:
i know about the link you mentioned and i have deleted the source
code from there.
Am 01.10.2013 14:14, schrieb Νίκος:
Στις 1/10/2013 3:50 μμ, ο/η ishish έγραψε:
Am 01.10.2013 13:25, schrieb Νίκος:
Στις 1/10/2013 3:21 μμ, ο/η Νίκος έγραψε:
Στις 1/10/2013 3:12 μμ, ο/η Heiko Wundram έγραψε:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Am 01.10.2013 14:06, schrieb Νίκος:
i
Am 02.10.2013 13:47, schrieb Chris “Kwpolska” Warrick:
On Wed, Oct 2, 2013 at 1:48 AM, Tim Delaney
wrote:
On 2 October 2013 09:28, Νίκος wrote:
con = pymysql.connect( db = 'mypass', user = 'myuser', passwd =
'mysqlpass', charset = 'utf8', host = 'localhost' )
That was viewable by the link
Am 02.10.2013 15:46, schrieb Νίκος:
But i need to know what happened and how this .html file got
uploaded.
This is not a python question, but this happened from this pythons
NG. ... ...
Who says that??
--
https://mail.python.org/mailman/listinfo/python-list
Am 17.10.2013 18:16, schrieb Roy Smith:
On Thursday, October 17, 2013 11:07:48 AM UTC-4, Chris Angelico
wrote:
Module names should be descriptive, not fancy.
Interesting comment, on a mailing list for a language named after a
snake, especially by a guy who claims to prefer an language named
a
Am 18.10.2013 15:09, schrieb Robert Kern:
On 2013-10-18 05:03, Chris Angelico wrote:
On Fri, Oct 18, 2013 at 2:14 PM, Steven D'Aprano
wrote:
On Thu, 17 Oct 2013 10:16:24 -0700, Roy Smith wrote:
On Thursday, October 17, 2013 11:07:48 AM UTC-4, Chris Angelico
wrote:
Module names should be de
Am 24.10.2013 14:29, schrieb Damien Wyart:
I am starting to have doubts as to whether Python 3.x will ever be
actually adopted by the Python community at large as their standard.
Years have passed, and a LARGE number of Python programmers has not
even bothered learning version 3.x. Why am I bothe
Am 07.11.2013 21:29, schrieb Denis McMahon:
On Thu, 07 Nov 2013 01:01:38 -0800, Ferrous Cranus wrote:
Τη Πέμπτη, 7 Νοεμβρίου 2013 12:11:20 π.μ. UTC+2, ο χρήστης Mark
Lawrence
έγραψε:
... hope that this time she destroys ...
So she is a SHE! How do you know that the person hacked into my D
Am 09.11.2013 15:07, schrieb Steven D'Aprano:
...
Nikos, you have annoyed and alienated enough people here...
Sorry, I DO NOT AGREE! These threads keep my entire office entertained.
I would even go so far to suggest, that we should set up an entirely new
mailing list for Nikos only, maybe som
24 matches
Mail list logo