Mike314 wrote:
Hello,
I have a strange problem with the string format:
'%s %s %s %s %s' % ['01', '02', '03', '04', '05']
Traceback (most recent call last):
File "", line 1, in
TypeError: not enough arguments for format string
But as soon I use tuple it is working:
'%s %s %s %s %s' % (
On Mar 11, 4:07 pm, Mike314 wrote:
> Hello,
>
> I have a strange problem with the string format:
>
> >>> '%s %s %s %s %s' % ['01', '02', '03', '04', '05']
>
> Traceback (most recent call last):
> File "", line 1, in
> TypeError: not enough arguments for format string
>
> But as soon I use tu
On Mar 11, 12:07 am, Mike314 wrote:
> Hello,
>
> I have a strange problem with the string format:
>
> >>> '%s %s %s %s %s' % ['01', '02', '03', '04', '05']
>
> Traceback (most recent call last):
> File "", line 1, in
> TypeError: not enough arguments for format string
>
> But as soon I use t
On Tue, 10 Mar 2009 22:07:59 -0700, Mike314 wrote:
> Hello,
>
>I have a strange problem with the string format:
>
'%s %s %s %s %s' % ['01', '02', '03', '04', '05']
> Traceback (most recent call last):
> File "", line 1, in
> TypeError: not enough arguments for format string
>
> But
Madhusudan Singh wrote:
>> if the callback code is Python, you should be able to add a print
>> statement to the line just before the failing "int" call:
>>
>> print repr(signalrangestr), type(signalrangestr)
>> signalrange = int(signalrangestr)
>>
>> that print statement should be all you
Fredrik Lundh wrote:
>> The code is :
>>
>> void Form3::getNPrange()
>> {
>
> what language is this?
Its python embedded in the designer workflow. pyuic extracts stuff from it,
and generates a python script from the ui.h file.
>
> if the callback code is Python, you should be able to add a pr
Madhusudan Singh wrote:
> I am working with an application that I designed with the Designer > pyuic
> workflow and I get the following error on trying to process the contents
> of
> a combobox :
>
> Traceback (most recent call last):
> File "measure.py", line 908, in acquiredata
>np=self.ge
Tzanko Tzanev wrote:
> #but there is an error in
> playlist_txt += mp3id + mp3_title + mp3_artist
It'd be a lot easier to help if you'd say what the error was.
--
Michael Hoffman
--
http://mail.python.org/mailman/listinfo/python-list
Tzanko Tzanev a écrit :
> hi :)
> I need some help for this script
> I have
please take care of indentation when posting code.
>
> cursor = conn.cursor()
> cursor.execute("select * from playlist limit 5")
> result = cursor.fetchall()
> # iterate through resultset
> playlist_t
Tzanko Tzanev wrote:
> hi :)
> I need some help for this script
> I have
>
> cursor = conn.cursor()
> cursor.execute("select * from playlist limit 5")
> result = cursor.fetchall()
> # iterate through resultset
> playlist_txt = ''
> for record in result:
> mp3id = record[0]
> mp
10 matches
Mail list logo