Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: IP string manipulation problem
Post: RE: IP string manipulation problem

(Feb-01-2019, 10:56 AM)perfringo Wrote: It this real life scenario? My 'back-of-the-napkin' calculation gives that range 10.0.0.0-11.0.0.0 should be around 256 * 256 * 256 = 16,77M ip addresses. You...
TheRealNoob General Coding Help 12 7,340 Feb-01-2019, 01:54 PM
    Thread: IP string manipulation problem
Post: RE: IP string manipulation problem

(Jan-31-2019, 10:42 AM)perfringo Wrote: IP address ending with .0 is perfectly legal these days. Is it typo or there is no 10.1.2.0 due to some firewall policy etc? Sorry, my typo indeed. 10.1.2.0 i...
TheRealNoob General Coding Help 12 7,340 Feb-01-2019, 07:22 AM
    Thread: IP string manipulation problem
Post: RE: IP string manipulation problem

Perfingo you are pure gold! Really thank you! (Jan-30-2019, 01:48 PM)perfringo Wrote: Does 10.1.1.1-11.255.1.1 mean that there are all ip addresses in that space a la all combinations from: 10...
TheRealNoob General Coding Help 12 7,340 Jan-31-2019, 07:03 AM
    Thread: IP string manipulation problem
Post: RE: IP string manipulation problem

(Jan-30-2019, 07:40 AM)perfringo Wrote: If your source data is 'clean' and therefore there is no need to be 'defensive' it is possible to get same result without using ipaddress module (in first ite...
TheRealNoob General Coding Help 12 7,340 Jan-30-2019, 11:55 AM
    Thread: IP string manipulation problem
Post: RE: IP string manipulation problem

(Jan-29-2019, 01:40 PM)perfringo Wrote: Following code tries to construct IPv4 address, if it fails then extracts ip addresses last numbers and first three groups and constructs addresses for that r...
TheRealNoob General Coding Help 12 7,340 Jan-30-2019, 07:01 AM
    Thread: IP string manipulation problem
Post: IP string manipulation problem

Dear all, I'm a complete beginner to Python and I have a question as to which direction I should take to achieve a string manipulation issue. I have a device that gives me lists of IPs(v4) in this f...
TheRealNoob General Coding Help 12 7,340 Jan-29-2019, 10:03 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020