Python Programming Tutorial - 3 - Strings

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Dude, I Just want to say Thanks Alot to you. You changed my life. You taught me PHP and i am working overseas now as a developer :). Its time to learn Python now \m/

raheelmasood
Автор

Presentation is clear and friendly. This is my third attempt to learn Python and not get bogged down in confusing detail - and I think with these videos I'll actually do it this time.

StefanTravis
Автор

gotta admit it, the man delivers the information as if he were teaching a young born kid how to walk...way to go sir!

abdalrahmanbushra
Автор

this is so great. Im taking a python class but my teacher doesnt go too in depth into the material and these videos are a lifesaver

autumnsanderss
Автор

FYI
If you write this (notice the added "\" at the end):


The result is this:
SyntaxError: EOL while scanning string literal

That's because the last '\' escapes the last single quote.

I think the simplest thing to do is to use '\\' inside any strings to avoid any errors and you'll never have to remember when you do or do not have to use 'r' or the escaped '\', i.e. '\\', because if you need that last '\' to print then you'll need '\\' to avoid escaping the final single quote mark. But, now you can't use 'r' before the string because then your string would print with two '\ ' at the end, because the 'r' cancels the effect of your escaped '\' and prints out: C:\Bucky\Desktop\nudes\\, instead.

So you might as well us '\\n' instead of starting with 'r', and if you can't remember which '\' needs to be escaped to prevent escaping another character just type all your string '\' as '\\'.

So when you type:


The result is:
C:\Bucky\Desktop\nudes\

Even though this will work:


But do your remember if \B or \D are special characters?

ethan
Автор

"not udepics... you don't wanna see what's in there"

davidrahimm
Автор

Thank you so much for your videos. I am new to python. I viewed a bunch of other tutorials on youtube and your tutorial are the best. They are the most helpful. The way you explain things are really clear and and your examples are well though out. So, please keep posting new videos!!

fc
Автор

I am watching your Python Programming Tutorial, I must say that I'm glad that somebody took a lot of his time to make it.
I want to emphasize the operator +, it is a powerful one, you can SUM numbers and ADD strings characters. Awesome!

augustooviedo
Автор

In the 5:32 issue you can also use " \\n" to avoid going into the new line :)

zimi
Автор

I'm true beginner and I have searched lots of vedio but I get puzzled.
And finally I found this.
You are really helping me for learning programming tool pyhton in an easy than others.
Either it is your speaking english is easy to understand or your best teaching style but I love it.
I m now in tutorial 5 and I will see upto the end.
Love your help and thanks for your each and every vedio tutorials
☺☺☺☺

sangsseerup
Автор

"I want it to access my nudePics, not my udePics. You don't want to see what's in there" - Bucky Roberts

aarondichoso
Автор

This is amazing and I love how you remake your tutorials! Now I don't need to struggle watching old python tutorials and having a problems because I'm working on a new version of python! Cheers Bucky :D

BlueBrewBerry
Автор

x = "baby"
y = "oh"
z = (x*3) + y
shit_music = z*3

MarvLthe
Автор

Who else, when you saw the directory to 'nude pics' was on his desktop, looked on his desktop to see if there was an actual nude pics folder?

lenatraceroxton
Автор

i can't believe this video is 9years old yet am understanding it than any other python video i've tried

tunechijr
Автор

This is my first time seeing this guys tutorials. I'm definitely learning more than what the video title applies.

"I don't think she's 18"
c:\Bucky\Desktop\nudePics

Im getting some awkward vibes with this guy.

sifiisreal
Автор

I'm starting python when I go back to school so this will help a lot thanks :)

mikeicetutorials
Автор

You can also use triple quotes (''' or """) for when you use both ' and "

UnderscoreZeroLP
Автор

your previous tutorials were very clear(in terms of visibility), font size is really a problem, maximize the editor window and increasethe font size

chintangotecha
Автор

Ok I learned so many things from this video. First of all, the presentation was clear and I understood everything he said. Secondly,  Bucky Roberts doesn't think she's 18, also, he has nude pics saved in his computer and lastly, he loves hot pockets. Lol. But honestly dude, this is probably the first python video where I am not bombarded with confusing details all over the place. Thank you, and keep up the clear good work.

peaceful_chaos
visit shbcf.ru