"I am new to python. I am working in computational biology and I have
to deal with text files of huge size. I know how to read line by line
from a text file. I want to know the best method in  python3 to load
the enire file into ram and do the operations.(since this saves time)"


If you are new to python why are you so concerned about the speed of
your code.  You never say how long it takes.  Do these files take
hours to process? or minutes or seconds?    I suggest you write your
code in a way that is clear and understandable, then try to optimize
it if necessary.


>
> _______________________________________________
> Tutor maillist  -  Tutor@python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor



-- 
Joel Goldstick
http://joelgoldstick.com
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to