-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Expand file tree
/
Copy pathindex.php
More file actions
112 lines (111 loc) · 5.06 KB
/
index.php
File metadata and controls
112 lines (111 loc) · 5.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<?php
use \Tsugi\Core\LTIX;
use \Tsugi\UI\Output;
use \Tsugi\UI\Pages;
require_once "top.php";
require_once "nav.php";
?>
<main id="container">
<div style="margin-left: 10px; float:right">
<iframe width="400" height="225" src="https://www.youtube.com/embed/UjeNA_JtXME?list=PLlRFEj9H3Oj7Bp8-DfGpfAfDBiblRfl5p&rel=0" frameborder="0" allowfullscreen title="Python for Everybody course introduction video"></iframe>
</div>
<h1>Python for Everybody</h1>
<?php
$front_page_text = null;
if ( isset($_SESSION['id']) && isset($_SESSION['context_id']) ) $front_page_text = Pages::getFrontPageText($_SESSION['context_id']);
if ( $front_page_text ) {
echo $front_page_text;
} else {
?>
<?php if ( isset($_SESSION['id']) ) { ?>
<p>
Welcome to my free web site for Python for Everybody.
Now that you have logged in, you have access to course-style features of this web site.
<ul>
<li>
As you go through the <a href="lessons">Lessons</a> in the course you now will see additional
links to the autograders in the class. You can attempt the autograders and get a score.</li>
<li>
You can track your progress through the course using the <a href="assignments">Assignments</a>
tool and when you complete a group of assignments, you can earn a <a href="badges">Badge</a>.
You can download these badges and host them on your web site or refer the badge URLs on this site.</li>
<li>
If you want to use these Creative Commons Licensed materials
in your own classes you can
<a href="materials.php">download or link</a> to the artifacts on this site,
<a href="tsugi/cc/">export the course material</a> as an
IMS Common Cartridge®, or apply for
an IMS Learning Tools Interoperability® (LTI®)
<a href="tsugi/admin/key/index.php">key and secret</a>
to launch the autograders from your LMS.
</li>
</ul>
<?php } else { ?>
<p>
This web site is building a set of free
<a href="lessons">materials</a>,
<a href="https://www.youtube.com/watch?v=UjeNA_JtXME&list=PLlRFEj9H3Oj7Bp8-DfGpfAfDBiblRfl5p&index=1" target="_blank" rel="noopener noreferrer">lectures</a>,
<a href="book.php">book</a>
and assignments to help students
learn how to program in Python.
You can also take this course at:
<ul>
<li><a href="https://www.coursera.org/specializations/python" target="_blank" rel="noopener noreferrer">Coursera: Python for Everybody Specialization</a> </li>
<li><a href="https://www.edx.org/bio/charles-severance" target="_blank" rel="noopener noreferrer">edX: Python for Everybody</a></li>
<!--
<li><a href="https://www.futurelearn.com/courses/programming-for-everybody-python" target="_blank">FutureLearn: Programming for Everybody (Getting Started with Python)</a></li>
-->
<li><a href="https://www.youtube.com/watch?v=8DvywoWv6fI" target="_blank" rel="noopener noreferrer">FreeCodeCamp</a></li>
<li><a href="https://online.umich.edu/series/python-for-everybody/" target="_blank" rel="noopener noreferrer">Free certificates for University of Michigan students and staff</a></li>
</ul>
<p>
If you <a href="tsugi/login.php">log in</a> to this site
you have joined a free, global
open and online course. You have a grade book, autograded assignments, discussion forums, and can earn
badges for your efforts.</p>
<p>
We take your privacy seriously on this site, you can review our
<a href="privacy">Privacy Policy</a> for more details.
</p>
<p>
If you want to use these materials
in your own classes you can download or link to the artifacts on this site,
<a href="tsugi/cc/">export the course material</a> as an
IMS Common Cartridge®, or apply for
an IMS Learning Tools Interoperability® (LTI®)
<a href="tsugi/admin/key/index.php">key and secret</a>
to launch the autograders from your LMS.
</p>
<p>
The code for this site including the autograders, slides, and course content is all available on
<a href="https://github.com/csev/py4e" target="_blank" rel="noopener noreferrer">GitHub</a>. That means you could make your own
copy of the course site, publish it and remix it any way you like. Even more exciting, you could translate
the entire site (course) into your own language and publish it. I have provided
some <a href="https://github.com/csev/py4e/blob/master/TRANSLATION.md" target="_blank" rel="noopener noreferrer">
instructions on how to translate this course</a> in my GitHub repository.
</p>
<?php } ?>
This site uses <a href="http://www.tsugi.org" target="_blank" rel="noopener noreferrer">Tsugi</a>
framework to embed a learning management system into this site and
provide the autograders.
If you are interested in collaborating
to build these kinds of sites for yourself, please see the
<a href="http://www.tsugi.org" target="_blank" rel="noopener noreferrer">tsugi.org</a> website and/or
contact me.
</p>
<p>
And yes, Dr. Chuck actually has a race car - it is called the
<a href="https://www.sakaiger.com/sakaicar/" target="_blank" rel="noopener noreferrer">SakaiCar</a>.
He races in a series called
<a href="https://www.24hoursoflemons.com" target="_blank" rel="noopener noreferrer">24 Hours of Lemons</a>.
</p>
<?php } /* End of there is a front page */ ?>
<!--
<?php
echo(Output::safe_var_dump($_SESSION));
var_dump($USER);
?>
-->
</main>
<?php
require_once "footer.php";