Panda3D
Loading...
Searching...
No Matches
Functions
direct.stdpy.glob Namespace Reference

Functions

 escape (pathname)
 
 glob (pathname)
 
 glob0 (dirname, basename)
 
 glob1 (dirname, pattern)
 
 has_magic (s)
 
 iglob (pathname)
 

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

◆ escape()

escape ( pathname)

◆ glob()

glob ( pathname)
Return a list of paths matching a pathname pattern.

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

◆ glob0()

glob0 ( dirname,
basename )

◆ glob1()

glob1 ( dirname,
pattern )

◆ has_magic()

has_magic ( s)

◆ iglob()

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

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