示例#1
0
文件: font.py 项目: Rougnt/VNR-Core
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
文件: jmdict.py 项目: Rougnt/VNR-Core
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
文件: ipadic.py 项目: Rougnt/VNR-Core
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
文件: edict.py 项目: Rougnt/VNR-Core
def align():
    """
  @return  bool
  """
    import rc
    return rc.runscript('alignedict.py')
示例#10
0
def get():
  """
  @return  bool
  """
  import rc
  return rc.runscript('getwadoku.py')