1 / 8

What are the most important topics to learn in Python?

In this PPT you are going to know the most important topics to learn in Python.<br><br>Meet the Experts for Better Guidence : https://nareshit.com/python-online-training/

Download Presentation

What are the most important topics to learn in Python?

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. What are the most important topics to learn in Python?

  2. Good Development • Get a good development environment. Shell+Emacs, or Shell+VIM are OK-ish, but not very supportive for beginners. IDLE is not much better. I have not tried VSCode+Pythonplugin. Nor have I tried Visual Studio+Pythonplugin. PyCharm is excellent, I can recommend it to all.

  3. Programs • The try writing some small programs using the environment, do “Hello World”, do “Fizz Buzz”, do “Factorial” and “Fibonacci”, do “Mean, Median, Mode, Standard Deviation”. They are small programs to get you into the swing of writing and executing Python programs. See if you can find an expert Python programmer to give feedback on your code. Feedback on what is right and wrong about the code you write is the most important thing to help you learn.

  4. Data • Then you need to find some harder programs to write. Find a problem from a field that interests you. The crucial thing is to decide what the data structures should be for solving the problem. Carefully organised data should lead to relatively straightforward algorithms and hence code. Python has list, tuple, set, dict (aka map), files (don’t forget RAII, with statement, using files) built in, but these are just the base tools, it is how you use and combine their use to create data structures for solving your problem that is crucial. You will find that most courses and webpages just introduce the base types, they do not really cover how to use complex combinations to represent the data of the problem. If ever you find yourself writing exceedingly intricate code, this is an indication that the data structure may be wrong.

  5. Python Library • The Python library contains a huge amount of really good stuff, along with a few bits of cruft that should be removed but is unlikely to be. Having a look at what modules there are in the library and looking at what they can do is always a good thing. The modules sys, os, and pathlib are ones everyone uses. Then there is itertools and functools lots of good stuff there. subprocess may become useful, or it may not. These are just a few, it is worth taking a look at the module index from time to time. During code development, always ask the question: is the feature I need for my code something already in the library? Always prefer library code to writing the same thing yourself.

  6. Code To Learn • So getting an environment working, writing some code to learn some Python syntax, learn the Python library, and learn Python data structures. Then the crucial skill is being able to create problem specific data structures and algorithms using the base tools.

  7. Modules and Packages. • PS There is also PyPI which has a mass of contributed modules and packages. Many of these are total rubbish, but there is a lot of good stuff in there. If you get into data analysis you will likely want numpy, pandas, scikit.learn, matplotlib. But there is a whole lot more. Always look for good quality pre-written, generally approved stuff before writing your own, it saves a lot of effort. Build on the shoulders of giants leads to quicker development of smaller more functional programs.

  8. Meet the Experts for Better Guidence : • https://nareshit.com/python-online-training/

More Related