File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed
6 Web Page with Flask/basic page/templates Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1111from math import sqrt as sqr
1212
1313
14- class Application (Frame ):
14+ class Calculator (Frame ):
1515 """
1616 An example of a calculator app developed using the
1717 Tkinter GUI.
@@ -225,5 +225,5 @@ def create_widgets(self):
225225root = Tk ()
226226root .geometry ()
227227root .title ("Modified GUI Calculator" )
228- app = Application (root )
228+ app = Calculator (root )
229229root .mainloop ()
Original file line number Diff line number Diff line change 11{% extends "layout.html" %}
22{% block content %}
33< div class ="home ">
4- < h1 > My homepage </ h1 >
4+ < h1 > My Homepage </ h1 >
55 < p > This is a test website. {{myName}}</ p >
66 < p > < form action ="{{ url_for('greet') }} " method ='post '>
77 Please type your name: < input type ='text ' name ='myName '> < br >
Original file line number Diff line number Diff line change 1+ import os
2+
3+ cmd = "curl https://raw.githubusercontent.com/MicrosoftLearning/intropython/master/poem1.txt -o poem2.txt"
4+
5+ os .system (cmd )
You can’t perform that action at this time.
0 commit comments