Комментарии:
You're really good!
ОтветитьI wish you were my professor at the university. Thanks for the great content.
ОтветитьYour tutorials are very useful. Thank you very much.
Ответитьpls zoom in youre text editor
ОтветитьGod
ОтветитьThank you so much Mr. It was so easy to understand and you helped me out a lot.
ОтветитьLove your man! thanks for the straight forward video!!!!!!
ОтветитьThanks brother , this helped me a lot.😇
ОтветитьHow did you highlight duplicated codes and edit them all at once?
Ответитьthanks!
ОтветитьThe line:
logging.basicConfig(level=logging.DEBUG)
apparently doesn’t work on Python 3.9.12 - I get a trace back with:
…
AttributeError: partially initialized module ‘logging’ has no attribute ‘basicConfig’ (most likely due to a circular import)
In fairness, I also tried putting this line after:
If __name__==“__main__”:
But I still get:
…
AttributeError: module ‘logging’ has no attribute ‘basicConfig’
When I run it, though it no longer complains about the module being partially initialized. Interestingly, autocomplete (in VS Code) does show ‘basicConfig’ as a viable option after typing, “logging.b”.
Thanks for the video.. it's quite clear
ОтветитьI keep getting a FileNotFoundError: [Errno 2} No such file or directory: 'file path'
I want the log file to save to a specific directory, but the directory is there I made sure of it. my path is something like this: r'C:\Users\wade\desktop\logs' + '/' + str(date) + ' log.log'
Am I receiving this error because of the file name after I enter the directory? I have other scripts that do the exact same thing and the log configuration is set up the same way so I don't understand why this isn't working. Please help!
Big fan of your videos Corey! Great job putting 'em together!
ОтветитьNo joke, thank you for using really simple functions "add","subtract",etc. It makes it easier for us newbies!
ОтветитьExcellent teacher of python and OOP concepts...crystal clear!
ОтветитьGreat material as always. Thank you for taking the time to make these videos!
ОтветитьGreat tutorial! Simple, easy to understand, useful info. Thank you!
ОтветитьVery helpful! Thank you!!!!
Ответитьgreat clear video thank you
Ответитьon spyder after copying and paste code doesn,t create anything is something wrong with spyder @Corey
Ответитьthe best
Ответитьmake videos with white theme
ОтветитьI been watching these wonderful videos, but I wonder if he's still around.
ОтветитьDamn, das nice!
ОтветитьFantastic tutorial - I've been meaning to implement logging into quite a large project, and these logging videos have helped me astronomically. Thank you!
ОтветитьIf you're following along in a notebook, you have to first create a logger instance:
logger = logging.getLogger(__name__)
... then use that instance wherever you'd use `logging`.
logger.setLevel(logging.DEBUG)
logger.debug(f'Add {x} + {y} = {add_result}')
Hope that helps all you nb users :) .
Need some help urgent
Use python logging to log user IPs+time in a file whenever a request comes to the server, this should be done in a custom middleware
Very Good tutorial . Thanks for sharing this video. It is worthful to watch if someone want to develop their skill as python developer .
ОтветитьThanks Corey. Please make some video on Different automation Testing Framework like Robot
ОтветитьThank you so much. I think your tutorials are really the best Ive seen. I cant say thank you enough. I really enjoy your tutorials and teching style. I'm making a modest contribution to your cause. I cant thank you enough.
ОтветитьMy dear, you have a talent to teach.
ОтветитьVery useful, thank you so much.
ОтветитьYou make it so easy to understand !
ОтветитьYour videos are always helpful, thanks
ОтветитьClean setup, what IDE are you using? VSCODE? What are you using run? It's not # %% junypter ... it looks like direct terminal?
Ответитьis there a way to make logging to show up in stdout as well?
Ответитьty for this
ОтветитьFor whosoever shall call upon the name of the Lord shall be saved. (Romans 10:13)
Ye adulterers and adulteresses, know ye not that the friendship of the world is enmity with God? whosoever therefore will be a friend of the world is the enemy of God. (James 4:4)
When Jesus heard it, he saith unto them, They that are whole have no need of the physician, but they that are sick: I came not to call the righteous, but sinners to repentance. (Mark 2:17)
thanks
ОтветитьYou really are the python basic GOAT
Ответитьoh, nice, apparently this is easier then I thought, I was trying to make my own logging system... i failed XD
Ответитьthanks! worked really well for my program
ОтветитьFYI, for the test.log file to get generated it's required to add the flag- "force=True" to the end of the logging.basicConfig function after "format" argument
ОтветитьAmazing! Very easy to understand. I was team print up until this point, but logs are much cooler.
ОтветитьCorey you rocks due to your python videos I got selected at a mnc at Wipro limited today I have one problem in my python script for checking status of a Oracle database is down or not my code works perfect but sometimes gives false alert back to your video for making log file so that I can check where it's getting problem from now on I would include this everywhere in my code thanks for your awesome video
ОтветитьThis is a gem, even 4 years after
Ответить