This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<---TUTORIAL FOR CREATING XCURSOR THEMES.---> | |
<---By ThEOnE @ kde-look---> | |
<---My_foros@yahoo.com.ar--> | |
_______________________________________________________________________________________ | |
| | | |
| First of all, let me tell you that everything I know I've learned it by inspecting | | |
| some xcursor themes like jaguarx, and others. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class FileCacher: | |
"Cache the stdout text so we can analyze it before returning it" | |
def __init__(self): self.reset() | |
def reset(self): self.out = [] | |
def write(self,line): self.out.append(line) | |
def flush(self): | |
output = '\n'.join(self.out) | |
self.reset() | |
return output |