[EMAIL PROTECTED] wrote:
[...][EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
When I copy code from a source file into a Google Groups message,
the
indentation is messed up, making my Python code illegal and all my
code
ugly. Are there tricks to avoid this?
Try putting a # at the start of every line. Everyone should understand what you mean (and you can always tell them to remove the #'s once they copy the listing).
It would be helpful if submitted code were also copied to
http://rafb.net/paste/
although I don;t know how long they archive the pastings. That's a site that gets used on the ##python IRC channel a lot, and it does make sharing very easy.
Having said which, there's still a lot going for just using spaces instead of tabs.
though-i-don't-know-what-ggogle-does-to-that-ly y'rs - steve -- Steve Holden http://www.holdenweb.com/ Python Web Programming http://pydish.holdenweb.com/ Holden Web LLC +1 703 861 4237 +1 800 494 3119 -- http://mail.python.org/mailman/listinfo/python-list