Python Forum
Thread Rating:
  • 2 Vote(s) - 3.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CACHING
#1
HI
I WANT TO KNOW HOW CAN WE READ A INFORMATION FROM FILE AND STORE IT IN CACHE
SO THAT THE FILE NEXT TIME READS ONLY WHEN THE MATTER IN CACHE HAS CHANGED
IN PYTHON 2.7.4
Reply
#2
FYI capital letters are considered shouting in forums. Refrain from use in future posts.
Be a bit more specific in your desired goal.
Also, tell us (show code) what you have tried so far, and where it goes wrong (if you can).
Reply
#3
I havent tried any solution as i am new to python language
so need help regarding caching

(Jun-22-2018, 06:10 PM)Larz60+ Wrote: FYI capital letters are considered shouting in forums. Refrain from use in future posts. Be a bit more specific in your desired goal. Also, tell us (show code) what you have tried so far, and where it goes wrong (if you can).

i am new to python so i havent tried and need help regarding caching
Reply
#4
Here's a recipie to examine: http://code.activestate.com/recipes/5230...ed-access/
(active state python, but generic)
Reply
#5
(Jun-22-2018, 06:48 PM)Larz60+ Wrote: Here's a recipie to examine: http://code.activestate.com/recipes/5230...ed-access/ (active state python, but generic)
(Jun-22-2018, 06:48 PM)Larz60+ Wrote: Here's a recipie to examine: http://code.activestate.com/recipes/5230...ed-access/ (active state python, but generic)
thank you so much.it was helpful
Reply
#6
(Jun-22-2018, 06:48 PM)Larz60+ Wrote: Here's a recipie to examine: http://code.activestate.com/recipes/5230...ed-access/ (active state python, but generic)
Hi
i have implemented the above code from the link.
but are we using any cache memory in the link which u send
or is it only dictionary like "self.filecache"
Reply
#7
I only skimmed the link before recommending, but I haven't implemented it.
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020