[Answer] How Should Someone with a C Background Start Learning Python for Automated Testing?
![[Answer] How Should Someone with a C Background Start Learning Python for Automated Testing?](/_next/image?url=https%3A%2F%2Flxunzzzdnokdqhipbmdf.supabase.co%2Fstorage%2Fv1%2Fobject%2Fpublic%2Fmedia%2Fcovers%2Fcpyth-a7ed73f8.png&w=3840&q=75)
[Answer] How Should Someone with a C Background Start Learning Python for Automated Testing?
[Answer] How Should Someone with a C Background Start Learning Python for Automated Testing?
For the first question—how someone with a C background should start learning Python—having a foundation in C is definitely helpful. If your C fundamentals are solid, that will support learning almost any programming language. However, while studying Python, you still need to pay attention to the differences between C and Python.
- C is a compiled language, while Python is a scripting language. The former needs to be compiled before it can run, while the latter runs through an interpreter and does not require a compilation step.
- C is a procedural language, while Python is object-oriented. So you should strengthen your understanding and study of object-oriented programming, which is something C is relatively weaker in.
- You will also need to adapt to Python’s coding conventions—for example, there are no semicolons at the end of lines, and indentation is strictly required.
I would recommend finding a complete and systematic Python textbook to study from. There are quite a few good options on the market right now.
For the second question, Python has many automated testing packages. As you learn Python, you can choose the ones that fit your needs. I won’t go into them separately here.
![[Thought] Many viruses you’ve probably never heard of also contain DNA, such as iridoviruses](/_next/image?url=https%3A%2F%2Flxunzzzdnokdqhipbmdf.supabase.co%2Fstorage%2Fv1%2Fobject%2Fpublic%2Fmedia%2Fcovers%2Fdna-39161584.png&w=3840&q=75)
![[Answer] What did you do on the night you checked your Gaokao score?](/_next/image?url=https%3A%2F%2Flxunzzzdnokdqhipbmdf.supabase.co%2Fstorage%2Fv1%2Fobject%2Fpublic%2Fmedia%2Fcovers%2F-e4a8ec38.png&w=3840&q=75)
![[Answer] How Can You Score 130+ on the Gaokao Math Exam?](/_next/image?url=https%3A%2F%2Flxunzzzdnokdqhipbmdf.supabase.co%2Fstorage%2Fv1%2Fobject%2Fpublic%2Fmedia%2Fcovers%2F130-157dba52.png&w=3840&q=75)