the OpenAI API doesn’t like 3.11 at the moment but yeah, it’s easy enough to use an earlier version, especially with conda
stOneskull
stOneskull.xyz
- 1 Post
- 3 Comments
Joined 3 years ago
Cake day: June 28th, 2023
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.
deleted by creator
i wonder what python version should be recommended as standard? should it be what debian stable currently has as its lastest? i’ve found some things can’t handle the new-ness of 3.11. so is it 3.10?



i’ve found a good alternative is returning functions
eg. you have a function like this:
def cycle(func): while True: func=func()then you start with cycle(main)
def main(): return introif __name__ == '__main__: cycle(main)and then main returns the next function, and following functions return functions…
def intro(): if thisthing: return thisfunc if thatthing: return thatfuncreturn is being used like goto