How to get rid of the space after 'print',?

Emile van Sebille emile at fenx.com
Thu Feb 10 22:20:46 EST 2000


----- Original Message ----- 
From: Peter Bittner <bittneph at aston.ac.uk>
Newsgroups: comp.lang.python
To: <python-list at python.org>
Sent: Thursday, February 10, 2000 3:47 PM
Subject: How to get rid of the space after 'print',?


> Hi there!
> 
> I'm writing HTML-code with the print statement as follows:
> 
>   print '<table border=0><tr>'
>   print '<td><b>Author:</b></td><td>',   # ,= no newline here
>   print '<input ...>'         # or put a function call here...
> 
> Between <td> and <input> I want _no_ space, but Python automatically
> inserts one. - How can I force Python not to do this??
> 
> Please, e-mail!
> 
> Kipis!    # I don't know the Nederlands' "cheers", sorry!  :o)
> Peter

--------  proost!  ------

> 
> | Peter H. Bittner
> | International Student at Aston University
> | e-mail: bittneph at aston.ac.uk
> | web: http://beam.to/bimbo
> +--------------------------
> -- 
> http://www.python.org/mailman/listinfo/python-list
> 



Emile van Sebille
emile at fenx.com
-------------------








More information about the Python-list mailing list