Package nltk :: Package misc :: Module nemo
[hide private]
[frames] | no frames]

Module nemo

source code

Finding (and Replacing) Nemo

Instant Regular Expressions Created by Aristide Grange

Classes [hide private]
  Zone
  FindZone
  ReplaceZone
Functions [hide private]
 
launchRefresh(_) source code
Variables [hide private]
  windowTitle = 'Finding (and Replacing) Nemo'
  initialFind = 'n(.*?)e(.*?)m(.*?)o'
  initialRepl = 'M\\1A\\2K\\3I'
  initialText = 'Lorem ipsum dolor sit amet, consectetur adipisi...
  images = {'FIND': 'R0lGODlhMAAiAPcAMf/////37//35//n1v97Off///f...
  colors = ['#FF7B39', '#80F121']
  emphColors = ['#DAFC33', '#F42548']
  fieldParams = {'background': 'white', 'borderwidth': 0, 'font'...
  textParams = {'bg': '#F7E0D4', 'fg': '#2321F1', 'font': ('verd...
  __warningregistry__ = {('The sre module is deprecated, please ...
Variables Details [hide private]

initialText

Value:
'''Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do ei\
usmod tempor incididunt ut labore et dolore magna aliqua.
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nis\
i ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum \
dolore eu fugiat nulla pariatur.
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui offi\
cia deserunt mollit anim id est laborum.
...

images

Value:
{'FIND': 'R0lGODlhMAAiAPcAMf/////37//35//n1v97Off///f/9/f37/fexvfOvfeE\
Qvd7QvdrQvdrKfdaKfdSMfdSIe/v9+/v7+/v5+/n3u/e1u/Wxu/Gre+1lO+tnO+thO+Ua+\
97Y+97Oe97Me9rOe9rMe9jOe9jMe9jIe9aMefe5+fe3ufezuece+eEWudzQudaIedSIedK\
MedKIedCKedCId7e1t7Wzt7Oxt7Gvd69vd69rd61pd6ljN6UjN6Ue96EY95zY95rUt5rQt\
5jMd5SId5KIdbn59be3tbGztbGvda1rdaEa9Z7a9Z7WtZzQtZzOdZzMdZjMdZaQtZSOdZS\
MdZKMdZCKdZCGNY5Ic7W1s7Oxs7Gtc69xs69tc69rc6tpc6llM6clM6cjM6Ue86EY85zWs\
5rSs5SKc5KKc5KGMa1tcatrcalvcalnMaUpcZ7c8ZzMcZrUsZrOcZrMcZaQsZSOcZSMcZK\
McZCKcZCGMYxIcYxGL3Gxr21tb21rb2lpb2crb2cjL2UnL2UlL2UhL2Ec717Wr17Ur1zWr\
...

fieldParams

Value:
{'background': 'white',
 'borderwidth': 0,
 'font': ('monaco', 14),
 'height': 3,
 'highlightthickness': 0,
 'width': 70}

textParams

Value:
{'bg': '#F7E0D4',
 'fg': '#2321F1',
 'font': ('verdana', 16),
 'height': 10,
 'highlightthickness': 0,
 'width': 1,
 'wrap': 'word'}

__warningregistry__

Value:
{('The sre module is deprecated, please import re.',
  <type 'exceptions.DeprecationWarning'>,
  13): 1}