HappyHippy <[EMAIL PROTECTED]> wrote:

> More of a minor niggle than anything but how would I remove the 
> aforementioned space?
> 
> eg.
> strName = 'World'
> print 'Hello', strName, ', how are you today?'
> 
> comes out as "Hello World , how are you today?"
> 
> Have googled, and worked my way through the first 7 chapters of Byte of
> Python, but to no avail...

Use string formatting:

print 'Hello %s, how are you today?' % strName


Alex
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to