To practice my English skill, I will use English to finish my idea.
Because of my study, I have to finish it later, but trust me, I will finish it.

Introduce

In our daily life, we need to process the sentences, which includes chaotic characters, usually.

To solve this problem, I prepare to compile my own tool.

  • Lanage Python
  • UI Tkinter

The reason why I use Python and Tkinter is that I have used before. Meanwhile, I can finish it quickly.

Feature

  1. Real-time processing
  2. Usage record
  3. Adaptive interface
  4. Small function with my heart
    • Character conversion
    • Punctuation modification
    • Spaces and blank lines
    • Links convert
  5. Markdown shortcut
  6. Find and Replace
  7. so on

Procedure

Continuous updating

  1. Real-time processing

  2. Usage record

  3. Adaptive interface
    2022-02-22-20-04-21

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    def window():
    root = Tk() # 建立根窗口 自定义的Tk对象名称,也可以取其它名称
    screenWidth = root.winfo_screenwidth() # 屏幕宽度
    screenHeight = root.winfo_screenheight() # 屏幕高度
    w = 550 # 窗口宽

    x = (screenWidth - w) / 2 # 窗口左上角x轴位置
    y = (screenHeight - w) / 2 # 窗口左上角y轴位置

    root.geometry("%dx%d+%d+%d" % (w, w, x, y)) # 表示距离屏幕左上角(400,200)
    root.title("Text tool") # 窗口的标题
    root.geometry("550x550") # 窗口的大小
    root.configure(bg='white')
    # root.iconbitmap("snake.ico")
    maintext = Text(root,bg='#2B2B2B',borderwidth=0,font=('microsoft yahei', 14, 'bold'),foreground='white')
    maintext.place(relx=0, rely=0, relwidth=1, relheight=1)



    root.mainloop() # 让程序继续运行,同时进入等待与处理窗口事件,放在程序最后一行
  4. Small function with my heart

    • Character conversion

    • Punctuation modification

    • Spaces and blank lines

    • Links convert

  5. Markdown shortcut

  6. Find and Replace

Final