Hi,
I have a requirement that I want to log-in into a gmail account read
all unread mails, mark them as read and then archive them.
I am using libgmail (version 0.1.11) library to do so, using which I
am able to log-in into a gmail account fetch all unread message and
then read them one by one.
No
Ben Finney wrote:
> No, it wasn't clear at all. That's why I asked, rather than making
> assumptions.
>
> Thanks for clarifying.
No problem. Thank you for another pleasant exchange.
--
http://mail.python.org/mailman/listinfo/python-list
En Mon, 14 Jun 2010 11:57:20 -0300, Nathan Huesken
escribió:
tempfile.mkstemp returns a file name and a file descriptor (as returned
by os.open). Can I somehow convert this descriptor to a file object?
py> import os
py> help(os.fdopen)
Help on built-in function fdopen in module nt:
fdopen(
On Mon, 14 Jun 2010 16:20:29 -0400, Terry Reedy wrote about IDLE:
>> We are at once lucky to have a built in editor
>
> It is certainly a boon to someone like me who now only programs in
> Python and had no experience, let alone commitment to any of the current
> alternative.
I know that lots
* teja, on 15.06.2010 09:03:
Hi,
I have a requirement that I want to log-in into a gmail account read
all unread mails, mark them as read and then archive them.
I am using libgmail (version 0.1.11) library to do so, using which I
am able to log-in into a gmail account fetch all unread message an
On Jun 15, 1:41 am, Stephen Hansen wrote:
> On 6/14/10 9:08 PM, Stephen Hansen wrote:
> > You're an *beep*.
>
> For the record, this was inappropriate. A moment's frustration after a
> long day does not excuse belligerence, even if unnecessarily provoked.
>
> I apologize.
No problem Stephen, as y
Chris Seberino wrote:
> I tried to use subprocess.Popen to make my web app do a bunch of stuff
> in separate processes today. It appeared like only the first one
> finished and/or the rest of the forked processes crashed.
>
First thing to do would be to show us a little code and to look for the
e
On Tue, Jun 15, 2010 at 5:30 PM, Steven D'Aprano
wrote:
> But other than that, I don't
> see the advantage of an IDE. What am I missing?
You're not missing anything my dear watson :)
I myself use vim (as my editor) and 2-3 Terminals on virtual workspaces
(in my DE). I guess the beauty with vim i
En Sat, 12 Jun 2010 06:03:43 -0300, Phil H escribió:
Trying my hand with Python but have had a small hiccup.
Reading 'A byte of Python' and created helloworld.py as directed.
#!/usr/bin/python
# filename : helloworld.py
print 'Hello World'
At the terminal prompt cd to the file location and r
On Jun 14, 7:11 pm, Kushal Kumaran
wrote:
> On Mon, Jun 14, 2010 at 7:01 PM,hiral wrote:
> > Hi,
>
> > Do we have any facility to append file from Popen()/call(); see below
> > example...
>
> > 1 import subprocess
> > 2 f=open('log', 'w')
> > 3 ...# writing some log-into into log file
> > 4 p = su
I'm creating excel docs on the fly using XLWT. However, I need to
include filters which I believe can only be done with pywin32.
Does pywin32 use elements from Windows itself, or excel when
dispatching?
--
http://mail.python.org/mailman/listinfo/python-list
On 15/06/2010 09:32, Astley Le Jasper wrote:
Does pywin32 use elements from Windows itself, or excel when
dispatching?
Yes: it's simply exposing to the Python user the API provided
by MS Office (or whatever other app) via the IDispatch COM
mechanism.
IOW, if you don't have Microsoft Excel inst
Hi,
I am trying to figure out, what files to copy with my app so I am able to
initialize the python runtime.
Where can I find information about this?
Thank you,
Filip
--
http://mail.python.org/mailman/listinfo/python-list
On Jun 15, 10:44 am, Tim Golden wrote:
> On 15/06/2010 09:32, Astley Le Jasper wrote:
>
> > Does pywin32 use elements from Windows itself, or excel when
> > dispatching?
>
> Yes: it's simply exposing to the Python user the API provided
> by MS Office (or whatever other app) via the IDispatch COM
>
Ohh my bad...
thanks a lot for replying Alf..
The error which I've pasted above, was thrown before I modified the
code a bit..
Here's the error thrown on running the code I've pasted above..
there's not much of a difference in the error though.
HTTP Error 500: Internal Server Error
Traceback (m
i am waiting for the reply as
i am unable to proceed...;(
--
madhuri :)
--
http://mail.python.org/mailman/listinfo/python-list
On 06/15/2010 10:20 AM, F van der Meeren wrote:
> Hi,
>
> I am trying to figure out, what files to copy with my app so I am able to
> initialize the python runtime.
> Where can I find information about this?
You need to link with libpython. How you do this depends on the
toolchain you're using.
On 06/15/2010 11:07 AM, teja wrote:
> And there's a email library provided in Python (supports both POP and
> SMTP) but I dont know whether it allows us to archive mails or mark
> them as read for that matter.
POP (the protocol) only allows downloading messages, AFAIK. SMTP is for
sending. A more
Hello,
Robot Framework [1] is a generic open source test automation framework
for acceptance testing and acceptance test driven development (ATDD).
It has an easy-to-use tabular syntax for creating test cases and its
testing capabilities can be extended by test libraries implemented
either with Py
On Tue, 15 Jun 2010 04:53:52 -0300, Gabriel Genellina wrote:
> Looks like you created helloworld.py on Windows, or using
> Windows-oriented tools (perhaps a samba drive? ftp from a Windows disk?)
> Windows text files end each line with the \r\n sequence (CR LF, bytes
> 0x0D 0x0A, ^M^J). Unix (and L
On Tue, 15 Jun 2010 17:45:43 +1000 James Mills
wrote:
> I myself use vim (as my editor) and 2-3 Terminals on virtual
> workspaces (in my DE). I guess the beauty with vim is you just read
> the line no. type it in and hit ^G
>
You mean just G (Shift+g), right? ^G (Ctrl+G) prints the file name and
IDEs are seriously over-rated.
Vim FTW.
The only issue for beginners is they should know touch typing to fully
utilize Vim and the initial curve is a bit high as compared to normal
editors/IDEs.
On Tue, Jun 15, 2010 at 4:16 PM, Andreas Waldenburger
wrote:
> On Tue, 15 Jun 2010 17:45:43 +1000 Jam
In article <80a7b823-6acb-4ac9-a273-525054265...@k25g2000prh.googlegroups.com>,
ant wrote:
>
>My concern is simple: I think that Python is doomed to remain a minor
>language unless we crack this problem.
Capitalist fallacy: If I'm not a market leader, I'm a failure
and my Mother will laugh at m
Ben Finney wrote:
> It should go without saying, but unfortunately the tenor of this forum
> has been worsened (temporarily, I hope) by certain interminable threads
> of late. So, to be clear:
>
> Thanks for clarifying that you were not expressing the attitude I
> inferred.
Ah, crap, I didn't see
Travis,
Great job - thanks for sharing your research!
Note: you may want to add cherrypy.org to your framework page. This is
an excellent, light weight, template agnostic framework. Turbogears runs
on top of CherryPy.
Malcolm
--
http://mail.python.org/mailman/listinfo/python-list
goal (from e.c.m.): evaluate
1^2+2^2+3^2-4^2-5^2+6^2+7^2+8^2-9^2-10^2+...-2010^2, where each three
consecutive + must be followed by two - (^ meaning ** in this context)
my solution:
>>> s = 0
>>> for i in range(1, 2011):
... s += i**2
... if not (i+1)%5:
... s -= 2*i**2
...
On 15 June 2010 21:49, superpollo wrote:
> goal (from e.c.m.): evaluate
> 1^2+2^2+3^2-4^2-5^2+6^2+7^2+8^2-9^2-10^2+...-2010^2, where each three
> consecutive + must be followed by two - (^ meaning ** in this context)
>
Obligatory one-liner:
>>> sum((1, 1, 1, -1, -1)[(x-1) % 5] * x**2 for x in x
superpollo wrote:
> ... s += i**2
> ... if not (i+1)%5:
> ... s -= 2*i**2
> ... if not i%5:
> ... s -= 2*i**2
if not (i % 5) in [1, 2]:
s += i**2
else:
s -= i**2
Untested code.
Uli
--
Sator Laser GmbH
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR
Dear All,
Before I start, I'm aware of how much of a nightmare MSys and MINGW are
in comparison to UNIX/Linux environments, I'm a casual Ubuntu user
myself and I wouldn't go near Windows if I didn't have to.
I'm trying to install the Python LibXML2 extensions onto my 64 bit
Cython 2.6 setup
superpollo, 15.06.2010 13:49:
goal (from e.c.m.): evaluate
1^2+2^2+3^2-4^2-5^2+6^2+7^2+8^2-9^2-10^2+...-2010^2, where each three
consecutive + must be followed by two - (^ meaning ** in this context)
my solution:
>>> s = 0
>>> for i in range(1, 2011):
... s += i**2
... if not (i+1)%5:
... s -
On 15/06/2010 08:39, rantingrick wrote:
On Jun 15, 1:41 am, Stephen Hansen wrote:
On 6/14/10 9:08 PM, Stephen Hansen wrote:
You're an *beep*.
For the record, this was inappropriate. A moment's frustration after a
long day does not excuse belligerence, even if unnecessarily provoked.
I apolo
superpollo writes:
> goal (from e.c.m.): evaluate
> 1^2+2^2+3^2-4^2-5^2+6^2+7^2+8^2-9^2-10^2+...-2010^2, where each three
> consecutive + must be followed by two - (^ meaning ** in this context)
>
> my solution:
>
s = 0
for i in range(1, 2011):
> ... s += i**2
> ... if not (i+1)
Ulrich Eckhardt ha scritto:
superpollo wrote:
... s += i**2
... if not (i+1)%5:
... s -= 2*i**2
... if not i%5:
... s -= 2*i**2
if not (i % 5) in [1, 2]:
s += i**2
else:
s -= i**2
Untested code.
does not work:
>>> s = 0
>>> for i in range(1, 2011):
...
alex23 writes:
> Ben Finney wrote:
> > Thanks for clarifying that you were not expressing the attitude I
> > inferred.
>
> Ah, crap, I didn't see this until now. I _did_ take the wrong meaning
> from it and unfortunately replied accordingly :| So please take this
> as a sincere apology (laced wi
Stephen Hansen wrote:
unless I've been long mistaken in pack not
having a proportional option. A combination of "fill/expand" and
"anchor" do most of everything else, though, that wx's flags and
alignment options.
It's a while since I used tkinter, but if I recall correctly,
the grid manager do
superpollo writes:
> goal (from e.c.m.): evaluate
> 1^2+2^2+3^2-4^2-5^2+6^2+7^2+8^2-9^2-10^2+...-2010^2, where each three
> consecutive + must be followed by two - (^ meaning ** in this context)
>
> my solution:
>
> >>> s = 0
> >>> for i in range(1, 2011):
> ... s += i**2
> ... if not
superpollo wrote:
> goal (from e.c.m.): evaluate
> 1^2+2^2+3^2-4^2-5^2+6^2+7^2+8^2-9^2-10^2+...-2010^2, where each three
> consecutive + must be followed by two - (^ meaning ** in this context)
>>> from itertools import cycle, izip
>>> sum(sign*i*i for sign, i in izip(cycle([1]*3+[-1]*2), range(1
Hi,
I'm facing a curious problem: 2.6, 2.6.1 and 2.6.4 are generating
different byte-code for the same source. I can not find the reason for.
As you may know, I'm providing the 'decompyle' service as
www.crazy-comnpilers.com. This service includes verification of the
source against the original b
Peter Otten ha scritto:
superpollo wrote:
goal (from e.c.m.): evaluate
1^2+2^2+3^2-4^2-5^2+6^2+7^2+8^2-9^2-10^2+...-2010^2, where each three
consecutive + must be followed by two - (^ meaning ** in this context)
from itertools import cycle, izip
sum(sign*i*i for sign, i in izip(cycle([1]*3+[
superpollo ha scritto:
Peter Otten ha scritto:
superpollo wrote:
goal (from e.c.m.): evaluate
1^2+2^2+3^2-4^2-5^2+6^2+7^2+8^2-9^2-10^2+...-2010^2, where each three
consecutive + must be followed by two - (^ meaning ** in this context)
from itertools import cycle, izip
sum(sign*i*i for sign,
On Jun 14, 9:00 pm, Stephen Hansen wrote:
> On 6/14/10 1:00 PM, lkcl wrote:
> > what we typically recommend is that _even_ though you're going to run
> > the application "desktop" - as pure python - you still use JSONRPC [or
> > XmlHTTPRequest if JSONRPC is overkill]. so, _even_ though it's a
>
Stefan Behnel, 15.06.2010 14:23:
superpollo, 15.06.2010 13:49:
goal (from e.c.m.): evaluate
1^2+2^2+3^2-4^2-5^2+6^2+7^2+8^2-9^2-10^2+...-2010^2, where each three
consecutive + must be followed by two - (^ meaning ** in this context)
my solution:
>>> s = 0
>>> for i in range(1, 2011):
... s +=
lkcl ha scritto:
...
That sounds too good to be true.
yup, it does. how can one person, a free software developer, have
come up with something like "The Holy Grail" of software development,
right? when all the money in the world, from ibm, adobe, microsoft,
google, nokia and so on _hasn't_ m
On 15 June 2010 22:55, superpollo wrote:
> Peter Otten ha scritto:
>
> superpollo wrote:
>>
>> goal (from e.c.m.): evaluate
>>> 1^2+2^2+3^2-4^2-5^2+6^2+7^2+8^2-9^2-10^2+...-2010^2, where each three
>>> consecutive + must be followed by two - (^ meaning ** in this context)
>>>
>>
>> from iterto
On 06/15/2010 01:49 PM, superpollo wrote:
> my solution:
>
> [...]
> >>> print s
> 536926141
Or, if you would like to use numpy:
>>> import numpy
>>> squares = numpy.arange(1, 2011, dtype=numpy.int)**2
>>> signs = numpy.ones(len(squares), dtype=numpy.int)
>>> signs[3::5] = -1
>>> signs[4::5] = -1
superpollo wrote:
superpollo ha scritto:
Peter Otten ha scritto:
superpollo wrote:
goal (from e.c.m.): evaluate
1^2+2^2+3^2-4^2-5^2+6^2+7^2+8^2-9^2-10^2+...-2010^2, where each three
consecutive + must be followed by two - (^ meaning ** in this context)
from itertools import cycle, izip
sum
>>> sum(i*i*(-1)**((i % 5) / 4 + (i + 4) % 5 / 4) for i in range(1,2011))
536926141
On Tue, Jun 15, 2010 at 6:25 PM, superpollo wrote:
> superpollo ha scritto:
>
> Peter Otten ha scritto:
>>
>>> superpollo wrote:
>>>
>>> goal (from e.c.m.): evaluate
1^2+2^2+3^2-4^2-5^2+6^2+7^2+8^2-9^2-1
superpollo, 15.06.2010 14:55:
Peter Otten ha scritto:
superpollo wrote:
goal (from e.c.m.): evaluate
1^2+2^2+3^2-4^2-5^2+6^2+7^2+8^2-9^2-10^2+...-2010^2, where each three
consecutive + must be followed by two - (^ meaning ** in this context)
from itertools import cycle, izip
sum(sign*i*i fo
On 06/15/2010 01:30 AM, Steven D'Aprano wrote:
> I know that lots of people swear by IDEs, and back in Ancient Days I used
> to use the THINK Pascal IDE on a Macintosh so I'm not hostile to the
> idea. But in those days you could only run one app at a time, so you
> needed an IDE or you'd go ins
Stefan Behnel ha scritto:
superpollo, 15.06.2010 14:55:
Peter Otten ha scritto:
superpollo wrote:
goal (from e.c.m.): evaluate
1^2+2^2+3^2-4^2-5^2+6^2+7^2+8^2-9^2-10^2+...-2010^2, where each three
consecutive + must be followed by two - (^ meaning ** in this context)
from itertools import
Stefan Behnel wrote:
> superpollo, 15.06.2010 14:55:
>> Peter Otten ha scritto:
>>> superpollo wrote:
>>>
goal (from e.c.m.): evaluate
1^2+2^2+3^2-4^2-5^2+6^2+7^2+8^2-9^2-10^2+...-2010^2, where each three
consecutive + must be followed by two - (^ meaning ** in this context)
>>>
>>>
On 2010-06-15, Steven D'Aprano wrote:
> On Mon, 14 Jun 2010 16:20:29 -0400, Terry Reedy wrote about IDLE:
>
>>> We are at once lucky to have a built in editor
>>
>> It is certainly a boon to someone like me who now only programs in
>> Python and had no experience, let alone commitment to any of
On 06/15/2010 02:03 PM, James Ravenscroft wrote:
> Dear All,
>
> Before I start, I'm aware of how much of a nightmare MSys and MINGW are
> in comparison to UNIX/Linux environments, I'm a casual Ubuntu user
> myself and I wouldn't go near Windows if I didn't have to.
>
> I'm trying to install the
On 2010-06-15, teja wrote:
> I have a requirement that I want to log-in into a gmail account read
> all unread mails, mark them as read and then archive them.
> I am using libgmail (version 0.1.11) library to do so, using which I
> am able to log-in into a gmail account fetch all unread message a
On 06/15/2010 02:54 PM, Hartmut Goebel wrote:
> Hi,
>
> I'm facing a curious problem: 2.6, 2.6.1 and 2.6.4 are generating
> different byte-code for the same source. I can not find the reason for.
>
> As you may know, I'm providing the 'decompyle' service as
> www.crazy-comnpilers.com. This servic
On 15/06/2010 15:10, Grant Edwards wrote:
On 2010-06-15, teja wrote:
I have a requirement that I want to log-in into a gmail account read
all unread mails, mark them as read and then archive them.
I am using libgmail (version 0.1.11) library to do so, using which I
am able to log-in into a gma
On Jun 15, 2:44 am, News123 wrote:
> ChrisSeberinowrote:
> > I tried to use subprocess.Popen to make my web app do a bunch of stuff
> > in separate processes today. It appeared like only the first one
> > finished and/or the rest of the forked processes crashed.
> First thing to do would be to s
On Tue, 15 Jun 2010 05:57:13 -0700, lkcl wrote:
> to be honest, if you don't put any effort in to use the appropriate
> "lovely-prettiness" panels you can end up with something truly "90s-
> esque". but with a little effort you can do round-edged lovely colour
> tabs:
>http://pyjs.org/exampl
On 2010-06-15, Tim Golden wrote:
> On 15/06/2010 15:10, Grant Edwards wrote:
>> On 2010-06-15, teja wrote:
>>
>>> I have a requirement that I want to log-in into a gmail account read
>>> all unread mails, mark them as read and then archive them.
>>> I am using libgmail (version 0.1.11) library to
On 15/06/2010 16:15, Grant Edwards wrote:
On 2010-06-15, Tim Golden wrote:
On 15/06/2010 15:10, Grant Edwards wrote:
On 2010-06-15, teja wrote:
I have a requirement that I want to log-in into a gmail
account read all unread mails, mark them as read and then
archive them. I am using libgmai
Newbie here. I may be missing something obvious, in which case,
please feel free to berate and laugh at me.
Here's a dubious line of code:
logging = logging.getLogger(__name__)
How can I refer to the original logging package "logging" after this
statement is run? Specifically, I'm trying to add
hiral wrote:
Hi,
Is there any module/utility like 'rsync' in python.
Thank you in advance.
Not exactly what you asked for, but Mercurial provides a Python
interface. You might find this URL a good starting point:
http://mercurial.selenic.com/wiki/MercurialApi
--
Jonathan
--
http://mail
On 15/06/2010 16:35, genkuro wrote:
Newbie here. I may be missing something obvious, in which case,
please feel free to berate and laugh at me.
Here's a dubious line of code:
logging = logging.getLogger(__name__)
How can I refer to the original logging package "logging" after this
statement is
genkuro wrote:
> Newbie here. I may be missing something obvious, in which case,
> please feel free to berate and laugh at me.
>
> Here's a dubious line of code:
> logging = logging.getLogger(__name__)
Dubious indeed. As a workaround you can import the module again, preferably
under another na
Jonathan Fine writes:
> hiral wrote:
>> Hi,
>>
>> Is there any module/utility like 'rsync' in python.
>>
>> Thank you in advance.
>
> Not exactly what you asked for, but Mercurial provides a Python
> interface. You might find this URL a good starting point:
>http://mercurial.selenic.com/wiki
Peter Otten <__pete...@web.de> writes:
> genkuro wrote:
>
>> Newbie here. I may be missing something obvious, in which case,
>> please feel free to berate and laugh at me.
>>
>> Here's a dubious line of code:
>> logging = logging.getLogger(__name__)
>
> Dubious indeed. As a workaround you can im
On Jun 15, 8:49 am, Mark Lawrence wrote:
> On 15/06/2010 16:35, genkuro wrote:
>
> > Newbie here. I may be missing something obvious, in which case,
> > please feel free to berate and laugh at me.
>
> > Here's a dubious line of code:
> > logging = logging.getLogger(__name__)
>
> > How can I refer
genkuro wrote:
Newbie here. I may be missing something obvious, in which case,
please feel free to berate and laugh at me.
Here's a dubious line of code:
logging = logging.getLogger(__name__)
How can I refer to the original logging package "logging" after this
statement is run? Specifically,
On Tue, Jun 15, 2010 at 7:08 AM, Shashwat Anand
wrote:
> IDEs are seriously over-rated.
> Vim FTW.
> The only issue for beginners is they should know touch typing to fully
> utilize Vim and the initial curve is a bit high as compared to normal
> editors/IDEs.
Used to be vim-only. Then I got to kn
genkuro wrote:
On Jun 15, 8:49 am, Mark Lawrence wrote:
On 15/06/2010 16:35, genkuro wrote:
Newbie here. I may be missing something obvious, in which case,
please feel free to berate and laugh at me.
Here's a dubious line of code:
logging = logging.getLogger(__name__)
On 15/06/2010 17:03, genkuro wrote:
On Jun 15, 8:49 am, Mark Lawrence wrote:
On 15/06/2010 16:35, genkuro wrote:
Newbie here. I may be missing something obvious, in which case,
please feel free to berate and laugh at me.
Here's a dubious line of code:
logging = logging.getLogger(__name__)
On 6/15/10 9:03 AM, genkuro wrote:
> I'm coming to Python from Java. I'm still getting a feel for scoping
> limits. For the sake of curiosity, is there another way to refer to a
> package besides name?
The only way to refer to anything is by its name -- or, from a name and
through subscript/dot
On Tue, Jun 15, 2010 at 6:21 AM, Alain Ketterlin
wrote:
> You compute i**2 too many times (7/5 times more than necessary) and
> twice too many modulos. I suggest:
>
> c = { 0:1, 1:1, 2:1, 3:-1, 4:-1 }
> #or, why not: c = lambda i : +1 if (i%5) < 3 else -1
>
> s = 0
> for i in range(1,2011):
> s
Op 2010-06-14 22:00, John Nagle schreef:
> There's a way to do this in Windows. Look in Task Manager,
> with a browser running, and the description for each Firefox
> instance will show the page being displayed.
Are you sure? I only see that on the Applications tab, which shows
window titles;
On 14-06-2010 17:53, lkcl wrote:
>> oh look - there's a common theme, there: "web technology equals
>> useless" :)
>>
> this is getting sufficiently ridiculous, i thought it best to
> summarise the discussions of the past few days, from the perspective
> of four-year-olds:
>
> http://pyjs.org
superpollo writes:
> goal (from e.c.m.): evaluate
> 1^2+2^2+3^2-4^2-5^2+6^2+7^2+8^2-9^2-10^2+...-2010^2, where each three
> consecutive + must be followed by two - (^ meaning ** in this context)
print sum([-1,1,1,1,-1][i%5]*i**2 for i in xrange(1,2011))
--
http://mail.python.org/mailman/listinfo
Hartmut Goebel writes:
> I'm facing a curious problem: 2.6, 2.6.1 and 2.6.4 are generating
> different byte-code for the same source. I can not find the reason for.
Why should they generate the same bytecode? All that you should expect
is that the same bytecode should be runnable on all three in
Paul Rubin ha scritto:
superpollo writes:
goal (from e.c.m.): evaluate
1^2+2^2+3^2-4^2-5^2+6^2+7^2+8^2-9^2-10^2+...-2010^2, where each three
consecutive + must be followed by two - (^ meaning ** in this context)
print sum([-1,1,1,1,-1][i%5]*i**2 for i in xrange(1,2011))
beautiful.
thx
--
h
Possible to make subprocess.Popen jobs run serially rather than in
parallel?
In other words, if a computer is low on memory and doesn't mind
waiting.can Popen be configured to submit to a queue and run jobs
*ONE AT TIME*??
That might be useful and avoid crashes and disk swapping.
cs
--
http
Has anyone had any prior experience with this sort of problem or can
anyone point me in the right direction?
My recommendation is to install the 32-bit version of Python, and use
precompiled binaries of libxml.
Failing that, install Visual Studio Express (or Visual Studio proper),
and compile l
On 6/15/10 11:52 AM, Chris Seberino wrote:
> Possible to make subprocess.Popen jobs run serially rather than in
> parallel?
>
> In other words, if a computer is low on memory and doesn't mind
> waiting.can Popen be configured to submit to a queue and run jobs
> *ONE AT TIME*??
>
> That might
On 6/14/2010 11:58 AM, geremy condra wrote:
On Mon, Jun 14, 2010 at 11:47 AM, Nobody wrote:
On Mon, 14 Jun 2010 10:43:02 -0700, John Nagle wrote:
The new SSL module in Python 2.6
There isn't an SSL module in Python 2.6. There is a module named "ssl"
which pretends to implement SSL, but
http://lab.arc90.com/experiments/readability/
Readability is a javascript bookmarklet that "makes reading on the Web
more enjoyable by removing the clutter around what you're reading."
Does anyone know of something similar in Python?
--
дамјан ((( http://damjan.softver.org.mk/ )))
"Debug
Дамјан Георгиевски, 15.06.2010 17:44:
http://lab.arc90.com/experiments/readability/
Readability is a javascript bookmarklet that "makes reading on the Web
more enjoyable by removing the clutter around what you're reading."
Does anyone know of something similar in Python?
Well, that sounds lik
On Mon, 14 Jun 2010 19:47:49 +0100
Nobody wrote:
> On Mon, 14 Jun 2010 10:43:02 -0700, John Nagle wrote:
>
> > The new SSL module in Python 2.6
>
> There isn't an SSL module in Python 2.6. There is a module named "ssl"
> which pretends to implement SSL, but in fact doesn't.
What do you mean
Hello list,
Here's a little Python toy I've been hacking on, as I thought it might
amuse some of you. [1] Python 3.1+ (not sure about 3.0)
It's a package called 'audiogen' which includes bindings to libao for
portable audio output and some functions/classes/... for generating
audio. It grew from
On Tue, Jun 15, 2010 at 1:27 PM, Antoine Pitrou wrote:
> On Mon, 14 Jun 2010 19:47:49 +0100
> Nobody wrote:
>> On Mon, 14 Jun 2010 10:43:02 -0700, John Nagle wrote:
>>
>> > The new SSL module in Python 2.6
>>
>> There isn't an SSL module in Python 2.6. There is a module named "ssl"
>> which p
Hello,
> He's describing the lack of hostname checking, discussed here[0],
> here[1], and in my pycon lightning talk last year, wherever those
> are kept.
Ok, thank you.
I have tried to put some effort into the py3k ssl docs, so that security
issues get mentioned:
http://docs.python.org/dev/py3k
Hi,
I'm working on an application program that embeds Python using the C-API.
Sometimes, I need to call functions written in pure Python from the C code, so
I use Py_CompileString and PyEval_EvalCode.
I would like to avoid compiling the same code over and over by storing the
result of Py_Compi
On Tue, Jun 15, 2010 at 1:57 PM, Antoine Pitrou wrote:
>
> Hello,
>
>> He's describing the lack of hostname checking, discussed here[0],
>> here[1], and in my pycon lightning talk last year, wherever those
>> are kept.
>
> Ok, thank you.
> I have tried to put some effort into the py3k ssl docs, so
On 06/15/2010 10:51 PM, Andy Jost wrote:
> Hi,
>
>
>
> I’m working on an application program that embeds Python using the
> C-API. Sometimes, I need to call functions written in pure Python from
> the C code, so I use Py_CompileString and PyEval_EvalCode.
I'd recommend putting your Python code
On Tue, 15 Jun 2010 14:14:08 -0700
geremy condra wrote:
> >
> > Ok, thank you.
> > I have tried to put some effort into the py3k ssl docs, so that security
> > issues get mentioned:
> > http://docs.python.org/dev/py3k/library/ssl.html#security-considerations
> > Any improvement or correction is we
On Monday 14 June 2010 11:29:35 pm shanti bhushan wrote:
> do we have some configuration file for python server??
No.
As people have explained in reply to your other messages, Python's
BaseHTTPServer does not use any configuration files. If you want a web server
which uses a configuration file,
On Tue, 15 Jun 2010 22:57:24 +0200, Antoine Pitrou wrote:
> Also, following issue1589 (certificate hostname checking), I think it
> would be useful at least to provide the necessary helper functions in
> order to check certificate conformity, even if they aren't called
> implicitly. I would encour
I got to target my little GUI app that uses TCP sockets in Python
2.4.4 for Windows and Linux.
Question 1
=
Given the above, I installed 2.4.4 on Windows 7 and Tkinter import
works like a charm. (the install is good)
The Linux (Red Hat 4.1.2-46) though has python preinstalled with ver
2.
On 6/15/2010 9:27 AM, Roel Schroeven wrote:
Op 2010-06-14 22:00, John Nagle schreef:
There's a way to do this in Windows. Look in Task Manager,
with a browser running, and the description for each Firefox
instance will show the page being displayed.
Are you sure? I only see that on the A
On 06/15/2010 11:35 PM, My Python wrote:
> I got to target my little GUI app that uses TCP sockets in Python
> 2.4.4 for Windows and Linux.
>
>
> Question 1
> =
> Given the above, I installed 2.4.4 on Windows 7 and Tkinter import
> works like a charm. (the install is good)
>
> The Linux
This is all due to DISINFORMATION - FBI bustards are the cause of it.
The prime suspect of ANTHRAX is beyond doubt a white or jew (american
or israeli) and one name is Zack who worked at AIMES Iowa. The 911 is
also a jew job or white job. If this bustard were knowledgeable, he
would be hunting for
I am puzzled by what appears to be a scope issue - obviously I have
something wrong :-)
Why does this work:
if __name__ == 'main':
execfile('test-data.py')
print data
and yet this doesn't (I get "NameError: global name 'data' not
defined"):
def X():
execfile('test-data.py')
print data
On 2010-06-15, My Python wrote:
> Question 2
>
> Can some one post a URL (or a sample module itself) that shows how to
> write basic TCP socket application?
http://docs.python.org/library/socket.html#example
http://docs.python.org/library/asyncore.html
http://twistedmatrix.com/trac/
>
1 - 100 of 143 matches
Mail list logo