Skip to content

Commit ca40bb7

Browse files
committed
Corrected some grammar and added CURL example
1 parent 888082b commit ca40bb7

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

3 calcGUI/CalcGUIModified.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from 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):
225225
root = Tk()
226226
root.geometry()
227227
root.title("Modified GUI Calculator")
228-
app = Application(root)
228+
app = Calculator(root)
229229
root.mainloop()

6 Web Page with Flask/basic page/templates/home.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import os
2+
3+
cmd = "curl https://raw.githubusercontent.com/MicrosoftLearning/intropython/master/poem1.txt -o poem2.txt"
4+
5+
os.system(cmd)

0 commit comments

Comments
 (0)