Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Running two scripts
#6
(Mar-22-2018, 04:31 AM)arka7886 Wrote: that would generate 100's of output files, or a large .csv file, which I again have to read in, in the other program.
Just reading files can be much faster than the 30 minutes of calculations.

You can also use python's pickle module to store in a more 'binary' way, but I think numpy has its own binary format.

As for a memory file, it is an ordinary file, but it is stored in RAM. If you're in linux it is usually implemented as the /dev/shm directory, although this question may be worth reading.
Reply


Messages In This Thread
Running two scripts - by arka7886 - Mar-21-2018, 10:21 PM
RE: Running two scripts - by Gribouillis - Mar-21-2018, 11:02 PM
RE: Running two scripts - by arka7886 - Mar-21-2018, 11:11 PM
RE: Running two scripts - by Gribouillis - Mar-22-2018, 04:21 AM
RE: Running two scripts - by arka7886 - Mar-22-2018, 04:31 AM
RE: Running two scripts - by Gribouillis - Mar-22-2018, 04:47 AM

Forum Jump:

User Panel Messages

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