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)+(눈_눈))),(ŎдŎ))

Rename and categorize your DMOJ solutions

DMOJ Downloader What is this for? DMOJ lets you download the code for all your solutions, however the files are just named as numbers

Evan Wild 1 Dec 04, 2022
Poetry workspace plugin for Python monorepos.

poetry-workspace-plugin Poetry workspace plugin for Python monorepos. Inspired by Yarn Workspaces. Adds a new subcommand group, poetry workspace, whic

Jack Smith 74 Jan 01, 2023
Processamento da Informação - Disciplina UFABC

Processamento da Informacao Disciplina UFABC, Linguagem de Programação Python - 2021.2 Objetivos Apresentar os fundamentos sobre manipulação e tratame

Melissa Junqueira de Barros Lins 1 Jun 12, 2022
A repository containing useful resources needed to complete the SUSE Scholarship Challenge #UdacitySUSEScholars #poweredbySUSE

SUSE-udacity-cloud-native-scholarship A repository containing useful resources needed to complete the SUSE Scholarship Challenge #UdacitySUSEScholars

Nandini Proothi 11 Dec 02, 2021
A parallel branch-and-bound engine for Python.

pybnb A parallel branch-and-bound engine for Python. This software is copyright (c) by Gabriel A. Hackebeil (gabe.hacke

Gabriel Hackebeil 52 Nov 12, 2022
La version open source du bot Discord Sblerboy

Sblerboy-Open-Source La version open source du bot Discord Sblerboy Sblerboy est un bot Discord permettant de jouer à des jeux de Gameboy directement

15 Nov 19, 2022
A python script for practicing Toki Pona.

toki.py A python script for practicing Toki Pona. Modified from a hirigana script by ~vilmibm. Example of the script running: $ ./toki.py This script

Dustin 2 Dec 09, 2021
Sikulix with Ubuntu Calculator Automation

CalculatorAutomation Sikulix with Ubuntu Calculator Automation STEP 1: DOWNLOAD and INSTALL SIKULIX https://raiman.github.io/SikuliX1/downloads.html T

Bedirhan Sayakci 2 Oct 27, 2021
In this project, we are going to display the battery notification and the time left for the battery to drain out using the battery capacity value.

In this project, we are going to display the battery notification and the time left for the battery to drain out using the battery capacity value.

Ritoban Biswas 1 Dec 20, 2021
A country information finder module

A country information finder module

Fayas Noushad 3 Nov 28, 2021
Python tools for experimenting with differentiable intonation cost measures

Differentiable Intonation Tools The Differentiable Intonation Tools (dit) are a collection of Python functions to analyze the intonation in multitrack

Simon Schwär 2 Mar 27, 2022
Compile Binary Ninja's HLIL IR to LLVM, for purposes of compiling it back to a binary again.

Compiles BinaryNinja's HLIL to LLVM Approach Sweep binary for global variables, create them Sweep binary for (used?) external functions, declare those

Kyle Martin 31 Nov 10, 2022
A python library for writing parser-based interactive fiction.

About IntFicPy A python library for writing parser-based interactive fiction. Currently in early development. IntFicPy Docs Parser-based interactive f

Rita Lester 31 Nov 23, 2022
Generate Gaussian 09 input files for the rotamers of an input compound.

Rotapy Purpose Generate Gaussian 09 input files for the rotamers of an input compound. Distance to the axis of rotation remains constant throughout th

1 Jul 16, 2021
The blancmange curve can be visually built up out of triangle wave functions if the infinite sum is approximated by finite sums of the first few terms.

Blancmange-curve The blancmange curve can be visually built up out of triangle wave functions if the infinite sum is approximated by finite sums of th

Shankar Mahadevan L 1 Nov 30, 2021
The presented desktop application was made to solve 1d schrodinger eqation

schrodinger_equation_1d_solver The presented desktop application was made to solve 1d schrodinger eqation. It implements Numerov's algorithm (step by

Artem Kashapov 2 Dec 29, 2021
A micro-service that can be extended to help in monitoring systems

A micro-service that can be extended to help in monitoring systems. Be extensible to be incorporated in any of the systems to facilitate timely interventions.

Peter Kagwe 1 Feb 06, 2022
Ikaros is a free financial library built in pure python that can be used to get information for single stocks, generate signals and build prortfolios

Ikaros is a free financial library built in pure python that can be used to get information for single stocks, generate signals and build prortfolios

Salma Saidane 64 Sep 28, 2022
Turn crypto miner on/off depending on powerwall charge level

Mining Crypto with Tesla Solar and Powerwalls This script turns a crypto miner on and off when the Tesla Powerwall level drops/rises above a certain t

Matt 1 Nov 09, 2021
Backup dc registry - A simple POC that abuses Backup Operator privileges to remote dump SAM, SYSTEM, and SECURITY

Backup Operator Registry Backup to Domain Compromise A simple POC that abuses Ba

Horizon 3 AI Inc 57 Dec 18, 2022