Skip to main content

Package for executable files build

Project description

PyExecutable

builder

Executable(name : str, autosave : bool = True)

Executable file.

save()

Save an executable

close()

Close an executable

addInstruction(instruction)

Add instruction to executable

getAssembler()

Get assembler code of executable

getInstructions()

Get instructions of executable

instructions

output(string)

Output string

newline()

Output newline

exit()

Exit from executable

assemmbler

compile()

Compile assembler code

Examples

Hello world!

from PyExecutable.builder import Executable, instructions

with Executable('helloworld.exe') as exe:
	exe.addInstruction(instructions.output('hello world'))

Visit card

from PyExecutable.builder import Executable, instructions

exe = Executable('hippo.exe')
exe.addInstruction(instructions.output('Hello world!'))
exe.addInstruction(instructions.output.newline())
exe.addInstruction(instructions.output("I'm simple program. My name is \"hippo.exe\"."))

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyexecutable-1.0.tar.gz (1.7 kB view hashes)

Uploaded Source

Built Distribution

pyexecutable-1.0-py3-none-any.whl (2.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page