Common problems when learning Python
I’ve been teaching Python for a while. Whilst, it is one of the easier programming languages, it still takes time to learn, if you’ve never coded before. Whichever way you try to learn whether through books or lectures, you’ll need to spend even more time practicing your Python coding in order to get to grip with the language.
Even if you have coded before, there are some differences with other languages. Admittedly though, the fundamentals of most programming languages and the way you’d think about implementing algorithms is similar. Here I’ve written done some common mistakes and problems that folks tends to face when learning Python.
Python is case sensitive
Most programming languages are case sensitive including Python. Hence for example, a variable x is different to X, the same for imported modules etc. One of the main exceptions is VBA which isn’t case sensitive when it comes to things like variables.
Creating different conda environments instead of using base
By default when you install Anaconda...
To read the rest of the article on the Cuemacro website, please click here!
Project Manager and Developer in Finance | FRM LV1
4 年OOP in python is way different that other language like C# and JAVA, I am surprised you didn’t get questions about it! Some good points raised in this article.