Fast way to create color for terminal and moving the cursor. Make the code very readable.
You have python 3 installed.
To download source code from github we can use a terminal.
New-Item -Path ($(Get-Location | Select-Object -ExpandProperty Path) -Name "ansi_code" -ItemType "directory"
Invoke-WebRequest https://github.com/TirsvadCLI/Python.AnsiCode/archive/refs/heads/main.zip -OutFile ansi_code.zip
Expand-Archive -Path Draftv2.zip -DestinationPath .\ansi_code
Get-Item "*ansi_code-*" | Rename-Item -NewName "ansi_code"
Set-Location .\ansi_code\srv\ansi_code
mkdir ansi_code
curl -L https://api.github.com/repos/TirsvadCLI/Python.AnsiCode/tarball | tar -xz --strip-components=3 -C ansi_code
For run the application go to the folder ansi_code and run.
cd ansi_code
python3 main.py
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
Fork the Project
- Fork the Project
- Create your Feature Branch
- Commit your Changes
- Push to the Branch
- Open a Pull Request
Example
git checkout -b feature
git commit -m 'Add my feature enhance to project'
git push origin feature