Re: [Tutor] Modulus Operator ?

2015-11-20 Thread Danny Yoo
>>On Thu, Nov 19, 2015 at 1:11 PM, Ken Hammer wrote: > >>> y = 49%13 >>> print y >>> 10 > >>Actually, let me pretend for a moment that I don't know what the modulus >>operator is. Why do we get 10 here? Can you verbalize the reason? > > 49 contains 13 3 times and leaves 10 to be divided. > > >>C

Re: [Tutor] A small query on fabric

2015-11-20 Thread Alan Gauld
On 20/11/15 12:29, Santosh Kumar wrote: All, i am working on fabric with python . I have a structure as below. I know nothing of Fabric and this list is really for Python language and standard library questions. But there is a fabric mailing list and a twitter feed, you should probably try th

Re: [Tutor] Dictionary on data

2015-11-20 Thread Peter Otten
jarod_v6--- via Tutor wrote: > Dear All! > I have this elements > > In [445]: pt = line.split("\t")[9] > > In [446]: pt > Out[446]: 'gene_id "ENSG0223972"; gene_version "5"; transcript_id > "ENST0456328"; transcript_version "2"; exon_number "1"; gene_name > "DDX11L1"; gene_source "havan

[Tutor] A small query on fabric

2015-11-20 Thread Santosh Kumar
All, i am working on fabric with python . I have a structure as below. topdir + fabfile.py other_scripts + script1 + script2 + script3 I am trying to import these scripts into fabfile.py and use them for executing across multiple hosts. But i am able to run them only on the localhost not abl

[Tutor] Dictionary on data

2015-11-20 Thread jarod_v6--- via Tutor
Dear All! I have this elements In [445]: pt = line.split("\t")[9] In [446]: pt Out[446]: 'gene_id "ENSG0223972"; gene_version "5"; transcript_id "ENST0456328"; transcript_version "2"; exon_number "1"; gene_name "DDX11L1"; gene_source "havana"; gene_biotype "transcribed_unprocessed_pse

Re: [Tutor] Strange error (Peter Otten)

2015-11-20 Thread jarod_v6--- via Tutor
Thanks so much!! was a very silly error ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor