
Complete Python Bootcamp: Go from zero to hero in Python 3 | |
Learn Python like a Professional! Start from the basics and go all the way to creating your own applications and games! |
|
Created by | Jose Portilla |
Language | English |
Note: Many of these FAQs pertain to Notebooks, Anaconda, and Python. All of which we will discuss in Section 2 with video content. We have videos going over all about Python and the installation process. This FAQ is just here as a reference for you to visit whenever you wish. If you want to continue with the course and the install procedure, continue on to the next lecture. Thanks!
1. Where can I find the Jupyter Notebooks for the Course? The course is now in Python 3, but still have the older Python 2 notebooks available for reference in case you need them.
Python 3 Notebooks can be found here:
https://github.com/Pierian-Data/Complete-Python-3-Bootcamp
The older Python 2 Notebooks can be found here:
https://github.com/jmportilla/Complete-Python-Bootcamp
2. How do I download the Notebooks? (We show this in a video in the next section)
You can go to the GitHub page linked above and then click the download zip button to download all the notebook (.ipynb) files onto your computer (compressed as a zip file, you'll need to unzip it). Check out the lecture "Getting the Notebooks" for a video guide to this.
3. How do I know what directory my Notebooks are being saved?
To find out where your notebooks are type: pwd in a cell and run it with Shift+Enter. This will print your working directory.
4. How can I change where the Notebooks are being saved?
You will need to change the directory in which you are starting you jupyter notebook. Use cd in the terminal or command prompt to change to your desired directory if you are running jupyter notebook at your command line. Alternatively, just navigate to your desired directory using the Anaconda Navigator as described in the lecture "Running Python Code".
5. How do I open .ipynb files? What program do I choose? (We show this in a video in the next section)
After installing Anaconda, search your computer for Anaconda Navigator, then launch jupyter notebook and move through the Jupyter Notebook interface until you reach your desired directory where you have your .ipynb files. Please note, you can not just double click a .ipynb file, it won't open that way.
Using Juptyer Notebook at your command line? Here are the instructions to open .ipynb files through your command line:
In order to open the Notebook Files you'll need to have Python and the Jupyter Notebook system installed, check out the Python Set-up section for more details on the installation of Python and the Jupyter Notebook system (or you can just follow the relevant instructions here if you feel more technical). Once you have python and the jupyter notebooks installed you are ready to open the notebooks using the following steps:
First open up your Command Prompt (search for cmd on a Windows machine) or if you are on a Mac use your terminal (Spotlight search for terminal).
Next in you terminal/command prompt type pwd and press enter (this will print your working directory)
Take note of what file directory was displayed, this is where you should save your .ipynb files (or a folder containing your .ipynb files)
Once your ipynb files or folder containing the files is in the location displayed from the pwd step go back to your terminal and type jupyter notebook and press Enter.
After Step 4 you should have a browser tab open up with the Jupyter Notebook system running inside of it.
Click on your Notebook (or go to your folder of Notebooks) displayed in the Jupyter Notbeook and it will open in a new tab with the Notebook you selected.
You should now have successfully opened a Notebook file.
6. How do I get my certification?
Check out Udemy's official link on this (we don't control certification).
https://support.udemy.com/hc/en-us/articles/229603868-Certificate-of-Completion
For more questions on certification, please email support@udemy.com
7. Where can I find the slides?
https://drive.google.com/drive/folders/1CKqOQzst1cGURXGiRVivi2Xsc0n-X8CR?usp=sharing
- 1. Command Line Basics 00:08:16
- 2. Installing Python (Step by Step) 00:08:18
- 3. Running Python Code 00:17:50
- 4. Getting the Notebooks and the Course Material 00:02:22
- 4.1 Github Link For Notebooks (Green Download button for .zip) .html
- 5. Git and Github Overview (Optional) 00:02:49
- 5.1 Git Hello World Tutorial .html
- 5.2 GitHub Code School .html
- 5.3 Resources for Learning GitHub .html
- 1. Introduction to Python Data Types 00:04:02
- 2. Python Numbers 00:04:11
- 3. Numbers Simple Arithmetic .html
-
Numbers FAQÂ
1. What's the difference between floating point and an integer?
An integer has no decimals in it, a floating point number can display digits past the decimal point.
2. Why doesn't 0.1+0.2-0.3 equal 0.0 ?
This has to do with floating point accuracy and computer's abilities to represent numbers in memory. For a full breakdown, check out: https://docs.python.org/2/tutorial/floatingpoint.html
- 5. Numbers Quiz .html
- 6. Variable Assignments 00:07:54
- 7. Introduction to Strings 00:07:11
- 8. Quick Print Check .html
- 9. Indexing and Slicing with Strings 00:08:29
- 10. String Indexing .html
- 11. String Slicing .html
- 12. String Properties and Method s 00:09:27
-
Strings FAQ
1. Are strings mutable?
Strings are not mutable! (meaning you can't use indexing to change individual elements of a string)
2. How do I create comments in my code?
You can use the hashtag # to create comments in your code
- 14. Strings Quiz .html
- 15. Print Formatting with Strings 00:11:50
-
Print Formatting FAQS
1.) I imported print from the __future__ module, now print isn't working. What happened?
This is because once you import from the __future__ module in Python 2.7, a print statement will no longer work, and print must then use a print() function. Meaning that you must use
print('Whatever you were going to print')
or if you are using some formatting:
print('This is a string with an {p}'.format(p='insert'))
The __future__ module allows you to use Python3 functionality in a Python2 environment, but some functionality is overwritten (such as the print statement, or classic division when you import division).
Since we are using Jupyter Notebooks, once you so the import, all cells will require the use if the print() function. You will have to restart Python or start a new notebook to regain the old functionality back.
HERE IS AN AWESOME SOURCE FOR PRINT FORMATTING:
Lists FAQ
1. How do I index a nested list? For example if I want to grab 2 from [1,1,[1,2]]?
You would just add another set of brackets for indexing the nested list, for example: my_list[2][1] . We'll discover later on more nested objects and you will be quizzed on them later!
Dictionaries FAQ
1. Do dictionaries keep an order? How do I print the values of the dictionary in order?
Dictionaries are mappings and do not retain order! If you do want the capabilities of a dictionary but you would like ordering as well, check out the ordereddict object lecture later on in the course!
Before you begin your assessment, I wanted to point out some helpful links for practice (don't worry about being able to do these exercises, I just want you to be aware of the links so you can visit them later, since we still haven't discussed functions, you won't be able to utilize a lot of these resources yet!):
Basic Practice:
http://codingbat.com/python
More Mathematical (and Harder) Practice:
https://projecteuler.net/archives
List of Practice Problems:
http://www.codeabbey.com/index/task_list
A SubReddit Devoted to Daily Practice Problems:
https://www.reddit.com/r/dailyprogrammer
A very tricky website with very few hints and touch problems (Not for beginners but still interesting)
http://www.pythonchallenge.com/
No comments:
Post a Comment