From: Chris Date: 2002-04-03T11:34:40+09:00 Subject: Re: Ruby, python, perl, ... In article <3813.198.133.202.18.1017778936.squirrel@12.27.88.122>, "Jason Voegele" wrote: > >> Sorry for my lack of knowledge in Python. How does Python achive the > >> #{whatever}? Is the mechanism so bizarre? > > > > It's not bizzare, but Python, to the best of my knowledge, just > > doesn'tdo this. But Python has the """ token, so it's a fair trade. > > :-) > > Ruby has that too...try it out. :) When I try this(in irb), the behavior that seems to actually be happening is that: puts "hello" " " "world" # prints out "hello world\n" So that something like: """hello world""" is really being seen as "" + "hello world" + ""