The South Western Main Line ( operated by South Western Railway ) from London to Weymouth runs through Winchester and Southampton , and the Wessex Main Line from Bristol to Portsmouth also runs through the county as does the Portsmouth Direct Line .