Automate_the_Boring_Stuff_with_Python,_2nd_Edition_Practical_Programming.pdf
13.7 MB
One of the best books to learn python
👍8
Official Python Docs
https://docs.python.org/3/
Tools:
https://docs.python-guide.org/en/latest/dev/virtualenvs/
https://www.pythonforbeginners.com/basics/python-pip-usage
Practice:
https://www.practicepython.org/
https://www.hackerrank.com
https://wiki.python.org/moin/PythonDecorators
Python GUI FAQ
https://docs.python.org/3/faq/gui.html
https://docs.python.org/3/
Tools:
https://docs.python-guide.org/en/latest/dev/virtualenvs/
https://www.pythonforbeginners.com/basics/python-pip-usage
Practice:
https://www.practicepython.org/
https://www.hackerrank.com
https://wiki.python.org/moin/PythonDecorators
Python GUI FAQ
https://docs.python.org/3/faq/gui.html
👍4❤3
👨💻Websites to Practice Python
Python Basics 👇:
1. https://codingbat.com/python
2. https://www.hackerrank.com/
3. https://www.hackerearth.com/practice/
Practice Problems set :
4. https://projecteuler.net/archives
5. https://www.codeabbey.com/index/task_list
6. https://www.pythonchallenge.com/
Python Basics 👇:
1. https://codingbat.com/python
2. https://www.hackerrank.com/
3. https://www.hackerearth.com/practice/
Practice Problems set :
4. https://projecteuler.net/archives
5. https://www.codeabbey.com/index/task_list
6. https://www.pythonchallenge.com/
👍17❤2
👍6❤1
👍3❤1
Six Steps to Defining a Function
1. What should your function do? Type a couple of example calls.
2. Pick a meaningful name (often a verb or verb phrase): What is a short answer to "What does
your function do"?
3. Decide how many parameters the function takes and any return values
4. Describe what your function does and any parameters and return values in the docstring
5. Write the body of the function
6. Test your function. Think about edge cases.
1. What should your function do? Type a couple of example calls.
2. Pick a meaningful name (often a verb or verb phrase): What is a short answer to "What does
your function do"?
3. Decide how many parameters the function takes and any return values
4. Describe what your function does and any parameters and return values in the docstring
5. Write the body of the function
6. Test your function. Think about edge cases.
👍6
Which of the following is correct way to define a variable in python?
Anonymous Quiz
9%
123_variable
83%
variable_123
6%
variable-1
1%
5variable-2_4
👍8❤2
👍11
Which of the following may be used to call items in dictionary my_dict with for loop?
Anonymous Quiz
28%
for key in my_dict: value = my_dict[key]
33%
for key, value in my_dict.items():
33%
All of the above
5%
None
👍7❤1
Python cheatsheet
📖 Book: https://www.pythoncheatsheet.org/
🛠 Github: https://github.com/wilfredinni/python-cheatsheet
📖 Book: https://www.pythoncheatsheet.org/
🛠 Github: https://github.com/wilfredinni/python-cheatsheet
👍2