Journal integration doubt
Ivan Krstić
krstic at solarsail.hcs.harvard.edu
Sun Oct 21 07:40:28 EDT 2007
On Oct 21, 2007, at 1:10 PM, Arjun Sarwal wrote:
> am trying to associate with the journal object would basically
> contain the file paths of the logs made in that session
Make sure you're storing the full files -- not paths -- in the
journal, e.g. as a zip file.
> #Create a unique file name using the current time
> self._jobject.file_path = os.path.join("/tmp/myLogs" + str(time.time
> ()))
Don't do this. See os.tmpfile() or the tempfile module.
(Journal/activity questions are more appropriate for sugar@; Reply-To
set.)
--
Ivan Krstić <krstic at solarsail.hcs.harvard.edu> | http://radian.org
More information about the Devel
mailing list