Parti ouvrier unifié polonais
Pyka was educated in the engineering of metallurgy. Pyka was a deputy to the Sejm, the Polish legislative body, for three consecutive terms from 1972 to 1980. In 1974, he became a deputy to the Chairman of the Planning Commission of the Central Committee of the Polish United Workers Party. He was also a Deputy Prime Minister of Poland from October 23, 1975 to August 24, 1980, and a member of the Central Committee of the Polish United Workers Party until 1980. In 1980, he was also briefly a deputy to a member of the Politburo of the Polish United Workers' Party. During the period of martial law in Poland in 1981 he was interned for a year and had charges pressed against him.