How to Find Answers to your Python Questions

622 views

Published on

This presentation is to help beginning python programmers find answers to all their questions

Published in: Technology, Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
622
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
12
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

How to Find Answers to your Python Questions

  1. 1. How to Find Answers To Your Questions Fundamental Topics Night Boston Python Meet-up September 23rd, 2013
  2. 2. CC.BY Finger Face, by Tsahi Levent-Levi on Flickr
  3. 3. CC.BY Question Monster by Paul Sableman on Flickr
  4. 4. Deb Nicholson, Python non-expert
  5. 5. I do not have all the answers
  6. 6. Ask the right question
  7. 7. ● Can you replicate it?
  8. 8. ● Can you replicate it? ● Picking apart the error message
  9. 9. ● Can you replicate it? ● Picking apart the error message ● Take a break
  10. 10. Food & Coffee by Michael Dougherty, CC.BY.SA
  11. 11. Try turning it off and back on again
  12. 12. Ask the right question in the right place
  13. 13. CC.BY Three Buckets by Adele Prince on Flickr
  14. 14. CC.BY Three Buckets by Adele Prince on Flickr
  15. 15. CC.BY Three Buckets by Adele Prince on Flickr
  16. 16. CC.BY Three Buckets by Adele Prince on Flickr
  17. 17. Questions about your tools or environment
  18. 18. ● OpenHatch
  19. 19. ● OpenHatch ● IRC and GIT have help
  20. 20. ● OpenHatch ● IRC and GIT have help ● Your operating system
  21. 21. ● OpenHatch ● IRC and GIT have help ● Your operating system ● Editors and IDE FAQ's
  22. 22. Links ● https://openhatch.org/ ● http://freenode.net/faq.shtml ● http://www-cs-students.stanford.edu/~blynn/gitmagic/ ● http://www.linuxquestions.org/ ● http://www.gnu.org/software/emacs/manual/ ● http://www.vim.org/docs.php ● http://ipython.org/ ● http://inst.eecs.berkeley.edu/~cs188/fa06/eclipse.html
  23. 23. Python questions
  24. 24. ● Python's own documentation
  25. 25. dir(random)
  26. 26. help(random)
  27. 27. ● Python's own documentation ● Stack Overflow
  28. 28. Bonus: Your question may have already been answered
  29. 29. Minus: Dudes on the internet
  30. 30. Minus: Dudes on the internet ...who will not do your homework
  31. 31. ● Python's own documentation ● Stack Overflow ● Google
  32. 32. Especially if you don't know where to start
  33. 33. Hints for search terms
  34. 34. ● Try rephrasing (use a thesaurus!)
  35. 35. ● Try rephrasing (use a thesaurus!) ● Paste the whole error message
  36. 36. ● Try rephrasing (use a thesaurus!) ● Paste the whole error message ● Wikipedia (Celery isn't always a vegetable)
  37. 37. Celery + programming
  38. 38. “Celery is an open source asynchronous task queue/job queue based on distributed message passing.” (from Wikipedia)
  39. 39. Pickle, from Wikipedia in the Public Domain
  40. 40. ...pickle is the standard mechanism for object serialization; pickling is the common term among Python programmers for serialization (unpickling for deserializing). (from Wikipedia)
  41. 41. Use lots of words and don't forget to put “python” or “programming” in there.
  42. 42. Links ● docs.python.org/2/ ● http://docs.python.org/3/ ● http://stackoverflow.com/ ● http://pymotw.com/ ● Google and Wikipedia
  43. 43. Project specific questions
  44. 44. ● Check the docs
  45. 45. ● Check the docs ● Search the bugtracker
  46. 46. ● Check the docs ● Search the bugtracker ● IRC or the mailing list
  47. 47. How to phrase questions
  48. 48. CC.BY.SA Question Face by Quinn Dombrowski on Flickr
  49. 49. snotty :(
  50. 50. CC.BY “Free sofa massacre” by walknboston, on Flickr HI!!!
  51. 51. Specific is better
  52. 52. “Using wrong library?” or “Difference between C++ random number generation and Python”
  53. 53. Loads of details
  54. 54. ● What version of python?
  55. 55. ● What version of python? ● Other programs that are involved
  56. 56. ● What version of python? ● Other programs that are involved ● What have you already tried?
  57. 57. Paste code and/or errors into your request or link to pastebin.com
  58. 58. Quick Recap
  59. 59. Ask the right question in the right place
  60. 60. CC.BY Three Buckets by Adele Prince on Flickr
  61. 61. There are places for nearly every question
  62. 62. Verbose is always better
  63. 63. ● diveintopython.net – online and free! ● Headfirst Python – kid-friendly! (O'Reilly) ● Learning Python – beginner friendly! (O'Reilly) ● Programming Python – a bit denser (O'Reilly) ● Beginning Python: From Novice to Professional (Apress) Books and Tutorials
  64. 64. CC.BY Finger Face, by Tsahi Levent-Levi on Flickr
  65. 65. Questions? #bostonpython on freenode.net CC.BY.SA Questions by Gillian Maniscalco on Flickr

×