Re: [Tutor] Tutor Digest, Vol 160, Issue 34

2017-06-27 Thread anish singh
> >> anish singh wrote: > >> > >>> I need a custom comparator. > >>> > >>> dictionary = {a:[b,c], d:[e,f]} > >>> > >>> If both 'b' and 'e' belong to the same bin > >>> then it should be compared based on 'c' and 'f'. > >>> > >>> However, I want to also represent the result of the > >>> sorted opera

Re: [Tutor] Fwd: Re: Using files to read data

2017-06-27 Thread Mats Wichmann
On 06/27/2017 05:01 AM, Alan Gauld via Tutor wrote: > Forwarding to list > > Please always use ReplyAll or ReplyList when responding to list mail. > > > > Forwarded Message > > i apologize. i guess it didn’t attach correctly. > my issue is how do i get it out of my file and

Re: [Tutor] Fwd: Re: Using files to read data

2017-06-27 Thread Peter Otten
Alan Gauld via Tutor wrote: > Forwarding to list > > Please always use ReplyAll or ReplyList when responding to list mail. > > > > Forwarded Message > > i apologize. i guess it didn’t attach correctly. > my issue is how do i get it out of my file and use it. > > *the json

[Tutor] Fwd: Re: Using files to read data

2017-06-27 Thread Alan Gauld via Tutor
Forwarding to list Please always use ReplyAll or ReplyList when responding to list mail. Forwarded Message i apologize. i guess it didn’t attach correctly. my issue is how do i get it out of my file and use it. *the json file, its only about a fifth of it but it should ser

Re: [Tutor] Using files to read data

2017-06-27 Thread Alan Gauld via Tutor
On 27/06/17 06:32, Micheal Dale Peterson wrote: > I am trying to write something that stores x and y data > with a time reference and then use it later ... Lets stick to one thing at a time. How far did you get writing the data to a file? Did the file get created? Can you edit in the text editor?

Re: [Tutor] Using files to read data

2017-06-27 Thread Peter Otten
Micheal Dale Peterson wrote: > my saved lists Hello Micheal! Have a look at to learn what we see of your mail. Unfortunately attachments are stripped off. Please resend as plain text, with your code and data inlined in the body

[Tutor] Using files to read data

2017-06-27 Thread Micheal Dale Peterson
hello I’m new to python. I have been trying to teach myself without asking questions because i feel i learn more. But i am stuck on this for a bout a week now. I am trying to write something that stores x and y data with a time reference and then use it later to create some type of a graph. I