On 10/26/2016 02:06 PM, Wish Dokta wrote:
> Hello,
>
> I am currently writing a basic program to calculate and display the size of
> folders with a drive/directory. To do this I am storing each directory in a
> dict as the key, with the value being the sum of the size of all files in
> that directo
BubOn Oct 27, 2016 8:38 AM, "Wish Dokta" wrote:
>
> Hello Alan,
>
> Thank you for the reply.
>
> I have actually fixed that bug. If you are bored or for some other reason
> would like to assist a newbro my code is here:
>
> main: http://pastebin.com/LgbeywiB
> functions: http://pastebin.com/vU7zzJ
Thank you Bob,
While you were correct adding "\\" helped, I also needed to add "\\" to the
dict key so it would also pic up the root directory.
Many thanks,
Glen
On 26 October 2016 at 19:43, Bob Gailer wrote:
> On Oct 26, 2016 2:07 PM, "Wish Dokta" wrote:
> >
> > Hello,
> >
> > I am currently
Hello Alan,
Thank you for the reply.
I have actually fixed that bug. If you are bored or for some other reason
would like to assist a newbro my code is here:
main: http://pastebin.com/LgbeywiB
functions: http://pastebin.com/vU7zzJKe
I'd be very grateful for any feedback on improvements to the c
On Oct 26, 2016 2:07 PM, "Wish Dokta" wrote:
>
> Hello,
>
> I am currently writing a basic program to calculate and display the size
of
> folders with a drive/directory. To do this I am storing each directory in
a
> dict as the key, with the value being the sum of the size of all files in
> that d
On 26/10/16 19:06, Wish Dokta wrote:
> folders with a drive/directory. To do this I am storing each directory in a
> dict as the key, with the value being the sum of the size of all files in
> that directories (but not directories).
>
> For example:
>
> for "C:\\docs\\code" in key:
>
> Which wo
Hello,
I am currently writing a basic program to calculate and display the size of
folders with a drive/directory. To do this I am storing each directory in a
dict as the key, with the value being the sum of the size of all files in
that directories (but not directories).
For example:
{ "C:\\doc