⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 powlite_fm.py

📁 一个俄罗斯人写的pys60的文件管理器
💻 PY
字号:
# -*- coding:utf-8 -*- 
__doc__='Power mod by Atrant of Lite filemanager by Shrim'
__name__='PowLite FM'
class manager:
  def __s2d(s,x):
    res = ""
    x = x.lower()
    for i in range(len(x)):
      ind = s.alphabet.find(x[i])
      if ind == -1: res += "1"
      else: res += s.numaplhabet[ind]
    return res
  def ru(s,x):
    return x.decode('utf-8')
  def ur(s,x):
    return x.encode('utf-8')
  def __init__(s):
    import appuifw,os,e32
    s.appuifw, s.os, s.e32 = appuifw,os,e32
    s.lock = s.e32.Ao_lock()
    s.curdir = None
    s.more = []
    s.alphabet =  s.ru("abcdefghijklmnopqrstuvwxyz邪斜胁谐写械褢卸蟹懈泄泻谢屑薪芯锌褉褋褌褍褎褏褑褔褕褖褜褘褗褝褞褟1234567890 ")
    s.numaplhabet =   u"2223334445556667777888999922223333344445555666677778888999912345678900"
  def AskUser(s, path = None, find = 'file', ext = [], moe=None):
    s.iconpath = s.os.path.dirname(s.appuifw.app.full_name())+u"\\powlite_fm.mbm"
    if not s.os.path.exists(s.iconpath):
      if s.os.path.exists(u"E:\\system\\libs\\powlite_fm.mbm"):
        s.iconpath = u"E:\\system\\libs\\powlite_fm.mbm"
      else:
        s.appuifw.app.note(s.ru("鎵句笉鍒板浘鐗囨枃浠秔owlite_fm.mbm!"),'error')
        return None

    s.fold_icon = s.appuifw.Icon(s.iconpath,2,3)
    s.file_icon = s.appuifw.Icon(s.iconpath,4,5)
    s.ok_icon = s.appuifw.Icon(s.iconpath,10,11)
    icon = s.appuifw.Icon(s.iconpath,8,9)
    s.workitem = (s.ru('璇风◢鍊

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -