[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

Re: iptables gui



> I haven't seen any official fedora-python coding conventions listed,
> so if any 
> of you have seen anything, let me know. 

The "official" Python style guide from Guido is short and sweet. ;)

> Once again, I'm not sure what
> the best 
> method to use here is, but when we take a parameter (such as an IP
> address) and 
> convert it into its numeric representation for internal storage
> rather than its 
> textual representation, we're introducing an extra step and
> increasing the 
> complexity of our application. Now, if we're going to do any numeric 
> comparisions using the address, we have to have it in numeric form,
> so that 
> step is necessary.

There was a really nice module named IP.py for working with IP's, but I
can't seem to find it :-/  Working with IP's is not as "transparent" in
Python as it is in C, so having a library is very helpful.

Have Fun,
-jj

__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools




[Fedora Legacy Announce]     [Home]     [Kernel]     [Fedora Legacy]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Red Hat 9 Bible]     [Red Hat 9]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

Powered by Linux