Panda3D

- Main Page
- Packages
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Public Attributes | Static Public Attributes

# file Class Reference

List of all members.

## Public Member Functions
def | __init__
def | __del__
def | __enter__
def | __exit__
def | __iter__
def | close
def | flush
def | next
def | read
def | readline
def | readlines
def | seek
def | tell
def | truncate
def | write
def | writelines
## Public Attributes
| closed
| encoding
| errors
| filename
| mode
| name
| newlines
| softspace
## Static Public Attributes
| xreadlines = readlines

## Constructor & Destructor Documentation

def __init__ | ( |  | self,
|  |  | filename,
|  |  | mode = `'r'`,
|  |  | bufsize = `None`,
|  |  | autoUnwrap = `False`
| ) |  |

def __del__ | ( |  | self | ) |

## Member Function Documentation

def __enter__ | ( |  | self | ) |

def __exit__ | ( |  | self,
|  |  | t,
|  |  | v,
|  |  | tb
| ) |  |

def __iter__ | ( |  | self | ) |

def close | ( |  | self | ) |

def flush | ( |  | self | ) |

def next | ( |  | self | ) |

def read | ( |  | self,
|  |  | size = `-1`
| ) |  |

def readline | ( |  | self,
|  |  | size = `-1`
| ) |  |

def readlines | ( |  | self,
|  |  | sizehint = `-1`
| ) |  |

def seek | ( |  | self,
|  |  | offset,
|  |  | whence = `0`
| ) |  |

def tell | ( |  | self | ) |

def truncate | ( |  | self | ) |

    Sorry, this isn't supported by Panda's low-level I/O,
    because it isn't supported by the standard C++ library.

def write | ( |  | self,
|  |  | str
| ) |  |

def writelines | ( |  | self,
|  |  | lines
| ) |  |

## Member Data Documentation

closed

encoding

errors

filename

mode

name

newlines

softspace

xreadlines = readlines`[static]`

All Classes Namespaces Functions Variables Enumerations Enumerator Properties