|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
OK
thing is like that...I'd like to beggin to program...for star the Python will be super...but I have the offical Python tutorial...I made some examples...a few... but what can I 'realy' do with Python?can anybody tell me what can I do with python some sort of program or whatever??oh and I have winXP... and how to start?!?!I mean when you are trying to make a web site...<head>....and so on how???can anyfoy pinpoint some programs or somethin that I can see on what and how it works? I need to tell you that I am a total newbie so please be ready for some crazy posts... thx for time to read all this oh and <edit>: please tell me what to do to become fluent in Python....need some help....a lot of help and SORRY for newbie like me open new g33k post like this....sorry all....need help thats all |
|
#2
|
||||||
|
||||||
|
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? Quote:
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... ![]() Quote:
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. Code:
>>> "this is a string"
'this is a string'
>>> 2
2
>>> 2+2
4
>>> "2+2"
>>> x = "a string"
>>> len(x)
8
>>> dir(x)
... (I've cut this out) ...
>>> x.endswith("ing")
True
>>> x.startswith("herring")
False
>>>
explore! It's far more fun than writing proper software with error checking and a pleasant interface. ![]() Quote:
Read some more of this forum, there's a lot of code posted around the place that's worth looking at. Quote:
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. |
|
#3
|
||||
|
||||
|
You might wanna read this: http://forums.devshed.com/t203670/s.html
|
|
#4
|
||||
|
||||
|
A few small (and not-so-small) suggestions:
|
|
#5
|
|||
|
|||
|
thx!
I vill do my best!! thx! |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Python Programming > Newbie Questions |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|