jumpscaleapi

j.codetools

  • /opt/jumpscale7/lib/JumpScale/baselib/codetools/CodeTools.py
  • Properties
    • regex
    • executor
    • templateengine
    • codemanager

Methods

def getTextFileEditor

arguments
  • filepath
comments
returns a class which helps you to edit a text file
e.g. find blocks, replace lines, ...

def getWordReplacerTool

arguments

def textToTitle

arguments
  • text
  • maxnrchars = 60
comments
try to create a title out of text, ignoring irrelevant words and making lower case and
    removing
not needed chars