PyQt v4.6 has been released and is available from
http://www.riverbankcomputing.com/software/pyqt/.
PyQt is a comprehensive set of bindings for the Qt application and UI
framework from Nokia. It supports the same platforms as Qt (Windows,
Linux and MacOS/X).
PyQt supports Python v3 and Python
SIP v4.9 has been released and can be downloaded from
http://www.riverbankcomputing.com/software/sip/.
SIP is a tool for generating Python modules that wrap C or C++ libraries.
It is similar to SWIG. It is used to generate PyQt and PyKDE.
The SIP license is similar to the Python License and is
Having trouble viewing this email? Click here
You're receiving this email because of your relationship with
Enthought, Inc.. Please confirm your continued interest in receiving
email from us.
You may unsubscribe if you no longer wish to receive our emails.
Friday, October 2nd 1pm CDT
How
Veusz 1.5
-
Velvet Ember Under Sky Zenith
-
http://home.gna.org/veusz/
Veusz is Copyright (C) 2003-2009 Jeremy Sanders jer...@jeremysanders.net
Licenced under the GPL (version 2 or greater).
Veusz is a Qt4 based scientific plotting package. It is written in
Jean-Paul, thanks a lot for your patient.
I have read most of a the “The Twisted Documentation” which I think is very
good for Deferred and ok for PB but it is really lacking on the Reactor. In
my case it looks like this is key to achieve what I have in mind. I've also
just received
On Sep 28, 1:11 am, Steven D'Aprano
ste...@remove.this.cybersource.com.au wrote:
On Sun, 27 Sep 2009 21:42:10 -0700, CTO wrote:
Is there a fast way to see that a dict has been modified?
...
d = {a: b, c: d}
d2 = d.copy()
assert d == d2
d[e] = f
assert d == d2
Is this what you're
Michele Simionato michele.simion...@gmail.com writes on Fri, 25 Sep 2009
22:58:32 -0700 (PDT):
...
You know that in an ideal world I would just
throw
away multiple inheritance, it is just not worth the complication.
I am a fan of multiple inheritance: it lets the compliler/language runtime
do
On 26Sep2009 10:24, Peng Yu pengyu...@gmail.com wrote:
| [st...@sylar test]$ ls -l
| total 16
| -rw-rw-r-- 1 steve steve 6 2009-09-26 23:06 test.py
| -rw-rw-r-- 1 steve steve 94 2009-09-26 23:08 test.pyc
|
| Have you checked the umask of your system?
|
| Here are my test case. If the .py
Hi,
I dont know it is the right place to post this question. I need help to change
one search code line . can you help me please.
here is my search method code:
search=re.compile(^#acl InternationalGroup.*\n, re.M).search(pagetext)
if search:
ret=search.group()
else:
hello
could you remove this old post, off topic and spam
http://www.mail-archive.com/python-list@python.org/msg175722.html
thank you
_
We are your photos. Share us now with Windows
On 25 Sep, 01:25 pm, jacopo.pe...@gmail.com wrote:
In the following chunk of code the CLIENT receives both the results
from 1Ccompute 1D at the same time (i.e. when the second one has
finished). This way it cannot start 1CelaborateResult 1D on the first
result while the SERVER is still running
Steven D'Aprano st...@remove-this-cybersource.com.au wrote:
Is there a fast way to see that a dict has been modified? I don't care
what the modifications are, I just want to know if it has been
changed, where changed means a key has been added, or deleted, or a
value has been set.
Nash wrote:
cut can't get enough Python Developers
I think normal market rules will apply to Pakistan too, if your desired
trade has not the quantity you wish, the price per item should get
higher. Net result should be that more quantity will be available due to
increased interest.
--
MPH
Has anyone done already an on screen keyboard applicatioin like the
native windows one. I am supossed to make one for a tuchscreen
project for my dad's business. It's not a problem about the gui. I
guess I will use wx but if I have to use something different it will
be no problem.
My problem is
Chris Rebert c...@rebertia.com wrote:
On Sun, Sep 27, 2009 at 8:13 PM, edwithad edwit...@hotmail.com wrote:
I am sure you have not read a question this basic in some time, but I am
curious. Using Linux I open a terminal window and type: python.
Does Bash Shell go away and to become a Python
Chris Rebert a écrit :
On Sun, Sep 27, 2009 at 8:53 PM, pylearner for_pyt...@yahoo.com wrote:
snip
---
Traceback (most recent call last):
File pyshell#2, line 1, in module
toss_winner()
File C:/Python26/toss_winner.py, line
Joel Juvenal Rivera Rivera a écrit :
Yeah i forgot the self an try the code then i see
an error that it was not defines _uno__a so that's
where i define the global and see that behavior.
(snip)
Joel Juvenal Rivera Rivera wrote:
Hi i was playing around with my code the i realize of this
On Saturday, 26 September 2009 16:55:30 Grant Edwards wrote:
On 2009-09-26, Dave Angel da...@ieee.org wrote:
Actually even 64k looked pretty good, compared to the 1.5k of
RAM and 2k of PROM for one of my projects, a navigation system
for shipboard use.
I've worked on projects as recently
On Sep 28, 9:37 am, Bruno Desthuilliers bruno.
42.desthuilli...@websiteburo.invalid wrote:
Joel Juvenal Rivera Rivera a écrit :
Yeah i forgot the self an try the code then i see
an error that it was not defines _uno__a so that's
where i define the global and see that behavior.
(snip)
Ha-ha-ha (sorry, can't resist).
Here is at Moscow/Russia I have had a tought time finding a
Python-related programming job. Positions both very rare (comparing
with Java/C++ - maybe 1/100) and not pays well. And about 99% of them
are web+Django.
--
Hi,
I am using epydoc for my code documentation and I am curious whether
there exist a possibility to produce the output in xml format.
Reason for that is that I want to convert it to WordML and get it into
our private documentation system.
Unfortunately, the documentation does not mention xml,
Hi
I have tuples in the format shown below:
(u('2','3','4'),u('5','6','7')u('20','21','22'))
but they are not being accepted into sqlite - due I think to the
excessive quote marks which are confusing the issue when converting to
a string to send it to sqlite.
Can someone advise me on how
Hello fellow python hackers,
I'm not an expert when it comes to Python and I'm totally stuck in a
situation. All of our unit tests are written using built-in 'unittest'
module. We've a requirement where we want to run a method only once
for our unit tests. Some background: all of our tests are
On Thursday 24 September 2009 02:01:52 pm Christian Heimes wrote:
Sampsa Riikonen wrote:
= If I start the program in directory paska2, everythings OK, but if
the directory name happens to be python, the importation of the modules
goes nuts!
What's inside the python/ subdirectory? Do you
Nash wrote:
Hello everyone,
I'm a big time python fan and it has helped me write code fast and
push it out quickly. We have a medium sized telecom product written
90% in Python and 10% in Java. The problem is, in the place where we
work (Pakistan), we can't find Python developers. I asked HR to
MacRules wrote:
I have a python program doing XML data prasing and write the result to 2
data files; which will be loaded to MySQL.
[...]
Is there a python profiler just like for C program?
And tell me which functions or modules take a long time.
In case you want to do this because you
Hi,
Oleg Broytmann wrote:
I'm pleased to announce version 0.11.1, a minor bugfix release of 0.11 branch
of SQLObject.
Have you considered making announcements about (minor) releases on the
dedicated Python announce list?
Stefan
--
http://mail.python.org/mailman/listinfo/python-list
Roland Hedberg wrote:
Anyone know if it is possible to use xmlsec together with lxml ?
I remember reading on the lxml mailing list that someone uses both
together. You might want to ask over there.
Stefan
--
http://mail.python.org/mailman/listinfo/python-list
I have tuples in the format shown below:
(u('2','3','4'),u('5','6','7')u('20','21','22'))
Um, this is not valid Python which might explain the errors
you're getting. Are you sure you don't mean to write:
((u'2', u'3', u'4'), (u'5', u'6', u'7')...)
because u prefixing a tuple is
On Sep 28, 12:45 pm, Oltmans rolf.oltm...@gmail.com wrote:
Hello fellow python hackers,
I'm not an expert when it comes to Python and I'm totally stuck in a
situation. All of our unit tests are written using built-in 'unittest'
module. We've a requirement where we want to run a method only
On Sep 28, 6:07 am, pylearner for_pyt...@yahoo.com wrote:
System Specs:
Python version = 2.6.1
IDLE
Computer = Win-XP, SP2 (current with all windows updates)
----
Greetings:
I have written code for two
On 28 Sep, 11:35, xera121 lolmcbr...@googlemail.com wrote:
Hi
I have tuples in the format shown below:
(u('2','3','4'),u('5','6','7')u('20','21','22'))
but they are not being accepted into sqlite - due I think to the
excessive quote marks which are confusing the issue when
On Mon, 28 Sep 2009 17:01:40 +1000, Cameron Simpson wrote:
On 26Sep2009 10:24, Peng Yu pengyu...@gmail.com wrote: |
[st...@sylar test]$ ls -l
| total 16
| -rw-rw-r-- 1 steve steve 6 2009-09-26 23:06 test.py | -rw-rw-r--
1 steve steve 94 2009-09-26 23:08 test.pyc |
| Have you checked
On Sun, 2009-04-12 at 06:18 -0700, Fuzzyman wrote:
On Apr 11, 12:16 am, Paul Watson paul.hermeneu...@gmail.com wrote:
Is Parrot out of favor these days? It appears that Google is going to
use llvm.
http://code.google.com/p/unladen-swallow/
Has Parrot ever been in favour?
Actually
Hendrik van Rooyen hend...@microcorp.co.za writes:
On Friday, 25 September 2009 19:11:06 Torsten Mohr wrote:
I'd like to use a nested structure in memory that consists
of dict()s and list()s, list entries can be dict()s, other list()s,
dict entries can be list()s or other dict()s.
The
On Fri, Sep 11, 2009 at 3:49 PM, Chris Withers ch...@simplistix.co.uk wrote:
Klein Stéphane wrote:
Resume :
1. first question : why PIL package in pypi don't work ?
Because Fred Lundh have his package distributions unfortunate names that
setuptools doesn't like...
It used to support this,
On 06:06 am, jacopo.pe...@gmail.com wrote:
Jean-Paul, thanks a lot for your patient.
I have read most of a the 1CThe Twisted Documentation 1D which I think is
very good for Deferred and ok for PB but it is really lacking on the
Reactor. In my case it looks like this is key to achieve what I
Steven D'Aprano wrote:
I'm pretty sure the answer to this is No, but I thought I'd ask just in
case...
Is there a fast way to see that a dict has been modified? ...
Of course I can subclass dict to do this, but if there's an existing way,
that would be better.
def mutating(method):
def
Oltmans wrote:
... All of our unit tests are written using built-in 'unittest'
module. We've a requirement where we want to run a method only once
for our unit tests
So I'm completely stumped as to how to create a method that will only
be called only once for Calculator class. Can you
Are any of the GetPaid modules able to handle deferred payments? As
in, the money to be taken is placed on hold in the customer's
account and can be released to the vendor at a later date.
--
http://mail.python.org/mailman/listinfo/python-list
On 28 Sep, 13:52, lolmc lolmcbr...@googlemail.com wrote:
On 28 Sep, 11:35, xera121 lolmcbr...@googlemail.com wrote:
Hi
I have tuples in the format shown below:
(u('2','3','4'),u('5','6','7')u('20','21','22'))
but they are not being accepted into sqlite - due I think to the
Hello
How to programmatically create a class instance of a given Python class?
For example to create a new list there is the PyObject *PyList_New() but
suppose the user already defined a class:
class X: pass
How to create an instance of it from my C extension module?
Regards,
Elias
--
On Sun, Sep 27, 2009 at 10:39 PM, New User for_pyt...@yahoo.com wrote:
Hi Chris,
Thank you for the reply and info!
Re: from coin_toss import coin_toss
My understanding is that this line makes the coin_toss() function in the
coin_toss.py file available to the toss_winner() function. Is
On Mon, Sep 28, 2009 at 9:53 AM, John Posner jjpos...@optimum.net wrote:
If you can enumerate the language of possible inputs you could
generate a unique binary representation. Against a language of size
l that would only take you O(l*n) to build the repr for a dict
and for certain repr
On Sep 28, 8:19 am, lallous lall...@lgwm.org wrote:
Hello
How to programmatically create a class instance of a given Python class?
For example to create a new list there is the PyObject *PyList_New() but
suppose the user already defined a class:
class X: pass
How to create an instance of
Aaagh! Did it without thinking. Should be O(S*N) and O(S*2N).
On Sep 28, 2009 12:09 PM, geremy condra debat...@gmail.com wrote:
On Mon, Sep 28, 2009 at 9:53 AM, John Posner jjpos...@optimum.net wrote:
If you can enumera...
1) I honestly wouldn't know, seeing as how I wasn't alive ;).
2)
I'm trying to work out a multiple readers, one writer scenerio with a
bunch of objects. Basically foo objects are shared across processes.
Each foo object has a .lock variable, which holds a Mutex. In
creation, I'd like to call the SyncManager, get the dict() object
which hold object_ids-lock
I am new to Python but I have studied hard and written a fairly big
(to me) script/program. I have solved all of my problems by Googling
but this one has got me stumped.
I want to check a string for a substring and if it exists I want to
create a new, empty list using that substring as the name
2009/9/28 Scott scott.freem...@gmail.com:
I am new to Python but I have studied hard and written a fairly big
(to me) script/program. I have solved all of my problems by Googling
but this one has got me stumped.
I want to check a string for a substring and if it exists I want to
create a
I would like to use the Pool module, but my tasks take sometimes
unpredictably different time to complete. The simplest way to write
the code would be to put all task descriptions in an array, then call
p = Pool(8)
p.map(f, a)
But I don't want to preassign process 0 with elements a[0], a[8], a
Scott scott.freem...@gmail.com wrote:
for X in open(file1):
Do a test.
If true:
Y = re.split( , X)
Z = Y[0] # This is a string, maybe it is Line42
Z = [] # This doesn't work, I want a new, empty
list created called Line42 not Z.
Is
Scott wrote:
I am new to Python but I have studied hard and written a fairly big
(to me) script/program. I have solved all of my problems by Googling
but this one has got me stumped.
I want to check a string for a substring and if it exists I want to
create a new, empty list using that
Thank you fine folks for getting back with your answers!
So down the road I do dictname[line42].append(new stuff). (or [var]
if I'm looping through the dict)
This is cool and should do the trick!
-Scott Freemire
disclosure - Ok, I'm new to *any* language. I've been teaching myself
for about 3
2009/9/28 Scott scott.freem...@gmail.com:
Thank you fine folks for getting back with your answers!
So down the road I do dictname[line42].append(new stuff). (or [var]
if I'm looping through the dict)
This is cool and should do the trick!
-Scott Freemire
disclosure - Ok, I'm new to *any*
On Sun, 27 Sep 2009 19:44:07 -0700, devilkin wrote:
and does the python-mode support auto-complete?
No.
--
http://mail.python.org/mailman/listinfo/python-list
On Sep 5, 4:30 pm, a...@pythoncraft.com (Aahz) wrote:
In article
a66eaf23-ef2f-49bd-9a5a-d7e35e3b0...@l13g2000yqb.googlegroups.com,
kiithsa...@gmail.com kiithsa...@gmail.com wrote:
Requires ImageMagick and Python (coded in python 2.x, I'm running 2.6
but it might run on older python as
Scott wrote:
Thank you fine folks for getting back with your answers!
So down the road I do dictname[line42].append(new stuff). (or [var]
if I'm looping through the dict)
This is cool and should do the trick!
-Scott Freemire
disclosure - Ok, I'm new to *any* language. I've been teaching
I'm new to using SQLObject, and having some problems with getting it
to recognise my current MySQL database.
I've set up my connection fine, but it won't recognise the names of
the columns (presumably because they're not written using the default
naming convention?). For example, one of my
Scott wrote:
Thank you fine folks for getting back with your answers!
So down the road I do dictname[line42].append(new stuff).
The keys are strings, so
dictname['line42'].append(new stuff)
or
for key in dictname.keys():
...
dictname[key]
tjr
--
That should actually be dictname[line42].append(new stuff). Notice
the quotes around line42.
Good luck! Python is a fine language, I hope you like it.
~Ethan~
Doh. I sent it before my type, fail, fix cycle had taken place.
Got it.
Thanks again all!
--
Scott wrote:
Thank you fine folks for getting back with your answers!
So down the road I do dictname[line42].append(new stuff). (or [var]
if I'm looping through the dict)
Nope, you still haven't gotten it. Of course, I really don't know where
you're going wrong, since you didn't use the
Fredrik Lundh a écrit :
On Fri, Sep 11, 2009 at 3:49 PM, Chris Withers ch...@simplistix.co.uk wrote:
Klein Stéphane wrote:
Resume :
1. first question : why PIL package in pypi don't work ?
Because Fred Lundh have his package distributions unfortunate names that
setuptools doesn't like...
It
Thank you for the elaboration, Chris! I don't have the background to follow
your example code. However, between your summary of the code, and the code
examples themselves, I have enough info to get a glimpse of what you're
explaining. Also, I can use the info as a foundation for further
On Sep 25, 2:07 pm, Grant Edwards inva...@invalid.invalid wrote:
On 2009-09-25, Jason Tackaberry t...@urandom.ca wrote:
And I maintain that requiring yield doesn't make it any less a
coroutine.
Maybe we can call this an aesthetic difference of opinion?
Certainly.
You've a very valid
In 6bce12c3-f2d9-450c-89ee-afa4f21d5...@h30g2000vbr.googlegroups.com Vinay
Sajip vinay_sa...@yahoo.co.uk writes:
The logging package allows you to add tracebacks to your logs by using
the exception() method, which logs an ERROR with a traceback and is
specifically intended for use from within
I do all my python coding in emacs. It's awesome. Here's how I do it:
*Create windmove bindings*
This is important - it maps *Meta-i,j,k,l* to move your window focus up,
left, down, right. It's used in conjunction with *C-x 3* (split window
vertically) and *C-x 2* (split window horizontally). So
Thanks for the light you shed on the namespace issue, and for the additional
info and code example. I'll be studying more about the info you shared. Also,
I tried out your code example, to get firsthand experience with it.
Cheers,
Martin
--- On Mon, 9/28/09, Bruno Desthuilliers
Simon Forman wrote:
On Sun, Sep 27, 2009 at 12:40 PM, Someone Something
fordhai...@gmail.com wrote:
I'm trying to write a little tic-tac-toe program I need a array/list such
that I can represent the tic tac toe board with an x axis and y axis and i
can access each square to find out whether
I am trying to assign the user input into a variable.
I am using Python as an ActiveX scripting language in a host that allows for
activex scripting.
I am able to create an input box with the following
import win32ui
from pywin.mfc.dialog import Dialog
d = Dialog(win32ui.IDD_SIMPLE_INPUT)
On Mon, Sep 28, 2009 at 3:27 PM, Ethan Furman et...@stoneleaf.us wrote:
Simon Forman wrote:
On Sun, Sep 27, 2009 at 12:40 PM, Someone Something
fordhai...@gmail.com wrote:
I'm trying to write a little tic-tac-toe program I need a array/list such
that I can represent the tic tac toe board
On Mon, Sep 28, 2009 at 4:38 PM, John Gordon gor...@panix.com wrote:
In 6bce12c3-f2d9-450c-89ee-afa4f21d5...@h30g2000vbr.googlegroups.com Vinay
Sajip vinay_sa...@yahoo.co.uk writes:
The logging package allows you to add tracebacks to your logs by using
the exception() method, which logs an
I'm new to using SQLObject, and having some problems with getting it
to recognise my current MySQL database.
I've set up my connection fine, but it won't recognise the names of
the columns (presumably because they're not written using the default
naming convention?). For example, one of my
like MadExcept for Delphi
http://www.madshi.net/madExceptDescription.htm
which catches any error,
send an email with the error report and complete system analysis to the
author,
and continues the program (if possible)
thanks,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
On Sep 28, 2:00 pm, Dave Angel da...@ieee.org wrote:
Scott wrote:
Thank you fine folks for getting back with your answers!
So down the road I do dictname[line42].append(new stuff). (or [var]
if I'm looping through the dict)
Nope, you still haven't gotten it. Of course, I really don't
hello,
is there a way to determine the file location of a loaded module?
assuming it is not built in.
import settings
print settings
produces: module 'settings' from 'd:\ko\mysite\settings.pyc'
i would like to get to this path somehow other than by parsing the
string representation of the
On Sep 27, 12:13 am, Nash nasrul...@gmail.com wrote:
Hello everyone,
I'm a big time python fan and it has helped me write code fast and
push it out quickly. We have a medium sized telecom product written
90% in Python and 10% in Java. The problem is, in the place where we
work (Pakistan), we
On Mon, 28 Sep 2009 16:41:36 -0700, akonsu wrote:
hello,
is there a way to determine the file location of a loaded module?
assuming it is not built in.
import settings
print settings
produces: module 'settings' from 'd:\ko\mysite\settings.pyc'
i would like to get to this path
Vladimir Ignatov wrote:
Ha-ha-ha (sorry, can't resist).
Here is at Moscow/Russia I have had a tought time finding a
Python-related programming job. Positions both very rare (comparing
with Java/C++ - maybe 1/100) and not pays well. And about 99% of them
are web+Django.
To who/what are you
On Sep 28, 7:51 pm, Steven D'Aprano st...@remove-this-
cybersource.com.au wrote:
On Mon, 28 Sep 2009 16:41:36 -0700, akonsu wrote:
hello,
is there a way to determine the file location of a loaded module?
assuming it is not built in.
import settings
print settings
produces: module
akonsu wrote:
hello,
is there a way to determine the file location of a loaded module?
assuming it is not built in.
import settings
print settings
produces: module 'settings' from 'd:\ko\mysite\settings.pyc'
i would like to get to this path somehow other than by parsing the
string
How can i declare a global array in python?
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, Sep 28, 2009 at 5:48 PM, Rudolf yellowblueyel...@gmail.com wrote:
How can i declare a global array in python?
Python has no concept of declarations.
And it doesn't have arrays, it has dynamically-resizing lists.
Some examples:
one_empty_list = []
a_list_of 5 zeroes = [0]*5
Might I
On Mon, Sep 28, 2009 at 12:43 AM, greg g...@cosc.canterbury.ac.nz wrote:
Peng Yu wrote:
-rw--- 1 pengy lilab 29 2009-09-26 10:10:45 main.py
-rwx-- 1 pengy lilab 106 2009-09-26 10:19:17 test.py
-rwx-- 1 pengy lilab 339 2009-09-26 10:20:39 test.pyc
Doesn't happen for me with 2.5
On Mon, Sep 28, 2009 at 8:22 AM, Steven D'Aprano
st...@remove-this-cybersource.com.au wrote:
On Mon, 28 Sep 2009 17:01:40 +1000, Cameron Simpson wrote:
On 26Sep2009 10:24, Peng Yu pengyu...@gmail.com wrote: |
[st...@sylar test]$ ls -l
| total 16
| -rw-rw-r-- 1 steve steve 6 2009-09-26
On Sun, Sep 20, 2009 at 12:43 PM, Benjamin Kaplan
benjamin.kap...@case.edu wrote:
On Sun, Sep 20, 2009 at 12:43 PM, Peng Yu pengyu...@gmail.com wrote:
On Sun, Sep 20, 2009 at 11:32 AM, Vijayendra Bapte
vijayendra.ba...@gmail.com wrote:
On Sep 20, 8:38 pm, Peng Yu pengyu...@gmail.com wrote:
On Sep 28, 8:04 pm, Chris Rebert c...@rebertia.com wrote:
On Mon, Sep 28, 2009 at 5:48 PM, Rudolf yellowblueyel...@gmail.com wrote:
How can i declare a global array in python?
Python has no concept of declarations.
And it doesn't have arrays, it has dynamically-resizing lists.
What version
On Sep 27, 12:24 pm, Dave Angel da...@ieee.org wrote:
Hacken wrote:
On Sep 25, 6:27 pm, Dave Angel da...@ieee.org wrote:
Hacken wrote:
I have write some python script
i want to use browser(IE or FF) to call it, an show the returns!
how to?
You don't say much about your
Hi,
I want some command to jump out of nested loop. I'm wondering what is
the most convenient way to do so in python.
for i in range(10):
print i = , i
for j in range(10):
if i*10 + j == 50:
print i*10 + j
break # I want to jump out of the loops.
Regards,
Peng
--
I remember reading (a few times) a presentation about using generators
to create pipelines The idea was to create very specific and small
generator functions, and then combine them together to get larger
results. The example used was to parse log files contained in gzipped
log files among other
:
I want some command to jump out of nested loop. I'm wondering what is
the most convenient way to do so in python.
http://www.google.com/search?q=python+nested+break
-[]z.
--
http://mail.python.org/mailman/listinfo/python-list
On Sep 28, 10:09 pm, Peng Yu pengyu...@gmail.com wrote:
Hi,
I want some command to jump out of nested loop. I'm wondering what is
the most convenient way to do so in python.
for i in range(10):
print i = , i
for j in range(10):
if i*10 + j == 50:
print i*10 + j
break
On Sep 28, 8:09 pm, Peng Yu pengyu...@gmail.com wrote:
Hi,
I want some command to jump out of nested loop. I'm wondering what is
the most convenient way to do so in python.
for i in range(10):
print i = , i
for j in range(10):
if i*10 + j == 50:
print i*10 + j
break
On Mon, 28 Sep 2009 22:09:37 -0500
Peng Yu pengyu...@gmail.com wrote:
I want some command to jump out of nested loop. I'm wondering what is
the most convenient way to do so in python.
Forget about jumping out of a loop. Put your loop into a function and
simply return. Much cleaner and clearer.
I realize this is not the pySNMP mailing list. However, can someone tell me if
pySNMP uses human readable forms of mibs, such as Net-SNMP does, or does it use
only the oid's?
Thanks
Mitch
--
http://mail.python.org/mailman/listinfo/python-list
Peng Yu pengyu...@gmail.com wrote:
I want some command to jump out of nested loop. I'm wondering what is
the most convenient way to do so in python.
I'm sure I'm wasting my breath by saying this, but would it hurt you
to actually check the list before posting? You're not the only person
to ever
Sean DiZazzo wrote:
I remember reading (a few times) a presentation about using generators
to create pipelines The idea was to create very specific and small
generator functions, and then combine them together to get larger
results. The example used was to parse log files contained in gzipped
Sean DiZazzo half.ital...@gmail.com wrote:
I remember reading (a few times) a presentation about using generators
to create pipelines The idea was to create very specific and small
generator functions, and then combine them together to get larger
results. The example used was to parse log
On Sep 28, 9:12 pm, alex23 wuwe...@gmail.com wrote:
Sean DiZazzo half.ital...@gmail.com wrote:
I remember reading (a few times) a presentation about using generators
to create pipelines The idea was to create very specific and small
generator functions, and then combine them together to
Mark Dickinson dicki...@gmail.com added the comment:
And as Eric says, you shouldn't see this behaviour in Python 3.1, since
there str(0.1) == repr(0.1) == '0.1'. If you are seeing it in 3.1, then
something interesting's happening: please reopen in that case. :)
--
Joseph Tate jtate+pyt...@dragonstrider.com added the comment:
Thank you, Thomas, for the patch, and Skip, for applying it.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6606
___
1 - 100 of 107 matches
Mail list logo