On Sun, 27 Mar 2011 21:17:49 -0700, alex23 wrote:
> Paul Rudin wrote:
>> Apparently Eve Online is (stackless) python.
>
> I've dropped a ridiculous number of hours into EVE this year alone but
> I'd be very hesitant to ever mention "best" in relation to its coding :)
>
> It uses way too much fl
On 26 March 2011 13:39, sogeking99 wrote:
> hey guys, what are some of the best games made in python? free games
> really. like pygames stuff. i want to see what python is capable of.
>
> cant see any good one on pygames site really, though they have nothing
> like sort by rating or most download
On Mar 27, 8:29 pm, John Ladasky wrote:
> Simple question. I use these functions much more frequently than many
> others which are included in __builtins__. I don't know if my
> programming needs are atypical, but my experience has led me to wonder
> why I have to import these functions.
I rare
Paul Rudin wrote:
> Apparently Eve Online is (stackless) python.
I've dropped a ridiculous number of hours into EVE this year alone but
I'd be very hesitant to ever mention "best" in relation to its
coding :)
It uses way too much floating point incorrectly, the in-game
calculator gives the resul
Florists Use Email Marketing to Get ahead of the Competition
# Marine Supply Companies Adapt Email Marketing Software to Meet Their
Needs
# Wineries Turn to Email Marketing
# Email Marketing Software Adapted by Pet Groomers
# How Many Holiday Product Email Blasts
Try it for Free
Launch your first
On Sunday, March 27, 2011 11:06:47 PM UTC-4, Eric Frederich wrote:
> I'm not sure that I know how to run this function in such a way that
> it gives me an interactive session.
> I passed in stdin as the first parameter and NULL as the second and
> I'd get seg faults when running exit() or even imnp
Simple question. I use these functions much more frequently than many
others which are included in __builtins__. I don't know if my
programming needs are atypical, but my experience has led me to wonder
why I have to import these functions.
--
http://mail.python.org/mailman/listinfo/python-list
I'm not sure that I know how to run this function in such a way that
it gives me an interactive session.
I passed in stdin as the first parameter and NULL as the second and
I'd get seg faults when running exit() or even imnport sys.
I don't want to pass a file. I want to run some C code, start an
* Tim Johnson [110327 16:59]:
> * Alexander Kapps [110327 15:14]:
> > On 28.03.2011 00:21, Tim Johnson wrote:
> >
> > >>Python 2.6:
> > >>http://www.slax.org/modules.php?action=detail&id=3118
> > >
> > > That module is *not* trusted. See the warning?
> >
> >
> > You don't trust an unverified
* Alexander Kapps [110327 15:14]:
> On 28.03.2011 00:21, Tim Johnson wrote:
>
> >>Python 2.6:
> >>http://www.slax.org/modules.php?action=detail&id=3118
> >
> > That module is *not* trusted. See the warning?
>
>
> You don't trust an unverified package from the Slax site, but you
> would trust s
On Sunday, March 27, 2011 7:33:22 PM UTC-4, eryksun () wrote:
> On Sunday, March 27, 2011 7:07:33 PM UTC-4, Steven D'Aprano wrote:
> > I have a package with some tests. The tests are not part of the package
> > itself, so I have a laid out my files like this:
> >
> >
> > src/
> > spam/
> >
I have come across: http://www.java2s.com/Tutorial/Python/CatalogPython.htm
On a quick skim, the above seems to cover more ground
than the standard: http://docs.python.org/tutorial/
I spotted one bug in the former, but one of the Network
examples was helpful.
Colin W.
--
http://mail.python.org
On Sunday, March 27, 2011 7:07:33 PM UTC-4, Steven D'Aprano wrote:
> I have a package with some tests. The tests are not part of the package
> itself, so I have a laid out my files like this:
>
>
> src/
> spam/
> __init__.py
> other-files.py
> test_spam.py
>
>
> Some of
I have a package with some tests. The tests are not part of the package
itself, so I have a laid out my files like this:
src/
spam/
__init__.py
other-files.py
test_spam.py
Some of the tests depend on external data files. Where should I put them?
In the same directory a
On 28.03.2011 00:21, Tim Johnson wrote:
Python 2.6:
http://www.slax.org/modules.php?action=detail&id=3118
That module is *not* trusted. See the warning?
It's just not verified by the Slax developers. That doesn't mean
it's not trusted. It's the same as with Ubuntu packages from the
Unive
On Sunday, March 27, 2011 at 1:05 PM, Laszlo Nagy wrote:
I'd like to distribute a pure Python package named "foo". By default it
> will be placed in lib/site-packages/foo. What if I want to add
> utilities? Command line or GUI programs that are not full featured
> applications, but they can be h
On Sunday, March 27, 2011 4:05:30 PM UTC-4, Laszlo Nagy wrote:
> I'd like to distribute a pure Python package named "foo". By default it
> will be placed in lib/site-packages/foo. What if I want to add
> utilities? Command line or GUI programs that are not full featured
> applications, but they
On 28/03/2011 5:28 AM, Eric Frederich wrote:
I'm not talking about the documentation for sys.exit()
I'm talking about the documentation for Py_Main(int argc, char **argv)
http://docs.python.org/c-api/veryhigh.html?highlight=py_main#Py_Main
This C function never returns anything whether in the i
* Alexander Kapps [110327 13:58]:
> On 27.03.2011 23:24, Tim Johnson wrote:
> >I have python 2.6.5 on my main workstation with ubuntu 10.04. I am
> >attempting to set up a temporary test platform on an asus netbook
> >with slax running from an SD card. I have installed a python 2.7
> >module on th
On Friday, March 25, 2011 12:02:16 PM UTC-4, Eric Frederich wrote:
>
> Is there something else I should call besides "exit()" from within the
> interpreter?
> Is there something other than Py_Main that I should be calling?
Does PyRun_InteractiveLoop also have this problem?
--
http://mail.python.o
On 27.03.2011 23:24, Tim Johnson wrote:
I have python 2.6.5 on my main workstation with ubuntu 10.04. I am
attempting to set up a temporary test platform on an asus netbook
with slax running from an SD card. I have installed a python 2.7
module on the slax OS. (I can't find a python 2.6.5 module
I have python 2.6.5 on my main workstation with ubuntu 10.04. I am
attempting to set up a temporary test platform on an asus netbook
with slax running from an SD card. I have installed a python 2.7
module on the slax OS. (I can't find a python 2.6.5 module for
slax). For those who don't know, slax
I'd like to distribute a pure Python package named "foo". By default it
will be placed in lib/site-packages/foo. What if I want to add
utilities? Command line or GUI programs that are not full featured
applications, but they can be handy for some tasks that are related to
the package. Here is w
I'm not talking about the documentation for sys.exit()
I'm talking about the documentation for Py_Main(int argc, char **argv)
http://docs.python.org/c-api/veryhigh.html?highlight=py_main#Py_Main
This C function never returns anything whether in the interpreter I
type "exit(123)" or "sys.exit(123)
On Sun, Mar 27, 2011 at 9:33 AM, Eric Frederich
wrote:
> This is behavior contradicts the documentation which says the value
> passed to sys.exit will be returned from Py_Main.
> Py_Main doesn't return anything, it just exits.
> This is a bug.
Are you sure that calling the builtin exit() function
On Mar 27, 8:52 pm, Mark Dickinson wrote:
> On Mar 27, 3:00 pm, joy99 wrote:
>
> > (i) Suppose we have 8 which is 2^3 i.e., 3 is the power of 2, which we
> > are writing in Python as,
> > variable1=2
> > variable2=3
> > result=pow(variable1,variable2)
>
> > In my first problem p(x) a list of floa
On Mar 27, 3:00 pm, joy99 wrote:
> (i) Suppose we have 8 which is 2^3 i.e., 3 is the power of 2, which we
> are writing in Python as,
> variable1=2
> variable2=3
> result=pow(variable1,variable2)
>
> In my first problem p(x) a list of float/decimals and f(x) is another
> such.
> Here,
> variable1=
On Mar 27, 4:36 pm, Mark Dickinson wrote:
> On Mar 27, 11:07 am, joy99 wrote:
>
> > (b) Suppose we have two distributions p(x1) and p(x2), of the Model M,
> > the E of EM algorithm, without going into much technical details is,
> > P0(x1,x2), P1(x1,x2)
>
> > Now I am taking random.random() t
This is behavior contradicts the documentation which says the value
passed to sys.exit will be returned from Py_Main.
Py_Main doesn't return anything, it just exits.
This is a bug.
On Sun, Mar 27, 2011 at 3:10 AM, Mark Hammond wrote:
> On 26/03/2011 4:37 AM, Eric Frederich wrote:
> exit() will wi
On Mar 27, 11:07 am, joy99 wrote:
> (b) Suppose we have two distributions p(x1) and p(x2), of the Model M,
> the E of EM algorithm, without going into much technical details is,
> P0(x1,x2), P1(x1,x2)
>
> Now I am taking random.random() to generate both x1 and x2 and trying
> to multiply the
On Mar 27, 11:07 am, joy99 wrote:
> (i) By standard definition of Likelihood Estimation, we get if x EURO X,
> where X is a countable set of types, p is probability and f is
> frequency.
> L(f;p)=Ðp(x)f(x)
>
> My question is python provides two functions,
> (a) pow for power.
> (b) reduce(
2011/3/27 joy99
> Dear Group,
>
> I have two questions one related to pow() and other is related to
> random.
> My questions are as below:
>
> (i) By standard definition of Likelihood Estimation, we get if x EURO X,
> where X is a countable set of types, p is probability and f is
> frequency.
> L
Markus Schaber wrote:
> Hi,
>
> at one of our projects, we could make use of a subversion interface
for
> IronPython. But there seems none to exist.
>
> The easiest way would be to directly expose SharpSVN to the
IronPython
> scripts, but that is not a very pythonic solution. So we had the Ide
On 26/03/2011 4:37 AM, Eric Frederich wrote:
So I found that if I type ctrl-d then the other lines will print.
I think ctrl-d just causes sys.stdin to see EOF, so things just "fall
out" as you desire. exit() will winf up causing the C exit() function
after finalizing, hence the behaviour
34 matches
Mail list logo