Пример #1
0
def get(family):
    """
  @param  family  str  such as hanazono
  @return  bool
  """
    import rc
    return rc.runscript('getfont.py', (family, ))
Пример #2
0
def get(lang):
    """
  @param  lang  str  such as ja-en
  @return  bool
  """
    import rc
    return rc.runscript('getlingoes.py', (lang, ))
Пример #3
0
def get(lang):
    """
  @param  lang  str  such as fr
  @return  bool
  """
    import rc
    return rc.runscript('getjmdict.py', (lang, ))
Пример #4
0
def get(dic):
    """
  @param  dic  str  such as ipadic or unidic
  @return  bool
  """
    import rc
    return rc.runscript('getcabocha.py', (dic, ))
Пример #5
0
def get(lang):
    """
  @param  lang  str  such as ja-en
  @return  bool
  """
    import rc
    if 'vi' in lang:
        s = 'getovdp.py'
    else:
        s = 'getstardict.py'
    return rc.runscript(s, (lang, ))
Пример #6
0
def getlist(vids, path=None, debug=True):
  """
  @param  vids  [str]  youtube video ID
  @param* path  unicode or None  default is on the Desktop
  @return  bool

  Example: python . -o "C:\Users\jichi\Desktop\%(title)s.%(ext)s" C9mjluSx40s
  """
  if not path:
    from sakurakit import skpaths
    path = skpaths.DESKTOP
  args = [path]
  args.extend(vids)
  import rc
  return rc.runscript('getyoutube.py', args, debug=debug)
Пример #7
0
def get():
    """
  @return  bool
  """
    import rc
    return rc.runscript('getipadic.py')
Пример #8
0
def get():
    """
  @return  bool
  """
    import rc
    return rc.runscript('getunidicmlj.py')
Пример #9
0
def align():
    """
  @return  bool
  """
    import rc
    return rc.runscript('alignedict.py')
Пример #10
0
def get():
  """
  @return  bool
  """
  import rc
  return rc.runscript('getwadoku.py')