Python Tutorial for Beginners [Full Course] 2019
Articles,  Blog

Python Tutorial for Beginners [Full Course] 2019

100 Comments

  • Programming with Mosh

    Guys, what else do you want to learn from me? Comment down below and let me know so I create more tutorials for you.

  • владлен хазиев

    Guys, I am 2 hours into this free course and I just got to know, that there is a paid version. I was planning to get into c# after python, probably will buy subscribtion to mosh's web site. What are the major differences between this course and the paid one, should I switch to the paid one or just finish this one?

  • Mohamed M. Abo-Elgheit

    if you use if instead of elif in if statement example ( hot or cold day) it will work in some cases and in other cased you will have a bug.

  • Juan Ignacio Treviso

    Hey Mosh! I´m trying to get an answer of the computer but, when i question something i don´t get anything. Only "Process finished with exit code 0". ¿Why thats happend?
    Im working with Windows 10.
    Thanks and regards from Argentina!

  • BORGY

    Having this issue

    Unhandled exception in thread started by <function check_errors.<locals>.wrapper at 0x044439C0>

    Traceback (most recent call last):

    File "C:UsersBORGYPycharmProjectsPyShopvenvlibsite-packagesdjangoutilsautoreload.py", line 225, in wrapper

    fn(*args, **kwargs)

    File "C:UsersBORGYPycharmProjectsPyShopvenvlibsite-packagesdjangocoremanagementcommandsrunserver.py", line 117, in inner_run

    self.check(display_num_errors=True)

    File "C:UsersBORGYPycharmProjectsPyShopvenvlibsite-packagesdjangocoremanagementbase.py", line 379, in check

    include_deployment_checks=include_deployment_checks,

    File "C:UsersBORGYPycharmProjectsPyShopvenvlibsite-packagesdjangocoremanagementbase.py", line 366, in _run_checks

    return checks.run_checks(**kwargs)

    File "C:UsersBORGYPycharmProjectsPyShopvenvlibsite-packagesdjangocorechecksregistry.py", line 71, in run_checks

    new_errors = check(app_configs=app_configs)

    File "C:UsersBORGYPycharmProjectsPyShopvenvlibsite-packagesdjangocorechecksurls.py", line 40, in check_url_namespaces_unique

    all_namespaces = _load_all_namespaces(resolver)

    File "C:UsersBORGYPycharmProjectsPyShopvenvlibsite-packagesdjangocorechecksurls.py", line 57, in _load_all_namespaces

    url_patterns = getattr(resolver, 'url_patterns', [])

    File "C:UsersBORGYPycharmProjectsPyShopvenvlibsite-packagesdjangoutilsfunctional.py", line 37, in _get_

    res = instance.__dict__[self.name] = self.func(instance)

    File "C:UsersBORGYPycharmProjectsPyShopvenvlibsite-packagesdjangourlsresolvers.py", line 533, in url_patterns

    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)

    File "C:UsersBORGYPycharmProjectsPyShopvenvlibsite-packagesdjangoutilsfunctional.py", line 37, in _get_

    res = instance.__dict__[self.name] = self.func(instance)

    File "C:UsersBORGYPycharmProjectsPyShopvenvlibsite-packagesdjangourlsresolvers.py", line 526, in urlconf_module

    return import_module(self.urlconf_name)

    File "C:UsersBORGYAppDataLocalProgramsPythonPython37-32libimportlib__init__.py", line 127, in import_module

    return _bootstrap._gcd_import(name[level:], package, level)

    File "<frozen importlib._bootstrap>", line 1006, in _gcd_import

    File "<frozen importlib._bootstrap>", line 983, in _find_and_load

    File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked

    File "<frozen importlib._bootstrap>", line 677, in _load_unlocked

    File "<frozen importlib._bootstrap_external>", line 728, in exec_module

    File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed

    File "C:UsersBORGYPycharmProjectsPyShoppyshopurls.py", line 21, in <module>

    path('products/', include('products/urls'))

    File "C:UsersBORGYPycharmProjectsPyShopvenvlibsite-packagesdjangourlsconf.py", line 34, in include

    urlconf_module = import_module(urlconf_module)

    File "C:UsersBORGYAppDataLocalProgramsPythonPython37-32libimportlib__init__.py", line 127, in import_module

    return _bootstrap._gcd_import(name[level:], package, level)

    File "<frozen importlib._bootstrap>", line 1006, in _gcd_import

    File "<frozen importlib._bootstrap>", line 983, in _find_and_load

    File "<frozen importlib._bootstrap>", line 965, in _find_and_load_unlocked

    ModuleNotFoundError: No module named 'products/urls'

  • Ali Mashta

    I'm solving the exercises differntly, such as (removing duplicates from a list). 02:13:00

    numbers=[1,2,3,4,4,5]

    for items in numbers:

    check=numbers.count(items)

    if check ==2:

    numbers.remove(items)

    print(numbers)

    this code works also ^-^
    am i the only one who write this way?

  • SUPER SHORT VIDEOS

    17:13 exercise solution:
    I did the exercise before looking at the solution.
    there is some extra code because I know some python already.
    Here my solution.(I could have made it better):

    patient_name = input("Patient name: ")

    patient_age = input("Patient age: ")

    new_or_existing = input("Is your patient new or existing? ")

    if new_or_existing == "new" or "existing":

    print(patient_name + " is " + patient_age + " and is " + new_or_existing)

    else:

    print("Invalid input")

    Here is my output:

    Patient name: John Smith

    Patient age: 20

    Is your patient new or existing? new

    John Smith is 20 and is new

    By the way I am 11 years old

    like if i did a good job

  • Charos Abdukayumova

    Thank you a lot for your lessons! I have a question about finding the max element in the list. Why I can't use max(numbers)?

  • Labourer 11 Media

    pls I am learning phyton to going into cybersecurity and data analytic I'm practically a novice from photography background what can you advice thank you in advance

  • lightvector

    after adding anaconda and typing "juypter notebook" in my terminal i got an error saying "could not open static file"….please help

  • Allen Mourey

    when I try to access the Supplementary Materials (Spreadsheet):
    https://goo.gl/x77mLc I got the following error. Could you fix it? thanks a million!

    Too many requests

    Sorry, this link has been automatically turned off for now. Learn more about traffic limits.

  • S JU

    Its really weird for Python to return -1 for find() if it does not find a character in a string when -1 means the location of last character in a string, bad design

  • God's Prayer

    name = input('what is your name? ' )
    fav_colour = input('what is your favourite colour?' )
    print(name + ' likes ' + fav_colour)

    first to reply and says name n colour
    gets the answer lol

  • deepak r

    in the code another = [1:-1] on jennifer
    the return values are ennife
    but doesn't the sequence start from 0
    then j=0 and e= 1 n=2 n= 3 i= 4 f= -2
    doesn't it mean even e=1 should be excluded from the output and the output should be "nnif"

    why is the output " ennif"

    please clarify if possible.

  • aline couri eba

    Thank you for this great video! Apparently I have successful installed PyCharm but when I click to open, it does not load. I have already clicked on Open in this window that says it is from internet. When I click in the name of the application, it seems it will open but then is instantly disappears from Dock. Could you please help me? Any ideas about how to fix it? Many thanks.

  • Edward Kenway

    First of all let me say that you are a wonderful teacher in this programming field .Sir there are 2 things that i need to ask you ….first "should i start to learn python before any other language??? and secondly, another you_tuber insisted that 'scratch' should be learned before learning other languages" If you ever notice my post please comment …because i had already began learning your FULL PYTHON COURSE.

  • kailash saini

    Hi sir
    You teach very nice i start learning its seens very easy when explain the program
    I want to learn from u but the problem is
    Pycharm is not suporting by my window 7 32 bit,
    IDLE( python 3.7 32bit) is working in my system please tell me how i can write code ????
    I will be very thankful to yoy

  • Radhika Delvadiya

    I want to learn Sympy library of Python. Because i want to make a website using sympy library. So please do for me , i request you plz….

  • EzClap

    ive always been intrested in hacking and things like that when i was little now i really wanna learn how to make desktop programs so i can be a game developer one day or worth for a big company developing software and games and programs for hacking to test security systems and it just gives a lot of bragging rights

  • Kachireddy vishnuvardhan

    Hi
    My name's Vishnu.
    And I want to become an ethical hacker.Your tutorial is nice.I got it just in my first go.Can you guide me what to do to reach my goal?I have just completed my +2.
    Thank you and please help me

  • Sabrina Pyles

    FYI, calling emojis in Windows ten is [Windows key + .] (That's Windows key + period). Not as fancy as the mac emojis, but should work for the emoji mapping lesson.

  • PetaBytes Singh

    1:39:28 how about adding
    Enter the car
    Start the cat
    Exit the car – print u can't exit without stopping car… But do u still wish to continue input y or n

    Input y

    Print you are dead

  • Traveler 1414

    Nice video, explained things week for beginners like me. I recommend this book as a reference book if anyone’s looking for python literature
    https://amzn.to/2mpW54N

  • awais shahid

    hi mosh! i am not able to add a new product in django project….
    no such table: main.auth_user__old this error comes when ever i try to add new product or a user

  • Kristian Bondhus

    The Tutorial was good, the only thing that bothered me is that you just assumed that everything worked perfectly when you went on about anaconda and jupyter. I had to download both anaconda and jupyter separately for them to work, but my notebook never saved itself on the dashbord and then I had to manually download pandas where you gave almost no input on how to open the csv file which will be xls on windows. So i am left here with a turtorial which I cannot follow anymore because lack of guidance. I don't expect you to give everything on a silver platter but at least write down the code that people on windows as to use instead so we don't get lost / left out as I am now. I have about 2 hours left of this turorial which I now is unable to follow mostly. Now I can only sit and watch and not code with you along the way to better understand the coding and such. Please take this as a future reference if you ever decide to make more tutorials. Don't leave the windows users hanging by almost only describe the how's on Mac.
    Thanks.

  • DkChris Academy

    Thank you Sir, Your video is nice, I really want to know more about machine learning – I have been using python for years now. I have made series of videos for absolute beginners.

  • Muhammad Junaid

    Hy Mosh.. this video is great. i want to be a data scientist using this language. also interested to work on AI and ML. kindly help me on these technologies.

  • Allen Mourey

    PyCharm vs Jupyter, which one is better? Did you mean PyCharm is not as good as Jupyter for machine learning programming in Python? Can PyCharm easily use pandas?

  • Kidale Smith

    Are you still actively teaching? I'm going to purchase a full course. But I want to know if you're not over booked or stopped teaching

  • Antony Llanes

    28:12
    I did it like this:

    pounds = int(input('Weight in pounds:'))

    kilograms = pounds * 0.45359237

    print('You are', kilograms, 'kilograms.')

  • Vijay Raghavan

    Hi Mosh, Thank you so much for the tutorial. It is very useful. As you said, for web development, we need to have skills like Django, Javascript, etc., So, I would like to know what essential skills are required to become a Data Analyst. Please elaborate in detail

  • Reuben Thomas

    In the phone number to words conversion, the input is a string right, how is the for loop checking character by character?

  • Geni

    well installation of openpyxl in windows go to command prompt and navigate to the python folder>python 37>scripts
    now install openpyxl or any other using the pip install package_name
    no need to download any file prior cause it automatically installs while running

Leave a Reply

Your email address will not be published. Required fields are marked *