I'm no teacher or expert, but I've seen quite a few threads around the internet of people asking where they can start with various programming languages, and all the answers really say is:
You can't start until you have something to do.
Imagine saying "I want to use LEGO, where do I start?". LEGO is little bricks you put together to build whatever you want, where you start for a house or a castle is different from a car or a monster.
or "I want to design a vehicle, where do I start?". Start with what it needs to do - carry two people over mud and water? Carry 8 people over tarmac roads? Carry two hundred people over the ocean?
but what can I 'realy' do with Python?can anybody tell me what can I do with python some sort of program or whatever? |
Er, almost anything you can see a computer doing could be done in Python. Editing files, grabbing data from the internet, poking at databases, interacting with the user, drawing pictures, taking screenshots, using COM automation to insert them into Word documents, zipping up the resulting files, uploading them to an FTP site on a schedule, making a dynamic webpage to reflect the latest documents, using a web service to make them available to download in new ways...
If I had great ideas in this area I'd be busy creating them and becoming rich...
| and how to start?!?!I mean when you are trying to make a web site...<head>....and so on how??? |
But what then? You have a <head>, but what do you put in it?
A table? A picture? A form for feedback? Some news? Some bold text? It depends what the site is about and who it's for.
1) Load something like www.wxpython.org or Python Win32 extensions (PythonWin) and get a good shell. Play with Python from the interactive shell.
Once you get some experience (by following tutorials - Bruce Eckel's ThinkCSPy is neat) and testing what they tell you, by trial and error, exploration and fun) then it becomes easier to see how to build bigger programs.
I don't know, start by creating a string, an integer, do some maths and print the results, create a function and a list and a dictionary, read from a file, ask the user what their name is, put that in a file...
use dir() on a string and an int, a list and a dictionary and test all the things it returns to find out what they do and how they work.
>>> "this is a string"
'this is a string'
>>> x = "a string"
... (I've cut this out) ...
It's far more fun than writing proper software with error checking and a pleasant interface.
| can anyfoy pinpoint some programs or somethin that I can see on what and how it works? |
Read some more of this forum, there's a lot of code posted around the place that's worth looking at.
| please tell me what to do to become fluent in Python |
Use it. The more you use it the more it sticks in memory. The more you find out, the more ways of solving problems you find, and the easier it gets.