Nagy László Zsolt writes:
> Problem solved!
Congratulations. And thank you for reporting the succesful resolution :-)
--
\ “It is clear that thought is not free if the profession of |
`\ certain opinions makes it impossible to earn a living.” |
_o__) —Bertrand Russell, _
To answer my own question:
- You can convert a firebird 1.5 database into 2.5 with this tool:
http://gsbelarus.com/gs/fdbconvert/fdbconvert_eng.html
- You can install firebird 2.5 instead of 1.5. Old BDE based program
will still work with it, because the Firebird 2.5 server can talk with a
1.5 c
Hi!
I have an old HIS program written in Delphi. It uses Firebird 1.5
database. I need to make an interface to exchange data with other
healthcare providers. I do not want to do this in Delphi, that is
ancient code. It is also not an option to rewrite the whole program from
scratch. I just need
bruce wrote:
Hi Esmail.
I've not looked at the site. however, i can give you some general pointers
that might help you in solving your issue.
Excellent advice, thanks for pointing me in those directions. I am not
familiar with curl but will take this as an opportunty to learn about it.
I think
douglas=earthlink@python.org]on Behalf
Of Esmail
Sent: Thursday, April 09, 2009 2:47 PM
To: python-list@python.org
Subject: is this possible (getting info off web page)
Hi,
I am trying to keep track of two flight bookings on the kayak.com
web site, and would like to automate my query using Pyth
Hi,
I am trying to keep track of two flight bookings on the kayak.com
web site, and would like to automate my query using Python. If I
enter the url below myself into the browser, a form gets filled
out and the site searches for flights. I would love to be able to
have a simple python script whi
thanks Paul,
your solution works very well.
cheers,
Stef
Paul Hankin wrote:
On Jul 23, 9:58 am, Stef Mientki <[EMAIL PROTECTED]> wrote:
You could use version() instead of module.version(), and just
declare 'version' in one place. Presumably you already have a module
for getting the m
On Jul 23, 9:58 am, Stef Mientki <[EMAIL PROTECTED]> wrote:
> hello,
>
> I'm looking for a way to remove duplicate code.
> The problem is this:
> In all my modules I've version information,
> containing version information, date, author, testconditions etc,
> something like this:
>
> Version_Text =
hello,
I'm looking for a way to remove duplicate code.
The problem is this:
In all my modules I've version information,
containing version information, date, author, testconditions etc,
something like this:
Version_Text = [
[ 0.2, '10-02-2008', 'Stef Mientki',
'Test Conditions:', (1,2),
_(0, """
Steven D'Aprano wrote:
>
> Doesn't work for me either:
>
> >>> def magic(arg):
> ... import inspect
> ... return inspect.stack()[1][4][0].split("magic")[-1][1:-1]
> ...
> >>> magic(3+4)
> Traceback (most recent call last):
> File "", line 1, in ?
> File "", line 3, in magic
> TypeErro
On Tue, 14 Mar 2006 13:33:01 -0800, alainpoint wrote:
>
> Kay Schluehr wrote:
>> [EMAIL PROTECTED] wrote:
>> > jalanb wrote:
>> > > You might like the version here:
>> > > http://www.jorendorff.com/toys/out.html
>> > >
>> > > Especially the "need to know" presentation, which is cute
>> > >
>> > >
Kay Schluehr wrote:
> [EMAIL PROTECTED] wrote:
> > jalanb wrote:
> > > You might like the version here:
> > > http://www.jorendorff.com/toys/out.html
> > >
> > > Especially the "need to know" presentation, which is cute
> > >
> > > --
> > > Alan
> > > http://aivipi.blogspot.com
> >
> > Thank you f
[EMAIL PROTECTED] wrote:
> jalanb wrote:
> > You might like the version here:
> > http://www.jorendorff.com/toys/out.html
> >
> > Especially the "need to know" presentation, which is cute
> >
> > --
> > Alan
> > http://aivipi.blogspot.com
>
> Thank you for the tip.
> Meanwhile, I found a shorter s
jalanb wrote:
> You might like the version here:
> http://www.jorendorff.com/toys/out.html
>
> Especially the "need to know" presentation, which is cute
>
> --
> Alan
> http://aivipi.blogspot.com
Thank you for the tip.
Meanwhile, I found a shorter solution to my problem:
def magic(arg):
i
"jalanb" wrote:
> You might like the version here:
> http://www.jorendorff.com/toys/out.html
which only works if 1) you're using a Python implementation that supports
those attributes, 2) the source code is available, 3) the expression is written
on a single line, and 4) you don't use confusing c
You might like the version here:
http://www.jorendorff.com/toys/out.html
Especially the "need to know" presentation, which is cute
--
Alan
http://aivipi.blogspot.com
--
http://mail.python.org/mailman/listinfo/python-list
On 2006-03-13, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hello again,
> I am disappointed.
Yea, life's like that.
Sucks, eh?
--
Grant Edwards grante Yow! ... The waitress's
at UNIFORM sheds TARTAR SAUCE
[EMAIL PROTECTED] wrote:
> I don't want a better way, i just want a solution to the problem as
> described!
any special reason you cannot use Python to write Python programs,
instead of demanding that someone else wastes time inventing a non-
portable solution to a braindead problem?
what's wron
[EMAIL PROTECTED] writes:
> I don't want a better way, i just want a solution to the problem as
> described!
I once did something like:
try:
raise ValueError
except ValueError, e:
pass
then get the traceback object out of e, and snarf the relevant source
line as mentioned before.
--
Hi Kent,
My intention is to be able to retrieve any line of code in a running
program, in the following way:
def magic_funct(s):
for line in file(s.gi_frame.f_code.co_filename):
print line
magic_funct(i for i in [1,2,3])
I just find it stupid to be obliged to use a generato
[EMAIL PROTECTED] wrote:
> Hello again,
> I am disappointed. You are the experts, you've got to try harder ;-)
> What i want is a generalisation of this tiny function:
Why? Maybe we can find a better way...
Kent
--
http://mail.python.org/mailman/listinfo/python-list
Hello again,
I am disappointed. You are the experts, you've got to try harder ;-)
What i want is a generalisation of this tiny function:
import tokenize
import token
def magic_function(s):
readline = open(s.gi_frame.f_code.co_filename).readline
for t in
tokenize.generate_tokens(open
Hi
I don't think this is what you want (a string representation of the
argument passed to a function as that argument is at runtime is way
beyond my abilities), but this can retrieve the literal text in the
function call as it appears in the .py file, assuming you have the .py
file available a
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi
>
> I wonder if Python is capable of the following: define a function which
> returns its argument.
> I mean:
> def magic_function(arg):
>.. some magic code ...
>
> that behaves the following way:
>
> assert magic_functi
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> Hi
>
> I wonder if Python is capable of the following: define a function which
> returns its argument.
> I mean:
> def magic_function(arg):
> .. some magic code ...
>
> that behaves the following way:
>
> assert magic_funct
Kay Schluehr wrote:
> Storing arguments away before they are evaluated doesn't work in
> Python. You have to hack the compiler in order to access the parsetree.
> You might take a look at the compiler package of the standard library
> that enables access to ASTs. Thus you could define lazy evaluat
[EMAIL PROTECTED] wrote:
> Hi
>
> I wonder if Python is capable of the following: define a function which
> returns its argument.
> I mean:
> def magic_function(arg):
> .. some magic code ...
>
> that behaves the following way:
>
> assert magic_function(3+4)=="3+4"
> assert magic_funct
Paul Rubin wrote:
> [EMAIL PROTECTED] writes:
>> assert magic_function(3+4)=="3+4"
>> assert magic_function([i for i in range(10)])=="i for i in range(10)]"
>>
>> It is not trivial at all and might require some bytecode hacking that i
>> am unable to do myself BUT you are the experts ;-)
>
> Guhhh
[EMAIL PROTECTED] writes:
> assert magic_function(3+4)=="3+4"
> assert magic_function([i for i in range(10)])=="i for i in range(10)]"
>
> It is not trivial at all and might require some bytecode hacking that i
> am unable to do myself BUT you are the experts ;-)
Guhhh... you'd want to use the tr
Hi
I wonder if Python is capable of the following: define a function which
returns its argument.
I mean:
def magic_function(arg):
.. some magic code ...
that behaves the following way:
assert magic_function(3+4)=="3+4"
assert magic_function([i for i in range(10)])=="i for i in range(
On Saturday 23 July 2005 03:26 am, Steven D'Aprano wrote:
> On Fri, 22 Jul 2005 07:59:42 -0700, scrimp wrote:
> As others have suggested, if you have to deal with PDF files without
> Acrobat, you could use ghostscript. Also pre-installed on many versions
> of Linux, and probably other Unixes as wel
On Fri, 22 Jul 2005 07:59:42 -0700, scrimp wrote:
> I am using reportlab not to generate PDF files,
Isn't that amazing! I'm also using reportlab not to generate PDF files
too! I installed the program, and it just sits there, not generating as
many PDF files as I don't want for as long as I don't
scrimp wrote:
> I am using reportlab not to generate PDF files, but I want to be able
> to print them without having to install acrobat reader. I looked
> through the users guide and found nothing about printing to a printer
> (programmatically). I want to be able to automate the printing of
> repo
I am using reportlab not to generate PDF files, but I want to be able
to print them without having to install acrobat reader. I looked
through the users guide and found nothing about printing to a printer
(programmatically). I want to be able to automate the printing of
reports when they are availa
Yeah, Acrobat Reader is for viewing PDF's, not creating them.
See http://www.reportlab.org/ for a couple of mature PDF libraries.
--
http://mail.python.org/mailman/listinfo/python-list
On Friday 22 July 2005 08:26 am, scrimp wrote:
> Is it possible to print a PDF file using python without having acrobat
> reader installed on the machine??
Sure, there are several free-licensed PDF readers. Perhaps the
most obvious is Ghostscript ("gs") which can interpret PDF as
well as Postscri
Is it possible to print a PDF file using python without having acrobat
reader installed on the machine??
--
http://mail.python.org/mailman/listinfo/python-list
37 matches
Mail list logo