aaencode for python,把python代码转换为颜文字

Overview

py-aaencode

aaencode for python,把python代码转换为颜文字

compile.py: 将python编译成颜文字,编译结果有随机性,可以选择BPE词表压缩代码

compile_min.py: 最小化的编译器

compiled_min.txt: 编译得到的最小的compile_min.py

template.py: 原始模板

example

>> CompileDict().compile("print('hello world')")

# -*- coding: utf-8 -*-

(oˆ_ˆo)=_=33;o=(ˆωˆ)=(oˆ_ˆo)-(oˆ_ˆo);c=(ŎдŎ)=(ŏ_ŏ)=(oˆ_ˆo)// (oˆ_ˆo);(oˆ_ˆo)=(c^_^o);ヾˆ_ˆノ=(ì_í)=(ŏ_ŏ)+(ŎдŎ);(oˇ罒ˇo)=(ì_í)+ヾˆ_ˆノ;(눈_눈)=ヾˆ_ˆノ*(oˇ罒ˇo);(乛д乛)=(oˆ_ˆo)//ヾˆ_ˆノ;(ಠ_ಠ)=ヾˆ_ˆノ*(oˆ_ˆo);(ಥ_ಥ)=ᕕᐛᕗ=ヾˆ_ˆノ*(ಠ_ಠ);(O_o)=(o^_^o)+(ಠ_ಠ);(oェo)=(ì_í)+(ŏ_ŏ);(Θ3Θ)=(ŏ_ŏ)+(oˇ罒ˇo);(OÅO)=ヾˆ_ˆノ*(ಥ_ಥ);(TAT)=(ì_í)+(Θ3Θ);(QAQ)=(Θ3Θ)+(O_o)+(눈_눈);(ŎдŎ)={(ˆωˆ):('c'),(ŏ_ŏ):'%>_<%'[ˆωˆ]};(ÒωÓױ)=exec;(ÒωÓױ)('(ˆωˆ)'+'='+(ŎдŎ)[ˆωˆ]+((ŎдŎ)[ŏ_ŏ]+(ŎдŎ)[ˆωˆ])%((ヾˆ_ˆノ+(o^_^o)+ヾˆ_ˆノ*(oˆ_ˆo)+(oˇ罒ˇo)+(ŏ_ŏ)))+((ŎдŎ)[ŏ_ŏ]+(ŎдŎ)[ˆωˆ])%(((乛д乛)+(ŏ_ŏ)+(o^_^o)+(ಠ_ಠ))),(ŎдŎ));(ŎдŎ)[ˆωˆ]=(ŎдŎ)['ˆωˆ'];(ŎдŎ)['O_o']=(ŎдŎ)[ˆωˆ](c^_^o);(ŎдŎ)['QAQ']=(ŎдŎ)[ˆωˆ]((oˇ罒ˇo)+(O_o));(ŎдŎ)[((ì_í))]=(ŎдŎ)[ˆωˆ](((oェo)+(눈_눈)+(O_o)));(ÒωÓױ)((ŎдŎ)[ˆωˆ](((ì_í)+(QAQ)))+(ŎдŎ)[ˆωˆ](((QAQ)+(oˇ罒ˇo)))+(ŎдŎ)[ˆωˆ](((눈_눈)+(O_o)))+(ŎдŎ)[ˆωˆ](((QAQ)))+(ŎдŎ)[ˆωˆ](((QAQ)+(Θ3Θ)+(ŏ_ŏ)))+(ŎдŎ)[ˆωˆ](((o^_^o)+(TAT)))+(ŎдŎ)[ˆωˆ](((ŏ_ŏ)+(Θ3Θ)+(o^_^o)))+(ŎдŎ)[ˆωˆ](((O_o)+(TAT)))+(ŎдŎ)['QAQ']+(ŎдŎ)[((ì_í))]+(ŎдŎ)[((ì_í))]+('o')+(ŎдŎ)['O_o']+(ŎдŎ)[ˆωˆ](((QAQ)+(눈_눈)+(ŏ_ŏ)))+('o')+(ŎдŎ)[ˆωˆ](((oˇ罒ˇo)+(QAQ)))+(ŎдŎ)[((ì_í))]+(ŎдŎ)[ˆωˆ](((oェo)+(O_o)))+(ŎдŎ)[ˆωˆ](((o^_^o)+(Θ3Θ)+(ŏ_ŏ)))+(ŎдŎ)[ˆωˆ](((o^_^o)+(눈_눈))),(ŎдŎ))

Discord's own Dumbass made for shits n' Gigs!

FWB3 Discord's own Dumbass made for shits n' Gigs! Please note: This bot is made to be stupid and funny, If you want to get into bot development you'r

1 Dec 06, 2021
Covid-ChatBot - A Rapid Response Virtual Agent for Covid-19 Queries

COVID-19 CHatBot A Rapid Response Virtual Agent for Covid-19 Queries Contents What is ChatBot Types of ChatBots About the Project Dataset Prerequisite

NelakurthiSudheer 2 Jan 04, 2022
flake8 plugin which checks that there is no use of sleep in the code.

flake8-sleep flake8 plugin which checks for use of sleep function. installation Using Pypi: pip install flake8-sleep flake8 codes Code Description SLP

1 Nov 26, 2021
The official FOSSCOMM 2021 CTF by [email protected]

FOSSCOMM 2021 CTF Table of Contents General Info FAQ General Info Purpose: This CTF is a collaboration between the FOSSCOMM conference and the Machina 2 Nov 14, 2021

This repository contains each day of Advent of Code 2021 that I've done.

Advent of Code - 2021 I will use this repository as my Advent of Code1 (AoC) repo for the 2021 challenge. I'm changing how I am tackling the problems

Brett Chapin 2 Jan 12, 2022
Improving Representations via Similarities

embetter warning I like to build in public, but please don't expect anything yet. This is alpha stuff! notes Improving Representations via Similaritie

vincent d warmerdam 229 Jan 08, 2023
Simple rofi script to choose player for playerctl to execute its command

rofi-playerctl-switcher simple rofi script to choose player for playerctl to execute its command Usage copy playerSwitch.py and playerctl.sh to ~/.con

2 Jan 03, 2022
An awesome script to convert the University Of Oviedo web calendar to Google or Outlook calendars.

autoUniCalendar Un script en Python para convertir el calendario de la intranet de la Universidad de Oviedo en un calendario de Outlook o Google Calen

Bimo99B9 14 Sep 28, 2022
Platform Tree for Xiaomi Redmi Note 7/7S (lavender)

The Xiaomi Redmi Note 7 (codenamed "lavender") is a mid-range smartphone from Xiaomi announced in January 2019. Device specifications Device Xiaomi Re

MUHAMAD KHOIRON 2 Dec 20, 2021
Checkers Project Built Using Python

Checkers Project Built Using Python

Meekness Anyaeche 1 Nov 08, 2021
In this repo i inherit the pos module and added QR code to pos receipt

odoo-pos-inherit In this repo i inherit the pos module and added QR code to pos receipt 1- Create new Odoo Module using command line $ python odoo-bin

5 Apr 09, 2022
Python Classes Without Boilerplate

attrs is the Python package that will bring back the joy of writing classes by relieving you from the drudgery of implementing object protocols (aka d

The attrs Cabal 4.6k Jan 02, 2023
ARK sõidueksami Matrixi bot

ARK Sõidueksami bot Küsib ARK-i lehelt uusimad eksami ajad ja saadab sõnumi Matrixi kanali Dev setup Linux python3 -m venv venv source venv/bin/activa

Arti Zirk 3 Jun 15, 2021
A place where one-off ideas/partial projects can live comfortably

A place to post ideas, partial projects, or anything else that doesn't necessarily warrant its own repo, from my mind to the web.

Carson Scott 2 Feb 25, 2022
A shim for the typeshed changes in mypy 0.900

types-all A shim for the typeshed changes in mypy 0.900 installation pip install types-all why --install-types is annoying, this installs all the thin

Anthony Sottile 28 Oct 20, 2022
Packages of Example Data for The Effect

causaldata This repository will contain R, Stata, and Python packages, all called causaldata, which contain data sets that can be used to implement th

103 Dec 24, 2022
A functional standard library for Python.

Toolz A set of utility functions for iterators, functions, and dictionaries. See the PyToolz documentation at https://toolz.readthedocs.io LICENSE New

4.1k Jan 04, 2023
Helps compare between New and Old Tax Regime.

Income-Tax-Calculator Helps compare between New and Old Tax Regime. Sample Console Input/Output

2 Jan 10, 2022
Expression interpreter written in Python

Calc Interpreter An interpreter modeled after a calculator implemented in Python 3. The program currently only supports basic mathematical expressions

1 Oct 17, 2021
This repo is a collection of programs and websites templates too

📢 Register here for Hacktoberfest and make four pull requests (PRs) between October 1st-31st to grab free SWAGS 🔥 . IMPORTANT While making pull requ

Binayak Jha - 2 7 Oct 03, 2022