Separating IP nodes
Kevin Breit
battery841 at remove.for.no.spam.mypad.com
Mon Sep 4 01:22:41 EDT 2000
More information about the Python-list mailing list
Mon Sep 4 01:22:41 EDT 2000
- Previous message (by thread): executing .pyc files
- Next message (by thread): Separating IP nodes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hey, In my app, I have a user enter an IP address. Great. Now, I want to increment the last number. For example: 1.1.1.1 becomes 1.1.1.2 (yes...thats an odd IP) What is the best way to separate that and increment only the last number? I'm thinking some sort of regex, but not sure. Thanks a lot Kevin
- Previous message (by thread): executing .pyc files
- Next message (by thread): Separating IP nodes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list