![]() |
TIMBER
beta
Tree Interface for Making Binned Events with RDataFrame
|
Stores file in memory with access similar to how a file would be written and read on disk. More...
Public Member Functions | |
| def | __init__ (self) |
| Create empty file. More... | |
| def | write (self, inStr) |
| Write string to the file. More... | |
Public Attributes | |
| str | |
| str String stored in memory. More... | |
Stores file in memory with access similar to how a file would be written and read on disk.
Intention is just to have a string in memory with the same methods as a standard python I/O file so that TIMBER doesn't care which one it is using (ie. they both have "write" methods).
| def __init__ | ( | self | ) |
Create empty file.
Stores file in memory with access similar to how a file would be written and read on disk. Intention is just to have a string in memory with the same methods as a standard python I/O file so that TIMBER doesn't care which one it is using (ie. they both have "write" methods).
| def write | ( | self, | |
| inStr | |||
| ) |
Write string to the file.
| inStr | (str): String to write. |
| str |
str String stored in memory.
1.8.13