I go to school by taking a bus.

I go to school by bus.

I know that someone has pointed out to me the second sentence is correct. I just want to know if it is acceptable to use the first sentence?
Hi,

What do you mean by 'acceptable'?

The first one is not wrong, but it is not idiomatic.

Clive
I see. Thank you.