|Administrative region||Central Greece|
|• Population||745 (2011)|
|Time zone||EET (UTC+2)|
|• Summer (DST)||EEST (UTC+3)|
|Postal code||190 12|
Pyli (Greek: Πύλη meaning "gate", before 1927: Δερβενοσάλεσι - Dervenosalesi) is a village and a community in Boeotia, Greece. Its population in 2011 was 652 for the village and 745 for the community, which includes the villages Lefka, Panakto and Prasino. It was the seat of the former municipality of Dervenochoria.
|Year||Village population||Community population|
Pyli is situated at the eastern edge of the Pastra mountain. It is in a sparsely populated area, dominated by agriculture and forestry. It is 5 km west of Skourta, 19 km north of Elefsina and 20 km southeast of Thebes. The Zoodochos Pigi Church, remnant of a medieval monastery, lies 5 km to the west.
- "Απογραφή Πληθυσμού - Κατοικιών 2011. ΜΟΝΙΜΟΣ Πληθυσμός" (in Greek). Hellenic Statistical Authority.
- Name changes of settlements in Greece