| |
| |
| |
|
Comments:
<0> Could somebody reop me? :) <0> Anybody know which python-mssql (forced to use it) client library that's best? <1> Are there many of them? <0> Found 3 :) <2> _iGGy_: Which did you find? <0> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/144183, http://pymssql.sourceforge.net/, http://www.object-craft.com.au/projects/mssql/
<3> triple quotes brake the highlighting in textmate, does someone know a fix fort this? <4> hi i am using mysqldb module to retrieve rows in a database <4> cursor.fetchone() returns a tuple <4> so row = cursor.fetchone(); <4> then i can do stuff like print row[6]; <4> when i try and p*** row[6] as a string parameter to other methods/functions i get an error saying row[6] is not a string <4> how can i convert a value within a tuple to a string? <4> anyone? <2> madbull: str( row[ 6 ] ) <3> I have read the faq but still don't get why you have to put "self" in every method definition as a param. <2> anttih: You don't need to know, just put it. It contains the object itself. <2> anttih: This should be done by default, like in php but... <2> :\ <2> It's the only "bad" thing in python. <3> I basicly understand why it's there. It somehow makes sense because you use it like it's one of the params, but for the sake of simplicity I don't understand <3> yeah, I have 5 years of experience with PHP :-) <2> anttih: This self thing, is the only thing php is better than python. <2> In all other points, python is much better. <3> is that so :-) <2> ( I like php ) <3> where you a python developer first? <2> yes <3> it's funny how simple pythons syntax is. like the if statement. how else you would put it than "if condition:". I just love that :-) <3> the syntax just makes sense
<2> anttih: Yes. Me too. :) <2> it makes sense <2> yeah :) <3> isn't python case sensitive <3> ? <3> method "fetchAll" is not same as "fetchall" <3> no? <1> Correct, it is sensitive. <2> Yes, it is. <3> god I love that! <5> hi <5> question - when interacting with a process using os.popen(), is it possible to retreive its return code when it terminates? <6> not with os.popen I don't think, try one of the functions in commands or the popen... modules <7> my eyes are heavy <6> exoxe: yeah, me too <6> I have to get up early this week for a Vegas trip on Thursday (business, not pleasure) <6> otherwise getting up at 6 for the flight will kill me <7> :\ <7> I went to the beach, which the sun beat me up and now I'm feeling the affects <6> heh <7> and heard "I'm in love with a stripper" 400 times <8> .......... <9> ..........? <8> ....... <8> ?? <8> lol
Return to
#python or Go to some related
logs:
#beginner #freebsd subsurface scattering gamedev goal in englnd #beginner #computers sid mayers civilization #flash seafate 250 gb sata2 #nhl
|
|