Python Programming Tutorial – 14 – Intro to Methods

///Python Programming Tutorial – 14 – Intro to Methods

Python Programming Tutorial – 14 – Intro to Methods

FavoriteLoadingAdd to favorites

Facebook – https://www.facebook.com/TheNewBoston-464114846956315/
GitHub – https://github.com/buckyroberts
Google+ – https://plus.google.com/+BuckyRoberts
LinkedIn – https://www.linkedin.com/in/buckyroberts
reddit – https://www.reddit.com/r/thenewboston/
Support – https://www.patreon.com/thenewboston
thenewboston – https://thenewboston.com/
Twitter – https://twitter.com/bucky_roberts

By |2017-05-01T12:20:09+00:00April 26th, 2017|Programming Video Tutorials, Python Video Tutorials|50 Comments

50 Comments

  1. Arindam Mukherjee April 26, 2017 at 10:32 pm - Reply

    Thanks for these useful videos.  

  2. Aaron D'Souza April 26, 2017 at 10:32 pm - Reply

    thanks for pointing that one out cheers 😀

  3. Wayne Phillips April 26, 2017 at 10:32 pm - Reply

    0:48 "… I want to punch it. And then (of course) you have your arguments." Well, naturally! LOL

  4. Xtravulous April 26, 2017 at 10:33 pm - Reply

    AttributeError: ‘tuple’ object has no attribute ‘append’

  5. theo pana April 26, 2017 at 10:34 pm - Reply

    10 tutorials today will see tomorrow

  6. artisto 123 April 26, 2017 at 10:34 pm - Reply

    u tech relly funny. u r a boss

  7. Laravel Prac April 26, 2017 at 10:35 pm - Reply

    What is the difference between concanate(+) and extend ?
    >>> one=[1,2,3]
    >>> two=[4,5,6]
    >>> one.extend(two)
    >>> one
    [1, 2, 3, 4, 5, 6]
    —————————————————————–
    >>> one=[1,2,3]
    >>> two=[4,5,6]
    >>> one+=two
    >>> one
    [1, 2, 3, 4, 5, 6]

  8. stlsaint1 April 26, 2017 at 10:35 pm - Reply

    Its so dumbed down its like reading a python for dummies book but better!! SUBSCRIBED

  9. keshavcool7 April 26, 2017 at 10:39 pm - Reply

    0:21
    "say you want to punch someone in the face"
    "this is the best example i got"
    LOL ? xD

  10. Cameron Brown April 26, 2017 at 10:40 pm - Reply

    4:19 LOL, I was watching Robbin Hood as you typed "Bow"!

  11. Saul Alanis April 26, 2017 at 10:40 pm - Reply

    The explanation of what "a" method is, couldn’t have been said better.

  12. q zorn April 26, 2017 at 10:41 pm - Reply

    nice.

  13. Credible Mulk April 26, 2017 at 10:41 pm - Reply

    "Say yo wanna punch someone in the face….that`s the best example I got" hahahahah. Love it

  14. ItsANoBrainer April 26, 2017 at 10:42 pm - Reply

    Couldnt you just do print(one+two) instead of extend?

  15. Mohamed Ali April 26, 2017 at 10:43 pm - Reply

    what’s the difference between the method and function

  16. Gene Tigner April 26, 2017 at 10:44 pm - Reply

    whoa. whoa… this just got violent. now we’re punching people in the face?

  17. vbcoder121 April 26, 2017 at 10:47 pm - Reply

    I think his humor is what keeps me going in these videos.

  18. Christian Schwenger April 26, 2017 at 10:48 pm - Reply

    um.. this might because if have used java and Lua but a method is that not like a function YOU make your self? so you use it?
    ex: TestFunction()
    and i would program it to do something?!!

  19. Aaron D'Souza April 26, 2017 at 10:48 pm - Reply

    so doesn’t extend pretty much work like concatenating lists?

  20. Comedian Khemikal April 26, 2017 at 10:53 pm - Reply

    This bucky roberts guy is soo super good. I was a complete empty head when it came to computer programming but his videos has taken me to the next level. I think like im crazy and I create like im insane. Thank you so much Bucky!

  21. Xtravulous April 26, 2017 at 10:53 pm - Reply

    WTF

  22. Hiimxuan 0921 April 26, 2017 at 10:54 pm - Reply

    how did he pull up that methods list on 1:55 ?

  23. amaterasu48 April 26, 2017 at 10:59 pm - Reply

    object.action() to me means action is what you want the object to do. Your face doesn’t really punch anything, but your face gets punched by someone. But your example got me laugh, so me.laugh() is true. LOL

  24. Afaf A April 26, 2017 at 11:01 pm - Reply

    you are the best ever

  25. Bishop April 26, 2017 at 11:01 pm - Reply

    How do you for example change the name of ‘one’ while still keeping the numbers?

  26. Kino Cheltenham April 26, 2017 at 11:04 pm - Reply

    every time someone annoys me im gonna be like shut up or i will append your face

  27. Shigeru Kazama April 26, 2017 at 11:04 pm - Reply

    its actually much easier if u just add one and two rather than the "one.extend(two)" thing

  28. Spagem April 26, 2017 at 11:04 pm - Reply

    Love your examples. XD

  29. soypaisano April 26, 2017 at 11:05 pm - Reply

    >>> one={1,2,3}
    >>> one
    set([1, 2, 3])
    >>> two={4,5,6}
    >>> one.extend{2}
    SyntaxError: invalid syntax
    >>> one.exted(2)

    Traceback (most recent call last):
      File "<pyshell#8>", line 1, in <module>
        one.exted(2)
    AttributeError: ‘set’ object has no attribute ‘exted’
    >>> one.extend {2}
    SyntaxError: invalid syntax
    >>> one.exted[2]

    Traceback (most recent call last):
      File "<pyshell#10>", line 1, in <module>
        one.exted[2]
    AttributeError: ‘set’ object has no attribute ‘exted’
    >>> 

  30. harkamalsingh9 April 26, 2017 at 11:06 pm - Reply

    if x=(‘hk’, ‘kk’, ‘kg’, ‘gh’, ‘fg’)
    then x.append(‘pl’)
    does not work????

  31. Pedro Fernandez Godinho April 26, 2017 at 11:08 pm - Reply

    Personally prefer this example, more correct using your face as an argument :
    punches.falconpunch(yourface)

  32. Shuib Abdillahi April 26, 2017 at 11:10 pm - Reply

    i alwyas test this stuff myself to stop me getting bored

  33. Cha Siu April 26, 2017 at 11:11 pm - Reply

    what you want to do the action to, so I want to do to your face, then you write a period, and then you write what do you want to do, I want to punch you

  34. soypaisano April 26, 2017 at 11:11 pm - Reply

    Great videos I download version 3 and this samples like append, count, and extend are not working so I delete python and download version 2 and still not working

  35. Kostas Nikolouts April 26, 2017 at 11:14 pm - Reply

    Thank you so much !!

  36. Goutham G April 26, 2017 at 11:16 pm - Reply

    how do u get those suggestions when you type a method name?

  37. Abdulqadir Bussuri April 26, 2017 at 11:17 pm - Reply

    This man is a legend 

  38. SQFing April 26, 2017 at 11:18 pm - Reply

    I love your style! Learn in fun

  39. Kai Luo April 26, 2017 at 11:20 pm - Reply

    轻松愉快的讲解方式,LZ好人一生平安

  40. Valentyn Kubrak April 26, 2017 at 11:20 pm - Reply

    and bam! =)

  41. Tom Lynd April 26, 2017 at 11:20 pm - Reply

    I come from C background, this stuff seems to be trivial.

  42. TheCareertalk April 26, 2017 at 11:21 pm - Reply

    No don’t punch my face.

  43. Creed NESS April 26, 2017 at 11:21 pm - Reply

    newlistname=oldlistname

  44. Aaron D'Souza April 26, 2017 at 11:22 pm - Reply

    what if you append a list with another list but use a variable for the 2nd list?

  45. Smallboy Productions April 26, 2017 at 11:23 pm - Reply

    Does anyone else want apples now?

  46. RontoKing April 26, 2017 at 11:24 pm - Reply

    FUS RO DAH!!!

  47. Spazzofreak April 26, 2017 at 11:25 pm - Reply

    i also love apples apples now!!!

    what a coincidence

  48. Mayur Kulkarni April 26, 2017 at 11:26 pm - Reply

    Coming from a Java background, this all seems like a breeze 😉

  49. bashconsole April 26, 2017 at 11:28 pm - Reply

    BAM!

  50. Deepak Singla April 26, 2017 at 11:28 pm - Reply

    Thats the difference between extend and append
    >>> one =[1,2,3]
    >>> two=[4,5,6]
    >>> one.extend(two)
    >>> one
    [1, 2, 3, 4, 5, 6]
    >>> one.append(two)
    >>> one
    [1, 2, 3, 4, 5, 6, [4, 5, 6]]
    >>> 

Leave A Comment

*