>> The line should be
>> s = getsize(join(root, name))
>>
>> which will print the file size for each "name in files"
>
>
> I got it a bit later. It didn't like me trying to apply it in a print
> statement but if I assigned it first and the printed it, no issue.
This should give you no problem ~
pr
On 7/23/07, Tiger12506 <[EMAIL PROTECTED]> wrote:
The line should be
s = getsize(join(root, name))
which will print the file size for each "name in files"
I got it a bit later. It didn't like me trying to apply it in a print
statement but if I assigned it first and the printed it, no issue.
> Then I would need to get the file size (but this is giving me an error at
> the moment)
>for name in files:
>s = sum(getsize(join(root, name)
>print s (syntax error here. I have not figured it out yet. There
> are spaces in the path/filename combo)
> (code to parse the file
On Fri, 20 Jul 2007, Doug Glenn wrote:
> I have a question on program design. The program will be a catalog of
> portable media (DVD, CD, flash drive, floppy, etc). I am currently in the
> preliminary stages of design and I currently would like to get input on what
> the best method would be for
I have a question on program design. The program will be a catalog of
portable media (DVD, CD, flash drive, floppy, etc). I am currently in the
preliminary stages of design and I currently would like to get input on what
the best method would be for initially gathering the data and what format i