he extreme experts
who need the power and performance nicely balanced.
Great work!
happy hfacking.
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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
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
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
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
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.
>
?
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
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
.
> 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
;t
know how to tell the script to change user.
happy hacking.
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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
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
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
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 ) .
>
> --
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
because I feel easy install won't work with
python2.6
happy hacking.
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
nd me some tutorial off
the list.
happy hacking.
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
be pritty sure about any module I am using.
happy hacking.
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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
I will later on think of fedora etc.
happy hacking.
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
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
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
taken as
generalisations.
happy hacking.
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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
sorry, but I was not replying to another thread.
My mistake.
happy hacking.
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
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
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
; 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
s the solution?
happy hacking.
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
n-psycopg2 is the most commonly used DBAPI implementations for
postgresql.
happy hacking.
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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
.
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
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.
> >>>
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
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
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
l try and dig
that out ).
happy hacking.
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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
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
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
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
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
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
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
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
>
Can you explain the difference between getattr and var()?
> Cheers,
> Chris
>
happy hacking.
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
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.
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
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:
> >
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
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 = &
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
lthough as fellow hackers rightly said on this thread previously,
there is no harm learning some languages like java which have long
life.
Keep away from rubbish like c# and similar .net based language.
They are very short lived and lak many powerfull features.
Happy hacking.
Krishnakant.
On 22/08/2
t; some thing is
great and python is rubbish. every language has its value and vb is
not a language in the first place. python is made with a view that it
is usefull for all purposes and it has been so far successful and I
don't really care why it is done in c as long as it does the work.
happy hacking.
Krishnakant.
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
http://mail.python.org/mailman/listinfo/python-list
o use it.
else, if there is any other module, please recommend so.
happy hacking.
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
question
that.
happy hacking.
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
On 23/01/2008, Paul Hankin <[EMAIL PROTECTED]> wrote:
> On Jan 22, 6:57 pm, "krishnakant Mane" <[EMAIL PROTECTED]> wrote:
> > hello all,
> > I have a bit of a confusing question.
> > firstly I wanted a library which can do an svn like diff with two files.
hello all,
I have a bit of a confusing question.
firstly I wanted a library which can do an svn like diff with two files.
let's say I have file1 and file2 where file2 contains some thing which
file1 does not have. now if I do readlines() on both the files, I
have a list of all the lines.
I now wan
ating an html file and I just need to display it
in the browser.
so please help on this one.
with regards,
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
ox )
opens with page not found.
and the address bar shows the following address which indeed is wrong.
file:///home/krishna/"file:///home/krishna/documents/tut.html"
I can't understand what is happening.
regards,
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
o the open function.
can some one correct me?
regards,
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
hi George,
On 27/10/2007, George Sakkis <[EMAIL PROTECTED]> wrote:
> On Oct 27, 12:12 pm, "krishnakant Mane" <[EMAIL PROTECTED]>
> wrote:
>
> > I have one strange requirement,
> > I need to create html files through python and add some data from the
>
how do I do it?
should I create a normal file object and write the html with the data
into it or are there some modules to do it?
regards,
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
quot;16/10/2007" into a date object which I can then compare with the
current date created by datetime.now().
is that right?
if yes then please explain me how I can get the delta object to give
me results in days.
regards,
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
7;t know how to calculate difference in days between
today and the string converted date.
any help will be appreciated.
regards,
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
his was much better than the documentation, thanks,
regards,
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
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
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
mainwindow.
kindly help.
regards,
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
.
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
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
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
can some one
suggest how to work around this problem?
regards,
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
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
direct objects?
if not then should a pickeled object wrapped inside a file and then
stored in a database?
regards.
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
itself. again I may be wrong and some one
might point me to the possible problems with this aproach in the long
run.
regards.
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
my wx based gui?
for example I want to fill up a list box with data that came from the
rpc server to the client and then some how looping through the
elements sent over and putting into a list.
regards.
Krishnakant
--
http://mail.python.org/mailman/listinfo/python-list
at we need
both way conversion.
> Just out of curiosity, why not just download OpenOffice?
>
I wished I could use it out of the box.
but the problem is that open office does not provide any accessibility
on windows and on linux the work is going on.
regards.
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
.odt with the
formatting information.
can this be made possible?
thanks and regards,
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
u can
understand the meaning of it. and I wont want to again give the
meaning of the word because some one has already done it.
regards.
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
.
another way I find is to actually find out if there is a odt text box
that can display these files as they are.
viewing the contents of the files in an editable way is most important.
any suggestions?
regards.
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
os.start does not work.. attribute error.
regards.
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
well yes,
I need to view reports on line and also print them from within my app.
so yes I need to display the pdf in my app and print it as well.
regards.
Krishnakant
--
http://mail.python.org/mailman/listinfo/python-list
On 11/02/07, Vishal Bhargava <[EMAIL PROTECTED]> wrote:
> Are you trying to do real time or post real time.
> -Vishal
post real time.
I want to first display the report on screen by default and the user
at his choice will click the print button and the report will be
printed.
regards.
y the way I use wxpython for gui.
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
er.
I have reportlab installed and that is sufficient to generate pdf reports.
but I still can't fine the way to display it directly and print it directly.
Please help me.
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
On 09/02/07, Gabriel Genellina <[EMAIL PROTECTED]> wrote:
> At Friday 9/2/2007 02:10, you wrote:
>
> Please keep posting on the list - you'll reach a whole lot of people
> there...
sorry, I had just hit the reply button and did not notice that
python-list was not there.
>my crystal ball I can see t
?
regards.
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
1 - 100 of 134 matches
Mail list logo