Tkinter Entry Input Widget

The Entry Tkinter input field is a widget that offers users the possibility of entering or editing text in a single line. If the user wishes to use a multi-lines text, Tkinter offers this possibility via the Text widget. 1 - How to create a an Entry Input Field in Tkinter? To create a label…

Solution Exercice 51: rename the existing file

Exercise 51 By using the os.rename() method, create a python program to rename an existing file on the desktop  called myfile1.txt to myfile2.txt. (you must create the file called myfile1.txt manually on the desktop) Solution import os# retrieve username by using the getlogin() methoduser = os.getlogin()#define file path for the existing file in desktopfile1 =…

The Label Widget

Label widgets are used to display one or more lines of text with a same style, a bitmap, or an image with the ability to customize the appearance  of the text and background.. 1 - How to create a Label ? To create a label in a main window or in a parent frame we…

Android 11 has arrived in developer preview

It's a surprise because we were only expecting it next month. Google has released a preview of Android 11, the new version of its operating system for phones and tablets for developers. Images for Pixel 2, 3, 3a and 4 are already available. According to the roadmap of Google Android 11 will be released in…