Imperial examination
Yang was born in Gaozhou Guangdong Province during the Qing dynasty. He was a xiucai (Imperial examination student member). After finishing his education in Beijing, Yang edited a newspaper in Guangzhou called "Guangnan".