Open PFile, fill it and browser the objects
Source code name: "io_pfile_browsers.py"
Programming language: Python
Topic: File IO/Binary
DMelt Version 1. Last modified: 05/19/2016. License: Pro
https://datamelt.org/code/cache/io_pfile_browsers_8661.py
To run this script using the DMelt IDE, copy the above URL link to the menu [File]→[Read script from URL] of the DMelt IDE.



from jhplot.io  import *
from jhplot  import *
import time

f=PFile("test.jpbu","w")
start = time.clock()
for i in range(10):
  p0= P0D('Random='+str(i))
  p0.randomNormal(1000,0.0,1.0)
  f.write(p0)
print 'PFile  time (s)=',time.clock()-start
f.close()

# browser objects
c1=HPlot("Browser")
c1.visible()
f=PFile("test.jpbu")
BrowserPFile(c1,f,1)



You see the box below because you did not login.