The purpose of this Article is to describe the Python Console available in the Activity Editor
How to open/close the Console in Small view mode and in Full-screen mode?
-
Click on the icon with an up arrow in the lower right corner of the screen > The console opened in small view mode in the lower part of the screen. The up arrow icon has changed to a down arrow icon
-
Click on the icon with a down arrow > The console opened in full screen
-
Click on the icon with two oppositely directed arrows > The console moved to the lower part of the screen and displays opened
-
Pressing the "X" icon in small-view mode and in full-screen mode closes the console
How to Change the height of the console and change the width of code and output blocks?
-
Moving the vertical arrow to the right/left changes the width of the code and output blocks
-
Moving the horizontal arrow up/down changes the height of the console
How to Input code in the Console?
-
Open console
-
Check Code block view > Write your code numbered text is displayed. Execute code button is disabled
-
Input code > The code is displayed numbered. The Execute Code button is enabled and has started to appear in a green vertical line. Copy button and 3 dots buttons are displayed on hover in the upper right corner of the block
-
Click to Copy code (Copy button on the right side)
-
Input it in another console block or in the cell in the Editor
-
Click on 3 dots > Clear code button displayed
-
Press on it > The code is removed. The Execute code button is disabled and stopped to appear in a green vertical line. Copy button and 3 dots buttons are disappeared
How to Execute code in the console and display the output?
-
Input code
-
Execute code > A toast message "This cell has been successfully validated" is displayed. The output is displayed. 3 dots button started to display on hover in the output
-
Click on the 3 dots button > Clear output button displayed
-
Press on it > Output is removed
How to use Multiple consoles?
-
Open console
-
Click on the down arrow > The consoles sidebar is displayed. Down arrow changed to up arrow. Console-1 is displayed in the list (currently opened)
-
Click "+" icon > Console-2 is displayed in the list
-
Add more consoles
-
Scroll down the list > The console list is displayed
-
Click on the trash icon to remove console > Console is removed from the list
-
Click the up arrow to close consoles sidebar > The console sidebar is collapsed. Up arrow changed to down arrow
Console availability
- Console is always available for instructor in activity editor for coding activities with any status
- Console is always available for instructor in activity submission editor for coding activities with any status
- Console is always available for students in activity submission editor for coding activities with any status