pytest-2.3.4: stabilization, more flexible selection via -k expr
===
pytest-2.3.4 is a small stabilization release of the py.test tool
which offers uebersimple assertions, scalable fixture mechanisms
and deep customization
Hi Ian,
thank you for your comments.
On Mon, Nov 19, 2012 at 11:46 PM, Ian Kelly ian.g.ke...@gmail.com wrote:
On Sun, Nov 18, 2012 at 10:30 PM, Pavel Solin solin.pa...@gmail.com
wrote:
I would like to introduce a new Python textbook
aimed at high school students:
On Tue, Nov 20, 2012 at 7:02 PM, Pavel Solin solin.pa...@gmail.com wrote:
Perhaps you are right. Is there any statistics of how many Python
programmers are using 2.7 vs. 3? Most of people I know use 2.7.
If you're teaching Python, the stats are probably about zero for zero.
Start them off on
On Mon, 19 Nov 2012 17:58:55 +0100, Kwpolska wrote:
On Mon, Nov 19, 2012 at 6:30 AM, Pavel Solin solin.pa...@gmail.com
wrote:
I would like to introduce a new Python textbook aimed at high school
students:
http://femhub.com/textbook-python/.
The textbook is open source and its public Git
On Mon, 19 Nov 2012 21:45:55 -0800, frednotbob wrote:
What I'm trying to do is set a persistent state for the levels generated
by make_map(), so the player can move between floors without generating a
totally new randomized floor each time.
You need to distinguish between immutable data (e.g.
- Original Message -
Use a set when you want to represent a collection of items and the
order
is not important:
An important feature of sets is that their items are unique.
set(list(...)) is a good shortcut to remove duplicate in a list.
JM
-- IMPORTANT NOTICE:
The contents of
Hi all,
This is the official call for sessions for the FOSDEM 2013 [1] python devroom.
This year, Python will be represented by its Community. If you want to discuss
with a lot of Python Users, it's the place to be in February !
Like every year, FOSDEM [1] will take place the first week-end of
Hi all,
This is the official call for sessions for the FOSDEM 2013 [1] python devroom.
This year, Python will be represented by its Community. If you want to discuss
with a lot of Python Users, it's the place to be in February !
Like every year, FOSDEM [1] will take place the first week-end of
Hi everyone. I'm using cntlm locally and I want my Python scripts to
connect to some web, parse some data and come back with results all
across my local proxy.
I've tried a lot of example code but I still don't find what I need. I
think I don't understand how urllib2 manages proxy.
Help will
thanx ..I understand the problem now..
On Wed, Nov 14, 2012 at 7:48 PM, MRAB pyt...@mrabarnett.plus.com wrote:
On 2012-11-14 15:18, inshu chauhan wrote:
for this code m getting this error :
CODE :
def ComputeClasses(data):
radius = .5
points = []
for cy in xrange(0,
Hi list,
I have a problem with Python3.2's argparse module. The following sample:
parser = argparse.ArgumentParser(prog = sys.argv[0])
parser.add_argument(-enc, metavar = enc, nargs = +, type = str,
default = [ utf-8 ])
parser.add_argument(pattern, metavar = pattern, type = str, nargs = 1)
Hi all,
This is the official call for sessions for the FOSDEM 2013 [1] python devroom.
This year, Python will be represented by its Community. If you want to discuss
with a lot of Python Users, it's the place to be in February !
Like every year, FOSDEM [1] will take place the first week-end of
Web Routing Benchmark has been updated with latest version of various web
frameworks.
http://mindref.blogspot.com/2012/10/python-web-routing-benchmark.html
Note, wheezy.web seo routing benchmark has been improved by approximately 40%.
Thanks.
Andriy Kornatskyy
Hi,
I'm developing a GUI Automation library (http://www.getautoma.com) and am
having difficulty picking a name for the function that simulates key strokes. I
currently have it as 'type' but that clashes with the built-in function.
Example uses of 'type':
type(ENTER)
type(Hello World!)
On Tue, Nov 20, 2012 at 11:18 PM, Michael Herrmann
michael.herrm...@getautoma.com wrote:
Hi,
I'm developing a GUI Automation library (http://www.getautoma.com) and am
having difficulty picking a name for the function that simulates key strokes.
I currently have it as 'type' but that clashes
I did the following changes in this part of my programme.. now the
refereence error is removed but its showing me another error :
def ComputeClasses(data):
radius = .5
points = []
for cy in xrange(0, data.height):
for cx in xrange(0, data.width):
if data[cy,cx] ==
On 11/20/2012 07:31 AM, inshu chauhan wrote:
I did the following changes in this part of my programme.. now the
refereence error is removed but its showing me another error :
def ComputeClasses(data):
radius = .5
points = []
for cy in xrange(0, data.height):
for cx in
You know, you would probably get more responses if you picked a
descriptive subject line that didn't look like spam. I only read your
post because I accidentally clicked on it.
On Tue, 20 Nov 2012 04:18:38 -0800, Michael Herrmann wrote:
I'm developing a GUI Automation library
On 20/11/2012 12:31, inshu chauhan wrote:
I did the following changes in this part of my programme.. now the
refereence error is removed but its showing me another error :
def ComputeClasses(data):
radius = .5
points = []
for cy in xrange(0, data.height):
for cx in
Hi,
thank you for your replies. So far two people said 'send_keys' and one person
said 'type'.
Steven, thanks for your reply. Sorry if the message title disturbed you. My
personal feelings aren't too strongly against 'type' either, but then I'm
afraid it might bother more experienced Python
On 11/20/2012 08:19 AM, inshu chauhan wrote:
Yes you are rightI figured that out after posting to python list.. actually
my index is reaching the last point.. and my prog is not doing what I
want.. I am wondering why it is reaching the last point in my list .. its
never stopping in between ???
P.S.: The website is back online; our hosting provider was having technical
problems...
On Tuesday, November 20, 2012 1:18:38 PM UTC+1, Michael Herrmann wrote:
Hi,
I'm developing a GUI Automation library (http://www.getautoma.com) and am
having difficulty picking a name for the
Yes you are rightI figured that out after posting to python list.. actually
my index is reaching the last point.. and my prog is not doing what I
want.. I am wondering why it is reaching the last point in my list .. its
never stopping in between ???
On Tue, Nov 20, 2012 at 2:01 PM, Dave Angel
On 11 nov, 20:30, Jean Dubois jeandubois...@gmail.com wrote:
On 9 nov, 22:14, w...@mac.com wrote:
On Nov 9, 2012, at 3:43 PM, Jean Dubois jeandubois...@gmail.com wrote:
The error may be obvious but finding this file and how to install it
is not unfortunately.
It seems I have to
On 11/20/2012 07:18 AM, Michael Herrmann wrote:
Hi,
I'm developing a GUI Automation library (http://www.getautoma.com) and am
having difficulty picking a name for the function that simulates key strokes.
I currently have it as 'type' but that clashes with the built-in function.
Example
def distance(c, p):
dist = sqrt(
((c[0]-p[0])**2) +
((c[1]-p[1])**2) +
((c[2]-p[2])**2)
)
return dist
def GenerateRing(x,y, N): Generates square rings around a point in data
which has 300 columns(x) and 3000 rows(y)
indices = []
for
On Wed, Nov 21, 2012 at 12:43 AM, inshu chauhan insidesh...@gmail.com wrote:
I need help in this part as I am unable to device a method in which if the
points are out of index,it should stop.
Traceback (most recent call last):
File Z:/modules/Classify.py, line 73, in module
I am using python 2.7.3 , so can it be done in that ?
On Tue, Nov 20, 2012 at 2:48 PM, Chris Angelico ros...@gmail.com wrote:
On Wed, Nov 21, 2012 at 12:43 AM, inshu chauhan insidesh...@gmail.com
wrote:
I need help in this part as I am unable to device a method in which if
the
points are
Hi All,
I'm relatively new to Python... but I have found something I cannot explain...
and I'm sure you can help me.
I have the following function that serves for removing the duplicates from a
list... It's a simple and (almost) trivial task.
I'm using WingIDE as editor/debugger and have
On Monday, November 19, 2012 11:44:37 AM UTC-5, EDI Support wrote:
Hi All, I would like know if Python 2.4.3 will be compatible with Linux RHEL
5.5 or 6.1? Thanks Tony
Thanks everyone for your replies. To clarify, We would like to run a Proof of
concept - that our current version 2.4.3 will
On Wed, Nov 21, 2012 at 12:57 AM, inshu chauhan insidesh...@gmail.com wrote:
I am using python 2.7.3 , so can it be done in that ?
(Please don't top-post; just delete the couple of blank lines that
gmail oh so kindly provides, and type your response at the bottom. You
may also want to consider
On 11/20/2012 08:43 AM, inshu chauhan wrote:
def distance(c, p):
dist = sqrt(
((c[0]-p[0])**2) +
((c[1]-p[1])**2) +
((c[2]-p[2])**2)
)
return dist
def GenerateRing(x,y, N): Generates square rings around a point in data
which has
On Tue, Nov 20, 2012 at 3:00 PM, Chris Angelico ros...@gmail.com wrote:
On Wed, Nov 21, 2012 at 12:57 AM, inshu chauhan insidesh...@gmail.com
wrote:
I am using python 2.7.3 , so can it be done in that ?
(Please don't top-post; just delete the couple of blank lines that
gmail oh so kindly
On Wed, Nov 21, 2012 at 12:56 AM, Alvaro Combo alvaro.co...@gmail.com wrote:
Hi All,
I'm relatively new to Python... but I have found something I cannot
explain... and I'm sure you can help me.
I have the following function that serves for removing the duplicates from a
list... It's a
def GenerateRing(x,y, N): Generates square rings around a point in data
which has 300 columns(x) and 3000 rows(y)
indices = []
for i in xrange(-N, N):
indices.append((x+i, y-N))
indices.append((x+N, y+i))
indices.append((x-i, y+N))
Dear Chris,
Thank you very much for you reply...
For a newcomer to Python the Hell is in the details... :-).
You are absolutely right... and I just used the index instead of the value.
Regarding you other (most relevant) comments, I absolutely agree... BUT in
those cases... I was aware :-).
On 11/20/2012 09:11 AM, inshu chauhan wrote:
On Tue, Nov 20, 2012 at 3:00 PM, Chris Angelico ros...@gmail.com wrote:
On Wed, Nov 21, 2012 at 12:57 AM, inshu chauhan insidesh...@gmail.com
wrote:
I am using python 2.7.3 , so can it be done in that ?
(Please don't top-post; just delete the
On 2012-11-20, Dave Angel da...@dejaviewphoto.com wrote:
I also vote for send_keys(), even before I saw Chris' reply.
'type' is too overloaded a word. For example, in Windows, it's
the command to display the contents of a file - it types it to
the screen.
type is a nice verb, but since it's
On 11/20/2012 09:26 AM, inshu chauhan wrote:
def GenerateRing(x,y, N): Generates square rings around a point in data
which has 300 columns(x) and 3000 rows(y)
indices = []
for i in xrange(-N, N):
indices.append((x+i, y-N))
indices.append((x+N, y+i))
Hi there.
Does anyone knows how to manage headers using a simple proxy???
I'm doing this but It gives me problems In some pages.
import SocketServer
import SimpleHTTPServer
import urllib2
PORT =
class Proxy(SimpleHTTPServer.SimpleHTTPRequestHandler):
def do_GET(self):
try:
Le mardi 20 novembre 2012 09:09:50 UTC+1, Chris Angelico a écrit :
On Tue, Nov 20, 2012 at 7:02 PM, Pavel Solin solin.pa...@gmail.com wrote:
Perhaps you are right. Is there any statistics of how many Python
programmers are using 2.7 vs. 3? Most of people I know use 2.7.
If you're
So did you read the following paragraphs? You should not be using and
in that expression.
Yes i tried or also but no use .
You do not want and in that expression. The way you've coded it,
it'll only skip items in which both indices are out of range. Change
it to
On 2012-11-19, Dennis Lee Bieber wlfr...@ix.netcom.com wrote:
On Sun, 18 Nov 2012 17:52:35 -0800 (PST), su29090
129k...@gmail.com declaimed the following in
gmane.comp.python.general:
I all of the other problems but I have issues with these:
1.Given a positive integer n , assign True to
The catch to the approach suggested by Chris is that you DON'T want to
break out of the whole loop when one value is out of range. You only
want to skip that one point.
Yes I want to skip only that one point (centre) but try and expect seems
to be the last option.. I would like to try other
Thanks again for your further replies. So far, it's 4 votes for 'send_keys' and
1 vote for 'type'.
Regarding 'send_keys': To me personally it makes sense to send keys _to_
something. However, in our API, send_keys would not be called on an object or
with a parameter indicating the target. It
I dont want error actually to come. With try nd except , the error will
come but without affecting my prog...
--
http://mail.python.org/mailman/listinfo/python-list
On 2012-11-20 15:18, Michael Herrmann wrote:
Thanks again for your further replies. So far, it's 4 votes for 'send_keys' and
1 vote for 'type'.
Regarding 'send_keys': To me personally it makes sense to send keys _to_
something. However, in our API, send_keys would not be called on an object
If you try to expand any of the paths in the Path Browser (by clicking the
+ sign) then it not only closes the Path Browser but it also closes all
other windows that were opened in IDLE, including the IDLE interpreter
itself.
A Google search doesn't look like this been reported. If this is truly
In 3d71f175-164e-494c-a521-2eaa5679b...@googlegroups.com Michael Herrmann
michael.herrm...@getautoma.com writes:
What, in your view, would be the most intuitive alternative name?
keyboard_input().
--
John Gordon A is for Amy, who fell down the stairs
gor...@panix.com
On 11/20/2012 10:01 AM, inshu chauhan wrote:
So did you read the following paragraphs? You should not be using and
in that expression.
Yes i tried or also but no use .
Explain no use. If you mean you still fail, then what else did you
try? For example, did you try interchanging
On 11/20/2012 11:09 AM, John Gordon wrote:
In 3d71f175-164e-494c-a521-2eaa5679b...@googlegroups.com Michael Herrmann
michael.herrm...@getautoma.com writes:
What, in your view, would be the most intuitive alternative name?
keyboard_input().
Well, since Python already has input() and
On 11/20/2012 04:18 AM, Michael Herrmann wrote:
Hi,
I'm developing a GUI Automation library (http://www.getautoma.com) and am
having difficulty picking a name for the function that simulates key strokes. I
currently have it as 'type' but that clashes with the built-in function.
Example uses
On 20/11/2012 15:18, Michael Herrmann wrote:
Thanks again for your further replies. So far, it's 4 votes for 'send_keys' and
1 vote for 'type'.
Regarding 'send_keys': To me personally it makes sense to send keys _to_
something. However, in our API, send_keys would not be called on an object
On Tue, 20 Nov 2012 07:18:42 -0800, Michael Herrmann wrote:
Thanks again for your further replies. So far, it's 4 votes for
'send_keys' and 1 vote for 'type'.
Regarding 'send_keys': To me personally it makes sense to send keys _to_
something. However, in our API, send_keys would not be
That's a very good suggestion Emile!! So I might eventually need both 'press'
and 'release' (or press_key/release_key). Thanks for this!
To everyone else who has been so kind to reply thus far: What do you think of
generate_keystrokes? It's a bit long but describes exactly what the function
On Tue, Nov 20, 2012 at 1:02 AM, Pavel Solin solin.pa...@gmail.com wrote:
There is an ongoing discussion but we are not sure.
Are there any reasons except for the print () command
and division of integers?
The big one is that Python 3 holds the future of Python development.
There are no more
Looking at the documentation of Py3.3:
http://docs.python.org/3.3/reference/datamodel.html#object.__new__
I saw the method `__new__()` is called automatically when I create an
istance. After the call to __new__(), if it returns an instance `self`
then `self.__init__()` is called.
Because
Cyclomatic (or conditional) complexity is a metric used to indicate the
complexity of a source code. Excessive complexity is something that is beyond
recommended
level of 10 (threshold that points to the fact the source code is too
complex and refactoring is suggested). Here is a list of web
On 11/20/2012 09:40 AM, yujian4newsgr...@gmail.com wrote:
I write a mfc application, then I want to use the python to test this
application. just as user click that button. Please tell me how to write the
python application?
I currently use MacroScheduler (http://www.mjtnet.com/) then
Daniel Klein wrote:
If you try to expand any of the paths in the Path Browser (by clicking the
+ sign) then it not only closes the Path Browser but it also closes all
other windows that were opened in IDLE, including the IDLE interpreter
itself.
A Google search doesn't look like this been
On Nov 20, 2012, at 1:16 PM, Tim Chase wrote:
Your statement can be ambiguously parsed as I need to merely
*generate* time specifications that 'at' can parse, or it can be
parsed as I need to generate *and consume* time specifications the
same way as 'at' does
If it's the former, it's
Aung Thet Naing aung.thetna...@gmail.com writes:
I'm having Stack_overflow exception in _ctypes_callproc (callproc.c). The
error actually come from the:
cleanup:
for (i = 0; i argcount; ++i)
Py_XDECREF(args[i].keep);
when args[i].keep-ob_refCnt == 1
Really a stack overflow
On Monday, November 19, 2012 7:29:20 PM UTC-6, Steven D'Aprano wrote:
On Tue, 20 Nov 2012 01:24:54 +, Steven D'Aprano wrote:
- use if something is None, not == None.
Steven
i will not include line #'s in the future, point taken
i will change ==/!= to is/is not as most people
On Tue, Nov 20, 2012 at 10:29 AM, Marco name.surn...@gmail.com wrote:
Because when I call an instance the __call__ method is called, and because
the classes are instances of type, I thought when I call a Foo class this
imply the call type.__call__(Foo), and so this one manages the Foo.__new__
On 20/11/2012 17:41, Andriy Kornatskyy wrote:
Cyclomatic (or conditional) complexity is a metric used to indicate the
complexity of a source code. Excessive complexity is something that is beyond
recommended
level of 10 (threshold that points to the fact the source code is too
complex and
On Tue, Nov 20, 2012 at 12:09 PM, Kevin T kevini...@gmail.com wrote:
#if re.search( rsrvd, sigName ) : #version a
#if re.search( rsrvd, sigName ) == None : #version b
if re.search( rsrvd, sigName ) is None : #version bb
print sigName
newVal = %s%s % ('1'*signal['bits'] , newVal )
On Tue, Nov 20, 2012 at 12:37 PM, Ian Kelly ian.g.ke...@gmail.com wrote:
On Tue, Nov 20, 2012 at 12:09 PM, Kevin T kevini...@gmail.com wrote:
#if re.search( rsrvd, sigName ) : #version a
#if re.search( rsrvd, sigName ) == None : #version b
if re.search( rsrvd, sigName ) is None :
Robert,
Thank you for the comment. I do not try relate CC with LOC. Instead pointing to
excessive complexity, something that is beyond recommended threshold, a subject
to refactoring in respective web frameworks. Those areas are likely to be
potential source of bugs (e.g. due to low code
On 20/11/2012 19:46, Andriy Kornatskyy wrote:
Robert,
Thank you for the comment. I do not try relate CC with LOC. Instead pointing to
excessive complexity, something that is beyond recommended threshold, a subject
to refactoring in respective web frameworks. Those areas are likely to be
On 11/20/2012 1:23 PM, Peter Otten wrote:
Daniel Klein wrote:
If you try to expand any of the paths in the Path Browser (by clicking the
+ sign) then it not only closes the Path Browser but it also closes all
other windows that were opened in IDLE, including the IDLE interpreter
itself.
A
On 20 November 2012 16:19, Dave Angel d...@davea.name wrote:
On 11/20/2012 11:09 AM, John Gordon wrote:
In 3d71f175-164e-494c-a521-2eaa5679b...@googlegroups.com Michael
Herrmann michael.herrm...@getautoma.com writes:
What, in your view, would be the most intuitive alternative name?
Robert,
I respect your point of view and it definitely make sense to me. I personally
do not have a problem to understand CC but agree, method LoC is easier to
understand. Regardless the path your choose in your next refactoring (based on
method CC, LoC) it gives your better product.
Andriy
On 20 November 2012 14:48, Jorge Alberto Diaz Orozco
jaoro...@estudiantes.uci.cu wrote:
Hi there.
Does anyone knows how to manage headers using a simple proxy???
I'm doing this but It gives me problems In some pages.
I don't know the answer, but I do know you'd get more favour if you
On 11/20/2012 9:14 AM, Chris Angelico wrote:
On Wed, Nov 21, 2012 at 12:56 AM, Alvaro Combo alvaro.co...@gmail.com wrote:
Hi All,
I'm relatively new to Python... but I have found something I cannot explain...
and I'm sure you can help me.
I have the following function that serves for
If you try to expand any of the paths in the Path Browser (by clicking the +
sign) then it not only closes the Path Browser but it also closes all other
windows that were opened in IDLE, including the IDLE interpreter itself.
I did a Google search and it doesn't look like this been reported. If
On 20/11/2012 20:22, Andriy Kornatskyy wrote:
Robert,
I respect your point of view and it definitely make sense to me. I personally
do not have a problem to understand CC but agree, method LoC is easier to
understand. Regardless the path your choose in your next refactoring (based on
method
On Wed, Nov 21, 2012 at 1:37 AM, Alvaro Combo alvaro.co...@gmail.com wrote:
Dear Chris,
Thank you very much for you reply...
For a newcomer to Python the Hell is in the details... :-).
You're most welcome! As Adam Savage of Mythbusters is fond of saying
(with an exaggerated accent), It's all
On Tue, Nov 20, 2012 at 7:58 AM, Daniel Klein d...@klein.ws wrote:
If you try to expand any of the paths in the Path Browser (by clicking the +
sign) then it not only closes the Path Browser but it also closes all other
windows that were opened in IDLE, including the IDLE interpreter itself.
On Wed, Nov 21, 2012 at 3:21 AM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
On Tue, 20 Nov 2012 07:18:42 -0800, Michael Herrmann wrote:
Thanks again for your further replies. So far, it's 4 votes for
'send_keys' and 1 vote for 'type'.
Regarding 'send_keys': To me personally
On Wed, Nov 21, 2012 at 1:57 AM, wxjmfa...@gmail.com wrote:
Le mardi 20 novembre 2012 09:09:50 UTC+1, Chris Angelico a écrit :
On Tue, Nov 20, 2012 at 7:02 PM, Pavel Solin solin.pa...@gmail.com wrote:
Perhaps you are right. Is there any statistics of how many Python
programmers are using
Can you please post in plain text and stop top-posting? Thanks.
inshu chauhan wrote:
def distance(c, p):
dist = sqrt(
((c[0]-p[0])**2) +
((c[1]-p[1])**2) +
((c[2]-p[2])**2)
)
return dist
def GenerateRing(x,y, N): Generates
Alvaro Combo wrote:
Hi All,
I'm relatively new to Python... but I have found something I cannot
explain... and I'm sure you can help me.
I have the following function that serves for removing the duplicates from a
list... It's a simple and (almost)
trivial task.
I'm using WingIDE
Hello:
I have a multihomed machine that I would like to run the Python imaplib's IMAP4
client on. I would like to be able to specify which interface the underlying
socket will bind to as its source address. How could I best do this?
Thanks for any help...
--
On Tuesday 2012 November 20 08:29, mherrmann...@gmail.com wrote:
To everyone else who has been so kind to reply thus far: What do you think
of generate_keystrokes? It's a bit long but describes exactly what the
function would be doing.
If not already offered and rejected,
how about enter() ?
On 11/20/2012 3:02 AM, Pavel Solin wrote:
previous page that Python 3 was released in 2008. Is there any work
underway get Python 3 into NCLab?
There is an ongoing discussion but we are not sure.
Are there any reasons except for the print () command
and division of integers?
(In
Steven D'Aprano wrote:
On Tue, 20 Nov 2012 07:18:42 -0800, Michael Herrmann wrote:
Thanks again for your further replies. So far, it's 4 votes for
'send_keys' and 1 vote for 'type'.
Regarding 'send_keys': To me personally it makes sense to send keys _to_
something. However, in our
On Wed, Nov 21, 2012 at 8:14 AM, brint...@controlledthinking.com wrote:
Hello:
I have a multihomed machine that I would like to run the Python imaplib's
IMAP4 client on. I would like to be able to specify which interface the
underlying socket will bind to as its source address. How could
With the assistance of this group I am understanding unicode encoding
issues much better; especially when handling special characters that are
outside of the ASCII range. I've got my application working perfectly now
:-)
However, I am still confused as to why I can only use one specific encoding.
On 20/11/2012 21:00, Chris Angelico wrote:
To the OP: jmf has an unnatural hatred of Python 3.3 and PEP 393
strings. Take no notice; the rest of the world sees this as a huge
advantage. Python is now in a VERY small group of languages (I'm aware
of just one other) that have absolutely proper
brint...@controlledthinking.com wrote:
Hello:
I have a multihomed machine that I would like to run the Python imaplib's
IMAP4 client on. I would like to be
able to specify which interface the underlying socket will bind to as its
source address. How could I best do
this?
One assumes
On Tuesday, November 20, 2012 1:48:46 PM UTC-8, Chris Angelico wrote:
On Wed, Nov 21, 2012 at 8:14 AM, brintoul at controlledthinking.com wrote:
Hello:
I have a multihomed machine that I would like to run the Python imaplib's
IMAP4 client on. I would like to be able to specify
On 20/11/2012 17:40, yujian4newsgr...@gmail.com wrote:
I write a mfc application, then I want to use the python to test this
application. just as user click that button. Please tell me how to write the
python application?
Easy, open your favourite editor and start typing, what's the
On Tuesday, November 20, 2012 1:59:34 PM UTC-8, Prasad, Ramit wrote:
brintoul at controlledthinking.com wrote:
Hello:
I have a multihomed machine that I would like to run the Python imaplib's
IMAP4 client on. I would like to be
able to specify which interface the
I have perhaps a bit of a silly question, but I'm interested in what
people do for workflow when actively developing multiple Python modules
at once (for a single project).
Suppose I have packages A-C. In addition to being modules in the Python
sense, they are logically distinct, probably sit in
On Wed, Nov 21, 2012 at 8:55 AM, Mark Lawrence breamore...@yahoo.co.uk wrote:
On 20/11/2012 21:00, Chris Angelico wrote:
To the OP: jmf has an unnatural hatred of Python 3.3 and PEP 393
strings. Take no notice; the rest of the world sees this as a huge
advantage. Python is now in a VERY
On Wed, Nov 21, 2012 at 9:00 AM, brint...@controlledthinking.com wrote:
On Tuesday, November 20, 2012 1:48:46 PM UTC-8, Chris Angelico wrote:
On Wed, Nov 21, 2012 at 8:14 AM, brintoul at controlledthinking.com wrote:
I have a multihomed machine that I would like to run the Python imaplib's
brint...@controlledthinking.com wrote:
I have a multihomed machine that I would like to run the Python imaplib's
IMAP4 client on. I would like to be
able to specify which interface the underlying socket will bind to as its
source address. How could I best do
this?
[snip]
While
On 11/20/2012 04:49 PM, Daniel Klein wrote:
With the assistance of this group I am understanding unicode encoding
issues much better; especially when handling special characters that are
outside of the ASCII range. I've got my application working perfectly now
:-)
However, I am still
On Tuesday, November 20, 2012 2:41:58 PM UTC-8, Prasad, Ramit wrote:
brintoul at controlledthinking.com wrote:
Apologies, I misread your question.
According to the imaplib docs, you can subclass IMAP4 and override
`IMAP4.open` to create the socket and bind it to the desired
On Tue, Nov 20, 2012 at 2:49 PM, Daniel Klein danielklei...@gmail.com wrote:
With the assistance of this group I am understanding unicode encoding issues
much better; especially when handling special characters that are outside of
the ASCII range. I've got my application working perfectly now
1 - 100 of 199 matches
Mail list logo