Python Cookbook

[SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] [Y] [Z]

u'<?xml' (XML declaration) 

UDP (User Datagram Protocol)

    passing messages with 

    reliability of 

    using to detect inactive computers on a network 

uiToolkit 

unbounded iterators, wrapping to restrict output 

undefined variables, testing for 

underscore (_) 

unichr 

Unicode 

    characters, printing to standard output 

    plain strings, converting to 

    Unicode strings  2nd  3rd 

    XML, autodetecting encoding in 

    XML, default encoding in 

unique 

Unix

    algorithms, measuring efficiency 

    commands, capturing output and error streams from 

    crossplatform debugging and 

    debugging dynamically loaded C extensions 

    measuring disk usage for 

    network interface, checking status 

UNIX Network Programming, Volume 1\: Networking APIs - Sockets and XTI, Second Edition 

unpack (Perl) contrasted with struct.unpack (Python) 

unpacking 

update 

upper (string object method) 

uppercase, conversion to lowercase 

upperOpen 

urllib 

urllib and urllib2 modules 

urlopen 

user feedback during data entry, giving via Qt 

user interfaces 

    avoiding lambda in writing callback functions 

    building GTK GUIs interactively 

    building toolkit-independent GUIs 

    CLIs 

    creating color scales 

    creating dialog boxes with Tkinter 

    creating menus with Tkinter 

    embedding GIFs inline using Tkinter 

    giving the user feedback during data entry with Qt 

    GUIs 

    Publish/Subscribe broadcasting to loosen coupling between GUIs and business logic systems 

    supporting multiple values per row in a Tkinter listbox 

    Tkinter 

    wxPython Notebook with panels 

using list comprehensions instead of map and filter 

UTF-16 encoding 

UTF-8  2nd 

Категории