On Feb 14, 2010, at 10:16 PM, Dave Angel wrote:
> There are three different limits at play here. Since you're still not saying
> how you're "measuring" usage, we've all been guessing just which one you're
> hitting. There's physical RAM, virtual address space, and swappable space
> (swapfile
Echavarria Gregory, Maria Angelica wrote:
Dear Chris,
One of the machines I tested my app in is 64 bit and happened the same. The RAM
consumed by the OS and other processes is already included in the 2.2 I'm
telling... my app enters to work when the RAM is already consumed in ~600 MB in
the 3
monkeys paw wrote:
Upon invoking python, it hangs
until Ctrl^C is typed, and then the
>>> interactive shell begins.
Like so:
joemoney% python
Python 2.4.6 (#1, Dec 13 2009, 23:45:11) [C] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
# Hangs ^^^ at this point
On Feb 14, 2010, at 7:20 PM, Echavarria Gregory, Maria Angelica wrote:
>
> Dear Chris,
>
> One of the machines I tested my app in is 64 bit and happened the same. The
> RAM consumed by the OS and other processes is already included in the 2.2 I'm
> telling... my app enters to work when the RA
* Ethan Furman:
Steve Howell wrote:
Going back to pointers vs. references, I think the key distinction
being made is that pointers allow specific memory manipulation,
although I think even there you're really just dealing with
abstractions. The address 0x78F394D2 is a little bit closer to the
Dear Chris,
One of the machines I tested my app in is 64 bit and happened the same. The RAM
consumed by the OS and other processes is already included in the 2.2 I'm
telling... my app enters to work when the RAM is already consumed in ~600 MB in
the 3- 32 bit machines ... in the 64 bit machine
I use the physical and kernel memory boxes in the windows task manager under
the performance tab... in that way I can see the exact RAM that just OS and
idle processes occupy before I run my app, and then also the limit at which my
app pushes the memory...
M. Angelica Echavarria-Gregory, M.Sc
Steve Howell wrote:
On Feb 14, 7:11 am, Steven D'Aprano wrote:
On Sat, 13 Feb 2010 23:45:47 -0800, Steve Howell wrote:
The term "pointer" is very abstract. Please give me a concrete
definition of a pointer.
A programming language data type whose value directly specifies (or
"points to") a
Am 14.02.10 12:28, schrieb Laszlo Nagy:
2010.02.13. 17:40 keltezéssel, Diez B. Roggisch írta:
Am 13.02.10 17:18, schrieb Anssi Saari:
Nobody writes:
A single process can't use much more than 2GiB of RAM without a
64-bit CPU
and OS.
That's not really true. Even Windows XP has the /3GB boot o
Upon invoking python, it hangs
until Ctrl^C is typed, and then the
>>> interactive shell begins.
Like so:
joemoney% python
Python 2.4.6 (#1, Dec 13 2009, 23:45:11) [C] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
# Hangs ^^^ at this point until ^C is typed
^C
"Diez B. Roggisch" writes:
> No, PAE can be used to access much more memory than 4GB - albeit
> through paging. AFAIK up to 2^36 Bytes.
Anssi Saari wrote:
>That too. I admit, after checking, that you can't go above 3 GiB per
>process even in server Windows. But for Linux there exists (or
>exist
Terry Reedy wrote:
> On 2/13/2010 8:14 AM, Steve Holden wrote:
>
>> Gmane is primarily a news (NNTP-based) service, though for reasons best
>> know to the organizers they choose to rename the standard newsgroups to
>> fit their own idea of how the universe should be organized, so there the
>> grou
On 2/13/2010 8:14 AM, Steve Holden wrote:
Gmane is primarily a news (NNTP-based) service, though for reasons best
know to the organizers they choose to rename the standard newsgroups to
fit their own idea of how the universe should be organized, so there the
group becomes gmane.comp.python.gener
Op 2010-02-13 13:14, Alf P. Steinbach schreef:
> * hjebbers:
>> I enlarged the windows page file from 750Kb to 1.5Gb .
>> The crash still happens.
>> btw, the crash does not happen at a peak memory usage.
>> According to windows task manager, at the moment of crash mem usage of
>> my program is 669
Mr.John wrote:
> Below is a test case that demonstrates this. Tests 1 & 2 concatenate the
> command and the argument, Tests 3 & 4 mimic the python docs and use the form
> Popen(["mycmd", "myarg"], ...), which never seems to work.
It doesn't work with shell=True because the shell is not able to
int
In article <8fc356e0-f3ed-4a67-9b37-f21561cef...@p13g2000pre.googlegroups.com>,
Sean DiZazzo wrote:
>On Feb 8, 2:36=A0pm, a...@pythoncraft.com (Aahz) wrote:
>> In article .com>,
>> Sean DiZazzo =A0 wrote:
>>>
>>>Why did Path() get rejected? Is it the idea itself, or just the
>>>approach that was
I'm using Python 2.6.2 as packaged with Fedora 12. I'm trying to use
subprocess.Popen() to call /usr/bin/pactl, a simple PulseAudio command
parser.
I'm having a hard time, because it only works part of the time. If pactl
gets a blank or invalid command, it says "No valid command specified.", and
t
On Feb 14, 11:52 am, Mark Dickinson wrote:
> On Feb 14, 4:53 pm, mukesh tiwari
> wrote:
>
> > Hello everyone. I am new to python and previously i did programming in
> > c/c++.Could some one please help me to improve the run time for this
> > python program as i don't have idea how to optimized th
On Feb 14, 4:53 pm, mukesh tiwari
wrote:
> Hello everyone. I am new to python and previously i did programming in
> c/c++.Could some one please help me to improve the run time for this
> python program as i don't have idea how to optimized this code.This
> code also seems to be more unpythonic so
On Feb 14, 6:03 pm, a...@pythoncraft.com (Aahz) wrote:
> In article
> <363498c7-3575-4f1e-ad53-d9cd10c8d...@q16g2000yqq.googlegroups.com>,
> Mark Dickinson wrote:
>
> >(2) Obvious things: use range rather than xrange in your loops.
>
> Um, what? You meant the reverse, surely?
Er, yes I did.
On Feb 11, 5:50 pm, Steven D'Aprano wrote:
> On Thu, 11 Feb 2010 15:39:09 -0800, Jeremy wrote:
> > My Python program now consumes over 2 GB of memory and then I get a
> > MemoryError. I know I am reading lots of files into memory, but not 2GB
> > worth.
> > 2. When do I need
> > to manually a
On Feb 14, 10:32 am, Steve Holden wrote:
> rantingrick wrote:
> > On Feb 12, 4:10 pm, Steve Holden wrote:
> >> Antoine Pitrou wrote:
> >>> Le Fri, 12 Feb 2010 17:14:57 +, Steven D'Aprano a écrit :
>
> > On Feb 12, 4:10 pm, Steve Holden wrote:
> >> Antoine Pitrou wrote:
> >>> Le Fri, 12 Feb 2
On Feb 14, 9:48 am, Mark Dickinson wrote:
> On Feb 14, 4:53 pm, mukesh tiwari
> wrote:
>
> > Hello everyone. I am new to python and previously i did programming in
> > c/c++.Could some one please help me to improve the run time for this
> > python program as i don't have idea how to optimized thi
rantingrick wrote:
> On Feb 12, 4:10 pm, Steve Holden wrote:
>> Antoine Pitrou wrote:
>>> Le Fri, 12 Feb 2010 17:14:57 +, Steven D'Aprano a écrit :
>
> On Feb 12, 4:10 pm, Steve Holden wrote:
>> Antoine Pitrou wrote:
>>> Le Fri, 12 Feb 2010 17:14:57 +, Steven D'Aprano a écrit :
>
> Stev
In article <7a9d26a8-0a9f-4bf3-bf50-0ac5e337f...@r24g2000yqd.googlegroups.com>,
seth wrote:
>
>We have a code that creates a simple Python shelve database. We are
>able to serialize objects and store them in the dbm file. This seem to
>work the same on Windows XP Python 2.5, Ubuntu 9.1 with Pytho
kak...@gmail.com wrote:
Hi to all,
what i want is to search a folder, and if the last access date of the
files in that folder is greater than, lets say 7 days, those files
deleted. (Somekind of a file cleaner script)
I had problems with converting
now = today = datetime.date.today()
and
stats =
In article <363498c7-3575-4f1e-ad53-d9cd10c8d...@q16g2000yqq.googlegroups.com>,
Mark Dickinson wrote:
>
>(2) Obvious things: use range rather than xrange in your loops.
Um, what? You meant the reverse, surely?
--
Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/
Hi to all,
what i want is to search a folder, and if the last access date of the
files in that folder is greater than, lets say 7 days, those files
deleted. (Somekind of a file cleaner script)
I had problems with converting
now = today = datetime.date.today()
and
stats = os.stat(file)
lastAccessDa
On Feb 14, 7:11 am, Steven D'Aprano wrote:
> On Sat, 13 Feb 2010 23:45:47 -0800, Steve Howell wrote:
> > The term "pointer" is very abstract. Please give me a concrete
> > definition of a pointer.
>
> A programming language data type whose value directly specifies (or
> "points to") another value
On Feb 14, 4:53 pm, mukesh tiwari
wrote:
> Hello everyone. I am new to python and previously i did programming in
> c/c++.Could some one please help me to improve the run time for this
> python program as i don't have idea how to optimized this code.
> [...]
How much of a speedup do you need? Ar
Am 14.02.10 13:05, schrieb Florian Ludwig:
On Sun, 2010-02-14 at 10:16 +0100, Paul Kölle wrote:
Am 13.02.2010 10:50, schrieb Florian Ludwig:
Hi,
I'm looking for a module/plugin/intra-process-communication/hook system
for python. Maybe someone here could point me to some project I missed
or mig
Martin v. Loewis wrote:
floor(x) returns an integer
Why do you say that? Assuming you are talking about math.floor, it works
differently for me:
py> math.floor(10.0/3)
3.0
I've just double-checked. It returns a float in Python 2.x and an int in
Python 3.x. (I recently switched to Python 3.1.
mukesh tiwari wrote:
Hello everyone. I am new to python and previously i did programming in
c/c++.Could some one please help me to improve the run time for this
python program as i don't have idea how to optimized this code.This
code also seems to be more unpythonic so how to make it look like mo
Hello everyone. I am new to python and previously i did programming in
c/c++.Could some one please help me to improve the run time for this
python program as i don't have idea how to optimized this code.This
code also seems to be more unpythonic so how to make it look like more
pythonic . I am tryi
On Sat, 13 Feb 2010 23:45:47 -0800, Steve Howell wrote:
> The term "pointer" is very abstract. Please give me a concrete
> definition of a pointer.
A programming language data type whose value directly specifies (or
"points to") another value which is stored elsewhere in the computer
memory.
On Sun, 14 Feb 2010 13:17:40 +0100, News123 wrote:
> Hi,
>
> I'm having a rather small code snippet, where I create pyQT signals.
> I manage creating a signal as class attribute,
> but I can't create a list of signals or a signal
> as object.member.
>
>
>> from PyQt4.QtGui import *
>> from PyQt
On 02/14/10 12:52, abent wrote:
> Is there a good library to numericly solve an LCP in python ?
> (http://en.wikipedia.org/wiki/Linear_complementarity_problem)
>
> An example would be very helpful because most libraries seem to only
> solve QP's.
> I need this for computing 2d contact forces in a
Hi,
I'm having a rather small code snippet, where I create pyQT signals.
I manage creating a signal as class attribute,
but I can't create a list of signals or a signal
as object.member.
> from PyQt4.QtGui import *
> from PyQt4.QtCore import *
>
> class MyWin(QMainWindow):
> clssig = py
Hi all.
I just put online a first version of two tools that combine LaTeX and
python.
The first one, phystricks[1], is a python module intended to generate
pstricks code. The main features are
* you don't have to know pstricks (but you need to have some basics in
python)
* you have python instead
On Sun, 2010-02-14 at 10:16 +0100, Paul Kölle wrote:
> Am 13.02.2010 10:50, schrieb Florian Ludwig:
> > Hi,
> >
> > I'm looking for a module/plugin/intra-process-communication/hook system
> > for python. Maybe someone here could point me to some project I missed
> > or might have some good ideas i
Is there a good library to numericly solve an LCP in python ?
(http://en.wikipedia.org/wiki/Linear_complementarity_problem)
An example would be very helpful because most libraries seem to only
solve QP's.
I need this for computing 2d contact forces in a rigid body
simulation.
--
http://mail.pytho
Karsten Goen wrote:
> also this doesn't help, there are still errors in the accuracy. Isn't there a
> perfect way to do such calculations?
The hint I gave you removes the most egregious error in your program.
You still have to quantize the result of (c*var*d) / b) if you want
it to match a. If I
[fix top posting]
Karsten Goen wrote:
hey all,
I got a problem with floats and calculations. I made an mini-application
where
you get random questions with some science calculations in it
So the user can type in his result with the values given by random
creation.
And the user value is comp
2010.02.13. 17:40 keltezéssel, Diez B. Roggisch írta:
Am 13.02.10 17:18, schrieb Anssi Saari:
Nobody writes:
A single process can't use much more than 2GiB of RAM without a
64-bit CPU
and OS.
That's not really true. Even Windows XP has the /3GB boot option to
allow 3 GiB per process. On PC
also this doesn't help, there are still errors in the accuracy. Isn't there
a perfect way to do such calculations?
Karsten Goen wrote:
> > hey all,
> > I got a problem with floats and calculations. I made an mini-application
> where
> > you get random questions with some science calculations in i
Karsten Goen wrote:
> hey all,
> I got a problem with floats and calculations. I made an mini-application where
> you get random questions with some science calculations in it
> So the user can type in his result with the values given by random creation.
> And the user value is compared against th
> CELL_SIZE = 4
>
> def key(point):
>
> return (
> int((floor(point[0]/CELL_SIZE))*CELL_SIZE),
> int((floor(point[1]/CELL_SIZE))*CELL_SIZE),
> int((floor(point[2]/CELL_SIZE))*CELL_SIZE)
> )
>
>
> Since python allows keys to be tuples, I think that this should wor
hey all,
I got a problem with floats and calculations. I made an mini-application
where you get random questions with some science calculations in it
So the user can type in his result with the values given by random creation.
And the user value is compared against the computer value... the problem
> floor(x) returns an integer
Why do you say that? Assuming you are talking about math.floor, it works
differently for me:
py> math.floor(10.0/3)
3.0
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Am 13.02.2010 10:50, schrieb Florian Ludwig:
Hi,
I'm looking for a module/plugin/intra-process-communication/hook system
for python. Maybe someone here could point me to some project I missed
or might have some good ideas if I end up implementing it myself.
Most systems I have found are "one to
On Sun, Feb 14, 2010 at 12:15 AM, Steve Howell wrote:
> On Feb 10, 6:16 am, Steven D'Aprano cybersource.com.au> wrote:
> >
> > Alf, although your English in this forum has been excellent so far, I
> > understand you are Norwegian, so it is possible that you aren't a native
> > English speaker an
On Sat, Feb 13, 2010 at 7:59 AM, Michael Sparks wrote:
> Hi Alf,
>
>
> On Feb 12, 8:22 pm, "Alf P. Steinbach" wrote:
> > Thanks for the effort at non-flaming discussion, it *is*
> > appreciated.
>
> I would appreciate it if you tried to be non-flaming yourself,
> since you can see I am not flami
On Feb 10, 6:16 am, Steven D'Aprano wrote:
>
> Alf, although your English in this forum has been excellent so far, I
> understand you are Norwegian, so it is possible that you aren't a native
> English speaker and possibly unaware that quotation marks are sometimes
> ambiguous in English.
>
> Whil
53 matches
Mail list logo