UTC: 2025-11-07 08:09
naveen521kk/au-packages
This file is automatically generated by the update_all.ps1 script using the Chocolatey-AU module.
Ignored | History | Force Test | Releases
| #To check whether a string is a palindrome or not. | |
| s=input('Enter a word') | |
| l=len(s) | |
| mid=l//2 | |
| rev=-1 | |
| for a in range(l): | |
| if s[a]==s[rev]: | |
| rev-=1 | |
| else: | |
| print("not a palindrome") |
| import platform | |
| import os | |
| import sys | |
| import urllib.request | |
| if 'Windows' in platform.system(): | |
| # In case the python version is 3.6 and the system is 32-bit, try pycairo‑1.19.1‑cp37‑cp37m‑win32.whl version of cairo | |
| if sys.version[:3]=='3.6' and platform.machine()=='x86': | |
| urllib.request.urlretrieve("https://download.lfd.uci.edu/pythonlibs/w3jqiv8s/pycairo-1.19.1-cp36-cp36m-win32.whl", "pycairo-1.19.1-cp36-cp36m-win32.whl") | |
| os.system("pip install pycairo-1.19.1-cp36-cp36m-win32.whl") |
UTC: 2025-11-07 08:09
naveen521kk/au-packages
This file is automatically generated by the update_all.ps1 script using the Chocolatey-AU module.
Ignored | History | Force Test | Releases
Go to https://chocolatey.org/install and follow the command there and paste it in an administrative Powershell Windows. Something like
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
| # By Naveen M K | |
| from manim import * | |
| from text2svg import TextInfo, register_font, Style, Weight,CharSettings,text2svg | |
| import os | |
| import hashlib | |
| import re | |
| TEXT_MOB_SCALE_FACTOR = 0.05 | |
| class Text2(SVGMobject): | |
| def __init__( | |
| self, |
| from manim import * | |
| class Emoji(Scene): | |
| def construct(self): | |
| a=Text('❌️ 😢 🔚 😀 ✨✨✨',font="sans-serif",color=RED).scale(2) | |
| self.play(Write(a)) | |
| self.wait() |
| from manim import * | |
| import numpy as np | |
| class PIDay(Scene): | |
| def construct(self): | |
| self.camera.background_color = "#ece6e2" | |
| pi=Tex("$\pi$") | |
| pi.scale(6.) | |
| pi.set_color(BLUE) | |
| pi1 = pi.copy() | |
| pi1.set_color(RED) |
| Windows Registry Editor Version 5.00 | |
| [-HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\MSYS here] | |
| [-HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\MINGW64 here] | |
| [-HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\MINGW32 here] |
| from manim import * | |
| class SmokeTests(Scene): | |
| def wait_and_clean(self): | |
| self.wait(1) | |
| self.clear() | |
| def construct(self): | |
| tex_test = [ | |
| r"\LaTeX", |
| import re | |
| import typing | |
| from pathlib import Path | |
| import requests | |
| from textwrap import dedent | |
| import tempfile | |
| import tarfile | |
| import logging | |
| logger = logging.getLogger("downloader: ") |