Common problems when learning Python

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!

Benjamin Scialom

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.

回复

要查看或添加评论,请登录

Saeed Amen的更多文章

  • Learning from running financial models live

    Learning from running financial models live

    Let's say you are the world's best burger chef (we all have ambitions, right). You'd be serving up all manner of…

    1 条评论
  • DeepSeek, objectives and constraints

    DeepSeek, objectives and constraints

    When a new burger joint opens up, there's often a buzz. Everyone (well, at least me) wants to try the new burger.

    1 条评论
  • Hundreds of quant papers from #QuantLinkADay in 2024

    Hundreds of quant papers from #QuantLinkADay in 2024

    I tweet a lot (from @saeedamenfx and at BlueSky at @saeedamenfx.bsky.

  • What we’ve learnt from reading thousands of Fed communications

    What we’ve learnt from reading thousands of Fed communications

    We recently had the last FOMC decision of 2024. Market l participants reacted to the hawkish tone including Powell’s…

    1 条评论
  • Takeaways from QuantMinds 2024 in London

    Takeaways from QuantMinds 2024 in London

    Over the past years, the quant industry has changed substantially. My first visit to Global Derivatives was just over a…

    12 条评论
  • Takeaways from Web Summit 2024

    Takeaways from Web Summit 2024

    Think of Lisbon and no doubt it’ll conjure images of explorers setting sail in centuries past across the ocean, the…

    1 条评论
  • FILS Europe 2024 Takeaways

    FILS Europe 2024 Takeaways

    Paris is home to many things, the Eiffel Tower, the Arc de Triomphe, burgers (ok, I made that one up!). In recent…

    4 条评论
  • Don't look back in hangar steak

    Don't look back in hangar steak

    I'm currently in the queue for Oasis tickets. Rather than mindlessly watching the counter of people in the queue ahead…

    5 条评论
  • The Olympic spirit for forecasting

    The Olympic spirit for forecasting

    The Olympics finally finished, and the Paralympics are about to begin. I managed to go to some of the Olympic football…

  • Eleven years of independence

    Eleven years of independence

    Regrets become ever more edged with the passing of time. Recalling a time long gone, when perhaps a decision made, was…

    5 条评论

社区洞察

其他会员也浏览了