Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Apr 30th, 2006, 6:08 PM   #1
thondal
Programmer
 
thondal's Avatar
 
Join Date: Jan 2006
Location: Norway
Posts: 82
Rep Power: 3 thondal is on a distinguished road
Send a message via MSN to thondal
what to do? really confused kinda...

ok here's the thing... i know how my mind works and that is the only reason why i am asking this question... (right now i'm just to tired to try and search more)

I'm trying to understand what you can do with python.. i just don't get it... not a negative way of expressing my self, just might sound negative. But like in vb i know (i have tried it for like 5 minutes) you can make programs, click and action programs if one could say so. And that's what i like, but too little writing for me and i thought (or i think it's just i wanna proove that i can write programs too... my brother made bugs and i wanna do something like that too) but i just don't understand programming. I've tried to find a site or something that explains what type of programs you can make with python, but i just don't seem to find it.. yeah i know just f google it, but I can't find a good explanation.. so if anyone would write it here, or send me a link that explains what programs you can make in python. Or if someone would suggest a program to start with (also would be nice if you told me why that is good, and how other might use it)

Sorry for my english and really confusing writing... but for my english i can say i have been awake for 3 and a half days now and now i will go to sleep... hopefully someone would have answered this when i wake up...

hopefuly....

-thondal-
__________________
"die" he screamed at the polygon man. When he was done with him, only four points remained, a quad of what he once was.
thondal is offline   Reply With Quote
Old Apr 30th, 2006, 6:28 PM   #2
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 2,086
Rep Power: 6 Sane will become famous soon enough
Send a message via MSN to Sane
You can make every single program imaginable in Python. That's the magic of a turing complete language.

Want to make something similar to the intentions of VB? Google up "wxpython" or "python tkinter". Want to make a webserver? Google up "CherryPy" or "Python CGI". Want to make a video game? Google up "Pygame".

You'll find Python is nothing like Visual Basic. Python involves writing code to achieve the same result that Visual Basic gets from dragging and dropping objects in to a window. However, through writing this code comes much more compatibility and choice in terms of what you want to get done.

What, specifically, did you have in mind?
Sane is offline   Reply With Quote
Old Apr 30th, 2006, 8:16 PM   #3
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
Well, with Glade or the QT Designer you can get similar drag and drop capability to Visual Basic, but it's not as IDE-integrated as VB.

That said, I've found that creating your graphical interface with code makes it easier to get resizing and positioning of components right. When I was coding in Delphi and C++ Builder I found it hard to get my applications resizing gracefully.

As for a good program to start with... how about a number guessing game?
Arevos is offline   Reply With Quote
Old May 1st, 2006, 9:22 AM   #4
thondal
Programmer
 
thondal's Avatar
 
Join Date: Jan 2006
Location: Norway
Posts: 82
Rep Power: 3 thondal is on a distinguished road
Send a message via MSN to thondal
thnx guys...
i'll be checkin in on this stuff in a few days... i have car theory tomorrow, so i can't flunk again (1 wrong too much twice ) but anyhow... thnx

I'm not sure what I had in mind, but first i have to do some easy programs and kinda build up my knowledge of coding i guess, but then I want to make some kind of player that plays sound or maybe a calender or something like that.. something people can use (open source)... but i guess that may take some time..

thnx again

-thondal-
__________________
"die" he screamed at the polygon man. When he was done with him, only four points remained, a quad of what he once was.
thondal is offline   Reply With Quote
Old May 1st, 2006, 10:41 AM   #5
demon101
Hobbyist Programmer
 
demon101's Avatar
 
Join Date: Mar 2006
Location: westboro, ohio
Posts: 160
Rep Power: 0 demon101 is an unknown quantity at this point
Send a message via Yahoo to demon101
how hard would it be to make a webserver?
__________________
Demon101 Production's

Code Forums
demon101 is offline   Reply With Quote
Old May 1st, 2006, 12:51 PM   #6
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
Quote:
Originally Posted by demon101
how hard would it be to make a webserver?
There's a Python web server framework called CherryPy that can be customed to deliver custom web applications. Sane created his Jammer's Base website using CherryPy, I believe.
Arevos is offline   Reply With Quote
Old May 1st, 2006, 1:10 PM   #7
demon101
Hobbyist Programmer
 
demon101's Avatar
 
Join Date: Mar 2006
Location: westboro, ohio
Posts: 160
Rep Power: 0 demon101 is an unknown quantity at this point
Send a message via Yahoo to demon101
now i looked up cherrypy and it really didnt say much about how to code it or any thing.
__________________
Demon101 Production's

Code Forums
demon101 is offline   Reply With Quote
Old May 1st, 2006, 4:01 PM   #8
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
There's a tutorial on the documentation site: http://docs.cherrypy.org/cherrypy-tutorial
Arevos is offline   Reply With Quote
Old May 1st, 2006, 7:05 PM   #9
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 2,086
Rep Power: 6 Sane will become famous soon enough
Send a message via MSN to Sane
You signed up for my site demon? Hahahahaha. :p
Sane is offline   Reply With Quote
Old May 2nd, 2006, 12:02 AM   #10
demon101
Hobbyist Programmer
 
demon101's Avatar
 
Join Date: Mar 2006
Location: westboro, ohio
Posts: 160
Rep Power: 0 demon101 is an unknown quantity at this point
Send a message via Yahoo to demon101
Quote:
Originally Posted by Sane
You signed up for my site demon? Hahahahaha. :p

yes i was trying to see how that cherrypy thing worked. so if you can help me out plz send me a pm.
__________________
Demon101 Production's

Code Forums
demon101 is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 3:01 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC