Hallo! Im Generating HTML-Code like <html><head></head><body><p>Hello!</p></body></html> and want to reformat it to <html> <head> </head> <body> <p>Hello!</p> </body> </html> Is the any modul for something? I just where lookin in the Web for something like that, but I could'nt find anything ... maybe just too new to python ;-) Thanks, AXEL.