Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
python3-colorama /
examples /
[ HOME SHELL ]
Name
Size
Permission
Action
demo01.py
1.97
KB
-rw-r--r--
demo02.py
574
B
-rw-r--r--
demo03.py
682
B
-rw-r--r--
demo04.py
476
B
-rw-r--r--
demo05.py
983
B
-rw-r--r--
demo06.py
1.72
KB
-rw-r--r--
demo07.py
577
B
-rw-r--r--
demo08.py
344
B
-rw-r--r--
demo.bat
1.17
KB
-rw-r--r--
demo.sh
1.14
KB
-rw-r--r--
fixpath.py
384
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : demo.bat
:: Copyright Jonathan Hartley 2013. BSD 3-Clause license, see LICENSE file. :: Script to demonstrate features of colorama. :: This demo is also used to verify correctness visually, because we don't :: have automated tests. :: Implemented as a bash script which invokes python so that we can test the :: behaviour on exit, which resets default colors again. :: print grid of all colors and brightnesses python demo01.py :: Simple demo of changing foreground, background and brightness. python demo02.py :: Demonstrate the different behavior when autoreset is True and False. python demo03.py :: check that stripped ANSI in redirected stderr does not affect stdout if exist demo04.out del demo04.out python demo04.py 2> demo04.out type demo04.out if exist demo04.out del demo04.out :: Demonstrate the difference between colorama initialized with wrapping on and off. python demo05.py :: Demonstrate printing colored, random characters at random positions on the screen python demo06.py :: Demonstrate cursor relative movement: UP, DOWN, FORWARD, and BACK in colorama.CURSOR python demo07.py :: Demonstrate the use of a context manager instead of manually using init and deinit python demo08.py
Close