This varies tremendously by city/county within Europe. For example, there are some German cities where crossing a road anywhere other than at a marked crossing not only risks a fine but also will earn disapproving looks from other pedestrians (something I haven't encountered in the states, though I'm not ruling out the possibility that it could occur somewhere).