This course is a practical introduction for those interested in learning Python for a wide variety of applications and use cases. The material has been designed to expose you to common techniques and tools you'll be able to exercise immediately. This course assumes no prior development experience and ranges from beginning to intermediate Python concepts including: creating a Python environment, data types, operators/expressions, data and control structures, conditional statements, classes/objects, functions, multi-threaded applications, testing and deployment tools, REST API's, machine learning, and more. You'll also gain valuable experience with tools like PyCharm/ VSCode, Jupyter Notebooks, Git, PyLint, PyDocs/Doxygen, and many more. Each concept is accompanied by real code samples that will be explained in-detail and the assignments will present you with interesting scientific problems to enable you to practice your Python skills for the purpose of solving real, complex problems. The course is textbook-free and provides a number of hand-chosen readings to supplement the lecture materials. Upon completion of the course you will be equipped with knowledge of the skills and tools to begin tackling problems the Pythonic way.Prerequisite(s): One year of college mathematics.Course Note(s): Not for graduate credit. A programming methodology course is needed for admission to the Artificial Intelligence or Data Science programs. Students who lack this prerequisite can fulfill admission requirements by completing this course with a grade of B– or better.
This is an online, asynchronous course with the content divided into 14 1-week Modules. The only synchronous component of the course is Office Hours, which you can read more about in the Office Hours section below. Modules officially begin on Monday at 12:01AM EST and end on Sunday at 11:59:00 PM EST (though we typically release Modules 1-2 days early). You are free to complete each Module at your own pace within a given week, but we strongly recommend not waiting until the weekend to get started. All due dates are available through the Canvas Calendar, but the general rule of thumb is that each Module’s work is due by 11:59:00 PM EST on Sundays.
NOTE: Modules 1-3 start at a slightly gentler pace to help students gain a solid foundation and become comfortable getting around in Python. The pace gradually picks up beginning with Module 4 and we’ll continue operating at that pace until the course’s conclusion. The star rating provided in the Course Outline will be useful for helping you plan for the expected level-of-effort each week.
When building this course, we tried to use materials that would help reduce the cost to you, the students. This course does not require a textbook and is based on Readings from a popular Python resource called RealPython. The lecture slides loosely follow their material for a decent portion of the course and the weekly Readings provided on Canvas link to articles that were hand-selected to coincide with that week’s materials. If you’re interested in other useful online resources for Python, please let us know.
We will make use of a few free tools in this course that are available for most hardware platforms:
It is expected that most Modules will take approximately 9-12 hours per week to complete, on average; some may take more, and some may take less. This estimate also varies from student-to-student. Here is an approximate breakdown: Readings (~1-2 hours per week), Video Lectures (~2 hours per week), and Programming Assignments (approximately 6-8 hours per week), Quizzes (~1 hour).
NOTE: if you begin to find a particular Module is taking well beyond the estimated 9-12, please be sure to reach out and contact us for help. Extra effort may be required some weeks, but we don’t want it to take you past the point of frustration. We hope you’ll give each Assignment an honest effort, but please know we’re here to support you and reach out with any questions!
Syllabus, Course Outline, and Office Hours Quiz (7.5%)
This Syllabus, Course Outline, and Office Hours guide contain a lot of important information including how to be successful in this course. During Module 1 you will complete an open-book, untimed Syllabus, Course Outline, and Office Hours Quiz to help ensure you’ve caught the major themes of the course.
Quizzes (12.5%)
There will be a weekly Quiz to reinforce the concepts from that week’s Lecture and Assignment. The Quizzes will focus more on specific facts from Readings and Lectures (as opposed to the Assignments which will give you more general experience with applying concepts). Questions will be multiple choice, True/False, fill-ins, matching, short answer, etc. Quizzes will be 10 questions long, closed book, and students will have 60 minutes to complete them. If you are not happy with your grade you will have the option to retake each Quiz once during the Module it was assigned. The higher of your two attempts will be taken as your final grade on the Quiz. Our hope is that you’ll be able to focus on learning the key concepts and not have to worry as much about the stress of test-taking. Feel free to refer to any relevant course materials in-between attempts, but please do not access them while taking the Quiz.
NOTE: Quizzes are auto graded by Canvas to give a rough indication of how you performed on the quiz. The grade provided to you by the auto-grader may NOT accurately reflect your final score. ALL Quizzes are graded MANUALLY after Attempts #1 and #2 have been taken OR after the due date has passed. This is to ensure that correct answers which are not caught by the auto-grader are properly scored. To let you know when the quizzes have been manually graded, you will receive a comment on your quiz which reads “Your quiz has been manually graded.” All Quizzes are graded manually before the end of the next Module. Please avoid questions regarding quizzes until they have been manually graded.
Final Exam (25% of Final Grade Calculation)
To provide some flexibility and allow you to play to your strengths, we’ll be offering 3 versions of the Final Exam of which you must only complete one:
Excellent (90-100) | Good (80-89) | Satisfactory (70-79) | Unsatisfactory (70 >) | ||
Program Correctness | 50% | Code compiles successfully and produces correct results for all inputs. The program does not produce any runtime issues and makes use of relevant concepts from the module. | Code compiles successfully and produces mostly correct results for all inputs. The program does not produce any runtime issues. | Code compiles successfully and produces some correct results for all inputs. Program may encounter a runtime error. | Code does not compile successfully, produces multiple incorrect results, and/or suffers from multiple runtime errors. |
Code Quality/Style | 15% | Cleanly written and follows PEP-8 guidelines. Nicely organized, makes good use of whitespace, and appropriately named variables, methods, and classes. | Generally, follows PEP-8 guidelines. Mostly well-organized, slight over- or under-used whitespace, very | Misses most PEP-8 styling guidelines. Excessive use of whitespace. Poorly chosen names for variables, methods, and classes. | Omits PEP-8 styling guidelines. Significant misuse (or omission) of whitespace or comments. Arbitrarily named variables. |
Documentation | 15% | All relevant code is commented in appropriate detail. Different types of comments are used appropriately. readme.txt is provided and gives a clear and concise description of the approach taken. | Most relevant code is commented in appropriate detail. Too many/too few comments provided. readme.txt is mostly clear and the approach taken is mostly correct. | Multiple necessary comments are missing. Comments are routinely too long/too short. Readme.txt is somewhat clear or the approach taken is not correct. | Few to no comments are provided. Comments contain little to no useful information. Readme.txt is missing or the approach taken is incorrect for the problem to be solved. |
Assignment Specification | 10% | All required files are submitted in the required format, named correctly, and program outputs are in the proper format. All Assignment instructions have been followed. | Minor errors in required files or files submitted in an incorrect format, named incorrectly, or small errors in the program outputs. | Major errors in required files or files submitted in an incorrect format, named incorrectly, or major errors in the program outputs. | Submission does not meet most of the submission requirements or formats. Outputs are unintelligible. |
Demonstrates Course Concepts | 10% | Solution makes full use the Module’s contents and borrows minimally from outside approaches | Most major concepts are demonstrated; minimal use of out-of-scope concepts | Majority of concepts are not exercised; heavy use of out-of-scope techniques | Primary concepts are abandoned for techniques well outside the scope of the module |
Category | % of Grade |
Syllabus, Course Outline, and Office Hours Quiz | 7.5% |
Quizzes | 12.5% |
Assignments | 55% |
Final Exam | 25% |
Late Coursework/Extension Policy
We’ve had to evolve this policy over time to ensure fairness to all students and integrity of the grades. All late work will incur a 7.5% deduction for each day late. Late work is defined as any work submitted after the prescribed due date and time (all times are given in Eastern Standard Time). So, please give some thought to any vacations, work travel, appointments, etc. you might have coming up that may conflict with course milestones and let us know in advance of the affected Module. We certainly understand that things come up from time-to-time and please know we’re happy to accommodate your situation to the fullest extent possible. However, based on past experience, we require official documentation for unexpected lateness (doctor’s note, work orders, etc.)
Deadlines for Adding, Dropping and Withdrawing from Courses
Students may add a course up to one week after the start of the term for that particular course. Students may drop courses according to the drop deadlines outlined in the EP academic calendar (https://ep.jhu.edu/student-services/academic-calendar/). Between the 6th week of the class and prior to the final withdrawal deadline, a student may withdraw from a course with a W on their academic record. A record of the course will remain on the academic record with a W appearing in the grade column to indicate that the student registered and withdrew from the course.
Academic Misconduct Policy
All students are required to read, know, and comply with the Johns Hopkins University Krieger School of Arts and Sciences (KSAS) / Whiting School of Engineering (WSE) Procedures for Handling Allegations of Misconduct by Full-Time and Part-Time Graduate Students.
This policy prohibits academic misconduct, including but not limited to the following: cheating or facilitating cheating; plagiarism; reuse of assignments; unauthorized collaboration; alteration of graded assignments; and unfair competition. Course materials (old assignments, texts, or examinations, etc.) should not be shared unless authorized by the course instructor. Any questions related to this policy should be directed to EP’s academic integrity officer at ep-academic-integrity@jhu.edu.
Students with Disabilities - Accommodations and Accessibility
Johns Hopkins University values diversity and inclusion. We are committed to providing welcoming, equitable, and accessible educational experiences for all students. Students with disabilities (including those with psychological conditions, medical conditions and temporary disabilities) can request accommodations for this course by providing an Accommodation Letter issued by Student Disability Services (SDS). Please request accommodations for this course as early as possible to provide time for effective communication and arrangements.
For further information or to start the process of requesting accommodations, please contact Student Disability Services at Engineering for Professionals, ep-disability-svcs@jhu.edu.
Student Conduct Code
The fundamental purpose of the JHU regulation of student conduct is to promote and to protect the health, safety, welfare, property, and rights of all members of the University community as well as to promote the orderly operation of the University and to safeguard its property and facilities. As members of the University community, students accept certain responsibilities which support the educational mission and create an environment in which all students are afforded the same opportunity to succeed academically.
For a full description of the code please visit the following website: https://studentaffairs.jhu.edu/policies-guidelines/student-code/
Classroom Climate
JHU is committed to creating a classroom environment that values the diversity of experiences and perspectives that all students bring. Everyone has the right to be treated with dignity and respect. Fostering an inclusive climate is important. Research and experience show that students who interact with peers who are different from themselves learn new things and experience tangible educational outcomes. At no time in this learning process should someone be singled out or treated unequally on the basis of any seen or unseen part of their identity.
If you have concerns in this course about harassment, discrimination, or any unequal treatment, or if you seek accommodations or resources, please reach out to the course instructor directly. Reporting will never impact your course grade. You may also share concerns with your program chair, the Assistant Dean for Diversity and Inclusion, or the Office of Institutional Equity. In handling reports, people will protect your privacy as much as possible, but faculty and staff are required to officially report information for some cases (e.g. sexual harassment).
Course Auditing
When a student enrolls in an EP course with “audit” status, the student must reach an understanding with the instructor as to what is required to earn the “audit.” If the student does not meet those expectations, the instructor must notify the EP Registration Team [EP-Registration@exchange.johnshopkins.edu] in order for the student to be retroactively dropped or withdrawn from the course (depending on when the "audit" was requested and in accordance with EP registration deadlines). All lecture content will remain accessible to auditing students, but access to all other course material is left to the discretion of the instructor.