How to Program in Python for Beginners

preview_player
Показать описание
Can you explain how to program in Python for beginners?

Hello world is the name of the classic program to explain how a program could say hello python.

Yes, I've heard of it.

To implement it, you would first save the phrase to a file with a print statement in front of it.

So, print "Hello, World!"

The next step would be to save it with a py suffix for Python.

That turns it into a Python program.

Then it says "Hello, world!"

If you did it right, sure.

That's really basic. I was looking for something more advanced.

Go get a dummies or idiots on programming in Python.

I'm not stupid.

So get an idiot savant book or beginning book on programming book for Python. Then read it.

Why did you remind me to actually read it?

I know people who buy cook books to improve their cooking and then leave it to decorate the kitchen shelves as if the improved atmosphere will improve the food's taste.

And buying programming books to decorate the office shelves won't solve the errors in my coding if I don't read it.

Reading programming books is a start to learning how to code. Next comes reading about Python frameworks, development environments and best programming practices to actually do a good job of it.

I could learn how to use Python code modules.

Yes, those exist. But you need to understand how Python programming works to thread them together or you get the computer science equivalent of an ugly lego tower.

I heard Python has lazy typing that makes programming easier.

You can type a lot, but that doesn't make it a working program. And lazy typing can add a lot of errors to debug.

So where do I start with Python programming?

The programming section of the book store.
Рекомендации по теме
welcome to shbcf.ru