sir your videos are very helpfull. please uplode rest of the videos as soon as possible.
@outtaspace1652
3 жыл бұрын
Hi Al, I am currently reading your book 'Beyond the basic stuff' and it definitely helped me taking the step from beginner to intermediate. I am currently in chapter 15 following the ttt example but for some reason it doesn't work for me. The ttt game using functions keeps throwing a keyerror: None and I 'fixed' it or at least got it working by replacing move = None with input() but it throws the logic a little bit off i.e. it doesn't ask for the users move after each turn. The OOP version of the game won't print the players move on to the board. It's just empty and keeps asking for the next move and repeatedly prints the empty board. I might be able to debug it myself but just wanted to let you know in case others will have the same issue. I initially thought that I made a mistake typing so I copied and pasted the entire code but the problem remains. Otherwise great book!
@N.BinZahar
3 жыл бұрын
Hi Al Thanks for sharing the information ... I have ordered your book a month ago, do not know why i don't received it until now .
@giovannijerome2534
3 жыл бұрын
I realize it's kinda randomly asking but do anybody know a good site to watch newly released series online ?
@rayamos4681
3 жыл бұрын
@Giovanni Jerome I would suggest Flixzone. Just search on google for it :)
@oliverdavis617
3 жыл бұрын
@Giovanni Jerome Try Flixzone. You can find it by googling =)
@fattysun1121
3 жыл бұрын
@@giovannijerome2534 hello bot
@mohamedmohamedy3085
3 жыл бұрын
hello Al, thanks for the great video. regrading the stub function case and raising an error, your screen didn't have that part (showing the raised exception) visible also, are there any suggestions to address the issue of commented out code?
@butchah
2 жыл бұрын
Regarding the stub function: Just try it out. It raises a "NotImplementedError" with all the information you need (e.g. what function in what file and what line). Like that, you know where you need to still work on. Regarding the commented out code: It is recommended (by Uncle Bob - Godfather of Clean Code) to use Versioning Tools like "Git" to make sure that you have all useful (and once used) code saved. If you do that, you can delete the commented out code and rather go find it via Git if you need it at a later point again.
@raeedmazin1504
3 жыл бұрын
Hi Al Where are the rest of the lessons I did not find on Udemy!?
@AutomateTheBoringStuff
3 жыл бұрын
I havne't made them yet. Heh, unfortunately I've been busy with my book on recursion, but I'll get back to this video series after that.
@isyraqfirdaus5322
2 жыл бұрын
@@AutomateTheBoringStuff not trying to be rude of course but it’s been 11 momths..
@mr.goldenball333
2 жыл бұрын
@@AutomateTheBoringStuff Please come back to this project 😂😂😂😂
@Kralnor
4 ай бұрын
@@AutomateTheBoringStuff Would love to view the remaining videos. You are one of the best educators on programming that I have watched.
@umairsyd8054
3 жыл бұрын
Hello Sir, I didn't understood the characterCount.py program on Page No.110 in Chapter 5 Dictionaries and structuring data Please can you give an explanation to that question.
@outtaspace1652
3 жыл бұрын
I think you are talking about his other book 'Automate the boring stuff'. What exactly didn't you understand? Be more specific when asking questions, if you're not sure how read the first chapter of 'Beyond the basic stuff' from Al Sweigart. First, you create an empty dictionary and then write a for loop to iterate through the entire string in order to count all characters.The .setdefault() method checks if the key already exists in the dictionary and if not it sets it to 0. It starts with the first character of the string which is 'I' and checks if it is in the dictionary, and since the dict. is empty it adds the key 'I' to the dict. and sets the value to 0. Next, count[character] = count[character] + 1 which means whatever the key is add +1 to it. In the first run the count[character] => is the key value 'I' and we just set 'I' to 0. 0 + 1 = 1, so after the first iteration the dictionary will look like this: count = {'I': 1}. It will continue the process until it looped through the entire string ending with 'n' from the word thirteen. If count.setdefault() reaches a character that already exists in the dictionary it WON"T set it to 0. It only creates a new key with the value 0 if it DOESN'T already exists in the dict. If it comes across i.e. the key 'a' and it has already been added to the dict. then nothing will happen and it will continue to the next line which is count[character] = count[character] + 1 and adds 1 to whatever the value of 'a' is at that point.
@srsniperlord7085
Жыл бұрын
helo from india bro nedded you course for Free could help me to get your course for freee
Пікірлер: 17