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

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.

Files for pyexecutable, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size pyexecutable-1.0-py3-none-any.whl (2.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pyexecutable-1.0.tar.gz (1.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page