Hi All,
I'm raising a campaign to support the notmm project, a freely accessible
open source project i created
to develop an advanced web framework for Django. Furthermore the project
is using ConfigObj internally for allowing
flexible configuration and Cython for extending Django apps in C.
On Saturday, August 11, 2012 4:09:16 PM UTC-7, Opap-OJ wrote:
> I can no longer open the Idle IDE for Python on Windows 7.
> ..
> Any idea why?
It looks like your registry has changed.
To fix this just use the Windows Explorer, click on a Python file
and use the 'Open with, Choose default progr
On Sun, 12 Aug 2012 17:15:12 -0700, alex23 wrote:
> On Aug 10, 7:37 pm, Mark Lawrence wrote:
>> Well whatever you do *DON'T* mention Cython. I mentioned it just now
>> but I think I've got away with it.
>
> While I'm not against threads straying off topic, you're beginning to
> come across as a
Am 10.08.2012 15:01, schrieb loial:
I am writing an application to send data to a printer port(9100) and
then recieve PJL responses back on that port. Because of the way PJL
works I have to do both in the same process(script).
If I understand that right, you are opening a TCP connection, so
ob
On Sun, 12 Aug 2012 23:06:19 +, kj wrote:
> Is there an *explicitly stated* reason (e.g. in a PEP, or in some python
> dev list message) for why the inspect module (at least for Python 2.7)
> does not include anything like a "currentcallable()" function that would
> *stably*[1] return the curr
Hi All,
I'm pleased to announce the release of testfixtures 2.3.5. testfixtures
is a collection of helpers for writing succinct unit tests including
help for:
- Comparing objects and sequences
Better feedback when the results aren't as you expected along with
support for comparison of objec
On Mon, Aug 13, 2012 at 6:24 PM, Steven D'Aprano
wrote:
> On Sun, 12 Aug 2012 23:06:19 +, kj wrote:
>
>> Is there an *explicitly stated* reason (e.g. in a PEP, or in some python
>> dev list message) for why the inspect module (at least for Python 2.7)
>> does not include anything like a "curre
subj
--
http://mail.python.org/mailman/listinfo/python-list
I thought I would try out Python 3.3 beta 2.
This works well so far but I keep getting the message:
Exception KeyError: KeyError(6308,) infrom 'c:\\Program Files\\Python33\\lib\\threading.py'> ignored
after some of my python code completes.
Is this an issue worth reporting?
--
http:
On Mon, 13 Aug 2012 03:18:49 -0700, Xantipius wrote:
> subj
The same way as you compressed it, only in reverse.
When you ask a sensible question, I'm sure that somebody will give you a
sensible answer.
--
Steven
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, Aug 13, 2012 at 8:36 PM, Blind Anagram wrote:
> I thought I would try out Python 3.3 beta 2.
> This works well so far but I keep getting the message:
>
> Exception KeyError: KeyError(6308,) in 'c:\\Program Files\\Python33\\lib\\threading.py'> ignored
>
> after some of my python code compl
"Chris Angelico" wrote in message
news:mailman.3222.1344856408.4697.python-l...@python.org...
On Mon, Aug 13, 2012 at 8:36 PM, Blind Anagram wrote:
I thought I would try out Python 3.3 beta 2.
This works well so far but I keep getting the message:
Exception KeyError: KeyError(6308,) in igno
On Sun, 12 Aug 2012 22:26:19 +0100, Tim Golden
wrote:
>Just to make a point: one person's "isn't a good solution" is another
>person's "works perfectly well for me". Modern servers are really quite
>quick: the cost of starting up a Python process and generating an HTML
>page can be really quite
On Mon, Aug 13, 2012 at 9:24 PM, Blind Anagram wrote:
>
> Here is a fairly short bit of code which produces the exception:
>
> for pre in ('12', '13', '14', '15', '21' ):
> n = int(pre + '543')
> s = str(n * n)
> if len(set(s)) == 9:
>print(n, s)
Interesting. I just downloaded a clean 3.3
On Mon, 13 Aug 2012 12:24:55 +0100, Blind Anagram wrote:
> Here is a fairly short bit of code which produces the exception:
>
> for pre in ('12', '13', '14', '15', '21' ):
> n = int(pre + '543')
> s = str(n * n)
> if len(set(s)) == 9:
> print(n, s)
Um, I don't think so.
>>> for pre
On Mon, Aug 13, 2012 at 9:38 PM, Steven D'Aprano
wrote:
> Since your code doesn't even import threading, let alone use it, I can't
> imagine how you get an error in threading.
Hey, I try not to get scornful until at least the sixth post :)
ChrisA
--
http://mail.python.org/mailman/listinfo/pytho
Xantipius writes:
> subj
resp
--
\ “What is needed is not the will to believe but the will to find |
`\ out, which is the exact opposite.” —Bertrand Russell, _Free |
_o__) Thought and Official Propaganda_, 1928 |
Ben Finney
--
http://mail.python.org/mail
"Chris Angelico" wrote in message
news:mailman.3223.1344857956.4697.python-l...@python.org...
On Mon, Aug 13, 2012 at 9:24 PM, Blind Anagram wrote:
Here is a fairly short bit of code which produces the exception:
for pre in ('12', '13', '14', '15', '21' ):
n = int(pre + '543')
s = str(n *
On Mon, Aug 13, 2012 at 9:51 PM, Blind Anagram wrote:
> Thanks to you both for your responses.
>
> Its an IDE issue of some kind (I am using WING).
>
> When I run under a command prompt (or IDLE) all is well.
Next time, do mention that sort of environmental consideration in the
original post :)
пятница, 6 ноября 2009 г., 12:48:47 UTC+4 пользователь sam написал:
> I am simply trying to display this copyright symbol on a webpage, so
> how do I encode the byte array to utf-8 given that it is 'escape
> encoded' in the above way? I tried:
>
> responseByteArray.decode('utf-8')
> and response
On 13/08/2012 01:15, alex23 wrote:
On Aug 10, 7:37 pm, Mark Lawrence wrote:
Well whatever you do *DON'T* mention Cython. I mentioned it just now but
I think I've got away with it.
While I'm not against threads straying off topic, you're beginning to
come across as a bit of an asshole now.
Ju
On 13/08/2012 11:18, Xantipius wrote:
subj
Either
a) write some code and when and if it fails give us a small code snippet
that demonstates the problem with the complete traceback.
or
b) state how much you are willing to pay for someone here to come up
with a solution for you.
--
Cheer
On 13 aug 2012, at 14:40, Mark Lawrence wrote:
> On 13/08/2012 11:18, Xantipius wrote:
>> subj
>>
>
> Either
>
> a) write some code and when and if it fails give us a small code snippet that
> demonstates the problem with the complete traceback.
>
> or
>
> b) state how much you are willing
Have a look at PyMedia.
--
http://mail.python.org/mailman/listinfo/python-list
Hi folks,
I'm pleased to announce the 0.6.0 release of psutil:
http://code.google.com/p/psutil/
This is one of the best releases so far as it addresses two important
issues: system memory functions management and permission errors
occurring on Windows and OSX.
=== Memory functions ===
psutil.ph
In Chris Angelico
writes:
>I'm not familiar with it by that name, but Pike's this_function is
>what the OP's describing.
You got it.
>It's a useful construct in theory when you want to write in recursion,
>which was part of the rationale behind PEP 3130
Thank you!
kj
--
http://mail.python
Hi,
for tracing purposes I have added some print outs like
print('+++ before calling foo',file=sys.stderr)
x=foo(..)
print('--- after calling foo',
and within 'foo'
print('>>> entering foo ...',file=sys.stderr)
Now, when executing this, I always get
+++ before calling foo
--- after calling f
As far as I know,
stdout is usually buffered (not necessary) in both C++ and Python
stderr is non-buffered in both C++ and Python (I can't imagine the point of
stderr if it were buffered)
Even with this, stdout usually come immediately - the situation you have
shouldn't happen.
Are you using an IDE
PS:virtualenv is added to the stdlib in Python 3.3
On 13 August 2012 05:42, alex23 wrote:
> On Aug 12, 9:09 am, Gelonida N wrote:
> > In Pythons installed with virtualenv there is on windows an activate.bat
> > script, that can be used to setup the cmd-shell such, that the search
> > path for p
On 2012-08-13, Helmut Jarausch wrote:
> Hi,
>
> for tracing purposes I have added some print outs like
>
> print('+++ before calling foo',file=sys.stderr)
> x=foo(..)
> print('--- after calling foo',
>
> and within 'foo'
> print('>>> entering foo ...',file=sys.stderr)
>
> Now, when executing this
On Aug 13, 10:37 pm, Mark Lawrence wrote:
> Why on your say so?
My mistake, I didn't realise you wanted to sound so tedious. Knock
yourself out.
--
http://mail.python.org/mailman/listinfo/python-list
On Aug 13, 6:05 pm, Steven D'Aprano wrote:
> Chill out Alex, it's all good. Mark was channelling a famous scene from
> "Fawlty Towers", staring Monty Python's own John Cleese, hence it is on-
> topic, for the sillier definitions of on-topic.
Thank you, yes, I get that. However, Mark has repeatedl
On Mon, 13 Aug 2012 15:43:31 +, Grant Edwards wrote:
> On 2012-08-13, Helmut Jarausch wrote:
>> Hi,
>>
>> for tracing purposes I have added some print outs like
>>
>> print('+++ before calling foo',file=sys.stderr)
>> x=foo(..)
>> print('--- after calling foo',
Sorry, this is a cut'n paste
On Aug 13, 1:05 pm, Steven D'Aprano wrote:
>
> Chill out Alex, it's all good. Mark was channelling a famous scene from
> "Fawlty Towers", staring Monty Python's own John Cleese, hence it is on-
> topic, for the sillier definitions of on-topic.
Ha! Thanks for that connection.
Watched and enjoyed F
On Mon, Aug 13, 2012 at 11:16 AM, Helmut Jarausch wrote:
> Now, when executing this, I always get
>
> +++ before calling foo
> --- after calling foo
entering foo ...
Can you give us a piece of code we can run that produces this output
for you? You gave us an outline in your original post,
I am in the situation where I am working on different projects that
might potentially share a lot of code.
I started to work on project A, then switched completely to project B
and in the transiction I copied over a lot of code with the
corresponding tests, and I started to modify it.
Now it's ti
On 13/08/2012 17:14, alex23 wrote:
On Aug 13, 10:37 pm, Mark Lawrence wrote:
Why on your say so?
My mistake, I didn't realise you wanted to sound so tedious. Knock
yourself out.
Yes m'lud. Do I lick your boots or polish them?
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman
On 13/08/2012 01:15, alex23 wrote:
On Aug 10, 7:37 pm, Mark Lawrence wrote:
Well whatever you do *DON'T* mention Cython. I mentioned it just now but
I think I've got away with it.
While I'm not against threads straying off topic, you're beginning to
come across as a bit of an asshole now.
Ju
On 8/13/2012 1:43 PM, Dennis Lee Bieber wrote:
On Mon, 13 Aug 2012 00:11:06 -0700 (PDT), jus...@zeusedit.com declaimed
the following in gmane.comp.python.general:
On Saturday, August 11, 2012 4:09:16 PM UTC-7, Opap-OJ wrote:
I can no longer open the Idle IDE for Python on Windows 7.
..
Any id
On 08/13/2012 02:12 AM, alex23 wrote:
On Aug 12, 9:09 am, Gelonida N wrote:
In Pythons installed with virtualenv there is on windows an activate.bat
script, that can be used to setup the cmd-shell such, that the search
path for python and pythor elated tools (pip / easy_install) is setup
proper
I'd just create a module - called shared_utils.py or similar - and import
that in both projects. It might be a bit messy if there's no 'unifying
theme' to the module - but surely it'd be a lot less messy than your
TempDirectory class, and anyone else who knows Python will understand
'import shared_
On Tue, Aug 14, 2012 at 2:53 AM, andrea crotti
wrote:
> The problem is that there are functions/classes from many domains, so it
> would not make much sense to create a real project, and the only name I
> could give might be "utils or utilities"..
There's actually much merit in a generic utilitie
On Aug 13, 3:40 pm, Mark Lawrence wrote:
> On 13/08/2012 11:18, Xantipius wrote:
>
> > subj
>
> Either
>
> a) write some code and when and if it fails give us a small code snippet
> that demonstates the problem with the complete traceback.
>
> or
>
> b) state how much you are willing to pay for so
On Tue, Aug 14, 2012 at 9:00 AM, Xantipius wrote:
> Mark, in regard your last remark:
> it's just a recreation for me. Nothing more in it.
> I like to put some weird and useless problems before myself.
In that case, I strongly recommend that you write some code instead of
throwing zero-effort que
On 14/08/2012 00:00, Xantipius wrote:
On Aug 13, 3:40 pm, Mark Lawrence wrote:
On 13/08/2012 11:18, Xantipius wrote:
subj
Either
a) write some code and when and if it fails give us a small code snippet
that demonstates the problem with the complete traceback.
or
b) state how much you are
On Aug 14, 3:43 am, Mark Lawrence wrote:
> On 13/08/2012 01:15, alex23 wrote:
>
> > On Aug 10, 7:37 pm, Mark Lawrence wrote:
> >> Well whatever you do *DON'T* mention Cython. I mentioned it just now but
> >> I think I've got away with it.
>
> > While I'm not against threads straying off topic, yo
On Mon, 13 Aug 2012 18:07:26 +0100, Mark Lawrence wrote:
> On 13/08/2012 17:14, alex23 wrote:
>> On Aug 13, 10:37 pm, Mark Lawrence wrote:
>>> Why on your say so?
>>
>> My mistake, I didn't realise you wanted to sound so tedious. Knock
>> yourself out.
>>
>>
>>
> Yes m'lud. Do I lick your boots
On Tue, 14 Aug 2012 01:34:46 +0100, Mark Lawrence wrote:
> When did you seek my permission to call me by my forename?
Sheesh. It's 2012, not 1812. If you sign your posts with your full name,
you have to expect that people will call you "Mark" rather than "Mr
Lawrence" or "Lord High Mucky-Muck G
Hi,
I wanna call perl script in HTML form n store that data in DB using Python.
How can i do this...??
Please help me
Thank you
Pervez
--
http://mail.python.org/mailman/listinfo/python-list
On 14/08/12 15:12, mullaper...@gmail.com wrote:
Hi,
I wanna call perl script in HTML form n store that data in DB using Python.
How can i do this...??
Please help me
Thank you
Pervez
Google you question.
Many solutions already exist on the Internet.
--
Cheers Simon
Simon Cropper
On Tuesday, August 14, 2012 10:42:48 AM UTC+5:30, mulla...@gmail.com wrote:
> Hi,
>
>
>
> I wanna call perl script in HTML form n store that data in DB using Python.
>
>
>
> How can i do this...??
>
>
>
> Please help me
>
>
>
> Thank you
>
> Pervez
Hey Simon,
Thank You for your m
On 14/08/12 15:31, mullaper...@gmail.com wrote:
On Tuesday, August 14, 2012 10:42:48 AM UTC+5:30, mulla...@gmail.com wrote:
Hi,
I wanna call perl script in HTML form n store that data in DB using Python.
How can i do this...??
Please help me
Thank you
Pervez
Hey Simon,
Thank
On Mon, 13 Aug 2012 22:12:48 -0700, mullapervez wrote:
> Hi,
>
> I wanna call perl script in HTML form n store that data in DB using
> Python.
>
> How can i do this...??
>
> Please help me
Okay, let me give you some general advice first, then some programming
advice
If your question look
On Tuesday, August 14, 2012 10:42:48 AM UTC+5:30, Pervez Mulla wrote:
> Hi,
>
>
>
> I wanna call perl script in HTML form n store that data in DB using Python.
>
>
>
> How can i do this...??
>
>
>
> Please help me
>
>
>
> Thank you
>
> Pervez
Thank you for your advice steven,
I a
Hi Everyone,
I just had a great idea for a new python module. I haven't bothered
googling it or doing any research.
I need help putting together some code; today preferably, my boss is on
my back. Can someone please contribute a functioning module showing me
how to do it?
Once I have all y
55 matches
Mail list logo