¡@

Home 

python Programming Glossary: unsigned

Get hard disk serial number using Python on Linux

http://stackoverflow.com/questions/4193514/get-hard-disk-serial-number-using-python-on-linux

is the struct copied from hdreg.h # struct hd_driveid # unsigned short config lots of obsolete bit flags # unsigned short cyls.. # unsigned short config lots of obsolete bit flags # unsigned short cyls Obsolete physical cyls # unsigned short reserved2.. bit flags # unsigned short cyls Obsolete physical cyls # unsigned short reserved2 reserved word 2 # unsigned short heads Obsolete..

How to store an IP in mySQL

http://stackoverflow.com/questions/1108918/how-to-store-an-ip-in-mysql

support IPv4 address then your datatype in MySQL can be an UNSIGNED INT which only uses 4 bytes of storage. To store the individual.. To store the individual octets you would only need to use UNSIGNED TINYINT datatypes not SMALLINTS which would use up 1 byte each..

How to insert arrays into a database?

http://stackoverflow.com/questions/3738269/how-to-insert-arrays-into-a-database

like a name a sex and an age CREATE TABLE `dogs` `id` INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY `name` VARCHAR 64 `age`.. AUTO_INCREMENT PRIMARY KEY `name` VARCHAR 64 `age` INT UNSIGNED `sex` ENUM 'Male' 'Female' From there each dog has many measurements.. 24 measurements CREATE TABLE `dog_measurements` `id` INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY `dog_id` INT UNSIGNED NOT..