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
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 details)
Built Distribution
File details
Details for the file pyexecutable-1.0.tar.gz
.
File metadata
- Download URL: pyexecutable-1.0.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 776373d080141ca95975eda3649baef1a28ee3634926280a8ff8c801478b6d12 |
|
MD5 | 134ebcceb553dd0dcc3a9d4c03bd1577 |
|
BLAKE2b-256 | 99ba94411ac3e9d27eed311065d200c9085f8a25ab4435e6db3e614f7032d80c |
File details
Details for the file pyexecutable-1.0-py3-none-any.whl
.
File metadata
- Download URL: pyexecutable-1.0-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93b1b23dff1cc8206ebd52cddac254fd346f1c689a302be8f2884893cca04328 |
|
MD5 | e83d125efd2bbf048f62d2d75a466e9d |
|
BLAKE2b-256 | d7f7eb6cedd3ed992fb1e7c7b3a5bda513b133b4f09824a95759a9385f2b27b8 |