There are lots of opportunities to get your PADI certification in San Pedro. I'd suggest that you do the course work and pool tests before you head down so that you can concentrate on having a good time.

I'm heading there next week and will be doing my open water cert dives while in San Pedro.