Your IP : 216.73.216.134


Current Path : /opt/rh/rh-python35/root/lib64/python3.5/idlelib/__pycache__/
Upload File :
Current File : //opt/rh/rh-python35/root/lib64/python3.5/idlelib/__pycache__/configHandler.cpython-35.pyc



���\�}�@sGdZddlZddlZddlmZddlmZddlmZm	Z	Gdd�de
�ZGdd	�d	e
�ZGd
d�de
�Z
Gdd
�d
e
�ZGdd�de�ZGdd�de�ZGdd�d�Ze�ZedkrCdd�Zeej�eej�eejdjdd��dS)a�Provides access to stored IDLE configuration information.

Refer to the comments at the beginning of config-main.def for a description of
the available configuration files and the design implemented to update user
configuration information.  In particular, user configuration choices which
duplicate the defaults will be removed from the user's configuration files,
and if a file becomes empty, it will be deleted.

The contents of the user files may be altered using the Options/Configure IDLE
menu to access the configuration GUI (configDialog.py), or manually.

Throughout this module there is an emphasis on returning useable defaults
when a problem occurs in returning a requested configuration value back to
idle. This is to allow IDLE to continue to function in spite of errors in
the retrieval of config information. When a default is returned instead of
a requested config value, a message is printed to stderr to aid in
configuration problem notification and resolution.
�N)�ConfigParser)�	TkVersion)�Font�
nametofontc@seZdZdS)�InvalidConfigTypeN)�__name__�
__module__�__qualname__�r
r
�E/opt/rh/rh-python35/root/usr/lib64/python3.5/idlelib/configHandler.pyrsrc@seZdZdS)�InvalidConfigSetN)rrr	r
r
r
rrsrc@seZdZdS)�InvalidFgBgN)rrr	r
r
r
rr
sr
c@seZdZdS)�InvalidThemeN)rrr	r
r
r
rrsrc@sReZdZdZddd�Zddddd�Zdd	�Zd
d�ZdS)�IdleConfParserzI
    A ConfigParser specialised for idle configuration file handling
    NcCs&||_tj|d|dd�dS)zK
        cfgFile - string, fully specified configuration file name
        Zdefaults�strictFN)�filer�__init__)�self�cfgFileZcfgDefaultsr
r
rr%s	zIdleConfParser.__init__FcCsh|j||�s|S|dkr2|j||�S|dkrN|j||�S|j||d|�SdS)z
        Get an option value for given section/option or return default.
        If type is specified, return as type.
        �bool�int�rawN)�
has_optionZ
getbooleanZgetint�get)r�section�option�type�defaultrr
r
r�Get,szIdleConfParser.GetcCs$|j|�r|j|�SgSdS)z4Return a list of options for given section, else [].N)�has_section�options)rrr
r
r�
GetOptionList=s
zIdleConfParser.GetOptionListcCs|j|j�dS)z&Load the configuration file from disk.N)�readr)rr
r
r�LoadDszIdleConfParser.Load)rrr	�__doc__rrr!r#r
r
r
rr!s
rc@sjeZdZdZdd�Zdd�Zdd�Zdd	�Zd
d�Zdd
�Z	dd�Z
dS)�IdleUserConfParserzG
    IdleConfigParser specialised for user configuration handling.
    cCs |j|�s|j|�dS)z!If section doesn't exist, add it.N)r�add_section)rrr
r
r�
AddSectionMszIdleUserConfParser.AddSectioncCs7x0|j�D]"}|j|�s
|j|�q
WdS)z)Remove any sections that have no options.N)�sectionsr!Zremove_section)rrr
r
r�RemoveEmptySectionsRsz&IdleUserConfParser.RemoveEmptySectionscCs|j�|j�S)z9Return True if no sections after removing empty sections.)r)r()rr
r
r�IsEmptyXs
zIdleUserConfParser.IsEmptycCs#|j|�r|j||�SdS)z�Return True if option is removed from section, else False.

        False if either section does not exist or did not have option.
        F)rZ
remove_option)rrrr
r
r�RemoveOption]szIdleUserConfParser.RemoveOptioncCs|j||�rH|j||�|kr.dS|j|||�dSn3|j|�sd|j|�|j|||�dSdS)z�Return True if option is added or changed to value, else False.

        Add section if required.  False means option already had value.
        FTN)rr�setrr&)rrr�valuer
r
r�	SetOptionfs
zIdleUserConfParser.SetOptioncCs)tjj|j�r%tj|j�dS)z9Remove user config file self.file from disk if it exists.N)�os�path�existsr�remove)rr
r
r�
RemoveFilewszIdleUserConfParser.RemoveFilecCs�|j�sw|j}yt|d�}Wn.tk
rXtj|�t|d�}YnX|�|j|�WdQRXn
|j�dS)z�Update user configuration file.

        Remove empty sections. If resulting config isn't empty, write the file
        to disk. If config is empty, remove the file from disk if it exists.

        �wN)r*r�open�OSErrorr/�unlink�writer3)rZfnamerr
r
r�Save|s	

zIdleUserConfParser.SaveN)rrr	r$r'r)r*r+r.r3r9r
r
r
rr%Hs	r%c@sieZdZdZdd�Zdd�Zdd�Zddd	d
dd�Zd
d�Zdd�Z	ddd�Z
dd�Zdd�Zdd�Z
d	d
d
dd�Zdd�Zdd�Zdd �Zd!d"�Zd#d$�Zd%d&�Zd'd(�Zd)d*�Zd+d,�Zdd-d.�Zd/d0�Zd1d2�Zd3d4�Zd5d6�Zd7d8�ZdS)9�IdleConfalHold config parsers for all idle config files in singleton instance.

    Default config files, self.defaultCfg --
        for config_type in self.config_types:
            (idle install dir)/config-{config-type}.def

    User config files, self.userCfg --
        for config_type in self.config_types:
        (user home dir)/.idlerc/config-{config-type}.cfg
    cCs<d|_i|_i|_i|_|j�|j�dS)N�main�
extensions�	highlight�keys)zmainz
extensionsz	highlightzkeys)�config_types�
defaultCfg�userCfg�cfg�CreateConfigHandlers�LoadCfgFiles)rr
r
rr�s				
zIdleConf.__init__cCs�tdkr!tjjt�}ntjjtjd�}|j�}i}i}xS|jD]H}tjj	|d|d�||<tjj	|d|d�||<q\Wx?|jD]4}t
||�|j|<t||�|j
|<q�WdS)z5Populate default and user config parser dictionaries.�__main__rzconfig-z.defz.cfgN)rr/r0�dirname�__file__�abspath�sys�
GetUserCfgDirr?�joinrr@r%rA)rZidleDir�userDirZdefCfgFilesZusrCfgFilesZcfgTyper
r
rrC�s		zIdleConf.CreateConfigHandlerscCsd}tjjd�}|dkrvtjj|�svd|d}yt|dtj�Wntk
roYnXd}|dkr�tj�}tjj	||�}tjj|�sytj
|�Wn9tk
rd|d}t|dtj�t�YnX|S)zfReturn a filesystem directory for storing user config files.

        Creates it if required.
        z.idlerc�~z.
 Warning: os.path.expanduser("~") points to
 z,
 but the path does not exist.rz2
 Warning: unable to create user config directory
z(
 Check path and permissions.
 Exiting!
)r/r0�
expanduserr1�printrI�stderrr6�getcwdrK�mkdir�
SystemExit)rZcfgDirrL�warnr
r
rrJ�s*

zIdleConf.GetUserCfgDirNTFc	!CsNy@|j|j||�r?|j|j||d|d|�SWnmtk
r�d||||j|j||d|�f}yt|dtj�Wntk
r�YnXYnXy@|j|j||�r�|j|j||d|d|�SWntk
rYnX|rJd|||f}yt|dtj�Wntk
rIYnX|S)aReturn a value for configType section option, or default.

        If type is not None, return a value of that type.  Also pass raw
        to the config parser.  First try to return a valid value
        (including type) from a user configuration. If that fails, try
        the default configuration. If that fails, return default, with a
        default of None.

        Warn if either user or default configurations have an invalid value.
        Warn if default is returned and warn_on_default is True.
        rrzu
 Warning: configHandler.py - IdleConf.GetOption -
 invalid %r value for configuration option %r
 from section %r: %rrz�
 Warning: configHandler.py - IdleConf.GetOption -
 problem retrieving configuration option %r
 from section %r.
 returning default value: %r)	rArr�
ValueErrorrOrIrPr6r@)	r�
configTyperrrr�warn_on_defaultr�warningr
r
r�	GetOption�s4

	#




zIdleConf.GetOptioncCs|j|j|||�dS)z0Set section option to value in user config file.N)rAr.)rrVrrr-r
r
rr.szIdleConf.SetOptioncCsi||jkrtd��|dkr7|j|}n(|dkrS|j|}ntd��|j�S)z�Return sections for configSet configType configuration.

        configSet must be either 'user' or 'default'
        configType must be in self.config_types.
        zInvalid configType specified�userrzInvalid configSet specified)r?rrAr@rr()r�	configSetrV�	cfgParserr
r
r�GetSectionList	szIdleConf.GetSectionListcCs�|jdj|�r+|jd|�}n|jd|�}||d}|dkrd|d}n||d}d|d	|i}|s�|S|d
kr�|dS|dkr�|d	Std��d
S)aReturn individual theme element highlight color(s).

        fgBg - string ('fg' or 'bg') or None.
        If None, return a dictionary containing fg and bg colors with
        keys 'foreground' and 'background'.  Otherwise, only return
        fg or bg color, as specified.  Colors are intended to be
        appropriate for passing to Tkinter in, e.g., a tag_config call).
        r=rrZz-foregroundZcursorznormal-backgroundz-backgroundZ
foregroundZ
backgroundZfgZbgzInvalid fgBg specifiedN)r@r�GetThemeDictr
)r�theme�elementZfgBgZ	themeDictZforeZbackr=r
r
r�GetHighlights	
zIdleConf.GetHighlightc6Csv|dkr|jd}n(|dkr8|jd}ntd��ddddd	dd
dddddd
dddddddddddddddddddddddddddddddddddd dd!dd"di}x�|D]{}|j||�sNd#||||f}yt|d$tj�Wntk
rMYnX|j||d||�||<q�W|S)%a)Return {option:value} dict for elements in themeName.

        type - string, 'default' or 'user' theme type
        themeName - string, theme name
        Values are loaded over ultimate fallback defaults to guarantee
        that all theme elements are present in a newly created theme.
        rZr=rzInvalid theme type specifiedznormal-foregroundz#000000znormal-backgroundz#ffffffzkeyword-foregroundzkeyword-backgroundzbuiltin-foregroundzbuiltin-backgroundzcomment-foregroundzcomment-backgroundzstring-foregroundzstring-backgroundzdefinition-foregroundzdefinition-backgroundzhilite-foregroundzhilite-backgroundZgrayzbreak-foregroundzbreak-backgroundzhit-foregroundzhit-backgroundzerror-foregroundzerror-backgroundzcursor-foregroundzstdout-foregroundzstdout-backgroundzstderr-foregroundzstderr-backgroundzconsole-foregroundzconsole-backgroundz�
 Warning: configHandler.IdleConf.GetThemeDict -
 problem retrieving theme element %r
 from theme %r.
 returning default color: %rr)	rAr@rrrOrIrPr6r)rrZ	themeNamer\r_r`rXr
r
rr^6sV

zIdleConf.GetThemeDictcCs�|jddddddd�}|rB|jddddd�}|rO|sV|rq|jddd	dd�}|r�|jn|j}|d
j|�r�|SdSdS)
a<Return the name of the currently active text color theme.

        idlelib.config-main.def includes this section
        [Theme]
        default= 1
        name= IDLE Classic
        name2=
        # name2 set in user config-main.cfg for themes added after 2015 Oct 1

        Item name2 is needed because setting name to a new builtin
        causes older IDLEs to display multiple error messages or quit.
        See https://bugs.python.org/issue25313.
        When default = True, name2 takes precedence over name,
        while older IDLEs will just use name.
        r;�ThemerrrTZname2��namer=zIDLE ClassicN)rYr@rAr)rrr_�sourcer
r
r�CurrentThemevszIdleConf.CurrentThemecCs|jddddd�S)z0Return the name of the currently active key set.r;ZKeysrdrrc)rY)rr
r
r�CurrentKeys�szIdleConf.CurrentKeysc	Cs|j|jdd��}|j|jdd��}x'|D]}||kr=|j|�q=W|rg}x�|D]�}|jd|ddddd�rs|s�|r�|r�d}nd	}|jd||ddddd
d�r�|j|�qs|j|�qsW|S|SdS)
z�Return extensions in default and user config-extensions files.

        If active_only True, only return active (enabled) extensions
        and optionally only editor or shell extensions.
        If active_only False, return all extensions.
        rr<rZ�enableTrrZ
enable_editorZenable_shellrWFN)�RemoveKeyBindNamesr]�appendrY)	r�active_onlyZeditor_onlyZ
shell_onlyZextnsZ	userExtns�extn�activeExtnsrr
r
r�
GetExtensions�s.

			zIdleConf.GetExtensionscCsn|}g}x3|D]+}|jd�r|j|j|��qW|jdd�x|D]
}||=qYW|S)z:Return extnNameList with keybinding section names removed.�	_bindings�_cfgBindings�reverseT)rorp)�endswithrj�index�sort)rZextnNameList�namesZkbNameIndiciesrdrsr
r
rri�s

zIdleConf.RemoveKeyBindNamescCsad}d|d}xF|jdd�D]2}x)|j|�D]}||kr=|}q=Wq'W|S)z�Return the name of the extension binding virtualEvent, or None.

        virtualEvent - string, name of the virtual event to test for,
                       without the enclosing '<< >>'
        Nz<<z>>rkr)rn�GetExtensionKeys)r�virtualEventZextNameZvEventrl�eventr
r
r�GetExtnNameForEvent�szIdleConf.GetExtnNameForEventc	Cs|d}|j�}i}|jdj|�r{|jdj|�}x0|D](}d|d}||}|||<qOW|S)aReturn dict: {configurable extensionName event : active keybinding}.

        Events come from default config extension_cfgBindings section.
        Keybindings come from GetCurrentKeySet() active key dict,
        where previously used bindings are disabled.
        rpr<z<<z>>)�GetCurrentKeySetr@rr!)	r�
extensionName�keysNameZ
activeKeys�extKeys�
eventNames�	eventNamerx�bindingr
r
rrv�s


zIdleConf.GetExtensionKeyscCs�|d}i}|jdj|�r�|jdj|�}xG|D]?}|jd||dd�j�}d|d}|||<qCW|S)aReturn dict {configurable extensionName event : keybinding list}.

        Events come from default config extension_cfgBindings section.
        Keybindings list come from the splitting of GetOption, which
        tries user config before default config.
        rpr<rrcz<<z>>)r@rr!rY�split)rr{r|r}r~rr�rxr
r
rZ__GetRawExtensionKeys�s

zIdleConf.__GetRawExtensionKeyscCs�|d}|j|�}|jdj|�r�|jdj|�}xG|D]?}|jd||dd�j�}d|d}|||<qLW|S)aReturn dict {extensionName event : active or defined keybinding}.

        Augment self.GetExtensionKeys(extensionName) with mapping of non-
        configurable events (from default config) to GetOption splits,
        as in self.__GetRawExtensionKeys.
        ror<rrcz<<z>>)rvr@rr!rYr�)rr{Z	bindsNameZextBindsr~rr�rxr
r
r�GetExtensionBindings�s

zIdleConf.GetExtensionBindingscCs5|dd�}|jd||dd�j�}|S)z�Return the keybinding list for keySetName eventStr.

        keySetName - name of key binding set (config-keys section).
        eventStr - virtual event, including brackets, as in '<<event>>'.
        �r>rrc���)rYr�)r�
keySetNameZeventStrrr�r
r
r�
GetKeyBindings!zIdleConf.GetKeyBindingcCsn|j|j��}tjdkrjxC|j�D]5\}}dd�|D�}||kr1|||<q1W|S)z/Return CurrentKeys with 'darwin' modifications.�darwincSs"g|]}|jdd��qS)z<Alt-z<Option-)�replace)�.0�xr
r
r�
<listcomp>"s	z-IdleConf.GetCurrentKeySet.<locals>.<listcomp>)�	GetKeySetrgrI�platform�items)r�result�k�vZv2r
r
rrzszIdleConf.GetCurrentKeySetcCs�|j|�}|jdd�}xb|D]Z}|j|�}|r(x<|D]4}|||j�krpd||<||||<qJWq(W|S)z�Return event-key dict for keySetName core plus active extensions.

        If a binding defined in an extension is already in use, the
        extension binding is disabled by being set to ''
        rk�rc)�GetCoreKeysrn�_IdleConf__GetRawExtensionKeys�values)rr�ZkeySetrmrlr}rxr
r
rr�(s


zIdleConf.GetKeySetcCsd|d|j�kS)z�Return True if the virtual event is one of the core idle key events.

        virtualEvent - string, name of the virtual event to test for,
                       without the enclosing '<< >>'
        z<<z>>)r�)rrwr
r
r�
IsCoreBinding:szIdleConf.IsCoreBindingcbCsTdddgdddgddd	gd
ddgd
dgddgddgddgddgddgddgddgddgddgdd gd!d"gd#d$gd%d&gd'd(gd)d*gd+d,gd-d.gd/d0gd1d2gd3d4gd5d6gd7d8gd9d:gd;d<gd=d>gd?d@dAgdBdCgdDdEgdFdGgdHdIgdJdKgdLdMgdNdOdPgdQdRgdSdTgdUdVgdWdXgdYdZgd[d\gd]d^gd_d`gdadbgdcddgdedfgi1}|rPxv|D]n}|j||�}|r	|||<q�dg||||f}yt|dhtj�Wq�tk
rKYq�Xq�W|S)ia�Return dict of core virtual-key keybindings for keySetName.

        The default keySetName None corresponds to the keyBindings base
        dict. If keySetName is not None, bindings from the config
        file(s) are loaded _over_ these defaults, so if there is a
        problem getting any core binding there will be an 'ultimate last
        resort fallback' to the CUA-ish bindings defined here.
        z<<copy>>z<Control-c>z<Control-C>z<<cut>>z<Control-x>z<Control-X>z	<<paste>>z<Control-v>z<Control-V>z<<beginning-of-line>>z<Control-a>z<Home>z<<center-insert>>z<Control-l>z<<close-all-windows>>z<Control-q>z<<close-window>>z<Alt-F4>z<<do-nothing>>z<<end-of-file>>z<Control-d>z<<python-docs>>z<F1>z<<python-context-help>>z
<Shift-F1>z<<history-next>>z<Alt-n>z<<history-previous>>z<Alt-p>z<<interrupt-execution>>z<<view-restart>>z<F6>z<<restart-shell>>z<Control-F6>z<<open-class-browser>>z<Alt-c>z<<open-module>>z<Alt-m>z<<open-new-window>>z<Control-n>z<<open-window-from-file>>z<Control-o>z<<plain-newline-and-indent>>z<Control-j>z<<print-window>>z<Control-p>z<<redo>>z<Control-y>z<<remove-selection>>z<Escape>z<<save-copy-of-window-as-file>>z
<Alt-Shift-S>z<<save-window-as-file>>z<Alt-s>z<<save-window>>z<Control-s>z<<select-all>>z<Alt-a>z<<toggle-auto-coloring>>z<Control-slash>z<<undo>>z<Control-z>z<<find-again>>z<Control-g>z<F3>z<<find-in-files>>z<Alt-F3>z<<find-selection>>z<Control-F3>z<<find>>z<Control-f>z<<replace>>z<Control-h>z
<<goto-line>>z<Alt-g>z<<smart-backspace>>z<Key-BackSpace>z<<newline-and-indent>>z<Key-Return>z<Key-KP_Enter>z<<smart-indent>>z	<Key-Tab>z<<indent-region>>z<Control-Key-bracketright>z<<dedent-region>>z<Control-Key-bracketleft>z<<comment-region>>z<Alt-Key-3>z<<uncomment-region>>z<Alt-Key-4>z<<tabify-region>>z<Alt-Key-5>z<<untabify-region>>z<Alt-Key-6>z<<toggle-tabs>>z<Alt-Key-t>z<<change-indentwidth>>z<Alt-Key-u>z<<del-word-left>>z<Control-Key-BackSpace>z<<del-word-right>>z<Control-Key-Delete>z�
 Warning: configHandler.py - IdleConf.GetCoreKeys -
 problem retrieving key binding for event %r
 from key set %r.
 returning default value: %rr)r�rOrIrPr6)rr�ZkeyBindingsrxr�rXr
r
rr�Esz
																																										


	zIdleConf.GetCoreKeysc	Csg}|dkr"|jd}n(|dkr>|jd}ntd��|jd�}x�|D]�}|jd|dd�}|jd�d
kr�d}d}n/|jd�}|d	j�}|dj�}|r`|r`|j|||f�q`W|j	d
dd��|S)a�Return list of extra help sources from a given configSet.

        Valid configSets are 'user' or 'default'.  Return a list of tuples of
        the form (menu_item , path_to_help_file , option), or return the empty
        list.  'option' is the sequence number of the help resource.  'option'
        values determine the position of the menu items on the Help menu,
        therefore the returned list must be sorted by 'option'.

        rZr;rzInvalid configSet specifiedZ	HelpFiles�;r�rcr�keycSs|dS)Nr�r
)r�r
r
r�<lambda>�sz1IdleConf.GetExtraHelpSourceList.<locals>.<lambda>���)
rAr@rr!r�findr��striprjrt)	rr[ZhelpSourcesr\r rr-ZmenuItemZhelpPathr
r
r�GetExtraHelpSourceList�s&

	zIdleConf.GetExtraHelpSourceListcCs |jd�|jd�}|S)z�Return a list of the details of all additional help sources.

        Tuples in the list are those of GetExtraHelpSourceList.
        rrZ)r�)rZallHelpSourcesr
r
r�GetAllExtraHelpSourcesList�sz#IdleConf.GetAllExtraHelpSourcesListc	Cs�|j||ddd�}|j||ddddd�}|j||ddd	dd
�}|dkr�tdkr~d
}n`tddddd|�}tj|�}|d}|d}|d	kr�d}|ddk}|||r�dndfS)a�Retrieve a font from configuration (font, font-size, font-bold)
        Intercept the special value 'TkFixedFont' and substitute
        the actual font, factoring in some tweaks if needed for
        appearance sakes.

        The 'root' parameter can normally be any valid Tkinter widget.

        Return a tuple (family, size, weight) suitable for passing
        to tkinter.Font
        ZfontrZcourierz	font-sizerrZ10z	font-boldrrZTkFixedFontg!@ZCourierrdr1T�root�family�size�
Zweight�boldZnormal)rYrrZactual)	rr�rVrr�r�r��fZ
actualFontr
r
r�GetFont�s 			

zIdleConf.GetFontcCs:x3|jD](}|j|j�|j|j�q
WdS)zLoad all configuration files.N)r@r#rA)rr�r
r
rrD�szIdleConf.LoadCfgFilescCs)x"|jD]}|j|j�q
WdS)z2Write all loaded user configuration files to disk.N)rAr9)rr�r
r
r�SaveUserCfgFiles�szIdleConf.SaveUserCfgFiles)rrr	r$rrCrJrYr.r]rar^rfrgrnriryrvr�r�r�rzr�r�r�r�r�r�rDr�r
r
r
rr:�s8
	-@#

M 	r:rEc	Cs�td|d�x�|D]�}||j�}t|�t|�xf|D]^}||j|�}t|�t|�x.|D]&}t|d||j||��q|WqHWqWdS)N�
�=)rOr(r r)rBr�r(rr rr
r
r�dumpCfg�s






r�r;rbrd)r$r/rIZconfigparserrZtkinterrZtkinter.fontrr�	Exceptionrrr
rrr%r:ZidleConfrr�r@rArOrr
r
r
r�<module>s('G��W	



Rosenblum TV: Video training, virtual workshops, classes, tutorials
logologologologo
  • About
  • What We Do
  • Our Clients
  • Case Studies
    • The BBC
    • CBS News
    • New York Times Television
    • Spectrum News
    • The Newark Star-Ledger
    • The United Nations
    • McGraw/Hill
    • Oyster Yachts
    • Scottish Environmental Protection Agency
  • The Power of Storytelling
  • Why iPhones?
  • Michael on Media
  • Books
  • Contact
  • About
  • What We Do
  • Our Clients
  • Case Studies
    • The BBC
    • CBS News
    • New York Times Television
    • Spectrum News
    • The Newark Star-Ledger
    • The United Nations
    • McGraw/Hill
    • Oyster Yachts
    • Scottish Environmental Protection Agency
  • The Power of Storytelling
  • Why iPhones?
  • Michael on Media
  • Books
  • Contact

RE-INVENTING THE TELEVISION NEWS BUSINESS*

A revolution in video storytelling

Creating entirely new & cost-effective production methods

From the world leaders in video production training and the creators of Character Driven Storytelling™

*and every other business that uses video

WHAT WE DO

Over the past 35 years, we have designed, built or restructured some of the most powerful news and journalism companies in the world.

We replace the traditional TV news ‘crew’ with one highly trained journalist, working alone with nothing but an iPhone.

No more TV news ‘crews’, no editors and no field producers.

This is television news done the way newspaper journalism is done – one reporter with their electronic pad and pencil.

In doing this, we can cut the cost of production by as much as 75% while increasing ratings and audience engagement.

In the place of conventional TV news ‘packages’ – ie, reporter stand up, interview, b-roll, man on the street, we marry great journalism with Netflix and Hollywood storytelling.

It’s a combination that works.

We have taken most of our clients to #1 in their respective markets.

And it’s not just for news. Any company, any profit, any NGO and anyone else who is online needs to tell their story in compelling yet cost-effective video. We can teach you to do that. Either in person or virtually.

EXAMPLES OF WHAT WE CAN TEACH YOUR STAFF TO PRODUCE

ITAY HOD

Itay Hod, MMJ with KPIX/CBS in San Francisco, took the 5-Day Intensive Video Storytelling Bootcamp in 2018.

Because he works alone, with only an iPhone, he was able to embed himself with a homeless family.

Here’s the story he produced in a one-day turn.

KIET DO

Kiet Do, an MMJ with KPIX/CBS in San Francisco, took the 5-Day Intensive Video Storytelling Bootcamp in 2021.

Here is a story he produced, all on his own, with only an iPhone and in a one-day turn.

TAYLOR SCHAUB

Taylor Schaub, an MMJ with Spectrum News 1 in LA, took the 5-Day Intensive Video Storytelling Bootcamp in 2023.

Here is a story he turned in only one day, using only an iPhone. It was the first video story he ever did and it was nominated for an Emmy.

THE BOOTCAMP

How do we convert stations and whole networks to working in this way?

Since 1988, we have run intensive 5-Day Video Storytelling Bootcamps

We have done these all over the world.

These are hands-on bootcamps, and participants learn an entirely new way of creating TV news stories.

-We shoot at a 3:1 ratio or lower, so turnaround times are fast.

-We go directly from camera to timelilne and edit – no written scripts.  We work in the medium of pictures and sound.

-We are entirely character-driven.

-We are driven by pictures and real events.

-We are focused almost entirely on ’the viewer experience’.

Since 1988, more than 70,000 journalists around the world have taken our bootcamps, either in person on virtualy.

Case Studies

CBS Case Study Logos
CBS News

We have started to work with CBS News, bringing our ideas of character-driven storytelling to one of the most successful and biggest networks in the United States. Since beginning to work with them ratings have climbed and more importantly, audience engagement is through the ceiling.

Learn More
NYT Case Study Logos
New York Times Television

We started New York Times Television in 1990 and it was the first paper to be brought into the world of TV. It quickly became one of the most successful non-fiction production companies in the United States. The series and documentaries we produced won many awards including multiple Emmys.

Learn More
BBC Case Study Logos
The BBC

We have been working with the BBC since the year 2000 helping to convert their national news network to our visual storytelling technique. Most recently we have trained teams from their sports, documentaries, and comedy divisions to make character-driven stories using only smartphones.

Learn More
Spectrum Case Study Logos
Spectrum News

For the past five years we have worked with Spectrum News to introduce and train their journalists on visual, character driven storytelling using smartphones helping to create a different kind of local news for their network of 24-Hour News Stations across the United States.

Learn More
UN Case Study Logos
The United Nations

In 2006, we were approached by the United Nations. Rather than rely on news outlets, it would be much easier to train the field operatives to produce their own stories. We spent two years working with the UN, training more than 100 of their staff in bootcamps in Geneva and Nairobi.

Learn More
Star Ledger Case Study Logos
The Newark Star-Ledger

We trained 50 print reporters at the paper to shoot and tell their own stories, in conjunction with their print work. We built a TV newsroom in their existing print newsroom – you could not ask for a better set and they began to live stream their stories in conjunction with their print work.

Learn More
Mcgraw Hill Case Study Logos
Mcgraw Hill

We spent two years with McGraw Hill, training more than 150 of their staffers, making them completely video literate. McGraw/Hill media properties we transit included Business Week, Aviation Week, (what was the name of the architecture magazine), and JD Power and Associates.

Learn More
VOA Case Study Logos
Voice of America

In 1990, we were approached by The Voice of America, the official broadcasting agency for the United States Government. When we met with VOA, they were only a short wave radio broadcaster, but working with them, we took them into television, launching VOA-TV.

Learn More
Oyster Case Study Logos
Oyster Yachts

British based Oyster Yachts makes some of the finest yachts in the world. Like every other company, they had to find a way to feed the never-ending video demands of social media – sites like Instagram and TikTok. We trained the Oyster staff to tell their own stories, using only iPhones.

Learn More
SEPA Case Study Logos
Scottish Environmental Protection Agency

We were approached by SEPA, the Scottish Environmental Protection Agency because they had to continually find a way to ‘feed the media beast’. The result was that SEPA was able to tell their own stories, whenever they wanted, and at almost no additional cost.

Learn More
Image 11-11-22 at 6.25 PM

Michael on Media

Michael Rosenblum has been writing about the media since 1988. His work and ideas have appeared in The Guardian, The Huffington Post, Ilkeston Life and many other publications.

He has been blogging regularly for the past 35 years on this subject. Having taught media studies at Columbia University, NYU and now the University of Oxford, he is considered an expert on this subject.

Continue reading this post or look back at previous posts.

Read More

Do You Have Questions About Learning Video Skills?

If you would like to know more about our courses contact us and one of our training advisors will be happy to call you.

Contact Us

Copyright 2024. All rights reserved.