Pure Software code
 
www.puresoftwarecode.com

SOFTWARE Institute
Teach YourSelf
100 Software Programming Training Courses
For Free Download


CHRISTIANITY Institute
HUMANITIES Institute
more the 400 Subjects, All for Free Download.
 
Lebanon  
Python Programming Courses
Software Institute     
 
 
  Home : Software Institute : Python Page 2 Home

Python Pages   -   1    2    3    4          

 
 
 
1- Introduction, The tkinter package (“Tk interface”) :
  • The Canvas widget supplies graphics facilities for Tkinter. Among these graphical objects are lines, circles, images, and even other widgets. With this widget it's possible to draw graphs and plots, create graphics editors, and implement various kinds of custom widgets.
  • The tkinter package (“Tk interface”) is the standard Python interface to the Tk GUI toolkit. Both Tk and tkinter are available on most Unix platforms, as well as on Windows systems. (Tk itself is not part of Python; it is maintained at ActiveState.)
  • Running python -m tkinter from the command line should open a window demonstrating a simple Tk interface, letting you know that tkinter is properly installed on your system, and also showing what version of Tcl/Tk is installed
 
2-  Python Tkinter, to display line  
 
 
  1. In this program, of tkinter Module to display  line
    Using Visual studio 2019 Compiler, to compile Python project / file
     
  2.  Source Code:

    Download this Source Code at python file  - (0.5 KB python file)   download  

      Python Code, to display line

  3. Output:
 
   
3-  Python Tkinter, to display rectangle  
 
  1.  In this program, of tkinter Module to display  rectangle design
    Using Visual studio 2019 Compiler, to compile {ython project / file
     
  2.  Source Code:

      Download this Source Code at python file  - (0.45 KB Python file)   download

      Python Code, to display rectangle

  3. Output :
   
4-  Python Tkinter,  to  display rectangle & text design 
 
  1.  In this program, of tkinter Module to display  rectangle & text design
    Using Visual studio 2019 Compiler, to compile Python project / file
     
  2.  Source Code:

      Download this Source Code at python file  - (1.3 KB Python file)   download

      Python Code, to  display rectangle & text

  3. Output :
   
5-  Python Tkinter, to display circle  
 
  1. In this program, of tkinter Module to display  circle
    Using Visual studio 2019 Compiler, to compile Python project / file
     
  2.  Source Code:

    Download this Source Code at python file  - (0.4 KB Python file)   download  

      Python Code, to display circle

  3. Output:
   
6-  Python Tkinter, to draw  
 
  1. In this program, of tkinter Module to draw
    Using Visual studio 2019 Compiler, to compile Python project / file
     
  2.  Source Code:

    Download this Source Code at python file  - (0.65 KB Python file)   download  

      Python Code, to draw

  3. Output:
   
7-  Python Tkinter, to display triangle 
 
  1. In this program, of tkinter Module to display triangle design
    Using Visual studio 2019 Compiler, to compile Python project / file
     
  2.  Source Code:

    Download this Source Code at python   file  - (0.38 KB Python file)   download  

      Python Code, to display triangle

  3. Output:
   
8-  Python Tkinter, Module - Etoile (Star) 
 
  1.  In this program, of tkinter Module to display  Etoile design
    Using Visual studio 2019 Compiler, to compile Python project / file
     
  2.  Source Code:

     Download this Source Code at python file  - (0.5 KB Python file)   download

      Python Code, to display  Etoile

  3. Output:
   
9-  Python Tkinter, Module - X Etoiles (Stars) 
 
  1.  In this program, of tkinter Module to display X Etoiles design
    Using Visual studio 2019 Compiler, to compile Python project / file
     
  2.  Source Code:

     Download this Source Code at python file  - (1 KB Python file)   download

      Python Code, to display X Etoiles

  3. Output:
     
    Pic 1
    Pic 2
   
10-  Python Tkinter, to display image  
  11
  1.  In this program, of tkinter Module to display  image
    Using Visual studio 2019 Compiler, to compile Python project / file
     
  2.  Source Code:

      Download this Source Code at python file  - (0.32 KB Python file)   download  

    st-rafca.gif   

      img = PhotoImage(file="st-rafca.gif")
      Python Code, to display image

  3. Output:

   
11-  Python Tkinter, to display  table with cells(200x100) 
 
  1. In this program, of tkinter Module to display  table with cells(200x100)
    Using Visual studio 2019 Compiler, to compile Python project / file
     
  2.  Source Code:

    Download this Source Code at python file - (0.68 KB python file)   download

      Python Code, to display  table with cells

  3. Output:

   
12-  Python Tkinter, to display  text & logo 
 
  1. In this program, of tkinter Module to display text & logo
    Using Visual studio 2019 Compiler, to compile Python project / file
     
  2.  Source Code:

    Download this Source Code at python file - (0.45KB python file)   download

    python_logo_small.gif   logo = tk.PhotoImage(file="python_logo_small.gif")
      Python Code, to display  text & logo

  3. Output:
 

Python Pages   -   1    2    3    4          

 
 www.puresoftwarecode.com  :    HUMANITIES Institute  ART Institute & Others
 SOFTWARE Institute - "Free, 120  Training Courses"  CHRISTIANITY Institute    
 Python, Teach yourSelf Programs in 4 pages, in English    Le HANDICAP c'est quoi ?   (in French)  Basilica Architecture, in the Shape of a Cross
 VISUAL STUDIO 2019, C# Programs, in English  Holy BIBLE in 22 Languages and Studies ...  Drugs and Treatment in English, french, Arabic  Old Traditional Lebanese houses
 VISUAL STUDIO 2010 in English  220 Holy Christian ICONS  Classification of Wastes from the Source in Arabic  5 DRAWING Courses & 3 Galleries
 VISUAL STUDIO .NET, Windows & ASP in English  Catholic Syrian MARONITE Church    Meteora, Christianity Monasteries - En, Ar, Fr
 VISUAL STUDIO 6.0 in English  HOLY MASS of  Maronite Church - Audio in Arabic  Christianity in the Arabian Peninsula in Arabic  Monasteries of Mount Athos & Pilgrimage
 Microsoft ACCESS in English  VIRGIN MARY, Mother of JESUS CHRIST GOD  Summary of the Lebanese history in Arabic  Carved Rock Churches, in Lalibela, Ethiopia
 PHP & MySQL in English  SAINTS of the Church  LEBANON EVENTS 1840 & 1860, in Arabic  
 SOFTWARE GAMES in English  Saint SHARBEL - Sharbelogy in 10 languages, Books  Great FAMINE in LEBANON 1916,  in Arabic  my PRODUCTS, and Statistiques ...
 WEB DESIGN in English  Catholic RADIO in Arabic, Sawt el Rab  Great FAMINE and Germny Role 1916,  in Arabic  
 JAVA SCRIPT in English  Читать - БИБЛИЯ и Шарбэль cвятой, in Russe  Armenian Genocide 1915  in Arabic  4 Different STUDIES
 FLASH - ANIMATION in English     Sayfo or Assyrian Genocide 1915 in Arabic  SOLAR Energy & Gas Studies
 PLAY, 5 GAMES      
     Christianity in Turkey in Arabic  WELCOME to LEBANON
 SAADEH BEJJANE Architecture Andree Zouein Foundation    YAHCHOUCH, my Lebanese Village
 CARLOS SLIM HELU Site.  new design  REPORT, Cyber Attack Attacks the Current Site  Prononce English and French and Arabic Letters  ZOUEIN, my Family - History & Trees
       Chucri Simon Zouein, Computer engineer
     
echkzouein@gmail.com
© pure software code - Since 2003