how we load 22.214.171.124 in a python dictionary
Jump to Post
Do you mean as an IP address? Need a little more specifics than that...
dicts require an identifier (usuall a string), and the object(s) that the identifier refers to... so...
ip_addys = dict() ip_addys['first_ip'] = 126.96.36.199
should probably work... There are other ways to directly insert …
All 5 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.