User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Python section within the Software Development category of DaniWeb, a massive community of 397,646 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,371 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Python advertiser:
Views: 54217 | Replies: 162
Reply
Join Date: May 2008
Location: Australia
Posts: 89
Reputation: paulthom12345 is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 3
paulthom12345's Avatar
paulthom12345 paulthom12345 is offline Offline
Junior Poster in Training

Re: Projects for the Beginner

  #151  
May 30th, 2008
Try this: write a program that tests someones reaction times and records them in a text file and then makes comparisons to see the level of improvment or the lack of.
Make it idiot proof and someone will make a better idiot.
Check out my Blog - paulthom12345.blogspot.com
Reply With Quote  
Join Date: Jan 2008
Posts: 538
Reputation: ZZucker is on a distinguished road 
Rep Power: 2
Solved Threads: 15
ZZucker's Avatar
ZZucker ZZucker is offline Offline
Posting Pro

Re: Projects for the Beginner

  #152  
Jun 12th, 2008
With so much hoopla about hydrogen as fuel of the future let's do this:
Write a Python program that calculates the energy obtained from burning one liter of hydrogen (H2) gas, as compared to one liter of methane gas or propane gas.
Never argue with idiots, they'll just bring you down to their level and beat you with their experience.
Reply With Quote  
Join Date: Jun 2008
Posts: 2
Reputation: pratap.iiit is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
pratap.iiit pratap.iiit is offline Offline
Newbie Poster

Re: Projects for the Beginner

  #153  
Jun 30th, 2008
Originally Posted by vegaseat View Post
After you got the basics of Python under your belt, the best way to get a good knowledge of the language and improve your coding skills is to start on a project you are interested in. This sticky is dedicated to a list of just such projects.

If you know a good project, please post it here. If you have questions, start your own thread and don't clutter the sticky.

i have a good project for beginers of python if you want to join me then mail me back at my yahoo id that is off_gl(@)yahoo(.)com
subject want to join project
Last edited by pratap.iiit : Jun 30th, 2008 at 8:36 pm.
Reply With Quote  
Join Date: Oct 2006
Posts: 1,193
Reputation: sneekula is on a distinguished road 
Rep Power: 4
Solved Threads: 38
sneekula's Avatar
sneekula sneekula is offline Offline
Veteran Poster

Re: Projects for the Beginner

  #154  
Jul 15th, 2008
You can create a relatively safe numeric input using this function:
  1. def get_num(prompt="Enter a number: "):
  2. """
  3. the function will loop until a number has been entered,
  4. accepts int or float, returns a float
  5. """
  6. while True:
  7. try:
  8. return float(raw_input(prompt))
  9. except ValueError:
  10. print "Numeric value required!"
  11.  
  12. # test it ...
  13. print get_num()
  14. price = get_num("Enter the price: ")
  15. print price
Your mission, should you accept, is to limit the numeric input to a number within a given range.
No one died when Clinton lied.
Reply With Quote  
Join Date: Oct 2006
Posts: 1,193
Reputation: sneekula is on a distinguished road 
Rep Power: 4
Solved Threads: 38
sneekula's Avatar
sneekula sneekula is offline Offline
Veteran Poster

Re: Projects for the Beginner

  #155  
Jul 15th, 2008
Oh the price of petrol!

I just made a back of the envelop calculation from the latest German Automobile Club numbers. As of July 15, 2008 the price of the liter petrol there is 1.55 Euro. The price in the US is $4.25 per gallon. A US gallon is 3.785 liter and the Euro costs US $1.60. It would be nice to make a small Python program to compare the cost of petrol there to the price of petrol in the US.

I calculated the US price to be $1.20 per liter or 0.75 Euro per liter. If you would travel to Germany it would cost you US $9.39 per gallon. Your program ought to spit this out quickly.
Last edited by sneekula : Jul 15th, 2008 at 11:04 am.
No one died when Clinton lied.
Reply With Quote  
Join Date: Oct 2004
Location: Mojave Desert
Posts: 2,414
Reputation: vegaseat will become famous soon enough vegaseat will become famous soon enough 
Rep Power: 9
Solved Threads: 173
Moderator
vegaseat's Avatar
vegaseat vegaseat is online now Online
Kickbutt Moderator

Re: Projects for the Beginner

  #156  
Jul 20th, 2008
Using the wxPython GUI toolkit example in post ...
http://www.daniweb.com/forums/post651930-38.html
... come up with a program to create a collage of images.
May 'the Google' be with you!
Reply With Quote  
Join Date: Aug 2005
Posts: 1,020
Reputation: Ene Uran is an unknown quantity at this point 
Rep Power: 6
Solved Threads: 64
Ene Uran's Avatar
Ene Uran Ene Uran is offline Offline
Veteran Poster

Re: Projects for the Beginner

  #157  
25 Days Ago
Write a program that generates acronyms, for instance it would turn the string "National Aeronautics and Space Administration" into NASA for short. Notice that words like "and", "the" are most often ignored
drink her pretty
Reply With Quote  
Join Date: Feb 2008
Posts: 18
Reputation: EAnder is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
EAnder EAnder is offline Offline
Newbie Poster

Re: Projects for the Beginner

  #158  
22 Days Ago
1. Create a program that shutsdown/loggsoff a user after a period of inactivity.
Hint: Use the PyHook module at http://mindtrove.info/articles/monit...t-with-pyhook/ and the os module

2. Create a function that filters obcenities out of typed speech like in some IRC or AIM chatrooms.
Hint: Use the standard re module (may make it easier)

3.Ever see The Number 23? Ask a user for their age, birthday, address, name,Phone numbers etc... and see if it can find any 23's or 32's
Hint: Change letters to numbers(duh!) a = 1, b = 2, c = 3...

4. I've heard that it is possible to create a brainf*ck compiler/interpreter in python pretty easily. Try it out.
Hint: http://linuxgazette.net/issue79/divakaran.html http://en.wikipedia.org/wiki/Brain****

5. Create an application that allows you to chat with someone directly over the internet
Hint: you need the socket module
"There are only two industries that refer to their customers as 'users'." (Edward Tufte)
"There are two ways of constructing a software design. One way is to make it so simple that there are obviously no deficiencies. And the other way is to make it so complicated that there are no obvious deficiencies."(C.A.R. Hoare)
Reply With Quote  
Join Date: Oct 2004
Location: Mojave Desert
Posts: 2,414
Reputation: vegaseat will become famous soon enough vegaseat will become famous soon enough 
Rep Power: 9
Solved Threads: 173
Moderator
vegaseat's Avatar
vegaseat vegaseat is online now Online
Kickbutt Moderator

Re: Projects for the Beginner

  #159  
9 Days Ago
Write a Python program to find the five digit number, that when multiplied by 4 gives a number with the 5 digits in reverse order?
May 'the Google' be with you!
Reply With Quote  
Join Date: May 2008
Location: Australia
Posts: 89
Reputation: paulthom12345 is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 3
paulthom12345's Avatar
paulthom12345 paulthom12345 is offline Offline
Junior Poster in Training

Re: Projects for the Beginner

  #160  
5 Days Ago
Everyone loves a game. So why not make a series of Dice games such as Two up and Yahtzee.

For an extra challenge make an AI to play with and also add a GUI!
Make it idiot proof and someone will make a better idiot.
Check out my Blog - paulthom12345.blogspot.com
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

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

 

DaniWeb Python Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the Python Forum

All times are GMT -4. The time now is 11:10 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC