On Feb 5, 5:46 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote:
> En Sat, 03 Feb 2007 18:52:10 -0300, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> escribió:
>
> > On Feb 3, 1:43?pm, gonzlobo <[EMAIL PROTECTED]> wrote:
> >> We have a data
On Feb 4, 12:42 pm, "Jandre" <[EMAIL PROTECTED]> wrote:
> On Feb 1, 9:39 pm, Larry Bates <[EMAIL PROTECTED]> wrote:
>
>
>
> > Jandre wrote:
> > > Hi
>
> > > I am a python novice and I am trying to write a python script (most of
> &g
On Feb 5, 4:09 am, [EMAIL PROTECTED] wrote:
> I think I need to explain the things better I think, so I do;
>
> First answering the questions above; I think i have to explain the
> project more.
>
> With type I mean; typography/fonts/characters.. For my final exam I
> creat
On Feb 5, 8:48 am, "Gosi" <[EMAIL PROTECTED]> wrote:
> It is quite easy to call J from Python
>
> http://groups.google.com/group/J-Programming/browse_thread/thread/5e8...
There are a couple of issue that should be adressed. Am I going to
jail if I write a program and
Hello,
I am trying to write a python cgi that calls a script over ssh, the
problem is the script takes a very long time to execute so Apache
makes the CGI time out and I never see any output. The script is set
to print a progress report to stdout every 3 seconds but I never see
any output until t
On Feb 6, 8:36 am, "jasonmc" <[EMAIL PROTECTED]> wrote:
> > Does anybody know a way to make output show in real time?
>
> You can put: #!/usr/bin/python -u
> at the top of the script to have unbuffered binary stdout and stderr.
Thanks. I tried that but it sti
On Feb 6, 10:37 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> On Feb 6, 8:36 am, "jasonmc" <[EMAIL PROTECTED]> wrote:
>
> > > Does anybody know a way to make output show in real time?
>
> > You can put: #!/usr/bin/python -u
> >
On 6 fév, 16:23, "jeremito" <[EMAIL PROTECTED]> wrote:
> Please excuse me if this is obvious to others, but I can't figure it
> out. I am subclassing dict, but want to prevent direct changing of
> some key/value pairs. For this I thought I should override th
On Feb 6, 2:02 pm, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote:
> On 6 Feb 2007 07:37:33 -0800, "[EMAIL PROTECTED]"
> <[EMAIL PROTECTED]> declaimed the following in comp.lang.python:
>
>
>
> > Everything works fine until I call the popen function, then i
On Feb 5, 5:45 pm, "Graham Dumpleton" <[EMAIL PROTECTED]> wrote:
> On Feb 6, 8:57 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Feb 5, 12:52 pm, John Nagle <[EMAIL PROTECTED]> wrote:
>
> > > [EMAIL PROTECTE
On Feb 6, 4:27 pm, Paul Rubin <http://[EMAIL PROTECTED]> wrote:
> "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes:
> > In our case, the issue is this: we load a ton of info at server
> > restart, from the database. Some of it gets processed a bit based on
>
Hi all,
I'm interested in Parallel Python and I learned from the website of
Parallel Python
that it can run on SMP and clusters. But can it run on a our muti-CPU
server ?
We are running an origin3800 server with 128 CPUs.
Thanks.
--
http://mail.python.org/mailman/listinfo/python-list
There is more ... Some American soldiers raped Iraqi girls and The
conservatives living in America still says they are not guilty.Bush
must take responsible of these situation.These are massed most of
Americans.
[EMAIL PROTECTED] wrote:
> Pretzel, please include scientific newsgroups l
On Feb 7, 11:14 am, "S.Mohideen" <[EMAIL PROTECTED]>
wrote:
> Python is praised about - me too. But at one instance it fails. It fails to
> behave as a true multi-threaded application. That means utilizing all the
> CPUs parallely in the SMP efficiently stays as a dream
On Feb 7, 4:11 am, [EMAIL PROTECTED] wrote:
> Suresh:
>
> > I could find GeoSteiner (http://www.diku.dk/geosteiner/) which is
> > implemented as a C program. Anybody know python wrapper for this?
> > Anybody tried this program in a python program?
>
> Once compile
On Feb 6, 5:26 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am trying to write a python cgi that calls a script over ssh, the
> problem is the script takes a very long time to execute so Apache
> makes the CGI time out and I never see any output
On Feb 6, 11:13 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> output = os.popen(command, 'r', 1)
OOPS... I imagine the ridiculous buffer size is unnecessary... I was
trying to get it to work with the original for loop iterating on
output, it shoul
[EMAIL PROTECTED] wrote:
> Hi all,
>
> I'm interested in Parallel Python and I learned from the website of
> Parallel Python
> that it can run on SMP and clusters. But can it run on a our muti-CPU
> server ?
> We are running an origin3800 server with 128 CPUs.
>
>
Hi, I am using gvim to edit python source files. When I press "*" or
"#", I would want to search for the attribute name under the cursor
and not the entire string.
For example, If I have os.error and pressing * on top of error
searches for os.error rather than error. How to set this, any Idea?
th
On Feb 7, 4:46 am, "Joshua J. Kugler" <[EMAIL PROTECTED]> wrote:
> Jan Danielsson wrote:
> > Hello all,
>
> >I have some data in a postgresql table which I view through a web
> > interface (the web interface is written in python -- using mod_python
&g
On Feb 8, 10:42 am, "Karthik Gurusamy" <[EMAIL PROTECTED]> wrote:
> On Feb 6, 5:26 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> > Hello,
>
> > I am trying to write a python cgi that calls a script over ssh, the
> > proble
, "Gosi" <[EMAIL PROTECTED]> wrote:
> On Feb 6, 3:04 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> > On Feb 5, 8:48 am, "Gosi" <[EMAIL PROTECTED]> wrote:
>
> > > It is quite easy to call J from Python
>
> > >
On 8 fév, 13:03, "Srikanth" <[EMAIL PROTECTED]> wrote:
> Yes,
>
> All I need is a good IDE, I can't find something like Eclipse (JDT).
> Eclipse has a Python IDE plug-in but it's not that great. Please
> recommend.
>
emacs +python-mode +ecb
--
http://mail.python.org/mailman/listinfo/python-list
Srikanth wrote:
> All I need is a good IDE, I can't find something like Eclipse (JDT).
> Eclipse has a Python IDE plug-in but it's not that great. Please
> recommend.
My favourite at the mo is Komodo Edit - free (though not OSS).
On the OSS side, SPE is very good too - more of an IDE than Komodo
You can call scripts from the interpreter with execfile('script.py').
If you use ipython there is a %run command that executes a script.
Enjoy! Bernhard
On Feb 7, 3:26 pm, [EMAIL PROTECTED] wrote:
> My editor is emacs in linux, and I have the python mode enabled. The two
> me
does some things very well when it comes to gui..
You may want several languages unless you are doing simple tasks.
On Feb 8, 6:12 pm, "John" <[EMAIL PROTECTED]> wrote:
> Visual Basic is also good.
>
> "Reid" <[EMAIL PROTECTED]> wrote in message
>
> n
>
> I get the error that xlPrevious is not defined.
>
If you are using pythonwin, run the COM Makepy utility on Microsoft
Excel Object Library. Then you have access to the defined constants as
follows.
>>> import win32com.client
>>> win32com.client.constants.xlPrevious
2
Hope this helps.
Paul
G'day Pythonistas! Welcome to Issue Two of The Python Papers. It has
been an exciting time and we are pleased to have reached this
milestone. I'd like to say a big hello to all the people who have
provided their input in making this a reality: the python-advocacy
list, comp.lang.python, the Python
http://pythonpapers.cgpublisher.com/product/pub.169/prod.5
Sorry, forgot to add the URL
--
http://mail.python.org/mailman/listinfo/python-list
I think it's a fantastic idea, myself. I think it should work well.
It's probably important to filter the edit, not the whole article,
otherwise the ham might obscure the spam.
Cheers,
-T
--
http://mail.python.org/mailman/listinfo/python-list
On 9 fév, 04:06, "Reid" <[EMAIL PROTECTED]> wrote:
> Hello All
>
> Thanks for taking the time to answer my question. I do not need 3d stuff.
> Just a couple of buttons and menu's.
That's not "3D", that's GUI (Graphical User Interface). "
On 9 fév, 04:02, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote:
> En Thu, 08 Feb 2007 23:32:50 -0300, Sick Monkey <[EMAIL PROTECTED]>
> escribió:
>
> > db = {'[EMAIL PROTECTED]':'none', '[EMAIL PROTECTED]':'none',
> &g
On 9 fév, 07:43, "azrael" <[EMAIL PROTECTED]> wrote:
> On Feb 9, 4:06 am, "Reid" <[EMAIL PROTECTED]> wrote:
>
> > Hello All
>
> > Thanks for taking the time to answer my question. I do not need 3d stuff.
> > Just a couple of buttons and
On 9 fév, 12:30, "Kai Rosenthal" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> how can I resolve envionment variables in a string.
> e.g.
>
> strVar = /myVar
> resolve in
nothing. This raises a SyntaxError. Python is *not* a shell script
language.
> str1 = /my
On 9 fév, 00:16, [EMAIL PROTECTED] wrote:
> On Feb 8, 2:17 pm, Grant Edwards <[EMAIL PROTECTED]> wrote:
>
>
>
> > On 2007-02-08, Reid <[EMAIL PROTECTED]> wrote:
>
> > > I am just starting to play with programing again as a hobby. I have heard
> &g
On Feb 9, 5:08 am, "jiddu" <[EMAIL PROTECTED]> wrote:
> I'm planning to create a poker calculator, I learned some basic in
> highschool years ago and I was told for beginners Python is a good
> language to start.
Be sure to check out the Python411 podcast
http://
Try this. It's a pre-build VMware image.
Torrent hasn't worked for me. I tracked down a physical copy.
http://www.vmware.com/vmtn/appliances/directory/289
--
http://mail.python.org/mailman/listinfo/python-list
On Feb 9, 11:39�am, "Ben Sizer" <[EMAIL PROTECTED]> wrote:
> On Feb 9, 1:48 pm, "siggi" <[EMAIL PROTECTED]> wrote:
>
> > @Ben Sizer
>
> Lucky I spotted this...
>
> > As a Python (and programming ) newbie �allow me a �- certainly naiv
On Feb 10, 3:32 pm, Steve Holden <[EMAIL PROTECTED]> wrote:
>
> >>> "% s" % 'banana'
> 'banana'
> >>> "% s" % 1
> '1'
> >>> "% s" % -1
> '-1'
> >>>
>
With some number:
In [2]: "% 3s" % 'a'
Out[2]: ' a'
Hieu
--
http://mail.python.org/mailman/listinfo/python-list
On Feb 10, 4:07?pm, "Ben Sizer" <[EMAIL PROTECTED]> wrote:
> On Feb 10, 6:31 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> > On Feb 9, 11:39?am, "Ben Sizer" <[EMAIL PROTECTED]> wrote:
>
> > > Hopefully in the futur
On Feb 10, 11:03�pm, [EMAIL PROTECTED] wrote:
> � � >> However, the difference between the open-source people and Microsoft
> � � >> is the the open-source people aren't being paid by you for the use of
> � � >> their product, so they're not obligated in an
On Feb 11, 1:35�am, Steve Holden <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > On Feb 10, 4:07?pm, "Ben Sizer" <[EMAIL PROTECTED]> wrote:
> >> On Feb 10, 6:31 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
>
Hi, I am using gvim, and am looking for a way to tell gvim to
automatically wrap long lines into multiple lines ( by automatically
inserting the newline character) when I edit doc strings. I am sure
somebody must have done this.
-
Suresh
--
http://mail.python.org/mailman/listinfo/python-list
On Feb 11, 7:01 pm, Neil Cerutti <[EMAIL PROTECTED]> wrote:
> On 2007-02-11, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> > Hi, I am using gvim, and am looking for a way to tell gvim to
> > automatically wrap long lines into multiple lines ( by
> > automatic
On Feb 11, 4:24 am, Steve Holden <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > On Feb 11, 1:35?am, Steve Holden <[EMAIL PROTECTED]> wrote:
> [...]
> >>>> After all, they have already given freely and generously, and if they
> >>>&g
On Feb 11, 5:33?am, Steven D'Aprano
<[EMAIL PROTECTED]> wrote:
> On Sun, 11 Feb 2007 01:08:21 -0800, [EMAIL PROTECTED] wrote:
> >> An update is in the works for those
> >> using more recent releases,
>
> > That's good news, although the responsibl
> That's a little harsh -- regexes have their place, together with pointer
> arithmetic, bit manipulations, reverse polish notation and goto. The
> problem is when people use them inappropriately e.g. using a regex when a
> simple string.find will do.
>
> > A quote attributed variously to
> > Tim
__
import %s" % function)
print function, 'n =', nvalue, ':', t.timeit(number=100)
Which yielded the following results:
[EMAIL PROTECTED]:~$ python test.py
test_index n = 1000 : 0.599834918976
test_index n = 1 : 5.78634595871
test_index n = 10 :
HTML: htmllib and HTMLParser (both in the Python library),
BeautifulSoup (again GIYF)
XML: xml.* in the Python library. ElementTree (recommended) is
included in Python 2.5; use xml.etree.cElementTree.
The source of HTMLParser and xmllib use regular expressions for
parsing out the data. htmllib c
On 9 fév, 14:06, Stef Mientki <[EMAIL PROTECTED]> wrote:
> >> will explain the rest
>
> > Delphi is a (dying) proprietary, MS-Windows-only[1] software relying
> > on a low-level language.
>
> Well it may be dying,
> but for the moment it beats Python with
Thomas Nelson wrote:
> I realize I'm approaching this backwards from the direction most
> people go, but does anyone know of a good c/c++ introduction for
> python programmers?
I would stick with C unless you need to edit C++ code. (Calling them
C/C++ doesn't make much sense as they're separate l
Hello, I am looking for a good css template to be used with epydoc .
Google did not help.
Any links would be helpful.
-
Suresh
--
http://mail.python.org/mailman/listinfo/python-list
On 12 fév, 15:59, Stef Mientki <[EMAIL PROTECTED]>
wrote:
> [EMAIL PROTECTED] wrote:
> > On 9 fév, 14:06, Stef Mientki <[EMAIL PROTECTED]> wrote:
> >>>> will explain the rest
> >>> Delphi is a (dying) proprietary, MS-Windows-only[1] software relying
J. Clifford Dyer wrote:
> Stuart D. Gathman wrote:
> > On Sat, 03 Feb 2007 05:02:54 -0800, Tool69 wrote:
> >
> >> Does anyone have any advice, and more genraly how to script Vim with
> >> Python ?
> >
> > :py import sys
> > :py print sys.version
> > :help :py
> >
> >> I know I can put some python f
On Feb 13, 2:24 am, Steve Holden <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > On Feb 11, 4:24 am, Steve Holden <[EMAIL PROTECTED]> wrote:
> >> [EMAIL PROTECTED] wrote:
> >>> On Feb 11, 1:35?am, Steve Holden <[EMAIL PROTECTED]> wr
Hi,
I have a program which literately finds the object that overlapping a
point. The horizontal and vertical search are called recursively from
inside each other.
Is this way of implementation fill the stack space with the local
variables inside each call. If this is not good, is there a better w
On Feb 14, 11:45 am, "Gabriel Genellina" <[EMAIL PROTECTED]>
wrote:
> En Wed, 14 Feb 2007 03:09:37 -0300, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> escribió:
>
> > Hi,
> > I have a program which literately finds the object that overlapping a
> > poi
On Feb 14, 11:09 am, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Hi,
> I have a program which literately finds the object that overlapping a
> point. The horizontal and vertical search are called recursively from
> inside each other.
> Is this way of impleme
a = 0.0
b = 10.0
inc = .2
flts = []
while a < b:
flts.append(a)
a += inc
--
http://mail.python.org/mailman/listinfo/python-list
On Feb 14, 1:44 am, Paul Rubin <http://[EMAIL PROTECTED]> wrote:
> > When a customer comes with his new beautiful dual-core server and
> > get a basic plone install up and running, he will immediately
> > compare it to J2EE and wonder why he should pay a consultant to m
Hello,
I searched on Google and in this Google Group, but did not find any
solution to my problem.
I'm looking for a way to output stdout/stderr (from a subprocess or
spawn) to screen and to at least two different files.
eg.
stdout/stderr -> screen
stdout -> log.out
stderr -> log.err
and if pos
On Feb 14, 4:37 pm, Paul Rubin <http://[EMAIL PROTECTED]> wrote:
> "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes:
> > Java has historically had no support at all for real multiple process
> > solutions (akin to fork() or ZwCreateProcess() with NULL
> &g
On 15 fév, 09:32, "Troy Melhase" <[EMAIL PROTECTED]> wrote:
> On 14 Feb 2007 20:54:31 -0800, placid <[EMAIL PROTECTED]> wrote:
>
> > class Test:
> > def __init__(self):
> > pass
>
> > def puts(self, str):
> > pr
On Feb 14, 5:10 pm, "goodwolf" <[EMAIL PROTECTED]> wrote:
> like this?
>
> class Writers (object):
>
> def __init__(self, *writers):
> self.writers = writers
>
> def write(self, string):
> for w in self.writers:
>
On Feb 14, 11:46 am, "Gabriel Genellina" <[EMAIL PROTECTED]>
wrote:
> En Wed, 14 Feb 2007 14:04:17 -0300, Andy Dingley <[EMAIL PROTECTED]>
> escribió:
>
> > I still don't understand what a lambda is _for_ in Python. I know what
> > they are, I kno
On Feb 14, 6:52 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote:
> En Wed, 14 Feb 2007 19:28:34 -0300, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> escribió:
>
> > I'm looking for a way to output stdout/stderr (from a subprocess or
> > spawn) to screen
http://archive.pythonpapers.org/ThePythonPapersVolume2Issue1.html
Hi Pythonistas!
The HTML version of the latest edition of The Python Papers is now
available from the above URL. The editors understand that the web
layout lacks the sophistication of the PDF, or indeed that possible
under HTML. Ho
http://archive.pythonpapers.org/ThePythonPapersVolume2Issue1.html
Hi Pythonistas!
The HTML version of the latest edition of The Python Papers is now
available from the above URL. The editors understand that the web
layout lacks the sophistication of the PDF, or indeed that possible
under HTML. Ho
On Feb 15, 5:48 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote:
> En Thu, 15 Feb 2007 19:35:10 -0300, Matimus <[EMAIL PROTECTED]> escribió:
>
>
>
> >> I think you should be able to use my or goodwolf's solution with the
> >> subpro
Hi Steve M. ,
Your articole is very interesting to me becouse I'm just tring to do the same
thing.
Could you please show me the last version of your python code so that I could
use it for my purpose.
I'm not a programmer but a my friend could help me for this.
Thanks so much in advance for your
On Feb 16, 4:07 pm, [EMAIL PROTECTED] wrote:
> On Feb 16, 3:28 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote:
>
>
>
> > That's ok inside the same process, but the OP needs to use it "from a
> > subprocess or spawn".
> > You h
Free Computer Education Ebooks,Tutorials and much more
ASP, Business, C++, Careers, CISCO, e-books, Engineering, English,
Filmmaking, Finance, Health,
Leadership, Management, Marketing, Mathematics, Mobile, Oracle,
Perl , Photography, PHP,
Programming, VOIPand much more
visit
http
Free Computer Education Ebooks,Tutorials and much more
ASP, Business, C++, Careers, CISCO, e-books, Engineering, English,
Filmmaking, Finance, Health,
Leadership, Management, Marketing, Mathematics, Mobile, Oracle,
Perl , Photography, PHP,
Programming, VOIPand much more
visit
http
Bruno Desthuilliers wrote:
> Roel Schroeven a ecrit :
> > Bruno Desthuilliers schreef:
> >
> >> stdazi a ecrit :
> >
> >
> >>> for (i = 0 ; i < 10 ; i++)
> >>>i = 10;
> >>
> >>
> >> for i in range(10):
> >>i = 10
> >>
> >> What's your point, exactly ?
> >
> >
> > In the first iteration, i i
I'm trying to parse out some XML nodes with namespaces using
BeautifulSoup. I can't seem to get the syntax correct. It doesn't like
the colon in the tag name, and I'm not sure how to refer to that tag.
I'm trying to get the attributes of this tag:
The only way I've been able to get it is by doi
Bruno Desthuilliers wrote:
> Classes are used to define and create ('instanciate' in OO jargon)
Good info from Bruno, just a quick note that it's spelled
"instantiate" (I'm not usually big on spelling corrections but since
you were teaching a new word I thought it might be worthwile).
--
http://
Hey!
I'm using ipython as my python shell and often run scripts with the
magic command %run:
In [1]: %run script.py
If modules are loaded within the script these are not reloaded when I
rerun the script. Hence, when I changed some of the modules loaded, I
have to call
In [2]: reload(module1)
Ou
Hi,
I have the following code:
colorIndex = 0;
def test():
print colorIndex;
This won't work. But it works if i do this:
colorIndex = 0;
def test():
global colorIndex;
print colorIndex;
My question is why do I have to explicit declaring 'global' for
'colorIndex'? Can't pyth
On Feb 19, 11:09 am, Jean-Paul Calderone <[EMAIL PROTECTED]> wrote:
> On 19 Feb 2007 09:04:19 -0800, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> >Hi,
>
> >I have the following code:
>
> >colorIndex = 0;
>
> >def test():
>
On 20 fév, 05:39, "George Sakkis" <[EMAIL PROTECTED]> wrote:
> I was kinda surprised that setting __class__ or __dict__ goes through
> the __setattr__ mechanism, like a normal attribute:
But __class__ and __dict___ *are* 'normal' attributes...
--
http://mail.py
On Feb 21, 1:44 pm, [EMAIL PROTECTED] (Aahz) wrote:
>
> Note that I believe it will be many years, perhaps even a decade, before
> "python" on a Unix system starts up Python 3.0.
That's a pretty safe bet considering that the factory-installed
"python" on my Lin
On Feb 21, 12:26 pm, "DanielJohnson" <[EMAIL PROTECTED]> wrote:
> I was wondering if anyblody can suggest me a network simulator written
> in python in which I can add on my own code and extend its
> functionality.
>
> I am looking for a simulator which will si
On Feb 21, 5:50 pm, "Harlin Seritt" <[EMAIL PROTECTED]> wrote:
> Hi...
>
> I would like to take a string like 'supercalifragilisticexpialidocius'
> and write it to a file in binary forms -- this way a user cannot read
> the string in case they were try to o
Thanks all,
I understood there is no shortcut function like BSD daemon(). I'll do
it manually using examples from cookbook...
On 2月22日, 午前1:41, Benjamin Niemann <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Sakagami Hiroki wrote:
> > What is the easiest way to create
Hello All,
I'm a newbie to Python!
I am trying to develop a program that monitors the performance of an
application. The kind of information I am interested in is the CPU/
Process/Thread and memory performance. Specifically, I would like to
track the following
CPU usage
Used Memory on Phone
Fre
The application is written in VC++
and we're using python to stress test it!
Many thanks again!
R.
On 22 Feb, 20:07, Tim Golden <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > Hello All,
>
> > I'm a newbie to Python!
>
> > I am trying to devel
First of all, I'd like to appologise for the noise and for
cross-posting. This is my first and last e-mail on this list.
As you may have noticed from the subject of the e-mail, I'm about
to speak about the SigEx Ventures company, an organisation that
appoints itself as the liaison between strateg
On Feb 23, 10:39 am, Martin Manns <[EMAIL PROTECTED]> wrote:
> On Fri, 23 Feb 2007 09:52:06 -0600
>
> Larry Bates <[EMAIL PROTECTED]> wrote:
> > I quick search of Google turned up:
>
> >http://books.google.com/books?id=1Shx_VXS6ioC&pg=PA625&lpg=PA625
On Feb 23, 2:00 pm, [EMAIL PROTECTED] wrote:
> On Feb 23, 10:34 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > On Feb 23, 10:39 am, Martin Manns <[EMAIL PROTECTED]> wrote:
>
> > > On Fri, 23 Feb 2007 09:52:06 -0600
>
Hi,
I have a list and I want to find the first element that meets a
condition. I do not want to use 'filter', because I want to come out
of the iteration as soon as the first element is found.
I have implemented it this way, may be, there should be a built in
hiding somewhere in the standard librar
Seems like sockets are about 6 times faster on OpenSUSE than on
Windows XP in Python.
http://pyfanatic.blogspot.com/2007/02/socket-performance.html
Is this related to Python or the OS?
/MSkou
--
http://mail.python.org/mailman/listinfo/python-list
I found the following ways to generate permutations on the ASPN:
Python Cookbook page.
SLOW (two defs):
def xcombinations(items,n):
if n == 0: yield[]
else:
for i in xrange(len(items)):
for cc in xcombinations(items[:i]+items[i+1:],n-1):
yield [items[i
Hi,
i have 2 files which are different (1 line difference):
$ diff groupresult20070226190027.xml groupresult20070226190027-2.xml
5c5
< x:22 y:516 w:740 h:120 area:
---
> x:22 y:516 w:740 h:1202 area:
But when I use the cmp() function to compare 2 files, it return "1",
$ python Python 2.4.3 (#1,
On Feb 26, 10:22 pm, "Dan Bishop" <[EMAIL PROTECTED]> wrote:
> On Feb 26, 10:09 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi,
>
> > i have 2 files which are different (1 line difference):
> > $ diff groupresult2007
On Feb 26, 10:53 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> On Feb 26, 10:22 pm, "Dan Bishop" <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Feb 26, 10:09 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> > > Hi
On Feb 20, 4:16 pm, Stef Mientki <[EMAIL PROTECTED]>
wrote:
> Sounds GREAT !
> thank you !
> I just took a quick look,
> the comparison to SimuLink looks good,
> now if someone could make a comparison with Modelica;-)
>
> cheers,
> Stef Mientki
As far as I can tell
On 27 fév, 13:27, "Paul Boddie" <[EMAIL PROTECTED]> wrote:
> On 27 Feb, 13:12, "Tzury" <[EMAIL PROTECTED]> wrote:
>
>
>
> > c) small web application that will be used as front end to configure
> > the system (flat files and sqlite3 db ar
Hi, I have the following functions, but ' dx = abs(i2 - i1)/min(i2,
i1)' always return 0, can you please tell me how can i convert it from
an integer to float?
def compareValue(n1, n2):
i1 = int(n1)
i2 = int(n2)
dx = abs(i2 - i1)/min(i2, i1)
print dx
return dx < 0.05
--
ht
On Feb 27, 3:45 am, Franz Steinhaeusler <[EMAIL PROTECTED]>
wrote:
> Hello, I did not find any reasonable pyhton source code beautifier
> program (preferable gui).
>
> Some would ask why? Program it immediatly good.
>
> (BTW: Would be a nice project, if I would have more s
ommand Line window?
I get the error "SyntaxError: invalid syntax" with the word "setup"
On Feb 27, 10:34 pm, "Jeremy Dillworth" <[EMAIL PROTECTED]> wrote:
> I haven't used that particular package, but the norm for setup.py is
> this command line:
>
&
3501 - 3600 of 4914 matches
Mail list logo