In article [EMAIL PROTECTED],
Michael Yanowitz [EMAIL PROTECTED] wrote:
I am confused by the syntax for tuples.
...
The way I fixed this error was I added an extra , (comma) to the tuple:
thread.start_new_thread(read_data_thread, (strDataFilename,))
I am just confused by the syntax. I am
On Wed, 05 Apr 2006 08:17:07 +1000, Ben Finney wrote:
Michael Yanowitz [EMAIL PROTECTED] writes:
I am still relatively new to Python. I am confused by the syntax
for tuples.
Well, it's reassuring to know that this is still as confusing for
newcomers now as it was when I started.
With
Hello:
I am still relatively new to Python. I am confused by the syntax for
tuples.
I had:
thread.start_new_thread(read_data_thread, (strDataFilename))
and got back the following error:
File scene.py, line 256, in readData
thread.start_new_thread(read_data_thread, (strDataFilename))
Michael Yanowitz wrote:
Hello:
I am still relatively new to Python. I am confused by the syntax for
tuples.
I had:
thread.start_new_thread(read_data_thread, (strDataFilename))
and got back the following error:
File scene.py, line 256, in readData
Michael Yanowitz wrote:
I am just confused by the syntax. I am used to a comma meaning that there
should be another parameter after the comma and if no additional parameter
the comma would not be necessary.
But isn't it incorrect to think in terms of 'parameters' when referring
to tuples?
Michael Yanowitz [EMAIL PROTECTED] writes:
I am still relatively new to Python. I am confused by the syntax
for tuples.
Well, it's reassuring to know that this is still as confusing for
newcomers now as it was when I started.
File scene.py, line 256, in readData