initialising a class by name

2009-01-13 Thread Krishnakant
o name the class exactly after the name of the category so that when the user selects a category that name is used to initialise the instance of that class. So is it possible to initialise an instance of a class given its name from a variable? thanks and Happy hacking. Krishnakant. -- http://mail.

Re: initialising a class by name

2009-01-13 Thread Krishnakant
> Can you explain the difference between getattr and var()? > Cheers, > Chris > happy hacking. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

Re: initialising a class by name

2009-01-14 Thread Krishnakant
Tue, 2009-01-13 at 23:55 -0800, Chris Rebert wrote: > On Tue, Jan 13, 2009 at 11:49 PM, Krishnakant wrote: > > On Tue, 2009-01-13 at 21:51 -0800, Chris Rebert wrote: > >> Assuming all the classes are in the same module as the main program: > >> > >> instance

Re: initialising a class by name

2009-01-14 Thread Krishnakant
ses mapped with the name? happy hacking. Krishnakant. On Wed, 2009-01-14 at 07:50 +, Steven D'Aprano wrote: > On Wed, 14 Jan 2009 11:16:58 +0530, Krishnakant wrote: > > > hello all, > > I have a strange situation where I have to load initiate an instance of > > a c

Re: initialising a class by name

2009-01-14 Thread Krishnakant
odules I would need at the top of the main module. then would use getattr(module,class_name) will that work? or do I need to import in some other way? happy hacking. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

Re: initialising a class by name

2009-01-14 Thread Krishnakant
s from some global variable which can be accessed and then looped through. happy hacking. Krishnakant. > regards > Steve -- http://mail.python.org/mailman/listinfo/python-list

Re: initialising a class by name

2009-01-14 Thread Krishnakant
On Wed, 2009-01-14 at 00:39 -0800, Chris Rebert wrote: > On Wed, Jan 14, 2009 at 12:36 AM, Krishnakant wrote: > > On Wed, 2009-01-14 at 00:20 -0800, Chris Rebert wrote: > >> Aside from Steven's excellent idea, to use the getattr() technique > >> with your module sc

confused about publishing more than one class in twisted server.

2009-01-16 Thread Krishnakant
example I have classes to get and set vendor, product, bills etc. now all this has to be accessed through the xml rpc service. Can some one tell me how to manage the entire twisted package as a service. happy hacking. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

need help from some one who uses python-ooolib

2009-02-12 Thread Krishnakant
hello all, Has any one used python-ooolib to create open office spreadsheets? I want to know the method of merging cells using the library's calc class. happy hacking. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python interface to ODF documents?

2009-02-15 Thread Krishnakant
hello look at python-ooolib it can do what ever is needed and more. happy hacking. Krishnakant. On Sun, 2009-02-15 at 21:10 +0100, Tino Wildenhain wrote: > Hi, > > Dotan Cohen wrote: > > Is there a Python interface to ODF documents? I'm thinking of > > something tha

%s place holder does not let me insert ' in an sql query with python.

2008-12-15 Thread Krishnakant
ne know what is the way out of this? how do you let the ' go as a part of the string? I have used %s as placeholder as in queryString = "insert into venders values ('%s,%s,%s" % (field1,field2,field3 ) ... This is not working for the ' values. can any one sugge

Re: %s place holder does not let me insert ' in an sql query with python.

2008-12-15 Thread Krishnakant
l can get a lot of utility out of the function. This only becomes a problem when an ' comes in the value. So I need help to fix the problem with the given context. happy hacking. Krishnakant. On Mon, 2008-12-15 at 07:21 -0600, Lamonte Harris wrote: > sorry about that > > queryString = &

Re: %s place holder does not let me insert ' in an sql query with python.

2008-12-15 Thread Krishnakant
nd yes one had an ' in it. thanks again for all the help. happy hacking. Krishnakant. On Mon, 2008-12-15 at 12:35 -0500, Steve Holden wrote: > Lamonte Harris wrote: > > I had this problem too. If you've upgraded to python 2.6 you need to > > use the new sytnax "fo

Re: Python is slow

2008-12-21 Thread Krishnakant
that is one example. So conclusion is is how you enhance your program by utilising the best aspects of python. happy hacking. Krishnakant. On Sun, 2008-12-21 at 16:33 +, MRAB wrote: > Marc 'BlackJack' Rintsch wrote: > > On Sat, 20 Dec 2008 14:18:40 -0800, cm_gui wrote: > >

Re: Python's popularity

2008-12-22 Thread Krishnakant
given frameworks like twisted. happy hacking. Krishnakant. On Mon, 2008-12-22 at 12:59 -0500, Tommy Grav wrote: > On Dec 22, 2008, at 12:48 PM, walterbyrd wrote: > >> Now since Python *is not* the only language on it's block, we have to > >> compete with our main nemesis(Ruby) fo

searching for an easy library to create OpenOffice spreadsheets

2009-03-06 Thread Krishnakant
looked at ooolib but did not find a method for merging cells. any ideas? happy hacking. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

last and final attempt to search for python ods library.

2009-03-08 Thread Krishnakant
on this topic but seems there is no such library in python. Pritty strange that python can't do this much. So please tell me if any one knows of a good solution for my problem else I am forced to give up python for my task. happy hacking/ Krishnakant. -- http://mail.python.org/ma

Re: last and final attempt to search for python ods library.

2009-03-09 Thread Krishnakant
l try and dig that out ). happy hacking. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

Re: last and final attempt to search for python ods library.

2009-03-10 Thread Krishnakant
I tryed searching for py2odf but did ont find any results. > > Whoops. odfpy at > http://opendocumentfellowship.com/development/projects/odfpy > > but I strongly suspect you can do what you want with python-ooolib. > No buddy, I tryed with ooolib but now given up unless some one points out what I am missing. happy hacking. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

Re: last and final attempt to search for python ods library.

2009-03-10 Thread Krishnakant
d the documentation of odfpy pritty complex and does not have the kind of example which shows what you explained in the above code. And the problem is that I got a bit confused in the above code because my merging happens only in the top row and spanns columns not rows. I would be very happy if I

Re: last and final attempt to search for python ods library.

2009-03-10 Thread Krishnakant
g for py2odf but did ont find any results. > > > > Do you want me to continue on the previous thread (I will try and dig > > that out ). > > Nah, just hijack a third thread :-) > Thanks for that suggestion, I am not that multi threaded *smile*. I have fixt my mail problem

Re: last and final attempt to search for python ods library.

2009-03-10 Thread Krishnakant
old library and no development happens on it. happy hacking. Krishnakant. On Tue, 2009-03-10 at 23:44 +1100, John Machin wrote: > On 10/03/2009 10:35 PM, Krishnakant wrote: > >>> any ways thanks for your reply, > >>> Right now I am stuck very badly. > >>>

finally successful in ods with python, just one help needed.

2009-03-12 Thread Krishnakant
. the cell has a p (paragraph ) element with the style of centered text applied. cells are merged but no centering happens. Please let me know if any one wanted me to send the code off the list. Even better, if some one has a code snippid which can just do that. happy hacking. Krishnakant

Re: finally successful in ods with python, just one help needed.

2009-03-14 Thread Krishnakant
ced to download some thing they are not concerned about. > (c) contacting the author/maintainer of the odfpy package Done and awaiting the reply for last 4 days. It was then that I came to this thread. happy hacking. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

Re: finally successful in ods with python, just one help needed.

2009-03-14 Thread Krishnakant
r))) tr.addElement(tc) ods.save("ods-test.ods") m = makeods() m.make_ods() Still the text in the cell is not centered. happy hacking. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

Re: finally successful in ods with python, just one help needed.

2009-03-17 Thread Krishnakant
f any one would ever need this, please do write to me. Thanks to all again, specially David and John. happy hacking. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python + PostgreSQL

2009-03-17 Thread Krishnakant
n-psycopg2 is the most commonly used DBAPI implementations for postgresql. happy hacking. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

confused with creating doctest in xmlrpc server

2009-04-03 Thread Krishnakant
s the solution? happy hacking. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

Re: Can someone explain about the usage of unittest.TestSuite?

2009-04-09 Thread Krishnakant
; Srini > Isn't that pritty simple and streight? test suite is used when you want to combine the different test cases. you can find more insight into this at http://www.eecho.info/Echo/python/test-driven-development-in-python/ happy hacking. Krishnakant -- http://mail.python.org/mailman/listinfo/python-list

Re: need to start a new project , can python do all that ?

2009-04-15 Thread Krishnakant
canner and input pictures from it. > Internationalisation is there in almost every language these days and python is no exception. happy hacking. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

can python access OS level features like bash scripting?

2009-04-19 Thread Krishnakant
he professional organisations alive so may be I will get a solution to my problem soon. happy hacking. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

Re: can python access OS level features like bash scripting?

2009-04-19 Thread Krishnakant
sorry, but I was not replying to another thread. My mistake. happy hacking. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

Re: can python access OS level features like bash scripting?

2009-04-19 Thread Krishnakant
read. sorry again. I hope this becomes a new thread now and I get some productive reply. happy hacking. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python interpreter speed

2009-04-19 Thread Krishnakant
heavy load on them and do a lot of number crunching and complex calculations. happy hacking. Krishnakant. On Sun, 2009-04-19 at 18:11 +0200, Ryniek90 wrote: > Hi. > > Standard Python interpreter's implementation is written in C language. C > code while compilation, is compilled

Re: can python access OS level features like bash scripting?

2009-04-19 Thread Krishnakant
can still install the package on that machine. So will it be a good idea to let distutils do every thing I had described about putting files in the place and having the script copyed to /usr/bin etc? happy hacking. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python interpreter speed

2009-04-20 Thread Krishnakant
taken as generalisations. happy hacking. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

confused with so many python package locations for imports

2009-04-24 Thread Krishnakant
paths for many such locations ). Now my question is, which the perfect place? I would like to know if I write a distutils based setup.py for my application, then which is the place which I should choose? happy hacking. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

Re: confused with so many python package locations for imports

2009-04-25 Thread Krishnakant
o that an import statement can import the package no matter what distro of gnu/linux we are running. happy hacking. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

Re: confused with so many python package locations for imports

2009-04-25 Thread Krishnakant
I will later on think of fedora etc. happy hacking. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

Re: Connecting/talking to OpenOffice Base files

2009-04-28 Thread Krishnakant
cult for me and would take a while to understand. It is a kind of wrapper around the xml structure of an odf document. happy hacking. Krishnakant. > --deostroll > -- > http://mail.python.org/mailman/listinfo/python-list -- http://mail.python.org/mailman/listinfo/python-list

problem with money datatype based calculations in python

2009-05-02 Thread Krishnakant
the VAT is 5% and this 5% is stored in float datatype. So after using both these values the resulting total 105Rs. should be in money type and not float. I awaite some reply, Thanks in advice. happy hacking. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

interesting float to money conversion problem

2009-05-02 Thread Krishnakant
tal 105Rs. should be in money type and not float. > > I awaite some reply, > > Thanks in advice. > > happy hacking. > > Krishnakant. > > > > -- > > http://mail.python.org/mailman/listinfo/python-list -- http://mail.python.org/mailman/listinfo/python-list

Re: problem with money datatype based calculations in python

2009-05-02 Thread Krishnakant
be pritty sure about any module I am using. happy hacking. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

Re: problem with money datatype based calculations in python

2009-05-03 Thread Krishnakant
nd me some tutorial off the list. happy hacking. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

Re: Which python version do I use with "virtualenv"?

2009-05-07 Thread Krishnakant
because I feel easy install won't work with python2.6 happy hacking. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

Re: Which python version do I use with "virtualenv"?

2009-05-07 Thread Krishnakant
p a seperate python2.5 in some different directory and have ve use it. would just like to know how I can get ve to use that installation and not the one on my system by default. happy hacking. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

Re: How can i use Spread Sheet as Data Store

2009-05-18 Thread Krishnakant
etc. happy hacking. Krishnakant. On Mon, 2009-05-18 at 16:31 +0530, Kalyan Chakravarthy wrote: > Hi All, > I have data in Spread Sheet ( First Name and Last Name), > how can i see this data in Python code ( how can i use Spread Sheet > as Data Store ) . > > --

Re: issue: Permissions in odfpy

2009-05-19 Thread Krishnakant
Through the python code, chmod 400 happy hacking. Krishnakant. On Tue, 2009-05-19 at 12:21 +0530, shruti surve wrote: > hey, > i am using odfpy and generating spreadsheet in open office..but > nobody should modify the file..so can anybody tell me how can we give > permissions (r

Re: Performance java vs. python

2009-05-19 Thread Krishnakant
ntly developing a major application and it is currently using the twisted library for xmlrpc and there is a thin client in pygtk. Right now we are in the process of moving it to turbogears2 and so far performance on both the ends have been good. happy hacking. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

Re: Are Python-based web frameworks reliable enough?

2009-05-25 Thread Krishnakant
p requests and responses. let that be taken care by the best tool (apache ) and let your application handle how to manage the logic and send out views. > 3. What about performance as compared to equivalent PHP/MySQL apps? > Performance is very good if you use the right tool in t

Re: Help in wxpython

2009-12-02 Thread Krishnakant
topic, but, I would really recommend you to use pygtk instead of wx. For one thing, the developers at pygtk are very active (they have their mailing list as well ) and it comes by default with python on almost all linux distros. You can also easily install it on windows. Most important, the api for pygtk is closely similar to wx. Not to mention the quick responses you will get with pygtk related problems. Happy hacking. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

Re: twenty years ago Guido created Python

2010-01-01 Thread Krishnakant
he extreme experts who need the power and performance nicely balanced. Great work! happy hfacking. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

Re: Business issues regarding adapting Python

2009-09-27 Thread Krishnakant
On Sun, 2009-09-27 at 00:13 -0700, Nash wrote: > Hello everyone, > Salam Valicum. I am Krishnakant from Mumbai India and in our country case was exactly the same but now pritty different in just a matter of few years. I have answered your queries inline with your questions so read on. >

Re: Business issues regarding adapting Python

2009-09-27 Thread Krishnakant
r ask them which programming language they know and never take them on the basis of how good they are in comparison to that language for my projects (in python for example ). > It's widely acknowledged that hiring good people is a (the?) crucial > factor in the success of programming endeavors. "Good" programmers, > almost by definition, will be able to handle learning python without > problems. + the easy and power of python. Happy hacking. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python book

2009-09-30 Thread Krishnakant
te level. another good book is dive into python. > Mail me off the list if you want the soft book in compressed format. Happy hacking. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

Re: segmentation fault

2009-10-15 Thread Krishnakant
fault > > > can anyone kindly help me out Ankita, Do you get same result on many machines? If you can send the code to me off list I would check it for you. happy hacking. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

Re: python and Postgresq

2009-11-23 Thread Krishnakant
e general idea on how to work with Python & > RDBMS, which is nicely abstracted away from the actual database. Python-pgsql is a much better choice when it comes to big applications, specially if you are going to deal with xml-rpc. I have found that python-pgsql handles integers and othe

Re: Python & OpenOffice Spreadsheets

2009-11-23 Thread Krishnakant
Odfpy is a good module and is easy too. http://kk.hipatia.net/public/gnukhata/gnukhata-client/ has a deb package I built for ubuntu 9.04. I can even provide you the distutils tarball off the list (because I can't recall the url from I downloaded it, may be sourceforge ). Happy hacking. Krishnakant -- http://mail.python.org/mailman/listinfo/python-list

Re: copy a file

2009-07-14 Thread Krishnakant
e. seek till to the point where u want to start copying and loop till the end with readline function. then write it to the destination file. To find the starting point, keep looping through the content and come out of that loop when you find a match to the word you are looking for. happy hacki

Re: select lines in python

2009-07-15 Thread Krishnakant
ch line against your expected phrase and the moment you find one, do the actions you need such as writing to a file. happy hacking. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

challenging problem for changing to a dedicated non-privileged user within a script.

2009-07-22 Thread Krishnakant
;t know how to tell the script to change user. happy hacking. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

Re: challenging problem for changing to a dedicated non-privileged user within a script.

2009-07-23 Thread Krishnakant
. > You have another problem then: your password must be supplied unless the > NOPASSWD flag is set in the sudoers file. > That is clear, the only problem is that I want the script to run as postgres user although it was started by the user kk. happy hacking. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

Re: challenging problem for changing to a dedicated non-privileged user within a script.

2009-07-23 Thread Krishnakant
my concern is, will the connection object in the child process (subprocess) be available to the parrent process? happy hacking. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

Re: Building / making an application

2009-08-02 Thread Krishnakant
? Most of the documentation for deb or rpm will talk about make files. But even a distutil based python package (with a setup.py) can be made into a deb package. Then the your requirement will be satisfied at least for most gnu/linux based distros. happy hacking. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

a newbi problem: can't find complete python curses library

2006-11-02 Thread krishnakant Mane
hello, I am a new member to this list. I am Krishnakant from India, Mumbai. I have been coding in python for quite some time and now I am at the intermediate level of programming as far as python is concerned. I am going to develop a accounting software that can work on the console and accessed

Re: Secure Python

2006-11-16 Thread krishnakant Mane
critical project. may be I will also use zope. so I will like to know how far I can trust python for security in its absolute (platform independent ) sence? I mean running unwanted code at run-time etc. thanks. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

how to print pdf with python on a inkjet printer.

2006-11-16 Thread krishnakant Mane
python? or is it that I will have to use the wxpython library asuming that there is a print dialog which can open up the list of printers? if wx python and gui is the only way then it is ok but I will like to keep this application on the ncurses side. thanks. Krishnakant. -- http://mail.python.org

python and accessibility issues.

2006-11-16 Thread krishnakant Mane
python or any other gui library that is having support for MSAA built in. thanking all. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

Re: how to print pdf with python on a inkjet printer.

2006-11-17 Thread krishnakant Mane
rs under windows? so in future if I make this software in GUI, I can at list help the user select the printer from the list. thanks, Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

Re: how to print pdf with python on a inkjet printer.

2006-11-17 Thread krishnakant Mane
ed to download it. I tried to search but did not find it. what is the url for this module and does it also have documentation. thanking you. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

please help me choose a proper gui library.

2006-11-18 Thread krishnakant Mane
or. 5. if I am supposed to also distrubute qt with PYQT, how do I plan the deployment of my ready software? thanking all. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

Re: please help me choose a proper gui library.

2006-11-18 Thread krishnakant Mane
me right now. can you please give me any links possible for having a binary qt installer that will also install dlls required by PYQT? and how will I be able to determine what dll files and what other components I will need to ship with my installer? thanks. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

Re: please help me choose a proper gui library.

2006-11-18 Thread krishnakant Mane
great but I don't want to use glade. I will like a simple ide where I can do hand coding. I am going to try python with eclipse. thanks, Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

question on pygtk and accessibility on windows.

2006-11-30 Thread krishnakant Mane
hope to at least get a "yes " or "no " answer on whether py gtk is accessible with windows. thanks. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

Re: python vs java & eclipse

2006-12-01 Thread krishnakant Mane
urn key as it always does? Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

Re: good documentation about win32api ??

2006-12-01 Thread krishnakant Mane
an a good python programmer, but I can't find the link between the two. there are modules but no good documentation. krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

Re: python vs java & eclips

2006-12-01 Thread krishnakant Mane
s to 4 even when I entered tom. that's why it always goes in the else claws. but when I ran the same script from a command promt the length of name returned 3 when tom was entered and the code worked fine. I can't understand why is this happening? why is eclipse putting an extra charac

can't figure out how to create menus in urwid

2006-12-01 Thread krishnakant Mane
hello, I have been trying out urwid for creating ncurses based applications. I will like to know if any one has ever tried to create menu bar with drop down menus using urwid? any suggestion? Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

evaluating gui modules, any experience on tkinter?

2006-12-02 Thread krishnakant Mane
st at that. please give me some advice. thanking all. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

wxpython worked out but can't find api docs for download.

2006-12-02 Thread krishnakant Mane
ncive api references for events and other methods, properties and attributes. can some one point me to a .zip or .tar.gz version of the api docs for wxpython? thanking all. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

Re: wxpython worked out but can't find api docs for download.

2006-12-02 Thread krishnakant Mane
ng such a beautiful library as a wrapp around the c++ equivalent, it is rather unjustified to look at the c++ version of documentation isn't it? so if there is a api reference similar to the one available on-line, please provide the url for the same. thanking all. Krishnakant. -- http://mail.pyth

Re: evaluating gui modules, any experience on tkinter?

2006-12-02 Thread krishnakant Mane
rence and all the docs for wx widgets. but what is the point in first studying the c++ version and then translating the same back to python when a library is already been translated and there to be used? Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

Re: wxpython worked out but can't find api docs for download.

2006-12-03 Thread krishnakant Mane
hi pol, thanks for your helpful suggestion. I tried it but nothing seams to work. I can't get the folder containing html files as you suggested. can you kindly attach a .zip archive of your generated folder as a privat email to me? I will be really thankful. Krishnakant. -- http://mail.pytho

problem formatting dates from text fields.

2006-12-03 Thread krishnakant Mane
how want to convert it back to actual date in the same dd/mm/ format and send this as a value to my date time picker. how can I achieve this? thanking all. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

please provide urls for some python success stories.

2006-12-03 Thread krishnakant Mane
m getting is "y! even java can do this and java is much faster!" I am really adicted to python due to its superiority and efficiency and the amount of libraries. but I need some strong official efidence. Please help me, I don't want to leave python. Krishnakant. -- http://mail.pyth

Re: problem formatting dates from text fields.

2006-12-03 Thread krishnakant Mane
ed > by space, comma, -, :, or / > the format in the text field is dd/mm/ which is perfect for what I need. but the problem as I said is to get this text into a value that can fit into a date time picker. can this be done? Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

Re: problem formatting dates from text fields.

2006-12-03 Thread krishnakant Mane
is there a soft copy of wxpython in action available for free download? I saw the book on my book store but since I am totally blind, I have to depend on soft copies. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

is there a tutorial for creating packages in python?

2006-12-08 Thread krishnakant Mane
libraries as huge as wxpython etc. thanking all. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

Re: need guidance on sending emails with attachment with python.

2006-12-11 Thread krishnakant Mane
use of outlook or any thing to do my work. I know the python libraries are there but I want to know what these libraries will make use of on my windows machine. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

Re: need guidance on sending emails with attachment with python.

2006-12-11 Thread krishnakant Mane
ender, arrRecipients, > mssg.as_string()) > > if smtpresult: > errstr = "" > for recip in smtpresult.keys(): > errstr = """Could not delivery mail to: %s > > Server said: %s > %s > > %s"""

issues with making a package. where do classes link?

2006-12-11 Thread krishnakant Mane
me package I can't figure how python figures it out? I want every thing in a single package. so that's my confusion. thanks. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

can't find a suitable application server

2006-12-30 Thread krishnakant Mane
and receave data through that socket to the thin client and put the actual business logic on a seperate machine or on the database server what ever. thanking all. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

inspite of proper package structure, no module named xyz error.

2007-07-12 Thread krishnakant Mane
mainwindow. kindly help. regards, Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

how good does PyGTK work on windows?

2007-07-16 Thread krishnakant Mane
experiences with installing and running pygtk on windos? any links for downloading proper packages will be highly appreciated. regards, Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

is there a module to work with pickled objects storage in database?

2007-05-04 Thread krishnakant Mane
there should be ways of storing a pickled object other than file. Please guide me on this issue. regards. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

problem with quoted strings while inserting into varchar field of database.

2007-05-06 Thread krishnakant Mane
can some one suggest how to work around this problem? regards, Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

Re: problem with quoted strings while inserting into varchar field of database.

2007-05-06 Thread krishnakant Mane
uch reference to storing pickled objects in the API. any Idea what could be done with the mysql python module I am using? regards, Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

Latest errors on pickled objects and blob datatypes in mysql

2007-05-07 Thread krishnakant Mane
hello, finally the errors for my sql query have changed so I have even changed the thread subject because I feel now that this is not doable in mysql and this seams to be a bug, ither in python or the MySQLdb module or perhaps both. my table is called testobj and the blob field is called obj. now f

which is the comprehencive module for postgresql?

2007-05-18 Thread krishnakant Mane
. and seams that PyGreSql is non-free? please suggest a suitable driver. by the way I will also be using bynary large objects. so that support must be included. regards, Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list

problems playing with dates from any month.

2007-08-02 Thread krishnakant Mane
ich I can convert a given string to a date object. for example if I have a string "29/09/2005", I know it is a valid date although it is in a string form. now I want to convert the above string into a real date object. how can I cast it this way? regards, Krishnakant. -- http://mail.pyt

  1   2   >