This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% load static %} | |
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css"> | |
<link rel="stylesheet" type="text/css" href="{% static 'kiosk/slideshow.css' %}"/> | |
{% comment %} | |
<script type="text/javascript" src="{% static 'kiosk/scripts/exitshow.js' %}"></script> | |
<script type="text/javascript" src="{% static 'kiosk/scripts/slideshow.js' %}"></script> | |
{% load js %} | |
<script language="JavaScript"> | |
<!-- | |
function slideshow() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#frame { | |
border-collapse: collapse; | |
border-style: none; | |
border-width: 0; | |
width: 100%; | |
height: 100vh; | |
} | |
.frame-top { | |
height: 10vh; | |
background-color: #005395; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.http import Http404 | |
from django.shortcuts import render | |
from .models import Calendar | |
from icalevents.icalevents import events | |
from datetime import datetime, timedelta, date | |
from pytz import utc, timezone | |
import os | |
import json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# U12_Ex01_HelpScreen.py | |
# | |
# Author: Bill Montana | |
# Course: Coding for OOP | |
# Section: A3 | |
# Date: 18 Apr 2018 | |
# IDE: PyCharm Community Edition | |
# | |
# Assignment Info | |
# Exercise: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# U11_Ex19_Set.py | |
# | |
# Author: Bill Montana | |
# Course: Coding for OOP | |
# Section: A3 | |
# Date: 22 Mar 2018 | |
# IDE: PyCharm Community Edition | |
# | |
# Assignment Info | |
# Exercise: 19 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# U11_Ex07_InnerProd.py | |
# | |
# Author: Bill Montana | |
# Course: Coding for OOP | |
# Section: A3 | |
# Date: 20 Mar 2018 | |
# IDE: PyCharm Community Edition | |
# | |
# Assignment Info | |
# Exercise: 7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# U11_Ex05_ListOperations.py | |
# | |
# Author: Bill Montana | |
# Course: Coding for OOP | |
# Section: A3 | |
# Date: 20 Mar 2018 | |
# IDE: PyCharm Community Edition | |
# | |
# Assignment Info | |
# Exercise: 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Adams, Henry 127 228 | |
Computewell, Susan 100 400 | |
DibbleBit, Denny 18 41.5 | |
Jones, Jim 48.5 155 | |
Smith, Frank 37 125.33 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# gpa.py | |
# Program to find student with highest GPA | |
class Student: | |
def __init__(self, name, hours, qpoints): | |
self.name = name | |
self.hours = float(hours) | |
self.qpoints = float(qpoints) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# roller.py | |
# Graphics program to roll a pair of dice. Uses custom widgets | |
# Button and DieView. | |
from random import randrange | |
from graphics import GraphWin, Point | |
from button import Button | |
from dieview import DieView |
NewerOlder