how do you access the help mode on IDLE?
type help() and hit enter
what is the purpose of color coding?
color coding lets you see commands with greater ease and differentiate commands from other sorts of text
how do you exit out of the help mode?
press enter
what is one of the many reasons why IDLE is easier to use than the command line
because the color coding in IDLE makes things a lot easier to read
what 7 functionalities does IDLE provide you with?
what 3 entries does the help menu give you for obtaining help? give a brief description for each.
how can you perform the task of editing text better?
by clicking options > Configure IDLE to see the IDLE preferences. this is where you can choose things like what font IDLE uses when displaying text.
how do you choose the size and style font used in text along with the number of spaces used for indentation?
Options > Configure IDLE > Font/Tabs
how do you change color themes for the color coding in Python?
click options > configure IDLE > Highlights tab. then click “choose color for” then name your “custom theme name” and then click ok. a custom theme is created that you can tweak to your preference colors
what are the 5 main reasons to change the color theme of your color coding in Python?
1️⃣ Reduce Eye Strain / Lighting Conditions
2️⃣ Increase Readability
3️⃣ Spot Errors Quickly
4️⃣ Improve Focus
5️⃣ **Personal Preference /
how do you change the shortcut keys in Python?
click options > configure IDLE > click the keys tab > click “save as new custom key set” > then name your new key set > and under key bindings choose a default action key to change into a new key or set of keys by then clicking “get new keys for selection > choose a key or a combination of keys to set for the new action key. but some new keys may not be placed due to it conflicting with other keys that are already in use
if keys are already in use when mapping out a new action key, what is the best option to avoid this error when mapping out the custom key set?
in the “get new keys” dialog box click on advanced key binding entry button > in this new dialog box you can overide and assign any key or set of keys to an action key regardless of it already in use so you would have to map out the entire custom key set and making sure you do not copy any of the new action keys to other action keys similar to mapping buttons on a video game emulator
what is a shell window and an edit window good for?
shell is for experimentation and the edit window is for creating an application
how does the shell window contrast the edit window?
the shell window is interactive, which means that it gives you immediate feedback for any commands you type.
while, the edit window provides a static environment, where you type commands, save them, and then run them after you type enough commands to create an application
how do you open an edit window and how can you tell the difference between a shell window and an edit window?
choose file > New file to create a new edit window. the way to tell the difference between a shell window or an edit window is that an edit window contains the word “untitled” in the title bar and the edit window contains the run command. while shell window contains the word “shell” in the title bar and the shell window contains 3 right arrows»> at the starting point of code
what is the difference when you press enter when writing code in the shell window or edit window?
shell immediately executes a command while the edit window moves to the next line rather than execute a command
in what window do you save the commands you typed and why?
only in the edit window can you save work for later use but the shell window is for immediate execution of commands for experimentation
What does a name.py followed by a path to a directory in the title bar of the edit window signify
It means that that current open program is the name of the program and it’s file directly
what does the restart message in python shell mean?
it means that everything after that message is the output for running your program
what does it mean in shell when you have two restart messages?
it means that you ran code twice
how does python interpret indentation?
python ignores identation
what is the purpose for indentation?
to provide visual cues about your code. indentation in code shows the relationships between various code elements
what is concatenation?
adding text from multiple lines together into a single piece of text is called concatenation
what happens to the indentation when you extend a line with a plus sign after you hit enter?
the edit window automatically indents some type of text to it’s original position