Welcome to jaraco.windows documentation!#

cookies.py

Cookie support utilities

class jaraco.windows.msie.CookieMonster#

Bases: object

Read cookies out of a user’s IE cookies file

property cookie_dir#
entries(filename)#
class jaraco.windows.timezone.AnyDict(value)#

Bases: object

A dictionary that returns the same value regardless of key

class jaraco.windows.timezone.DYNAMIC_TIME_ZONE_INFORMATION(*args, **kwargs)#

Bases: TIME_ZONE_INFORMATION

Because the structure of the DYNAMIC_TIME_ZONE_INFORMATION extends the structure of the TIME_ZONE_INFORMATION, this structure can be used as a drop-in replacement for calls where the structure is passed by reference.

For example, dynamic_tzi = DYNAMIC_TIME_ZONE_INFORMATION() ctypes.windll.kernel32.GetTimeZoneInformation(ctypes.byref(dynamic_tzi))

(although the key_name and dynamic_daylight_time_disabled flags will be set to the default (null)).

>>> isinstance(DYNAMIC_TIME_ZONE_INFORMATION(), TIME_ZONE_INFORMATION)
True
dynamic_daylight_time_disabled#

Structure/Union member

key_name#

Structure/Union member

class jaraco.windows.timezone.Info(*args, **kwargs)#

Bases: DYNAMIC_TIME_ZONE_INFORMATION

A time zone definition class based on the win32 DYNAMIC_TIME_ZONE_INFORMATION structure.

Describes a bias against UTC (bias), and two dates at which a separate additional bias applies (standard_bias and daylight_bias).

copy()#
classmethod current()#

Windows Platform SDK GetTimeZoneInformation

property dynamic_info#

Return a map that for a given year will return the correct Info

field_names()#
get_info_for_year(year)#
locate_daylight_start(year)#
locate_standard_start(year)#
set()#
class jaraco.windows.timezone.REG_TZI_FORMAT#

Bases: Extended, Structure

bias#

Structure/Union member

daylight_bias#

Structure/Union member

daylight_start#

Structure/Union member

standard_bias#

Structure/Union member

standard_start#

Structure/Union member

class jaraco.windows.timezone.SYSTEMTIME#

Bases: Extended, Structure

day#

Structure/Union member

day_of_week#

Structure/Union member

hour#

Structure/Union member

millisecond#

Structure/Union member

minute#

Structure/Union member

month#

Structure/Union member

second#

Structure/Union member

year#

Structure/Union member

class jaraco.windows.timezone.TIME_ZONE_INFORMATION#

Bases: Extended, Structure

bias#

Structure/Union member

daylight_bias#

Structure/Union member

daylight_name#

Structure/Union member

daylight_start#

Structure/Union member

standard_bias#

Structure/Union member

standard_name#

Structure/Union member

standard_start#

Structure/Union member

jaraco.windows.ui.MessageBox(text, caption=None, handle=None, type=None)#
class jaraco.windows.util.Extended#

Bases: object

Used to add extended capability to structures

jaraco.windows.util.ensure_unicode(param)#
jaraco.windows.vpn.install_pptp(name, param_lines)#

Indices and tables#