Legally, (at least in Victoria) you can not drive unless you are able to be in control of the vehicle.

What "in control of the vehicle" means will vary from person to person.

What you hear about "not driving for six weeks" is actually from your insurance company. They usually will not pay out on any insurance claims if you have recently had an operation.

This applies not only to pregnancy/postpartum period, but also to anybody who has had an operation or a general anaesthetic. Keep in mind that a caesarian is a major abdominal operation, and if we were blokes having a similar abdominal operation, we'd be in hospital for about two weeks, and not allowed to walk for the first five or so days.

So it's not really the law preventing you from driving as such, it's just if you do have an accident, you won't be covered by your insurance company.