What do you do with Python?I want ideas...
Page 1 of 1
12 Replies - 1147 Views - Last Post: 22 June 2009 - 02:36 PM
#1
What do you do with Python?
Posted 15 June 2009 - 11:51 AM
So I was wondering, now that I know a bit of Python and have time to play with it, what are some examples of things you do with Python to make your life easier? I'm just looking for some ideas, anything goes.
Replies To: What do you do with Python?
#2
Re: What do you do with Python?
Posted 15 June 2009 - 02:09 PM
Im working on a game using the pygame library.
#3
Re: What do you do with Python?
Posted 15 June 2009 - 05:57 PM
I started by writing a password generator (it's in my signature link), and I have applied a lot of what I've learned there.
I've found that file handling is a tough one to conquer (maybe that's just me), so I'd suggest something in that area, the book I have suggested a list keeper.
Another one I want to get around to is an IRC Bot (make sure your allowed to use it first!)
I've found that file handling is a tough one to conquer (maybe that's just me), so I'd suggest something in that area, the book I have suggested a list keeper.
Another one I want to get around to is an IRC Bot (make sure your allowed to use it first!)
#4
Re: What do you do with Python?
Posted 15 June 2009 - 08:15 PM
I like making games with it but im sure there is alot out there u can do with it, im still learning myself...
#5
Re: What do you do with Python?
Posted 15 June 2009 - 08:25 PM
An IRC client/ bot isn't that difficult to make. You could make a text editor, or web browser, or pretty much anything else.
#6
Re: What do you do with Python?
Posted 16 June 2009 - 05:58 PM
I've also found writing math-programs really fun
The most interesting one I did was a degrees to radians converter, but mostly because I hadn't learned about making a class yet and I didn't allow myself to use globals (they are way ugly in python anyway)
The most interesting one I did was a degrees to radians converter, but mostly because I hadn't learned about making a class yet and I didn't allow myself to use globals (they are way ugly in python anyway)
#7
Re: What do you do with Python?
Posted 16 June 2009 - 06:11 PM
code_m, on 16 Jun, 2009 - 06:58 PM, said:
I've also found writing math-programs really fun
The most interesting one I did was a degrees to radians converter, but mostly because I hadn't learned about making a class yet and I didn't allow myself to use globals (they are way ugly in python anyway)
The most interesting one I did was a degrees to radians converter, but mostly because I hadn't learned about making a class yet and I didn't allow myself to use globals (they are way ugly in python anyway)
Globals are ugly in most places, in my opinion.
#8
Re: What do you do with Python?
Posted 16 June 2009 - 06:50 PM
You can use it to extend other languages. So if you have code written in C or C++ (you can do it with Java, C# or VB but you need to have Jython or IronPython -- neither of which I've used) you can integrate it into your Python code. I've worked with it a little bit and it makes your Python code a lot faster.
Python is also just good for writing things out fast. Say you're trying to figure out if your sort algorithm will work, it would fastest to type it up in Python (though that doesn't mean it would run the fastest).
Python is also just good for writing things out fast. Say you're trying to figure out if your sort algorithm will work, it would fastest to type it up in Python (though that doesn't mean it would run the fastest).
#9
Re: What do you do with Python?
Posted 18 June 2009 - 11:29 PM
Using wxPython, TkInter, or some other GUI toolkit to make applications is always fun.
#10
Re: What do you do with Python?
Posted 20 June 2009 - 09:50 PM
I made a tip calculator program. I'd like to make a program that can do calculus for me (such as derivatives) or even basic algebra problems. How about a "systems of equations" solver that will solve for 3 unknown variables when you are given 3 different equations?
#11
Re: What do you do with Python?
Posted 21 June 2009 - 02:13 PM
That's the sort of thing I did after I learned C, but I find it very unsatisfying to code things that I can already do much more efficiently using another application - Mathematica, for example.
Besides math, I suppose I could write scripts for my computer, but I'm not sure what sorts of things I would like them to do... I certainly need a script to help parse some of my lab data and write it to an excel file, but I was wondering what other ideas were floating out there...
Besides math, I suppose I could write scripts for my computer, but I'm not sure what sorts of things I would like them to do... I certainly need a script to help parse some of my lab data and write it to an excel file, but I was wondering what other ideas were floating out there...
#12
Re: What do you do with Python?
Posted 22 June 2009 - 02:30 PM
I use Python in a shareware product for managing a database of poker statistics.
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote








|