IbPy - Interactive Brokers Python API
=
IbPy 0.5 Released 25 December 2005
What is IbPy?
--
IbPy is a third-party implementation of the API used for accessing the
Interactive Brokers
Lee Harr [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On 2005-12-23, Gary Herron [EMAIL PROTECTED] wrote:
You've got the visible/invisible aspect of things
*exactly* backwards.
The point on a line of text where things change
from white space to
non-white space is *highly*
On Fri, 23 Dec 2005 21:56:44 -0800, Paul Rubin wrote:
Steven D'Aprano [EMAIL PROTECTED] writes:
There are also known ways of deliberately constructing md5 collisions
(i.e. md5 is broken). Whether the OP should care about that depends
on the application.
Sure, but I don't he is
In message [EMAIL PROTECTED], twigster
[EMAIL PROTECTED] writes
Hi,
I need to display in real time the output of a command line tool in a
GUI written so far with Tkinter and Pmw. I've got a command line tool
that I want to integrate to a GUI. The parameters are set using the GUI
and a button
I trying to run some implementation of SOAP in Python. Iam using ZSI,
but iam little bit lost. I downloaded the official documentation, but
iam still not able to understand relations between objects (soapwriter,
typecode). Everything i can, is send a simple string via return value of
server
Thomas Wouters [EMAIL PROTECTED] writes:
But the odds of such a message having the same MD5 as an existing
song on his disk is quite a lot higher than 2**64, unless he has a really,
really large music collection ;) In the case you propose, two files don't
just need to have the same MD5, but
yepp schrieb:
Once you got the model of free and open source software you can't but shake
your head at obfuscating people treating their users as enemies.
Sorry but this is naive nonsense. Open source is a good model but
it can't be applied everywhere. Look at the following example:
There is a
hi all!
i just built revision 41809 under winxp using a rather uncommon
setup (at least i think so). since i have no visual studio here,
i only used freely available tools: cygwin to get the source, the
microsoft compiler/linker and NAnt (nant.sf.net) as the build tool
to interpret the
Is there any detailed debug tutorial for Pythonwin?
--
http://mail.python.org/mailman/listinfo/python-list
On Fri, 23 Dec 2005 07:52:54 -0800, infidel wrote:
Happy holidays to my fellow Pythonistas.
This will never get old. Reminds me of something on Slashdot:
Happy random day in december!
Maybe it's next year's version.
Merry Christmas :)
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I would like to suppress .pyc generation or have the .pyc generation in a
speical seperate root (I found something about PYCROOT). Has this been
implemented yet? Is there an environment variable or a command line switch
that suppresses .pyc generation?
Eddy
--
On 12/25/05, Peter Maas [EMAIL PROTECTED] wrote:
yepp schrieb:
Once you got the model of free and open source software you can't but shake
your head at obfuscating people treating their users as enemies.
Sorry but this is naive nonsense. Open source is a good model but
it can't be applied
There is a simple, though slightly ugly trick: if the directory where the python
module resides, is not writable to the python process, the python runtime will
silently ignore .pyc generation (as far as I know). It is not elegant, but it
works...
Ivan
Original Message
From:
There is a simple, though slightly ugly trick: if the directory where the python
module resides, is not writable to the python process, the python runtime will
silently ignore .pyc generation (as far as I know). It is not elegant, but it
works...
Ivan
Original Message
From:
Carl Friedrich Bolz wrote:
Luis M. González wrote:
...
So we will have two choices:
1) running normal python programs on Pypy.
2) translating rpython programs to C and compiling them to stand-alone
executables.
Is that correct?
Indeed. Another possibility is to write a PyPy extension
It was kindof a stupid mistake on my part: I had to put 'import os' at
the very beginning, and not only in one of my two function definitions.
Thanks anyway, thanks to your link I also found how to change the colour
of the console...neat :p !
Tim
Hans Nowak wrote:
tim wrote:
I want to
Thank you all.
--
http://mail.python.org/mailman/listinfo/python-list
Christian Tismer wrote:
This is not trying to split apart from PyPy, or to short-cut its
goals. I'm completely with PyPy's goals, and it will do much
more than RPython translation ever will, this is out of question.
Of course I meant this is beyond question :-)
--
Christian Tismer
Hello,
we are hosting a python coding contest an we even managed to provide a
price for the winner...
http://pycontest.net/
The contest is coincidentally held during the 22c3 and we will be
present there.
https://events.ccc.de/congress/2005/wiki/Python_coding_contest
Please send me comments,
o wrote:
plez send me
This is actually no bug but a feature. :-)
Well, I know what you mean.
The problem is created by the fact that in Python, functions
are first-class object which can be assigned, passed around,
inspected and whatever, as every other object can.
The drawback is that you
Simon Hengel wrote:
Hello,
we are hosting a python coding contest an we even managed to provide a
price for the winner...
http://pycontest.net/
Nice idea to have a contest, of course!
What I dislike a bit is the winning criterion:
Shortest possible Python module?
I'm envisioning lots of
Eddy I would like to suppress .pyc generation or have the .pyc
Eddy generation in a speical seperate root (I found something about
Eddy PYCROOT). Has this been implemented yet? Is there an environment
Eddy variable or a command line switch that suppresses .pyc generation?
Take a
Christian Tismer wrote:
Christian Tismer wrote:
This is not trying to split apart from PyPy, or to short-cut its
goals. I'm completely with PyPy's goals, and it will do much
more than RPython translation ever will, this is out of question.
Hi Christian,
I'd like to know, in your
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I'm envisioning lots of convoluted one-liners which
are more suitable to a different P-language... :-)
I feel that python is more beautiful and readable, even if you write
short programs.
How about best compromize between shortness and readibility
Christian Tismer wrote:
Simon Hengel wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I'm envisioning lots of convoluted one-liners which
are more suitable to a different P-language... :-)
I feel that python is more beautiful and readable, even if you write
short programs.
How about
Simon Hengel wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I'm envisioning lots of convoluted one-liners which
are more suitable to a different P-language... :-)
I feel that python is more beautiful and readable, even if you write
short programs.
How about best compromize between
Rocco Moretti wrote:
rbt wrote:
The TV show on NBC in the USA running this week during primetime (Deal
or No Deal). I figure there are roughly 10, maybe 15 contestants. They
pick a briefcase that has between 1 penny and 1 million bucks and then
play this silly game where NBC tries to buy
Luis M. González wrote:
I'd like to know, in your opinion, how far is the goal of making pypy
complete and fast?
Me too :-)
PyPy is doing a great job, that's for sure.
I'm hesitant with making estimates, after I learned what a bad
job I'm doing at extrapolation.
First I thought that we would
[EMAIL PROTECTED] wrote:
I've just started to test/learn python.
I've got Linux mandrake9 python documentation.
What I'll initially want to be doing needs file I/O, so I
wanted to confirm file I/O early in my tests.
Following the examples :
f=open('/tmp/workfile', 'w')
print f
open
Tim Hochberg wrote:
Christian Tismer wrote:
...
- Squeezing many lines into one using semicola does not help,
the program will be expanded to use one statement per line
- blank lines are allowed and not counted if they are not
needed as part of the code
These two would be easy to
Very often this doesn't work and I am forced to do ctrl+alt+del to quit
pythonwin from the task manager.
Is there a better way to interrupt my testruns when they hang ?
thank you,
Tim
--
http://mail.python.org/mailman/listinfo/python-list
Christian Tismer [EMAIL PROTECTED] wrote:
...
Maybe a compromize proposal could be like this:
- Squeezing many lines into one using semicola does not help,
the program will be expanded to use one statement per line
- blank lines are allowed and not counted if they are not
needed
Tim Hochberg [EMAIL PROTECTED] wrote:
...
These two would be easy to acomplish using something like:
def countchars(text):
n = 0
for line in text.split('\n'):
n += len(line.strip())
return n
This would ignore leading and trailing white space as well as blank
Neat idea!
I'm far from being a decent Python programmer but I managed (for fun)
to do it in a one-liner; however, it was definitely longer (in term of
number of characters) than the more readable multi-line solution.
André
--
http://mail.python.org/mailman/listinfo/python-list
Is there some standard way to signal not implemented yet in
unfinished code? When I'm coding, I'll often only flesh out one side
of a branch, or delay writing some method until later. It would be
nice to be able to identify these right in the code to make sure they
don't get forgotten about.
I
On Sun, 25 Dec 2005 18:05:37 +0100, Simon Hengel wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I'm envisioning lots of convoluted one-liners which
are more suitable to a different P-language... :-)
I feel that python is more beautiful and readable, even if you write
short programs.
Steven D'Aprano wrote:
On Sun, 25 Dec 2005 18:05:37 +0100, Simon Hengel wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I'm envisioning lots of convoluted one-liners which
are more suitable to a different P-language... :-)
I feel that python is more beautiful and readable, even if
[Roy Smith]
Is there some standard way to signal not implemented yet in
unfinished code?
raise NotImplementedError
That's a builtin exception.
...
--
http://mail.python.org/mailman/listinfo/python-list
J. D. Leach wrote:
Quick question as I am rather new to Python. What is the preferred tool
amongst you gurus to use in coding Python? I have ran across Eric3 and
found it to be pretty well full-featured. Any comments or suggestions for
better tools/IDE's?
J.D. Leach
I wouldn't say preferred
André schrieb:
Neat idea!
Indeed
I'm far from being a decent Python programmer but I managed (for fun)
to do it in a one-liner; however, it was definitely longer (in term of
number of characters) than the more readable multi-line solution.
I made a readable version with 352 bytes and a
www.antollma.org
--
http://mail.python.org/mailman/listinfo/python-list
I would suggest that all whitespace (except within string literals)
should be ignored, as well.
Good point, but i assume that is not possible with regular expressions.
Cheers, Simon
--
python coding contest - http://www.pycontest.net/
--
http://mail.python.org/mailman/listinfo/python-list
In article [EMAIL PROTECTED],
Tim Peters [EMAIL PROTECTED] wrote:
[Roy Smith]
Is there some standard way to signal not implemented yet in
unfinished code?
raise NotImplementedError
That's a builtin exception.
Ah, that's exactly what I was looking for. Thanks.
--
Simon Hengel wrote:
I would suggest that all whitespace (except within string literals)
should be ignored, as well.
Good point, but i assume that is not possible with regular expressions.
No, but a trivial task using the compiler.
they should have taken this as a second challenge :-) --
On December 15, Alex Martelli wrote:
Alternatively, counting Google hits:
rails python django 112,000
rails python subway 81,600
rails python turbogears 32,000
This isn't exactly buzz, of course, but it's SOME measure of critical
mass -- and with django about equal to
Definitely, characters. A high-granularity measure is essential to
reduce the chance of ties. Even so there may well be equal-first-place
winners -- hope they're not solved in terms of first submission, since
submitting at 14:00 UTC is WAY easier for Europe residents (residents of
the
One last comment:
This will work, I think, if and only if the Consolidating framework,
the one to be used to absorb the other(s) best aspects, makes immediate
and up-front, highly visible concession(s) so as to clearly
communicate a win-win scenario.
--
On Sun, 25 Dec 2005 19:14:43 -0500, rbt wrote:
Steven D'Aprano wrote:
On Sun, 25 Dec 2005 18:05:37 +0100, Simon Hengel wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I'm envisioning lots of convoluted one-liners which
are more suitable to a different P-language... :-)
I feel that
What is your algorithm for determining shortest program? Are you
counting tokens, lines or characters? Does whitespace count?
like:
$wc -c seven_seg.py
At the moment we have to live with characters, and yes whitespace
characters do count. Sorry for that.
Have fun,
Simon Hengel
--
python
Jan Niklas Fingerle [EMAIL PROTECTED] wrote:
the templating language (Cheetah vs Kid). Those will be points of
(as far as depend might go) the Kid funtionality (i.e. importing
ElementTree-s as sub-trees, and ElementTree is part of the heart of my
application logics).
If I might add:
Roy Smith wrote:
How do other people do this?
raise NotImplementedError, I chose not to implement this because of...
(built-in exception)
--- Heiko.
--
http://mail.python.org/mailman/listinfo/python-list
* Steven D'Aprano wrote:
is two lines and 347 characters ugly enough to win?
Nope. 3 lines / 179 chars here :-
Yes, it's quite unreadable.
(The problem is that I need to find an internet cafe on 28/29th in order to
be able to submit)
nd
--
my @japh =
Simon Hengel wrote:
Hello,
we are hosting a python coding contest an we even managed to provide a
price for the winner...
http://pycontest.net/
The contest is coincidentally held during the 22c3 and we will be
present there.
if i do the following i get the url of an image i am looking for
image =
image = bs.img
print image
however if i do this
out.write (image )
i get an error that says nonetype error is not callable
any ideas
--
http://mail.python.org/mailman/listinfo/python-list
Python Leadership was a weakness [1] and becomes now a threat for
python, thanks to Mr. van Rossums employment at Google.
-
I've wrote the Leadership list prioritized (Google rules, Mr. van Rossum
follows, PSF watches and accepts).
The core developer of an open-source-project is 'captured' by
Larry Bates wrote:
Joe wrote:
Is Python going to support s syntax the does not use it's infamous
whitespace rules?
Of course.
I estimate it will take around 1 to 2 years from now, until this
whitespace-concept will become optionally.
Backwards-compatibility will be kept, thus those who
On Sun, 25 Dec 2005 17:39:14 -0800, homepricemaps wrote:
if i do the following i get the url of an image i am looking for
image =
image = bs.img
print image
image = is a pointless operation in the above snippet.
What is bs and bs.img? How does it know what URL you are looking for?
Steven D'Aprano wrote:
On Sun, 25 Dec 2005 19:14:43 -0500, rbt wrote:
Steven D'Aprano wrote:
On Sun, 25 Dec 2005 18:05:37 +0100, Simon Hengel wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I'm envisioning lots of convoluted one-liners which
are more suitable to a different
Is it necessary to keep the input parameter as 'input'? Reducing that to
a single character drops the length of a program by at least 8
characters. Technically it changes the interface of the function, so
it's a little bogus, but test.py doesn't check. (Personally I prefer
that if be illegal,
Tim Hochberg wrote:
Is it necessary to keep the input parameter as 'input'? Reducing that to
a single character drops the length of a program by at least 8
characters. Technically it changes the interface of the function, so
it's a little bogus, but test.py doesn't check. (Personally I
Is it necessary to keep the input parameter as 'input'? Reducing that to
a single character drops the length of a program by at least 8
characters. Technically it changes the interface of the function, so
it's a little bogus, but test.py doesn't check. (Personally I prefer
that if be
c=open(seven_seg.py).read()
len(c)
251
len(c.replace( ,))
152
:-)
Knowing me, I'll forget to submit it.
--
http://mail.python.org/mailman/listinfo/python-list
André Malo wrote:
is two lines and 347 characters ugly enough to win?
Nope. 3 lines / 179 chars here :-
Yes, it's quite unreadable.
I'm in for the second place with 4 lines / 228 chars.
(The problem is that I need to find an internet cafe on 28/29th in order to
be able to submit)
Do your
On Mon, 26 Dec 2005 02:21:11 +0100, André Malo wrote:
* Steven D'Aprano wrote:
is two lines and 347 characters ugly enough to win?
Nope. 3 lines / 179 chars here :-
Yes, it's quite unreadable.
I think Perl coders should be banned from this contest, as they have an
unfair advantage in
Remi Villatel wrote:
André Malo wrote:
is two lines and 347 characters ugly enough to win?
Nope. 3 lines / 179 chars here :-
Yes, it's quite unreadable.
I'm in for the second place with 4 lines / 228 chars.
(The problem is that I need to find an internet cafe on 28/29th in order
Christian Tismer [EMAIL PROTECTED] wrote:
Simon Hengel wrote:
I would suggest that all whitespace (except within string literals)
should be ignored, as well.
Good point, but i assume that is not possible with regular expressions.
No, but a trivial task using the compiler.
Actually,
Simon Hengel [EMAIL PROTECTED] wrote:
Definitely, characters. A high-granularity measure is essential to
reduce the chance of ties. Even so there may well be equal-first-place
winners -- hope they're not solved in terms of first submission, since
submitting at 14:00 UTC is WAY easier
rbt [EMAIL PROTECTED] wrote:
Tim Hochberg wrote:
Is it necessary to keep the input parameter as 'input'? Reducing that to
a single character drops the length of a program by at least 8
characters. Technically it changes the interface of the function, so
it's a little bogus, but
rbt wrote:
Does positioning matter? For example, say I give it '123' is it ok to
output this:
1
2
3
Or does it have to be 123
Download the test suite and you'll see that only 123 on one line passes
the test. Sorry...
--
==
Remi Villatel
[EMAIL PROTECTED]
Over at
http://spoj.sphere.pl/problems/SIZECON/
the task is to come up with the shortest program that solves a
different problem. There's a twist in this one:
Score equals to size of source code of your program except symbols with
ASCII code = 32.
So blanks, newlines and tabs
I disagree...I don't think the whitespace rule will ever be optional.
Why would it be so? If someone doesn't like it...choose another
language. It is that simple really.
Robert
--
http://mail.python.org/mailman/listinfo/python-list
I find a problem:
Now when i input some special word in browser ,the Apache will report
the error.
My Apache error_log:
python: ../iconv/skeleton.c:324: __gconv_transform_utf8_internal:
Assertion `nstatus == GCONV_FULL_OUTPUT' failed.
How to fix the bug?
My python version:1.52 (because work
Tim Hochberg wrote:
No. I have 8 lines and 175 chars at present. And, I expect that's gonna
get beaten.
I wasn't going to get into this, but I couldn't resist :).
I'm already behind though... 198 characters on 1 line. It's ugly, but
it works.
--
Your message dated Mon, 26 Dec 2005 10:15:57 +0545 with subject Re: Mail
Authentification has been submitted to the moderator of the
ASIABREAKINGNEWS list.
--
http://mail.python.org/mailman/listinfo/python-list
Robert Hicks wrote:
I disagree...I don't think the whitespace rule will ever be
optional. Why would it be so? If someone doesn't like it...choose
another language. It is that simple really.
Robert
It's not that simple.
But let's simply await.
We will know in 2 years.
-
Currently I'm on 149 characters in urgh one line - 128 without
spaces/newlines. (it'd be three characters shorter if it didn't have
to end with a \n)
-T. unclean... unclean...
--
http://mail.python.org/mailman/listinfo/python-list
Alex Gittens [EMAIL PROTECTED] wrote:
Is anyone aware of any applications that handle font and graphics
display--- something like Adobe Reader--- that are written in Python,
and the code is available for examination? It doesn't matter what GUI
toolkit is used.
Grail comes to my mind
Bugs item #1389051, was opened at 2005-12-23 19:11
Message generated for change (Comment added) made by effbot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1389051group_id=5470
Please note that this message will contain a full copy of the comment
Bugs item #1389809, was opened at 2005-12-25 00:35
Message generated for change (Settings changed) made by effbot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1389809group_id=5470
Please note that this message will contain a full copy of the comment
Bugs item #1386675, was opened at 2005-12-21 02:41
Message generated for change (Comment added) made by effbot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1386675group_id=5470
Please note that this message will contain a full copy of the comment
Bugs item #1390086, was opened at 2005-12-25 18:06
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1390086group_id=5470
Please note that this message will contain a full copy of
Feature Requests item #1390197, was opened at 2005-12-25 20:41
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=355470aid=1390197group_id=5470
Please note that this message will contain a
Bugs item #1386675, was opened at 2005-12-21 14:41
Message generated for change (Comment added) made by anadelonbrin
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1386675group_id=5470
Please note that this message will contain a full copy of the comment
Bugs item #1390321, was opened at 2005-12-25 20:11
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1390321group_id=5470
Please note that this message will contain a full copy of
84 matches
Mail list logo