ASPN ActiveState Programmer Network
  ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups | Web Services
SEARCH
advanced | search help

Reference
ActivePython 2.4
Python Documentation
Macintosh Module Reference
2. MacPython Modules
2.3 ic -- Access to Internet Config
2.3.1 IC Objects
3 Alternate Installation
3.1 Alternate installation: the home scheme
3.2 Alternate installation: Unix (the prefix scheme)
3.3 Alternate installation: Windows (the prefix scheme)

MyASPN >> Reference >> ActivePython 2.4 >> Python Documentation >> Macintosh Module Reference >> 2. MacPython Modules
ActivePython 2.4 documentation

2.3 ic -- Access to Internet Config

Availability: Macintosh.

This module provides access to various internet-related preferences set through System Preferences or the Finder.

There is a low-level companion module icglue which provides the basic Internet Config access functionality. This low-level module is not documented, but the docstrings of the routines document the parameters and the routine names are the same as for the Pascal or C API to Internet Config, so the standard IC programmers' documentation can be used if this module is needed.

The ic module defines the error exception and symbolic names for all error codes Internet Config can produce; see the source for details.

exception error
Exception raised on errors in the ic module.

The ic module defines the following class and function:

class IC( [signature[, ic]])
Create an Internet Config object. The signature is a 4-character creator code of the current application (default 'Pyth') which may influence some of ICs settings. The optional ic argument is a low-level icglue.icinstance created beforehand, this may be useful if you want to get preferences from a different config file, etc.

launchurl( url[, hint])
parseurl( data[, start[, end[, hint]]])
mapfile( file)
maptypecreator( type, creator[, filename])
settypecreator( file)
These functions are ``shortcuts'' to the methods of the same name, described below.



See About this document... for information on suggesting changes.

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState 2004 All rights reserved