Search found 6 matches

by zitt
Thu Apr 08, 2021 6:28 am
Forum: Programs, Libraries and Tools
Topic: [Solved] import stat failure
Replies: 6
Views: 2471

Re: [Solved] import stat failure

it's just going to import the first one it sees and not even look further. Can't be 100% sure that is what happened since a dir(stat) only seemed to report "built-in" information. It wouldn't provide any of the methods of the file. If I run into this again; I'll try to make better observations.
by zitt
Wed Apr 07, 2021 5:23 am
Forum: Programs, Libraries and Tools
Topic: Regular Expressions don't work - ure
Replies: 1
Views: 1107

Re: Regular Expressions don't work - ure

I stand corrected; my simple example in the linux port also fails. Output as follows: /mnt/v/micro.python$ micropython tstRe.py 0: rsplit 5 (3) 2: any 3: jmp 0 (-5) 5: save 0 7: assert bol 8: save 2 10: class 2 0x46-0x46 0x66-0x66 16: class 2 0x53-0x53 0x73-0x73 22: namedclass d 24: rsplit 22 (-4) 2...
by zitt
Wed Apr 07, 2021 5:15 am
Forum: Programs, Libraries and Tools
Topic: Regular Expressions don't work - ure
Replies: 1
Views: 1107

Regular Expressions don't work - ure

As a fairly experienced python scripter; I've hit a new issue which seems to indicate the UEFI port of micropython has bug in Regular expressions. I'm using an out-of-date version of micropython compiled for UEFI (https://github.com/tianocore/tianocore. ... k-for-UEFI) v1.12 but cannot get regular e...
by zitt
Wed Apr 07, 2021 5:06 am
Forum: Programs, Libraries and Tools
Topic: [Solved] import stat failure
Replies: 6
Views: 2471

Re: import stat failure

Thanks for your attention on this matter. You couldn't reproduce because I had a screwed up environment... well specifically; a weird environment which micropython should have given me a error or something. I had two copies of stat in my 'lib' folder - probably due to specific some upip weirdness. B...
by zitt
Sat Mar 27, 2021 2:10 am
Forum: Programs, Libraries and Tools
Topic: [Solved] import stat failure
Replies: 6
Views: 2471

Re: import stat failure

Roberthh wrote:
Fri Mar 26, 2021 7:09 am
Are you sure that stat does not exist before you import it?
Can you be specific?
globals() does not return stat as an option.
by zitt
Thu Mar 25, 2021 11:53 pm
Forum: Programs, Libraries and Tools
Topic: [Solved] import stat failure
Replies: 6
Views: 2471

[Solved] import stat failure

As a fairly experienced python scripter; I've hit a roadblock which I can't get past / figure out. I'm using an out-of-date version of micropython compiled for UEFI (https://github.com/tianocore/tianocore.github.io/wiki/MicroPython-Test-Framework-for-UEFI) v.1.9.4 (2018-07-30). I attempted to compil...