I bought a beautiful baby pewter ball python in August and she kept biting me all the way through January. And then in February she just stopped. Poof! Sweetest snake ever all of a sudden.
I'd let him alone for another week or two, then start handling him every few days with gloves. Don't reward him for striking at you by putting him back in his tank. But don't handle him every day, either.
And do feed him. Sometimes they bite because they're just plain hungry. Feed him until he's done eating.