[Tutor] MySqldb problem

2009-01-20 Thread Manoj kumar
  
hi all, 

i am a newbie to python programming. i just know basics of the language. i 
came across MySqldb. i able to manipulate database with MySqldb but i wasn't 
able to add files in database through the lib MySqldb.

 any help will be welcomed gracefully.
 
 thanks.

MANOJ SHEOKAND

(+919728523528)

"some day there won't be a song in ur heart, sing anyway"___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


[Tutor] string problem

2009-01-25 Thread Manoj kumar
  
i was trying to write a script for a port scanner. i was able to get a working 
scanner which can scan a given host.

now i want to upgrade it to scan for a given range of ip address. 
for example:
starting ip:166.43.234.43
last ip:234.23.45.123

no problem i am facing is that i am really NOT able to split ip addresses into 
nodes like:
166.43.234.43 would be like '166','43','234','43'


help me please.

thanks in advance


MANOJ SHEOKAND

(+919728523528)

"some day there won't be a song in ur heart, sing anyway"___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor