Recently learned Python has a period of time, but also wrote a number of small programs, but mainly are command line execution, has been trying to learn the GUI, considering the simplicity of TK, but also to meet the requirements of general procedures, decided to learn the next tkinter, ready to spend some time reading Python Tkinter The official introduction, and then write some small programs on their own. The following will be the official introduc
Made a small tool, integrated Google translation, but the translation of Chinese characters changed, TK value is also changing, for the Chinese character with the original TK will not, engaged a night, did not find the TK algorithm.Later found that the wrong TK can also translate, do not know why, first make use of it.
David Mertz introduces the TK and Tkinter wrappers (the GUI library of Python) using source code samples and detailed instructions. For ease of operation, he demonstrated the GUI porting example of the Txt2html front-end program that was used in many previous articles. Of course, he thinks you'll read his column regularly.
I'd like to introduce you to the simplest way to start GUI programming, which is to use the Scriptics
I'd like to introduce you to the simplest way to start GUI programming, which is to use the Scriptics TK and tkinter wrappers. We'll make a lot of comparisons with the curses library mentioned in "Curses programming in Python" in DeveloperWorks. In addition to the difference between curses implementing the text console and TK implementing the GUI, the two libraries have surprisingly similar interfaces. Befo
The following are the installation steps for installing TCL/TK:Step1 Download and install TCL/TK:TCL/TK is a cross-platform language that can be used under multiple systems.For LINUXStep1: Download tcl and TK installation fileshttp://www.tcl.tk/software/tcltk/download.html Step2: Installing TCLTAR-ZVXF tcl8.4.4.tar.gzCD tcl8.4. 4/CD UNIX./configureMakeMake installWhen you type the command Tclsh, you can use
TK free domain registration and resolution Setup graphics and text tutorial:
First, registered users
TK does not seem to register users directly, only by registering the domain name while registering users.
1. Land TK official: Http://www.dot.tk/zh/index.html?lang=zh (This is the Chinese version page)
Then click on the "network domain name" in the menu, enter
Latest news: dottk Free top-level domain name in addition to support forwarding, you can already set a, cname, MX record and modify DNS server! Dottk Free top-level domain names are not stable and cannot be accessed from time to time. It is suitable for watching and not for website construction!
Dottk provides a free top-level domain name for yourname. TK. The website has a Simplified Chinese version and has many years of history. It should be the f
(1): Open the machine and check that there are three standby connection points in the upper right corner of the machine panel. You can connect the 2nd and 3rd points through a link.
(2): The channel mode, frequency setting mode, and transmission and receiving mode can be freely switched.
(3) (shutdown is required for conversion. Press PTT + ctcss and start the system to switch to the power-on/sending/receiving mode)
(4) enter the channel mode:
First, go to the frequency setting mode, shut down,
The thing is this: a friend in learning to use matplotlib mapping, encountered some questions asked me, I have not used, I would like to put a try first. Then, I created a virtual environment at my fingertips. As a result, the first line involving Matplotlib is an error:Traceback (most recent call last): File "d:/workspace/pytest/get_data.py", line A, in _tkinter. Tclerror:can ' t find a usable init.tcl in the following directories:c:/python35/lib/tcl8.6 d:/workspace/pytest/py3env /lib/tcl8.6 d:
Article title: basic knowledge of Linux: use Tk to write a simple GUI program. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Tk is an extension of the GUI in The TCL programming language. it is simple and powerful. For example, you can use pico to edit text files of
A first open the Web download TCL/TK game source Http://sourceforge.net/projects/tkgames/files/latest/download?source=typ_redirectb The TCL/TK source code file in the compressed package tkHearts-0.90 opened with a text editor, and all the contentCopy to the Init_script string constant in the go source code below Package MainImport "Github.com/nsf/gothic"Const init_script = '#把Tcl/
After the installation of the python3.5 under the Matplotlib, ready to display a picture test, but the console error said need to install PYTHON3-TK, I naively thought direct:
sudo apt-get install PYTHON3-TKI can do it. But no, say is not found the corresponding resources. I began a variety of Baidu, Google, online various posts, still did not solve my problems. Later found a PYTHON3-TK installation pack
Environment: Fedora9 this is a BUG of tk upgrade. The solution is as follows: 1. Use YumExtender to delete tk, so that the associated packages can be deleted. 2, reinstall ①, tcl-8.5.2.fc9.i386 ②, tk-8.5.2-1.fc9.i386 ③, scribus where tk-8.5.2-1.fc9.i386, may not be found from the source, can be manually downloaded.
En
Recently I heard that TK's free domain name is open again. I immediately applied for it. I tried a few popular domain names, but none of them are available. In addition, domain names within four are generally paid. Okay, then we started to register from five people. We were lucky enough to register three e-commerce-related domain names:
Ecweb. TK
Shopec. TK
Shoppingmall.
This is a creation in
Article, where the information may have evolved or changed.
A first open the page http://wiki.tcl.tk/1359
"Trains3.tclupdated 2012-12-09 19:44:49 by Pooryorick"
b Copy the TCL/TK code mentioned in the webpage into the Init_script string constant of the go source code as follows
Package Main
Import "Github.com/nsf/gothic"
Const init_script = '
#把Tcl/TK source code is copied into
This is a creation in
Article, where the information may have evolved or changed.
A first open the Web download TCL/TK game source Http://sourceforge.net/projects/tkgames/files/latest/download?source=typ_redirect
b The TCL/TK source code file in the compressed package tkHearts-0.90 opened with a text editor, and all the content
Copy to the Init_script string constant in the go source code below
Package Ma
This is a creation in
Article, where the information may have evolved or changed.
A first open the Web download TCL/TK game source Http://sourceforge.net/projects/tkgames/files/latest/download?source=typ_redirect
b The TCL/TK source code file in the compressed package tkHearts-0.90 opened with a text editor, and all the content
Copy to the Init_script string constant in the go source code below
Package Ma
PS: First of all, I would like to thank SourceForge and those who contributed code selflessly. You are really great. Learn from you.
Is it because a large number of JS, JPG, and CSS files are introduced in the project that causes slow loading. So TK-filters is your gospel.
TK-Filters: http://download.csdn.net/detail/cl61917380/5449741 (smart people will Google)
1. Put the downloaded SRC Source Code and
First, install the ActivePerl, the installation process to automatically add the PATH environment variable, so that after installation, you do not need to manually modify the PATH environment variable;Bring up the command-line window via cmd, enter ppm, and then enter to open the Perl Package Manager.Click the Warehouse button, search the repository for the TK module, then right-click, select Intall, and then tap the green arrow icon at the top right
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.