Python in Visual Studio Code

Поделиться
HTML-код
  • Опубликовано: 21 окт 2024

Комментарии • 13

  • @hoganchu5898
    @hoganchu5898 4 года назад

    best thanks really have a good day chief

  • @joshuam3450
    @joshuam3450 4 года назад +1

    you are so amazing!!

  • @Dmitrievsky
    @Dmitrievsky 3 года назад

    Hi, I have a little problem. Python decorators doesn't work in vscode, bot work in vscode jupyter. Do you know how to fix it?
    Example:
    #Decorator are just function that take function as first
    #parameter and return a function
    def logging(f):
    def decorator_function(*args, **kwargs):
    print('executing '+f.__name__)
    return f(*args, **kwargs)
    return decorator_function
    #Use it like this
    @logging
    def hello_world():
    print('Hello World')
    hello_world()
    returns an error:
    >>> def logging(f):
    ... def decorator_function(*args, **kwargs):
    ... print('executing '+f.__name__)
    ... return f(*args, **kwargs)
    ... return decorator_function
    ... #Use it like this
    ... @logging
    File "", line 7
    @logging
    ^
    SyntaxError: invalid syntax

  • @vrvm1308
    @vrvm1308 3 года назад

    very helpful indeed, thanks. Which background music is it?

    • @GottaBeGeek
      @GottaBeGeek  3 года назад

      It’s Epidemic Sound. Here’s my referral link: www.epidemicsound.com/referral/5pbjzk/

  • @judeoyovbaire1257
    @judeoyovbaire1257 4 года назад +1

    Great video!

  • @nishanthg769
    @nishanthg769 4 года назад +2

    thanks for the shoutout : )

  • @brock2k1
    @brock2k1 4 года назад

    Personal preference, but I hate music in technical videos. At best, it's distracting. At least in this one it didn't drown out the speaker, but it's still distracting.

    • @GottaBeGeek
      @GottaBeGeek  4 года назад

      Thanks for the feedback. I’ve actually started to limit music to the beginning and end of my videos. It’s nice to hear some feedback on this though because I wasn’t sure if it seemed too quiet not having the music.

    • @brock2k1
      @brock2k1 4 года назад

      @@GottaBeGeek I'm glad you took it as constructive criticism, but I really don't understand why there's any question. You would think it strange if you went to a college math class and the prof turned on music before he began his lecture. Even at places where music is often featured, like church or political rallies, they turn it off when the speech/sermon starts.

    • @GottaBeGeek
      @GottaBeGeek  4 года назад

      Fair point.

  • @Brymarlina
    @Brymarlina 4 года назад +1

    Great Video!