UCONN

UCONN
UCONN

Tuesday, September 28, 2021

Bucket overwriting issue, 9/28/2021, 5:31 PM, English, 9/28/2021, 5:31 PM

Your assigned language is: English
Classroom blog: googleclouduconn.blogspot.com

9/28/2021, 5:31 PM

Resolved issue when copying files from cloud shell machine to storage bucket.

Use the -A option for cp command to overwrite the file on your cloud
storage bucket

gsutil cp -A first.html gs://johnspizza2/

Monday, September 27, 2021

Office Hours are Tuesday this week,, 9/27/2021, 6:00 PM, English, 9/27/2021, 6:00 PM

Your assigned language is: English
Classroom blog: googleclouduconn.blogspot.com

9/27/2021, 6:00 PM

This weeks office hours will be Tuesday from 5:00pm to 6:00pm please
send email if you plan on joining

Office Hours Remote: Tuesday 5:00pm to 6:00pm
https://uconn-cmr.webex.com/meet/jai17003

Sunday, September 26, 2021

Assignment #4 due 10/7/21, 9/26/2021, 11:32 PM, English, 9/26/2021, 11:32 PM


9/26/2021, 11:32 PM

Assignment #4 due 10/7/21
Build a Python Invoicer program that lists 4 items that you want to
sell and produce a total.
Note you can not duplicate my items.

https://uconnstamfordslp.blogspot.com/p/python-invoicer.html

#!/usr/bin/python3
# DATA TYPE Examples
########## DICTIONARY #################
cust_name = input("Customer name: ")
cust_address = input(" Address: ")
cust_city = input(" City: ")
cust_state = input(" State: ")
cust_zip = input(" Zip: ")
print(cust_name)
print(cust_address)
items = {"plates" : 3, "cups" : 1, "glasses" : 2}
for x in items:
print(x, items[x])
no_plates = input("Number of Plates: ")
no_cups = input("Number of Cups: ")
no_glasses = input("Number of Glasses: ")
total_plates = int(no_plates) * int(items["plates"])
total_cups = int(no_cups) * int(items["cups"])
total_glasses = int(no_glasses) * int(items["glasses"])
total_charge = int(total_plates) + int(total_cups) + int(total_glasses)
print(cust_name)
print(cust_address)
print(cust_city)
print(cust_zip)
print(total_charge)
myplates = "You Bought {} number of plates at {} = {} dollars."
print(myplates.format(no_plates, items["plates"], total_plates))
mycups = " {} number of cups at {} = {} dollars."
print(mycups.format(no_cups, items["cups"], total_cups))
myglasses = " {} number of glasses at {} = {} dollars."
print(myglasses.format(no_glasses, items["glasses"], total_glasses))
mytotal = " Total Amount Due = {} dollars."
print(mytotal.format(total_charge))

john_iacovacci1@cloudshell:~/pyprojects/assign4 (uconn-engr)$ python3
invoicer.py
Customer name: John
Address: 55 daffodil Rd
City: Stamford
State: CT
Zip: 06903
John
55 daff
plates 3
cups 1
glasses 2
Number of Plates: 5
Number of Cups: 5
Number of Glasses: 5
John
55 daff
Stamford
06903
30
You Bought 5 number of plates at 3 = 15 dollars.
5 number of cups at 1 = 5 dollars.
5 number of glasses at 2 = 10 dollars.
Total Amount Due = 30 dollars.
john_iacovacci1@cloudshell:~/pyprojects/assign4 (uconn-engr)$

email me the code and the output from the code

Saturday, September 25, 2021

In person class resumes next week 9/27 and 9/29, 9/25/2021, 5:05 PM, English, 9/25/2021, 5:05 PM

Your assigned language is: English
Classroom blog: googleclouduconn.blogspot.com

9/25/2021, 5:05 PM

In person class resumes next week 9/27 and 9/29

Homework assignment #3 due 9/30

https://uconnstamfordslp.blogspot.com/2021/09/assignment-3-due-thursday-930-9212021.html

Midterm exam based on book chapters 1,3, 8, 9, 11, 12 and 4 scheduled
Monday 10/11 and Wednesday 10/13 at 7:30pm

Tuesday, September 21, 2021

Assignment #3 due Thursday 9/30, 9/21/2021, 6:17 PM, English, 9/21/2021, 6:17 PM

Your assigned language is: English
Classroom blog: googleclouduconn.blogspot.com

9/21/2021, 6:17 PM

Assignment #3 Create an app engine python program that creates a
comment form and display the comments back to the user like the
example below.

https://uconnstamfordslp.blogspot.com/p/app-engine-flask-html-form.html

Change the html forms to identify the name of your start up company

E.g. UCONN Stamford Development Student Club is my organization that
uses the name of the company you want to represent.

Due 9/30/21

Please send me your app engine link

Monday, September 20, 2021

simple example, 9/20/2021, 8:39 PM, English, 9/20/2021, 8:39 PM

Your assigned language is: English
Classroom blog: googleclouduconn.blogspot.com

9/20/2021, 8:39 PM

first.html
====================

<!DOCTYPE html>
<html>
<head>
<title>Very simple example
</title>
</head>
<body>
This will appear as is.
<a href="https://storage.cloud.google.com/johnspizza2/second.html">clickable
text</a><br>
</body>
</html>
============================================================================
second.html
============================================================================
<!DOCTYPE html>
<html>
<head>
<title>second
</title>
</head>
<body>
second
<img src="https://uconnhuskies.com/images/logos/site/site.png"/>
</body>
</html>
=========================================================================

gsutil cp -A first.html gs://johnspizza2/

Saturday, September 18, 2021

Remote class on Monday and Wednesday next week, 9/18/2021, 4:57 PM, English, 9/18/2021, 4:57 PM

Your assigned language is: English
Classroom blog: googleclouduconn.blogspot.com

9/18/2021, 4:57 PM

Remote classes on 9/20 and 9/22

We will be moving to remote classes next week.

Link for Monday's class is
https://uconn-cmr.webex.com/uconn-cmr/j.php?MTID=mc369d6628f81a422da58529a7f923fd4

Monday, Sep 20, 2021 6:20 pm | 2 hours 50 minutes | (UTC-04:00)
Eastern Time (US & Canada)
Meeting number: 2623 024 7030
Password: uconn

Link for Wednesday class is
https://uconn-cmr.webex.com/uconn-cmr/j.php?MTID=m00ff6096a126d9e67a422ddf6a085468

Wednesday, Sep 22, 2021 6:20 pm | 2 hours 50 minutes | (UTC-04:00)
Eastern Time (US & Canada)
Meeting number: 2621 642 4770
Password: uconn

I've also put a link to both assignments on the blog in top right corner.

https://uconnstamfordslp.blogspot.com/

The second assignment is due on 9/23.
No late penalties for assignment 1 but they will start with second assignment.

We will be covering compute and app engine next week for assignment 3
due 9/30. (not sent yet)

Assignment 10 due before grading

  Pick any stock and send me the linear regression chart for that stock. https://uconnstamfordslp.blogspot.com/p/machine-learning-exercise.h...