Eve from Adams' Ribs

2005-08-22 Thread Godwin
Dear Pythoneer, I'm thinking of making a class out of an rdbms table name(let's say oracle). I can dynamically query the column names and their datatypes from oracle. So at runtime can i create a class object that creates a class for example employee with methods that can manipulate that table

Re: Eve from Adams' Ribs

2005-08-23 Thread Godwin
www.devx.com/dbzone/Article/22093 U've made a point and i have seen that approach in the above article. But i was curious about creating python classes and code on fly. The only way i could do it was by using exec function. Is there a standard way of doing it. What are the plus points of such kind

Re: Eve from Adams' Ribs

2005-08-23 Thread Godwin
Thanx for the links , i loved the "monty lingua" module u gave me before. -- http://mail.python.org/mailman/listinfo/python-list

Re: Eve from Adams' Ribs

2005-08-23 Thread Godwin
yes i did hear about sqlobject but as u said it doesn't support oracle yet. Thanx -- http://mail.python.org/mailman/listinfo/python-list

How to execute stored procedure?

2005-07-01 Thread godwin
Hi, I would like to execute an oracle stored procedure using the any oracle database module which satisfies the Database Specification standard. I have tried cxOracle and Odbc database packages with no success. If u have the answer plz give me an example code. Thank you -- http://mail.python.or

What are the other options against Zope?

2005-07-02 Thread godwin
Hi all, I wanna thank Martin for helping out with my ignorance concerning execution of stored procedure with python. Now i have decided to write a web app that googles into my companies proprietary database. I need to know whether zope is good for that job. But even the introduction to zope i

Re: What are the other options against Zope?

2005-07-03 Thread godwin
Actually i want to create a "google" like web interface to any rdbms and search as we all do it in google.That would be great isn't it. Thank u for your queries. -- http://mail.python.org/mailman/listinfo/python-list

Re: What are the other options against Zope?

2005-07-03 Thread godwin
You understood my request correctly. I thank u for pointing me to cherrypy. -- http://mail.python.org/mailman/listinfo/python-list

Re: I am a Java Programmer

2005-07-06 Thread godwin
Buy the book "Practical Python" by Magnus Lie Hetland. It contains 10 practical projects to let u get started on you own "Pythoneering"( as Magnus calls it). Move on buddy. -- http://mail.python.org/mailman/listinfo/python-list

DBSeek

2005-07-11 Thread godwin
Hello there, I need some thoughts about a web application that i am dreaming and drooling about in python. I want a search page to look exactly like Google. But when i press the search button, it should search a database in an rdbms like Oracle and provide results. For example, i

Web App like Google

2005-07-11 Thread godwin
Hello there, I need some thoughts about a web application that i am dreaming and drooling about in python. I want a search page to look exactly like Google. But when i press the search button, it should search a database in an rdbms like Oracle and provide results. For example, i

Re: Web App like Google

2005-07-12 Thread Godwin
Thanks for informing me about NLTK. I'll certainly look into it and other options. Hope my dream doesn't go into the graves. Godwin Burby -- http://mail.python.org/mailman/listinfo/python-list

Re: Web App like Google

2005-07-12 Thread Godwin
Thanks for providing me with all those informative links about NLTK nad CNL. I'll certainly look into it. -- http://mail.python.org/mailman/listinfo/python-list

Re: Web App like Google

2005-07-13 Thread Godwin
Thanks for making me aware of the security loophole of the web app i am planning. Godwin Burby -- http://mail.python.org/mailman/listinfo/python-list

Re: Web App like Google

2005-07-13 Thread Godwin
Actually i went through the NLTK site tutorials and it has a steep learning curve associated with it. Well if i can learn it, it will be the best fit module for my app. But if it gets hard, i'll definitely opt for the text indexers u gratefully pointed to me. Thanks. -- http://mail.python.org/mai

Cmd Module

2005-11-22 Thread Godwin Burby
(self): passwd = getpass.getpass() if passwd = 'godwin': print "You are a valid user" if __name__ == '__main__': ctest = CmdTest() ctest.cmdloop() The interpreter reports that the first argument to super should be a type rather than a class object

Re: Cmd Module

2005-11-23 Thread Godwin Burby
Sorry! I just retyped my script instead of copy pasting it. well thank u once again for clearing my confusion. -- http://mail.python.org/mailman/listinfo/python-list

Re: How to get started in GUI Programming?

2005-11-25 Thread Godwin Burby
Try http://boa-constructor.sourceforge.net/ -- http://mail.python.org/mailman/listinfo/python-list

Re: books: Dive into Python vs Beginning Python

2005-11-25 Thread Godwin Burby
I would recommend both, but as i have already bought the first version of Beginning Python known as Practical Python by Magnus. I can gaurantee you that the practical projects as well as the succinct python tutorial in the book will show you the full power and glory of Python. Magnus is a great aut

print there!

2005-09-20 Thread Godwin Burby
Dear Pythoneer, I am writing a python script which inserts or updates a database from a csv file. i've done the functionality. But i would to like to show the user the current row being inserted or updated in the screen. This can be done as follows: print 'c:\godwin\bl.csv'

Re: print there!

2005-09-20 Thread Godwin Burby
i think u've misunderstood my question. Your solution will print on a new line as below: c:\godwin\bl.csv 1 c:\godwin\bl.csv 2 c:\godwin\bl.csv 3 But i want this number to diplay their value increase on the same line on the same sport itself without printing the filename multiple times on mul

Re: print there!

2005-09-20 Thread Godwin Burby
thanks :) It works beautifully. -- http://mail.python.org/mailman/listinfo/python-list

Re: print there!

2005-09-21 Thread Godwin Burby
i didn't notice it and i'm really sorry. it works beautifully! thanks once again :) -- http://mail.python.org/mailman/listinfo/python-list

Change Gateway Programmatically

2006-01-10 Thread Godwin Burby
Dear Pythoneer, I need to toggle the gateway ip of my windows xp machine quite often due to some software requirements. I just want to know whether i could do it programmatically using Python. If so how? -- http://mail.python.org/mailman/listinfo/python-list

Re: Change Gateway Programmatically

2006-01-10 Thread Godwin Burby
Well netsh turned out to be the perfect solution for my problem(even though doing it in python would have given me some kicks). I managed it with two .bat files for toggling the gateway ips. Thank you friend. -- http://mail.python.org/mailman/listinfo/python-list

Re: Change Gateway Programmatically

2006-01-11 Thread Godwin Burby
Thanx again. -- http://mail.python.org/mailman/listinfo/python-list

Progress Bar with urllib2

2005-04-26 Thread Andrew Godwin
ng here? It might even be I'm calling urllib2 the wrong way (does it download when you read() or when you create the Request?) All help is appreciated, I'm sort of stuck here. Andrew Godwin -- http://mail.python.org/mailman/listinfo/python-list