Some species of snake tend to just be more bitey than others. ON occasion you'll find an African Rock that isn't quick to bite, but they are the exception rather than the rule.
Different species have different defensive tendencies. Some snakes spray musk, some curl up in a ball, some roll over an play dead... some bite. Af-Rocks are biters. If this were a species that didn't get big, it wouldn't be a problem. Unfortunately they do get big enough to hurt you.
By what you wrote, I'm guessing this is a new hobby for you. Simply put, you purchased a snake that really belongs in the hands of an advanced keeper. It's not that it's a bad snake, it's a bad snake for You at this time.
You'd be much better off getting Your Af-Rock into the hands of a more advanced keeper while you focus on something easy to handle, less likely to bite, cheaper to feed, etc. There are TONS of species out there that make better captives.
New keepers have enough problems learning how to manage temperatures, humidity, substrate, secure caging, feeding, sheds, fasting. You DO NOT need to add biting to the list of issues.
Good luck and Happy Herpin',
Doug T
>>Hey whats up everyone. Just registered for this site today and just bought a new male baby african rock python 2 days ago. He is a little bit aggressive. He didnt hiss at me or anything when i was holding him but out of no where he struck at my face. He doesnt show too much aggression while inside the cage if im touching him or "petting". Any advice would be appreciated. Thanks.