TextMate seems to use the built-in Python version I assume (sys.path doesn't work). How do you configure it to use 3.1 instead? I've already installed the 3.1 package and I can use IDLE for interactive sessions, but I need to use TextMate now.
Thanks
the shebang is the best solution, to see where python 3 is installed type in terminal:

which python3

you will get something like this:

/usr/local/bin/python3

if nothing shows up first install python3
and at the top of your script insert:

  #!/usr/local/bin/python3
Using Python 3.1 with TextMate