I have installed the tramp on my emacs properly. I can use it to edit the remote txt files, however, once I create an *.py file on the remote host and edit it, after I input 2 letters, the whole emacs freeze, it doesn't respond. Could anyone give me some hints for this issus?
I figured out my mistake. Tramp seems incompatible with one of the python's auto-complete package, and I removed it. Then tramp works well.
How to use emacs tramp to edit remote python file?