Wherever you live in London, there are commuter (and intercity) railway lines that can take you out of it.
For example I lived not far from Putney. Putney to Windsor & Eton Riverside takes 39 minutes and costs £6.90.
https://www.openstreetmap.org/#map=11/51.5330/-0.1146&layers...