balanced.
Great work!
happy hfacking.
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
will get with pygtk related
problems.
Happy hacking.
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
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 other such postgresql datatypes
better.
Happy hacking.
Krishnakant.
--
http://mail.python.org/mailman
.
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
me off the list if you want the soft book in compressed format.
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.
I'm a big
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
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
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
to the parrent process?
happy hacking.
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
to change user.
happy hacking.
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
such as writing to a file.
happy hacking.
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
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 hacking.
Krishnakant
about performance as compared to equivalent PHP/MySQL apps?
Performance is very good if you use the right tool in the right place.
This is the biggest advantage of some web frameworks like pylons or tg
over other.
happy hacking.
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python
Through the python code,
chmod 400 filename.ods
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 (read only
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
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 ) .
--
Regards
Kalyan
because I feel easy install won't work with
python2.6
happy hacking.
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
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
.
Krishnakant.
--
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
. and in the tax table for that product 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
I am using.
happy hacking.
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
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
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
of fedora etc.
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
.
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
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
sorry, but I was not replying to another thread.
My mistake.
happy hacking.
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
reply.
happy hacking.
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
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 into machine code
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
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
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
is the solution?
happy hacking.
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
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
for
postgresql.
happy hacking.
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
, I can
send an attachment off the list so that others are not forced 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
is not centered.
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
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
row and spanns columns not rows.
I would be very happy if I could get the code wich creates a set of
merged cells in a single row with some data in it.
I managed to do the odt part in the odfpy because the examples were
there and well documented.
happy hacking.
Krishnakant.
--
http
a third thread :-)
Thanks for that suggestion, I am not that multi threaded *smile*.
I have fixt my mail problem now so every things seems to be fine (untill
i hyjak another thread by accident LOL!).
happy hacking.
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
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.
The problem is that I am trying python-ooolib
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/mailman
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 that will import, for example, an ADS
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
.
for 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 Tue, 2009-01-13 at 23:55 -0800, Chris Rebert wrote:
On Tue, Jan 13, 2009 at 11:49 PM, Krishnakant krm...@gmail.com 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 = vars()[class_name](args, to, init
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 class at run-time with the name given by the user
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
and then looped through.
happy hacking.
Krishnakant.
regards
Steve
--
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 krm...@gmail.com 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 scheme you'd probably also
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.python.org
getattr and var()?
Cheers,
Chris
happy hacking.
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
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) for survival
I think both python
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:
Seriously cm_gui, you're
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 suggest a suitable solution?
happy hacking.
Krishnakant.
--
http
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 = insert into venders
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 format
queryString = insert into venders
values
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/2008, Derek
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
it.
else, if there is any other module, please recommend so.
happy hacking.
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
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.
let's say I have file1 and file2 where file2 contains
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
it
in the browser.
so please help on this one.
with regards,
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
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
function.
can some one correct me?
regards,
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
is that 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
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
database.
The only strange thing here is that you think
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
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
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.python.org/mailman
,
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
their 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
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
Idea what could be done with the mysql python module I am using?
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
?
regards,
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
and 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
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
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
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
it.
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
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
to .odt with the
formatting information.
can this be made possible?
thanks and 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
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
use wxpython for gui.
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.
Krishnakant
is this?
regards.
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 this
Use mod_python with some xmlrpc handler. There is more than one around.
Google for them. That way you can keep Apache for both Python and PHP.
I am confused.
I have some documents on xml-rpc but none of them mentioned apache.
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
1 - 100 of 133 matches
Mail list logo