20-Apr-2024 08:10 GMT.
UNDER CONSTRUCTION
Anonymous, there are 5 items in your selection
[Files] V.I.C. python codeANN.lu
Posted on 08-Feb-2003 17:37 GMT by 3seas5 comments
View flat
View list
A good bit more python language based code has been written for the Virtual Interaction Configuration. It can be found at/thru threeseas.net where you will find a username and password need to access it at this time. A little help is requested. The python based code is targeted for being platform independant and will run on Amiga Python, but would run better if os.chdir() on Amiga Python was improved to be more inline with other platform versions of Python. It's GPL and open for anyone interested in helping or even just suggesting a better fix for the os.chdir() problem on Amiga Python.

The two key files to download are rac-vic-info.zip (docs) and the most recent work in VIC-2003-01-25.zip (python code) and can be obtained via vic.threeseas.net once you have the username and password from threeses.net

V.I.C. python code : Comment 1 of 5ANN.lu
Posted by Xeyes on 09-Feb-2003 11:47 GMT
Looks alot like that old Win3.1 programming environment, CCPro.
V.I.C. python code : Comment 2 of 5ANN.lu
Posted by dirigent on 09-Feb-2003 16:51 GMT
Not that I would be expecting a positive answer, but is there *anyone* who would be able to put into words precisely what this is supposed to do? It all looks so entirely pointless that it almost impresses me.

greetings,
dirigent
V.I.C. python code : Comment 3 of 5ANN.lu
Posted by Graham on 09-Feb-2003 19:50 GMT
In reply to Comment 2 (dirigent):
There are 8 years of Google comp.sys.amiga.misc archives you can read through for the entire debacle about Tim Rue's VIC.
V.I.C. python code : Comment 4 of 5ANN.lu
Message removed by CK for violation of ANN's posting rules.
Specific reason from moderator: Profanity
V.I.C. python code : Comment 5 of 5ANN.lu
Posted by 3seas on 09-Feb-2003 22:58 GMT
Oh, I know what the problem is..... the docs were written before the code was...... totally unheard of in the GPL world..... :)

But if anyone has a good solution or work around for Amiga Pythons os.chdir() so as to get it to function as it does on other platforms, it really would be helpful.

As it is, trying to chdir to the directory one is already in causes a problem as well as chdir to a non-existing dir will result in teh creation of it in some cases(where it causes unwanted recursive directory creation instead)

Also as it is now a somewhat work around is to comment out the os.chdir() function in both places it is in the main.py file and make both paths in the VIC.rc file absolute where the room directory is a direct subdirectory of the home directory. This has allowed me to do some testing but still some of the test script(s) do have parts that still fail or don't work due to the general problem of Amiga Python os.chdir()

BTW, the code is written in a direction of being cross platform compatable as best as was available the systems to test. Linux has command line editing and history available in the code, whereas the Amiga Python inherents this from teh Amiga OS .... and this is suspect to contributing to the mentioned problem.

Really, help to deal with this problem would be appriciated. I suspect it's possible to write a conditional statement for handling a change-directory function based on testing for the AmigaOS.

Anyway thanks for any help in advance and .... yeah yeah yeah... flame on for those who do so.... There is a recent csam post from me touching on some of the abilities this newer code enables.
Anonymous, there are 5 items in your selection
Back to Top