Heres a few examples:
-- Window Stuff --
You can threadexecute, say, a toolbar or window (using the wxWindows python lib) to compliment your new map editor.
-- AI Stuff --
You can have enemy AI running as a python thread in the background doing all the AI logic and such. That will allow your main darkbasic code to just concentrate on drawing everything.
-- Extream Example --
You could have a game that, when it starts it:
- Calls the AI script as a thread
- Calls the net connection handler as a thread
Then does nothing but draw the graphics, handle the camera, and write needed values to the variable memblock. The scripts will do their parts, which will come together. That will make it so, even if your FPS is dragging at 20fps, your AI and network code are still running at decent speeds.
I could go on forever
*Edit
Python's standeard library has support for winsock, file i/o, threading (although my threading is pure win32, you can sub-thread in python).. And python has extention modules you get get elsewhere; like
http://www.wxpython.org/,
http://www.pygame.org/, etc.. Python is really verisitile!
"I LIKE MARSHMELLOWS!" - Homestar Runner