Did you make the scripts permissions 775? Also try:
#!/usr/local/bin/python3
print 'Content-Type: text/plain\n\n';
print 'Its work!';
Also I just remembered that the print() function works differently in python 3.2, try this:
#!/usr/local/bin/python3.2
print('Content-Type: text/plain\n\n');
print('Its work!');