[Tutor] Python - Data Mining?
Hi, I'm still very, very new to Python and programming. I was wondering if anyone can point me in the right direction. As I gradually learn Python, one of the things I want to be able to do is take a database, run queries and extract information and then graph that information visually to see patterns in the data. Where should I start? Does Python do this? If not, what language is used for this? Thank you very much, Nick -- Art: http://www.coroflot.com/bellsoffreedom ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] Python - Data Mining?
Thank you all so much for the great information so far. I really appreciate it. I'm going over it now. And sample code helps TON! That really allows me to see what happens with a program. In reference to wormwood_3's question about my intentions for data mining; I want to know this stuff in general, but I also have some applications in mind. For instance, I work with some groups that rescue homeless animals. It would be wonderful if I could compile a thorough database, then mine the data and create graphs to troubleshoot issues. As an example, we might find that more homeless animals show up in x location, or at xyz time of year. This could help in re-focuses efforts more efficiently. I'm going to start going over those links and sample code, but beware! I'll probably be dropping a bunch more questions soon! Take care, Nick On Sun, Jan 4, 2009 at 2:10 PM, Kent Johnson ken...@tds.net wrote: On Sun, Jan 4, 2009 at 1:25 PM, Nick Scholtes airc...@gmail.com wrote: Hi, I'm still very, very new to Python and programming. I was wondering if anyone can point me in the right direction. Welcome! As I gradually learn Python, one of the things I want to be able to do is take a database, run queries and extract information and then graph that information visually to see patterns in the data. Where should I start? Does Python do this? If not, what language is used for this? Yes, you can do this in Python. Python has a standard for interfacing to databases called DB-API: http://www.python.org/dev/peps/pep-0249/ You will have to obtain and install a DB-API module for the specific database you want to query: http://wiki.python.org/moin/DatabaseInterfaces The docs for the individual modules tend to be sparse because they follow the DB-API. For graphing, there are several options: http://wiki.python.org/moin/NumericAndScientific/Plotting I recommend matplotlib. You should probably start with a basic Python tutorial, though; both DB-API and matplotlib will be difficult if you don't have a basic understanding of Python. Pick a tutorial here: http://wiki.python.org/moin/BeginnersGuide/NonProgrammers Kent -- Art: http://www.coroflot.com/bellsoffreedom ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] Question
Last I checked, Notepad ++ works with Python. I've never used it for Python, so I don't know how it works. Nick On Sat, Nov 8, 2008 at 9:22 PM, Bap [EMAIL PROTECTED] wrote: Can I use notepad++ for Python? Thank you! ;-) ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor -- Art: http://www.coroflot.com/bellsoffreedom ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] I need a Python mentor
Hi, I'm a beginner in python, so I can't be a mentor, but here are some links that may help: http://uselesspython.com/ Python Wiki at: http://wiki.python.org/ Also google Think Python. It is a great resource. Nick On Fri, Aug 8, 2008 at 4:22 PM, A. Joseph [EMAIL PROTECTED] wrote: Hello everybody, i`m new to this list. I was programming in PHP before, of recent I started learning python. I need someone who can be giving me some assignment based on the chapter I read in the book, and the person will sometime review my code and tell me if it`s well structured. Thanks- ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor -- Art: bellsoffreedom.cgsociety.org/gallery/ Blog: cognitivealchemy.blogspot.com ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] New to pythong
Thanks for the info on the Think Python book, and thanks Jeremiah, for posing this question. That book is one of the best Python learning resources I've yet found! Makes it really easy to understand! Nick On Mon, Jul 7, 2008 at 12:43 PM, Marc Tompkins [EMAIL PROTECTED] wrote: On Mon, Jul 7, 2008 at 9:40 AM, Jeremiah Stack [EMAIL PROTECTED] wrote: Hello everybody: I am new to this mailing list, and it said that i could the simplest of questions. So i was wondering if anyone could be so kind as to e-mail me a project idea or something to go out an learn to do in python. I don't know any languages, but i am definitely not computer illiterate. i have read so many tutorial about getting started but so far that is where the tutorial have left me ( how to print Hello World) and such. Any ideas great thanks. First of all, I mean no offense to the OP. However, this question comes up a lot on this list, and it always bugs me. People decide they want to learn Python, and then ask strangers to give them a reason to do it. I may be totally wrong about this, but it doesn't seem like a good way to learn _anything_, let alone a programming language. The most important element for success is enthusiasm, and how can you generate any enthusiasm working on somebody else's homework project? Unless you learn best under external discipline, in which case I suggest you take a class... My advice to all potential Pythonistas who want to learn on their own: think of a problem you need to solve, or a cool game you've wanted to implement, or a tool you want but don't have. In my own case, I had a project I needed to do (printing mailing labels from records in an old proprietary database) that was going to suck if I used only the tools I already had. I'd been wanting to get into Python, and I decided to use Python to do the job and learn as I went. It was WONDERFUL, and I've been in love with Python ever since. (Yes, I've used it for fun stuff since then, but my first experience was of Python saving me hours and hours of pain.) If you don't have a professional task that you could apply Python to, just look around your environment for a day or so looking for problems to solve. (My favorite example of this, although it's a very silly program and written in JavaScript besides, is Roast Beef's Eggs and Milk Minder from Achewood http://achewood.com/index.php?date=05082002.) Just my euro;0.0075... -- www.fsrtechnologies.com ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor -- Art: bellsoffreedom.cgsociety.org/gallery/ Blog: cognitivealchemy.blogspot.com ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] New to python(g)=python g=(embarrassing)
Thank you so much for that horrendous imagery. I think I'll go learn C# instead. : ) Nick On Mon, Jul 7, 2008 at 3:28 PM, Marc Tompkins [EMAIL PROTECTED] wrote: I did wonder whether there was a joke there... is the Pythong the hot new trend in beachwear? On a creepier note, if you make the mistake of going to python dot com instead of dot org, a Pythong is the least of your worries... eeewww. -- www.fsrtechnologies.com ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor -- Art: bellsoffreedom.cgsociety.org/gallery/ Blog: cognitivealchemy.blogspot.com ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor