1 / 6

get [PDF] Download Bite-Size Python: An Introduction to Python Programming

16 minutes ago - COPY LINK TO DOWNLOAD : https://aduhkacongbeknasengak.blogspot.com/?book=1119643813 | $PDF$/READ/DOWNLOAD Bite-Size Python: An Introduction to Python Programming | What is an IDE? When you code in Python, you have to write and run your code in a program that can read and run Python. For this exercise, we'll be using an integrated development environment (IDE). An IDE is a powerful program that combines a variety of useful coding tools into a single tool to help you code more efficiently! Although there are many IDEs on the internet available to download, we'll be using an

henlejussi
Download Presentation

get [PDF] Download Bite-Size Python: An Introduction to Python Programming

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Bite-Size Python: An Introduction to Python Programming

  2. Description What is an IDE? When you code in Python, you have to write and run your code in a program that can read and run Python. For this exercise, we'll be using an integrated development environment (IDE). An IDE is a powerful program that combines a variety of useful coding tools into a single tool to help you code more efficiently! Although there are many IDEs on the internet available to download, we'll be using an IDE that comes installed with Python it is name IDLE. Let's Take IDLE Out for a Spin! What is IDLE? You can write and run Python code in an IDE that comes installed with Python named IDLE. You can use IDLE on both Windows and Unix platforms as the IDE works mostly the same across each platform. IDLE is equipped with some useful features to help you out as you code. While these features may not mean much to you now, you'll learn more about their magic as you develop your Python skills. Syntax highlighting to your code Auto completion Multiwindow text editor Smart indent Call tips Command history IDLE Interface Python Version: The version of Python displays at the top of the window in IDLE. Python Shell Window: Here is where you will type, read, and run your Python code. The Python Shell window is also called an interpreter. Text Cursor: The text cursor will let you know if it's okay to enter a new command line or line of code into the interpreter by blinking repeatedly. If the text cursor isn't blinking, there's a good chance that your computer isn't done completing the command you asked the computer to complete. Just give IDLE a moment to finish completing your prior command before beginning to type. IDLE Menus: There are lots of options available in the IDLE menus. As you work through the exercises in this book, you will notice that the menus in IDLE will change. IDLE has both a Shell window and an Editor window. Depending on the window type that you're using, the menu options will change. Run Code in IDLE Let's give IDLE a test run! First, check to make sure that your text cursor is blinking. If your text cursor is blinking, type print('Hello World!') into the interpreter and press Enter. Congratulations! You just wrote and ran your first line of Python code! So, what exactly happened? The code you entered tells Python to print the text inside the quotes. Try writing another line of code using the same code as before however, replace Hello World! with another phrase. Be sure to keep the quotes surrounding the phrase otherwise, the interpreter will return an error after you press Enter. There are two important things to remember about running Python code. First, Python code is run from top to bottom. What this means is that the code that appears at the top of the program is run first and the final line of code is run last. Second, Python relies on proper indentation. Fortunately, IDLE automatically includes indentation for you.

  3. BOOK COVER

  4. DOWNLOAD NOW

More Related