#python - Sun 18 Feb 2007 between 16:29 and 16:35

NY Lost Funds



ehirdprint will be convering NLs
kathanok thx marienz and gotgenes
kapaceehird: ?
ehirdkapace: what?
kapaceNLs?
ehirdnewlines
\n-->\r\n that sort of thing
kapaceah
ehirdmucks up binary files
kapaceya..
ehirdwhich is why it isn't working
maybe you could make a new sys.stdout opened in binary mode or something
kapacedo you really think im competent?
ehirdi did until that comment
kapacehehe, this is my second python-cgi script...
marienzpossibly use the cgi module.
actionmarienz checks
marienzchecks
kapacek
ehirdmarienz: doubt its opened in binary mode ;)
marienzhmm, don't see anything about this in cgi.py
odd, sounds like a common enough thing to hit on windows.
(silly windows newline convention, bleh :P)
kapacehehe
gotgeneskapace: http://mail.python.org/pipermail/python-list/2003-May/202859.html
kapaceaha!
maybe a change to the shebang line...
gotgenesgive it a try
marienz(I ran into a problem where I'm comparing two directory trees and half of the files change newline convention between the trees, messing up my diff)
gotgeneswouldn't hurt
kapaceyes!!!
works
thanks gotgenes
gotgenesnp kapace
kapacebtw, the image not isn't my comps abstract, its mine
padtsay, when embedding python, is there a way to tell if something is a Class? Seems like the only way to do it is to check if the thing is callable but not a func or method.
kapacewell, better change my ip before the hackers start pouring in..
padtwhich seems a bit hackish
marienzpadt: a newstyle class? Newstyle classes should be instances of type if I'm not very much mistaken.
padt: can't help you with oldstyle classes.
actionmarienz tries to pretend those don't exist
marienztries to pretend those don't exist

Page: 1 8 15 22 29 36 

IrcArchive

NY Lost Funds