Lesson 13 - Python Programming (Automate the Boring Stuff with Python)

preview_player
Показать описание


Рекомендации по теме
Комментарии
Автор

I could literally fall asleep to the sounds of you typing on the keyboard and the mouse clicking. It's so relaxing! If one day you find yourself bored, you should make a ASMR typing channel. I'll definitely subscribe.

QJI
Автор

You say "up to but not including" the last number in the slice. But it seems like it does include that last number when I'm entering it:
spam = [10, 20, 30, 40, 50]
spam[1:3] = ['A', 'B', 'C']
print(spam)
does print [10, A, B, C, 50]
Maybe it's a subtle difference that takes place when assigning it. That's the only difference I'm seeing I guess. Probably will figure it out with practice. Thanks.

percys
Автор

watching all the videos in this order -fantabulous (subscribed)

aravinthkumar
Автор

could you please make more Python tutorial for automate testing ! Thanks !

suppermanzzzz
Автор

Chapter 4 quiz question 3 has me stumped. " Assuming 'spam' contains the list [ 'a', ' b ', 'c', 'd'] what does spam[int(int( '3' * 2 ) // 11) ] evaluate to? " The answer I get is 'd' and it seems that
Python returns the value of whichever index of number we put in quotations but how? 3 * 2 equals 6 and divided by 11 with no remainder is 0 which should be 'a'.

rojogrande
Автор

Love that the lecturer has Steam running LOL.

Mark-mlnv
Автор

cool i figured something out from this tutorial i couldnt solve before ( as a very new person to python )

jakeambrose
Автор

Hi Al. Great tutorial...big fan..

I was wondering why would str() function won't work on list() function e.g
str(list('cats'))
would give me a list rather than a string...(why is it in ''' '')
"['c', 'a', 't', 's']"

sunnysunilsharma
Автор

I tried to sign up 3 times and while I can sign up, every time I try to buy the book, it sends me back to login

johnborghese
Автор

Thank you for every thing ... I wonder what is the name of the software you'r using as "evaluation visualization tool" with the "Next Step" button in this lesson?

bingharsan
Автор

Why you didn’t talk a bit about more advanced stuff like regular expressions?

avral
Автор

at @7:13, how are you inserting 3 values between 2 indices ? The indices you have included are 1, 2 by using the span 1:3 but you have added 3 new values 'CAT', 'DOG' and 'MOUSE' to those 2 indices. How does that work ? '

TheTrueBlue
Автор

Whats the reasoning for "up to but not including"? Why is it made that way.

mesaber
Автор

seems like there should still be an even shorter more efficient way of retrieving a list item

jakeambrose
Автор

How do you add an element to a specific location in a list? eg: list = ['cat', 'dogturtle']. I'd like to add a space right between dog and turtle: ['cat, 'dog, 'turtle]

punyan
Автор

i dont understand thew practice
ik im late but thx

barkeeper
Автор

List = ['cat', 'bat', 'rat']
Len('list[ ]') evaluates to 6. Huh? I don't get it. Could someone explain why this evaluates to 6

cryptkeeper
Автор

is it same as array and 2D array in C++?

kd
Автор

how can we access the "Evaluation Visualization" tool (1:53)

tomtommy
Автор

So that you know, this is when the course starts for me.

leosousa