Hin there!!!
I have a niave question on dictionary analysis:
If you have a dictionary like this:
diz
Out[8]: {'elenour': 1, 'frank': 1, 'jack': 1, 'ralph': 1}
and you have a list and you want to know which keys are not present on my
dictionary the code are simple.
for i in diz.keys():
...:
On Tue, Jul 22, 2014 at 01:10:18PM +0200, jarod...@libero.it wrote:
> But I havethis problem I have a file and I want to know which elements are
> not
> present on my file from dictionary.
> more data.tmp
> jack 1
> pippo 1
> luis 1
> frate 1
> livio 1
> frank 1
>
>
> with open("data.tmp")
jarod...@libero.it wrote:
> Hin there!!!
>
> I have a niave question on dictionary analysis:
> If you have a dictionary like this:
> diz
> Out[8]: {'elenour': 1, 'frank': 1, 'jack': 1, 'ralph': 1}
>
> and you have a list and you want to know which keys are not present on my
> dictionary the cod
Hello list, I'm new. I've done a few things in Python, but this one is posing
problems.
What I want to do is be able to parse a directory, say /Volumes/Stuff/Files/,
and all the directories that might be in there, and be able to pick out file
name, size, date modified, etc, and send that to a
> What I want to do is be able to parse a directory, say
/Volumes/Stuff/Files/, and all the directories that might be in there, and
be able to pick out file name, size, date modified, etc,
Hi Eric,
You might find the following helpful:
http://www.diveintopython.net/file_handling/os_module.html
__
On Tue, Jul 22, 2014 at 04:10:02PM -0700, Eric Dannewitz wrote:
> Hello list, I'm new. I've done a few things in Python, but this one is posing
> problems.
>
> What I want to do is be able to parse a directory, say
> /Volumes/Stuff/Files/, and all the directories that might be in there,
> and
That's close. I have been playing from glob and os.walk but I'm at a loss how
to get the size, creation and modified date while running it.
- Original Message -
From: "Danny Yoo"
To: "Eric Dannewitz"
Cc: "Python Tutor Mailing List"
Sent: Tuesday, July 22, 2014 6:14:55 PM
Subject:
Hi again and thank-you Wolfgang and company. I wish I could give you snickers
bars or something! I was able to get through the road_blocks with your help.
I have been working the last few days, I am sorry to say, unsuccessfully, to
calculate the mean (that's easy), split the data into sub-gro