On Di, 2009-12-22 at 10:53 +0100, MK wrote:
> Hi there,
> 
> i have some logical problem. I dont get it done to write my for loops in
> that way that the ip address range which is given as arguments are
> correct processed. Meaning that only the ips are printed which the
> user defines as argument. I tried to make an if statement to stop
> at the end_adress but it didnt work as it will stop at the end range
> every time. 
> 
> Here is my program so far:

> The start_adress and end_adress are the ip-range.
> 
> For example:
> printdomains.py -s 192.168.178.0 -e 193.170.180.4
> 
> This should make all ips and stop at the end_adress.
> 
> Maybe you can help.
> 
> Thank you.
> 
> Mac
> 
> _______________________________________________
> Tutor maillist  -  Tutor@python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor


_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to