Login Register


Converting an IP to Decimal (Python 3.3) filter_list
Author
Message
RE: Converting an IP to Decimal (Python 3.3) #6
(05-13-2014, 01:52 AM)Duubz Wrote: Variables. We can split them with commas.
user1,user2 = 'duubz','.shebang'
You could think of it like a dictionary.
{user1: 'duubz', user2: '.shebang'}
It's basically the same as assigning the variables separately.
user1 = 'duubz
user2 = '.shebang'

Basically just saves space.

Heh, I was confused because I didn't notice the x,total at the beginning (thought it was x). Thanks for the help!
[Image: CDUAq9d.png]

Reply





Messages In This Thread
RE: Converting an IP to Decimal (Python 3.3) - by Shebang - 05-13-2014, 12:24 PM



Users browsing this thread: 1 Guest(s)