Who's Online
173 user(s) are online (
115 user(s) are browsing
Forums )
Members: 0
Guests: 173
more...
Headlines
arabic_console_devicepro2.lha - driver/input
Sep 8, 2024
amiarcadia.lha - emulation/gamesystem
Sep 8, 2024
ciagent.lha - emulation/misc
Sep 8, 2024
deark.lha - utility/archive
Sep 6, 2024
amitranslate.lha - utility/text
Sep 6, 2024
amissl-sdk.lha - development/misc
Sep 5, 2024
amissl.lha - library/misc
Sep 5, 2024
snoopy.lha - utility/filetool
Sep 5, 2024
amigagpt.lha - network/chat
Sep 1, 2024
yt.lha - video/misc
Sep 1, 2024
Topic options
View mode
Newest First
Python 2 libraries
Posted on:
2022/10/23 15:13
#1
Quite a regular
Joined: 2021/12/20 2:52Last Login
: Yesterday 23:20
From UK
Group:
Registered Users
Collections is a fundamental module for Python, but it is not existing in our SYS:System/Python/lib. Presumably, we at least should have all the modules from package: libpython2.7-minimal? Is it a simple matter of copying the PY files over. I am guessing so .....
If liberty means anything at all, it means the right to tell people what they do not want to hear. George Orwell.
Re: Python 2 libraries
Posted on:
2022/10/23 17:05
#2
Quite a regular
Joined: 2021/12/20 2:52Last Login
: Yesterday 23:20
From UK
Group:
Registered Users
Right, collections was not released in until after 2.5.6.
If liberty means anything at all, it means the right to tell people what they do not want to hear. George Orwell.
Re: Python 2 libraries
Posted on:
2022/11/9 21:17
#3
Home away from home
Joined: 2006/11/26 21:45Last Login
: Today 6:14
From a dying planet
Group:
Registered Users
@all I didn't want to start a new thread, so maybe i can hijack yours? I guess its not possible to add libs from releases later than our 2.5.x Python? I'd need "argparse", but that was introduced in 3.2 ... And i guess a newer port of Python is out of the question too? (I have no idea how much work is involved for that to happen, though, sorry for asking)
Re: Python 2 libraries
Posted on:
2022/11/10 0:13
#4
Quite a regular
Joined: 2021/12/20 2:52Last Login
: Yesterday 23:20
From UK
Group:
Registered Users
When I get around to it I will attempt a port of Python 2.7 since if anyone is running Py scripts from version 2, it is generally at least 2.7. As you know, we only support 2.5 right now. ArgParse is also in version 2 I believe. Unless someone else is thinking about it, version 3 is just not on the horizon right now. I do think - though - that a version of 2.7 will be good for us.
If liberty means anything at all, it means the right to tell people what they do not want to hear. George Orwell.
Re: Python 2 libraries
Posted on:
2022/11/10 1:38
#5
Home away from home
Joined: 2006/11/26 21:45Last Login
: Today 6:14
From a dying planet
Group:
Registered Users
@rjd324 Cool Humm, but argparse can't be found it says...need to look for it online then
Re: Python 2 libraries
Posted on:
2022/11/10 10:58
#6
Home away from home
Joined: 2006/11/26 21:45Last Login
: Today 6:14
From a dying planet
Group:
Registered Users
@rjd324
You are right, but it was introduced in v2.7
https://docs.python.org/2/library/argparse.html So +1 from me for a 2.7 port
Re: Python 2 libraries
Posted on:
2022/11/10 11:09
#7
Site Builder
Joined: 2006/12/2 23:57Last Login
: Yesterday 23:51
From Athens/Dublin
Group:
Staff members Webmasters
@Raziel
Quote:
I'd need "argparse", but that was introduced in 3.2 Please have a look at my aiostreams code, because I am using something like that and maybe it is useful for you too.
https://github.com/walkero-gr/aiostreams/blob/master/argparse.py
Re: Python 2 libraries
Posted on:
2022/11/10 13:17
#8
Home away from home
Joined: 2006/11/26 21:45Last Login
: Today 6:14
From a dying planet
Group:
Registered Users
@walkero
Why, thanks a lot, the error i was getting is gone now
Unfortunately it needs yet another package and that will be a nogo.
lxml has too many other dependancies
Re: Python 2 libraries
Posted on:
2022/11/12 3:04
#9
Quite a regular
Joined: 2021/12/20 2:52Last Login
: Yesterday 23:20
From UK
Group:
Registered Users
I have a version of 2.7.3 running on the X5000 at the moment. I need to do some more testing and see if I can improve the PYTHONPATH / PYTHONHOME situation.
If liberty means anything at all, it means the right to tell people what they do not want to hear. George Orwell.
Re: Python 2 libraries
Posted on:
2022/11/12 7:10
#10
Home away from home
Joined: 2006/11/26 21:45Last Login
: Today 6:14
From a dying planet
Group:
Registered Users
@rjd324
Need a betatester?
Re: Python 2 libraries
Posted on:
2022/11/17 1:03
#11
Quite a regular
Joined: 2021/12/20 2:52Last Login
: Yesterday 23:20
From UK
Group:
Registered Users
@Raziel I just sent you a message.
If liberty means anything at all, it means the right to tell people what they do not want to hear. George Orwell.
Re: Python 2 libraries
Not too shy to talk
Joined: 2023/6/27 0:59Last Login
: Today 12:17
From UK
Group:
Registered Users
Did this ever see the light of day? I mean, I assume not, or it would be out there?
Amiga x5040 ı 16GB ı RX580 GB-A1000 060@100, A1200 PiStorm32-Lite CM4
Re: Python 2 libraries
Quite a regular
Joined: 2021/12/20 2:52Last Login
: Yesterday 23:20
From UK
Group:
Registered Users
@MartinW I have a fairly stable 2.7.18 version right now - which is the last version; including argparse and collections as expected.
If liberty means anything at all, it means the right to tell people what they do not want to hear. George Orwell.
Re: Python 2 libraries
Not too shy to talk
Joined: 2023/6/27 0:59Last Login
: Today 12:17
From UK
Group:
Registered Users
Have since discovered that realistically python v2 anything isn’t of any use to me. I was working with pygame which like most stuff these days needs at least v3. I have no idea which version of v3. I’m in the process of porting it to C++ but I’m having to relearn C++ so it’s slow going and things have stalled for now due to life.
Amiga x5040 ı 16GB ı RX580 GB-A1000 060@100, A1200 PiStorm32-Lite CM4
Currently Active Users Viewing This Thread:
1
(
0 members
and 1 Anonymous Users
)