There are two ways to create a crontab -- per user or globally. For the global crontab (/etc/crontab) you specify the user, as per:
# m h dom mon dow user command
17 * * * * root cd / && run-parts --report /etc/cron.hourly
For user crontabs you don't, as per:
aj@wherever:~$ crontab -l
0 * * * * /home/aj/bin/update-foobar
To get a python script running via #! notation, you just make the script executable (chmod 755 /root/test.py), and invoke it directly, something like:
/root/test.py
If you don't want to do that, you can run it via the python interpretor by hand, like:
/usr/bin/python /root/test.py
This assumes whichever user you're running as (ie the user in /etc/crontab, or the user you're running crontab -e as) has permission to see the python script -- /root might be inaccessible to regular users, eg.
You can get a good idea of whether your script is being executed at all by adding:
import time
time.sleep(20) # pause for 20 seconds
and then checking with "top" or "ps aux" or "pstree" to see if python's actually running.