I am using for python 2.7 on windows.
I am trying to build a test editor with tkinter. I make a 90% percentage of my application. Now i need your help. When we open a .txt file the text editor open and display that text. I want open my application with like this. I know how will set it with windows cmd. I do it with the following code in cmd.
This working. But my application not read the file.
What is the python code to fix it.
I am trying to build a test editor with tkinter. I make a 90% percentage of my application. Now i need your help. When we open a .txt file the text editor open and display that text. I want open my application with like this. I know how will set it with windows cmd. I do it with the following code in cmd.
Code:
assoc .txt=HighTxt.File ftype HighTxt.File=C:\pythonpractice\hightxt.py
What is the python code to fix it.