Everytime I type 'tinypy' in the terminal, I get this:
Code: Select all
Exception:
tp_get: KeyError: 0
Code: Select all
Exception:
tp_load(--help)
Any ideas? I don't need to be an expert, just need a little help to make it do something different!
Code: Select all
Exception:
tp_get: KeyError: 0
Code: Select all
Exception:
tp_load(--help)
I get a long list of incomprehensible garbage, lots of special characters in there.... Only 1 line had any info I could understand (if at all), and it says my binary is UPX'd... Would it make a difference? I guess I need one not UPX'd for 'strings' to work... Right?technosaurus wrote:It sounds like it may be looking for .py files in some directory. For more info try running
strings /pathto/tinypy
Code: Select all
UPX!
T$ éî
Ûsïu
Ûsä1É
ðÿtv
Éu A
Ûsïu
GIu÷é^ÿÿÿ
That's what I have.. But never mind all, it seems it will only accept files, not commands... it prints the help doc example fine (just a hello world .py).. so must be working.. in part at least..rjbrewer wrote:Type tinypy up in the "search" box.
The thread by Barry has a .pet.
Code: Select all
cd /usr/share/dos/tinypy
tinypy hello.py
aha... no paths in there, upx'd or not... I guess it just takes files.... And only a limited set of functions at that...technosaurus wrote:Thanks amigo, mi amigo.
What I was looking to see, was a file or directory name. Sometimes a directory path is hard- coded at compile time.
Part of Python is having access to a great many functions.limited set of functions
I forked it on github for some changes I've had sitting around for a while:
https://github.com/HarryR/tinypy-panda
It'd be nice to get some more ongoing development going.