Hi Ian,
thank you for your comments.
On Mon, Nov 19, 2012 at 11:46 PM, Ian Kelly wrote:
> On Sun, Nov 18, 2012 at 10:30 PM, Pavel Solin
> wrote:
> > I would like to introduce a new Python textbook
> > aimed at high school students:
> >
> > http://femhub.com/textbook-python/.
> >
> > The text
On Tue, Nov 20, 2012 at 7:02 PM, Pavel Solin 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 Py3 and help move the
On Mon, 19 Nov 2012 17:58:55 +0100, Kwpolska wrote:
> On Mon, Nov 19, 2012 at 6:30 AM, Pavel Solin
> 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 repositor
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.
- 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 F
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 F
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 b
thanx ..I understand the problem now..
On Wed, Nov 14, 2012 at 7:48 PM, MRAB 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, data.height)
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
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 F
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!")
ty
On Tue, Nov 20, 2012 at 11:18 PM, 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 functio
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
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 (http://www.geta
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 xrange
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 p
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 f
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 wr
On 11 nov, 20:30, Jean Dubois wrote:
> On 9 nov, 22:14, w...@mac.com wrote:
>
>
>
> > On Nov 9, 2012, at 3:43 PM, Jean Dubois wrote:
>
> > > The error may be obvious but finding this file and how to install it
> > > is not unfortunately.
> > > It seems I have to install it from the National Instr
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.
> Exam
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 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
> ComputeClasses(data)
> Fi
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 wrote:
> On Wed, Nov 21, 2012 at 12:43 AM, inshu chauhan
> 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...
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 Pyth
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 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 trimming the quoted te
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
>
On Tue, Nov 20, 2012 at 3:00 PM, Chris Angelico wrote:
> On Wed, Nov 21, 2012 at 12:57 AM, inshu chauhan
> 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
On Wed, Nov 21, 2012 at 12:56 AM, 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
> 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 :-). Bu
On 11/20/2012 09:11 AM, inshu chauhan wrote:
> On Tue, Nov 20, 2012 at 3:00 PM, Chris Angelico wrote:
>
>> On Wed, Nov 21, 2012 at 12:57 AM, inshu chauhan
>> 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
>> g
On 2012-11-20, Dave Angel 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 also a well-used n
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 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 Pyt
>
>
> 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
On 2012-11-19, Dennis Lee Bieber 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 is_pri
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 o
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 w
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 or
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 a
In <3d71f175-164e-494c-a521-2eaa5679b...@googlegroups.com> Michael Herrmann
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 B is for Basil, assau
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
On 11/20/2012 11:09 AM, John Gordon wrote:
> In <3d71f175-164e-494c-a521-2eaa5679b...@googlegroups.com> Michael Herrmann
> writes:
>
>> What, in your view, would be the most intuitive alternative name?
> keyboard_input().
>
Well, since Python already has input() and raw_input(), it would then be
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 o
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 or
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
wou
On Tue, Nov 20, 2012 at 1:02 AM, Pavel Solin 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 feature releases pla
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 whe
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 f
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 write
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
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,
Aung Thet Naing 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 or a general s
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 pe
On Tue, Nov 20, 2012 at 10:29 AM, Marco 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__
> and Foo.__init__ ca
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 refa
On Tue, Nov 20, 2012 at 12:09 PM, Kevin T 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 )
> #else
On Tue, Nov 20, 2012 at 12:37 PM, Ian Kelly wrote:
> On Tue, Nov 20, 2012 at 12:09 PM, Kevin T 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
>>
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 cover
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
pote
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 Goog
On 20 November 2012 16:19, Dave Angel wrote:
> On 11/20/2012 11:09 AM, John Gordon wrote:
> > In <3d71f175-164e-494c-a521-2eaa5679b...@googlegroups.com> Michael
> Herrmann writes:
> >
> >> What, in your view, would be the most intuitive alternative name?
> > keyboard_input().
> >
>
> Well, since
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
e
On 11/20/2012 9:14 AM, Chris Angelico wrote:
On Wed, Nov 21, 2012 at 12:56 AM, 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
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 t
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 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 a learning experie
On Tue, Nov 20, 2012 at 7:58 AM, 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.
>
> I did a G
On Wed, Nov 21, 2012 at 3:21 AM, 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
On Wed, Nov 21, 2012 at 1:57 AM, 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 wrote:
>>
>> > Perhaps you are right. Is there any statistics of how many Python
>>
>> > programmers are using 2.7 vs. 3? Most of people I
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): Gen
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 usi
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...
--
http://mail.python.org/mailman/li
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 add
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. Howev
On Wed, Nov 21, 2012 at 8:14 AM, 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?
You're
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 Uni
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
On Tuesday, November 20, 2012 1:48:46 PM UTC-8, Chris Angelico wrote:
> On Wed, Nov 21, 2012 at 8:14 AM, 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
> >
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 proble
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 inte
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 d
On Wed, Nov 21, 2012 at 8:55 AM, Mark Lawrence 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 small group of la
On Wed, Nov 21, 2012 at 9:00 AM, wrote:
> On Tuesday, November 20, 2012 1:48:46 PM UTC-8, Chris Angelico wrote:
>> On Wed, Nov 21, 2012 at 8:14 AM, 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
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?
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 co
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 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
brint...@controlledthinking.com wrote:
>
> 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 c
1 - 100 of 122 matches
Mail list logo