Message187994
I don’t understand that the first message says.
If one wants to call the write method of a file object opened in binary mode, one needs to pass bytes, as the doc surely explains. The same error that is seen here with ints would be seen with any other objects. A more practical way is to use print (with its file, sep and end parameters) which will do the conversion for you. |
|
Date |
User |
Action |
Args |
2013-04-28 16:12:42 | eric.araujo | set | recipients:
+ eric.araujo, techtonik, ezio.melotti |
2013-04-28 16:12:42 | eric.araujo | set | messageid: <1367165562.33.0.883592988706.issue17859@psf.upfronthosting.co.za> |
2013-04-28 16:12:42 | eric.araujo | link | issue17859 messages |
2013-04-28 16:12:42 | eric.araujo | create | |
|