Panda3D

- Main Page
- Packages
- Classes

- Packages
- Package Functions

Functions | Variables

# Package stdpy.glob

## Functions
def | glob
def | glob0
def | glob1
def | has_magic
def | iglob
## Variables
list | __all__ = ["glob", "iglob"]
tuple | magic_check = re.compile('[*?[]')

## Detailed Description

    This module reimplements Python's native glob module using Panda
    vfs constructs.  This enables Python to interface more easily with Panda's
    virtual file system.

## Function Documentation

def stdpy.glob.glob | ( |  | pathname | ) |

    Return a list of paths matching a pathname pattern.

    The pattern may contain simple shell-style wildcards a la fnmatch.

def stdpy.glob.glob0 | ( |  | dirname,
|  |  | basename
| ) |  |

def stdpy.glob.glob1 | ( |  | dirname,
|  |  | pattern
| ) |  |

def stdpy.glob.has_magic | ( |  | s | ) |

def stdpy.glob.iglob | ( |  | pathname | ) |

    Return an iterator which yields the paths matching a pathname pattern.

    The pattern may contain simple shell-style wildcards a la fnmatch.

## Variable Documentation

list __all__ = ["glob", "iglob"]

tuple magic_check = re.compile('[*?[]')

All Classes Namespaces Functions Variables Enumerations Enumerator Properties