That's why the students should refer to the same interpreter that was used in the course. For example, Python 2.x and Python 3.x significantly differ from each other. Note that different versions of Python have different syntax and features. Increase the list of available interpreters by clicking in the New Project dialog. You know that the availability of the Python interpreter depends on your platform. Why do we need a Python interpreter at all? You will write programs in Python, that's why an interpreter is mandatory. There is the now empty space, which will be occupied by the editor - if you press F4 on a file in the Project tool window, its content will appear in a separate tab in the editor.the action Refresh Task( ) is disabled for the educators.these actions are available to the students.It features the toolbar with the icons that allows you to check the task execution ( ), move between tasks ( ), refresh task ( ), view hints ( ), and edit tasks ( ). The opened Task Description tool window.The file test_helper.py is a library of auxiliary functions, which help you write custom checks and tests for your tasks.These files are color-coded: the black file is visible to the students ( task.py), and the grey file ( tests.py) is not visible to them. This folder contains two stub files: task.py and tests.py. The folder lesson1 denoted with the icon lesson.As you can see, there is not so much so far: Under the number 1 (P圜harmTutorialCourse), you see all files and folders pertaining to your new project.If you expand it, the nested elements become visible. There is a single top-level node P圜harmTutorialCourse, denoted with the icon. Note that the availability of the Python interpreter depends on your platform. You are suggested to specify the location of your course project, the Python interpreter that will be used for your course, the name of your course, and its description. In the Select project type dialog, choose the project type Course creation. You can create a project in two possible ways: either from the Welcome screen, or by choosing File | New Project on the main menu. Note that the libraries are really huge!įor this particular course the following packages are required: You can opt to install the Anaconda or Canopy libraries, which include the superset of the scientific stack comprising most of the mentioned libraries as recommended by Google engineers. Refer to the help section Configuring Python SDK for details. You have a Python interpreter properly installed on your computer.You are working with the latest version of P圜harm Edu.Make sure that the following prerequisites are met: In this guide you’ll find a detailed explanation of each action. The hints are also created by your goodself. If the students are not sure of themselves, they can view hints.You have to create descriptions of these actions yourself. These placeholders should contain descriptions of actions to be taken by the students to complete the tasks. An answer placeholder is a frame shown to the students that replaces and hides a part of your initial code.Also a task can contain more files required for fulfilling it. py, that contains the exercise code and can contain answer placeholders, and the test file tests.py that helps you make sure that the students have fulfilled your task correctly. A task is a directory where the following files are stored: task description which you have to type in the Task Description tool window, the file with the extension.A lesson is a directory where the task files are stored.A course is just a project of a special type.On Linux and Mac some menu names or workflows may slightly differ. Note: P圜harm Edu runs on Windows, Linux and Mac platforms. You will learn how to create a course, add lessons and tasks, write exercise code and tests for a task, how to pack your project into a course archive and upload this archive to be shared with the students. This guide is intended for the educators who want to create their courses and assignments with P圜harm Edu.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |