Since you are already using Python, there’s no need to worry about these details; as long as it functions, that’s what matters.
What else can be used if not Python? I sincerely seek advice.
Use isinstance to check inheritance, type to output specific types, and check if an object has specific behaviors.
The first bad habit is that string concatenation is done one by one, especially when concatenating multiple strings, which results in multiple value copies.
This is how Python was taught back in the day.
Only an 18-year-old freshman would really nitpick every word. Code is ultimately code; once you see the big picture, you won’t care about certain uncomfortable writing styles in these ancient scripts.
I am learning programming; can we be friends and learn together? We can discuss problems together.
The pitfalls of Python are like black holes; once you get sucked in, you can’t escape! Thanks for sharing; I feel like I’m escaping at light speed.
I can guide you; I’ve been a programmer for four years.
Configuration is not important; Python is relatively lightweight, requiring low CPU power, but a bit more memory is preferable.
If you don’t play games, a lightweight laptop is sufficient; it’s very convenient to code in the library.
Really? Many people say lightweight laptops are not enough. Do you have any recommendations? My budget is 7k to 8k.
I am a computer science junior; a lightweight laptop is really enough for college (if not gaming). The best cost-performance ratio should be Lenovo! I haven’t learned about other brands. I haven’t worked yet; maybe it won’t be enough after working? But I feel like after graduation, I will want to buy a new computer because many new products come out every year! If I buy a gaming laptop, I feel like I won’t want to replace it because it’s expensive. My roommate’s gaming laptop is really heavy and inconvenient to carry around, plus it consumes a lot of power; it runs out of battery quickly without a power source. I have a Lenovo Xiaoxin, and it hasn’t lagged in two years; it’s super fast for grabbing classes. I’m just saying whatever comes to mind; you can learn more about other options or ask your seniors at school. Wishing you happiness in your studies! The major courses in computer science are quite interesting.
You can check Bilibili. It seems that gaming laptops require a bit more money; lightweight laptops are around 4.5k.
I accidentally deleted a folder on my desktop using Python. Is there any way to recover it?
Does this require attending a training course? Like enrolling in a class.
Self-study is quite difficult; self-discipline is also important; it depends on the individual.
I do not recommend wasting too much time; data issues can be resolved using built-in functions from different software.
Do not copy code; you should write more and use it more; this way, efficiency will be higher.
I studied C language for a semester and am self-studying Python during the winter break.
If possible, try not to copy by hand; writing code is about understanding. Leave an impression of the material; if you won’t search again, I really do not recommend copying by hand; it is time-consuming and labor-intensive.
Is there a prerequisite for learning this based on what major you are studying?
A student from Zhejiang says they have already been learning Python since high school.
Thanks for the invitation; I must learn it next semester as part of my major courses.
As a beginner with no background, is Python the first choice for learning programming? Is it recommended to enroll in a full course?