A lot of cities have meetup groups (www.meetup.com) for whatever interests you might have. 
I am in Barcelona, and there are a number of expat groups, practice spanish groups, as well as tech meetup groups (as well as a ton more - the ones I mentioned are maybe more relevant to a newcomer in the city).