12 Replies - 1417 Views - Last Post: 22 June 2009 - 02:36 PM Rate Topic: -----

#1 SPlutard  Icon User is offline

  • code.ninja
  • member icon

Reputation: 15
  • View blog
  • Posts: 615
  • Joined: 13-August 05

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. :D
Is This A Good Question/Topic? 0
  • +

Replies To: What do you do with Python?

#2 xZachtmx  Icon User is offline

  • D.I.C Head

Reputation: 4
  • View blog
  • Posts: 125
  • Joined: 14-June 09

Re: What do you do with Python?

Posted 15 June 2009 - 02:09 PM

Im working on a game using the pygame library.
Was This Post Helpful? 0
  • +
  • -

#3 code_m  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 24
  • View blog
  • Posts: 197
  • Joined: 21-April 09

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!)
Was This Post Helpful? 0
  • +
  • -

#4 3liminat3r  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 65
  • Joined: 22-May 09

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...
Was This Post Helpful? 0
  • +
  • -

#5 BetaWar  Icon User is offline

  • #include "soul.h"
  • member icon

Reputation: 1138
  • View blog
  • Posts: 7,108
  • Joined: 07-September 06

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.
Was This Post Helpful? 0
  • +
  • -

#6 code_m  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 24
  • View blog
  • Posts: 197
  • Joined: 21-April 09

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)
Was This Post Helpful? 0
  • +
  • -

#7 xclite  Icon User is offline

  • LIKE A BOSS
  • member icon


Reputation: 894
  • View blog
  • Posts: 3,153
  • Joined: 12-May 09

Re: What do you do with Python?

Posted 16 June 2009 - 06:11 PM

View Postcode_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)


Globals are ugly in most places, in my opinion.
Was This Post Helpful? 0
  • +
  • -

#8 paulpeterfrancis  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 16-June 09

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).
Was This Post Helpful? 0
  • +
  • -

#9 Project 2501  Icon User is offline

  • import awesome as Project_2501
  • member icon

Reputation: 8
  • View blog
  • Posts: 1,565
  • Joined: 14-December 08

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.
Was This Post Helpful? 0
  • +
  • -

#10 brianmen  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 39
  • Joined: 14-June 09

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?
Was This Post Helpful? 1

#11 SPlutard  Icon User is offline

  • code.ninja
  • member icon

Reputation: 15
  • View blog
  • Posts: 615
  • Joined: 13-August 05

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...
Was This Post Helpful? 0
  • +
  • -

#12 Stutzbach  Icon User is offline

  • New D.I.C Head

Reputation: 6
  • View blog
  • Posts: 29
  • Joined: 06-July 08

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. B)
Was This Post Helpful? 0
  • +
  • -

#13 girasquid  Icon User is offline

  • Barbarbar
  • member icon

Reputation: 108
  • View blog
  • Posts: 1,825
  • Joined: 03-October 06

Re: What do you do with Python?

Posted 22 June 2009 - 02:36 PM

I use Python with the Django framework to build dynamic websites.

I've been meaning to look into pygame for a while, but I just haven't gotten around to it yet.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1