ZelluX <[EMAIL PROTECTED]> writes:
> For example, by comparing two versions of a program, may be we can
> generate some scripts to direct the virtual machine update a running
> python program.
I'm still confused. Are you talking about self-modifying programs
here?
Perhaps if you could say more d
Terry Reedy:
>The problem is that inner functions do not exist until the outer function is
>called and the inner def is executed. And they cease to exist when the outer
>function returns unless returned or associated with a global name or
>collection.<
OK.
>A 'function' only needs to be nes
"Eric Brunel" <[EMAIL PROTECTED]> wrote
>You don't need to in fact: from the secondary thread, it seems to be safe
>to post a user-defined event in the GUI event loop on which you can set a
>binding in the GUI thread. This allows a thread switch without having to
>do a periodical check.
>
8
You could pass it as an argument:
c:\script1.py
foo(whatever_arguments_you_need, caller=None):
c:\script2.py
import script1
script1.foo(blabla, caller=__file__)
Other than that I would not know. Maybe the inspect module can
help you but as far as I can see, it doesn't. I'm als
> From: Kaz Kylheku <[EMAIL PROTECTED]>
> Scheme hasn't officially supported breaking a program into
> multiple files until R6RS. If the language is defined in terms of
> one translation unit, it doesn't make sense to have a namespace
> feature.
Good point. Note that any language that uses optiona
On Nov 27, 11:42 am, Viktor Kerkez <[EMAIL PROTECTED]> wrote:
> Here is the situation:
>
> $ ls
> test
> $ cd test
> $ ls
> __init__.py data.py
> $ cat __init__.py
>
> $ cat data.py
> DATA = {}
>
> $ cd ..
> $ python>>> import os
> >>> from test.data import DATA
> >>> DATA['something'] = 33
> >>> o
Girish wrote:
> Is ter any way to identify the file name and the path in which the
> function is called.
>
> for example: if the function definition is in the file c:\script1.py
> and if I call this function in a script: c:\script2.py than in the
> function definition part(script1.py) some how I
ZelluX schrieb:
Hi, all
I want to write a version-tracking tool for Python projects, and need
some sample projects whose even smallest modifications can be
downloaded from the internet.
Could you recommend some to me?
Well, most of them have ... TADA ... Versioncontrol systems they use.
Whic
tekion wrote:
> Hello,
> I am getting the following error and my script is bailing out because
> of it. I have tried capturing it but it does not seem to work. Below
> is the error:
>
> ValueError: I/O operation on closed file
>
>
> the above error is received when, the following code snippet
Carl Banks <[EMAIL PROTECTED]> writes:
> I like to think that "import abc" always does the same thing
> regardless of any seemingly unrelated state changes of my program,
> especially since, as the OP pointed out, import is used as a means
> to ensure singleness. Thus, if I were designing the lang
On 27 Nov, 21:34, Terry Reedy <[EMAIL PROTECTED]> wrote:
> > But in the interpreters module dict, foo it is, and stays.
>
> But giving the modules different names on the disk should work, no?
Yes, but -- for what I've understood -- that wouldn't solve my
original problem with pickle, since I woul
On Nov 28, 9:35 am, Carl Banks <[EMAIL PROTECTED]> wrote:
> However, I'm not so sure the effect of os.chdir() on the import path
> is a good idea.
I'm not actually using os.chidir(), I just used it here to create a
clearer example.
Here is the simplest representation of the problem:
http://www.n
On Nov 28, 1:46 pm, Peter Otten <[EMAIL PROTECTED]> wrote:
> Girish wrote:
> > Is ter any way to identify the file name and the path in which the
> > function is called.
>
> > for example: if the function definition is in the file c:\script1.py
> > and if I call this function in a script: c:\script
On Thu, 27 Nov 2008 21:28:34 -0800, r wrote:
> To think...that I would preach freedom to the slaves and be lynched for
> it...IS MADNESS!
No, this is Sparta!
(Somebody had to say it.)
> Not one vote for Python, not a care. I think everyone here should look
> deep within their self and realize
I'd like to make a "jquery python wrapper" ...
here is my code :
===
#!/usr/bin/env python
# -*- coding: utf-8 -*-
class JQueryCaller(object):
def __init__(self,callback):
self.__callback=callback
self._s=[]
On Tue, 25 Nov 2008 18:07:22 -0500, Roy Smith <[EMAIL PROTECTED]> wrote:
> In article <[EMAIL PROTECTED]>,
> Jorgen Grahn <[EMAIL PROTECTED]> wrote:
>
>> Hard to take a popularity index seriously when Logo is at #19 and
>> Bourne shell at #32 ... and then they suggest that their readers can
>> u
On Mon, 24 Nov 2008 20:11:42 +0100, Diez B. Roggisch <[EMAIL PROTECTED]> wrote:
> Philipp Pagel wrote:
>
>> Alfons Nonell-Canals <[EMAIL PROTECTED]> wrote:
>>> Install python modules in a linux computer is really easy, it is because
>>> the module is a package of the distribution or because the pyt
della wrote:
> On 27 Nov, 21:34, Terry Reedy <[EMAIL PROTECTED]> wrote:
>
>> > But in the interpreters module dict, foo it is, and stays.
>>
>> But giving the modules different names on the disk should work, no?
>
> Yes, but -- for what I've understood -- that wouldn't solve my
> original proble
Hi all,
Can any body suggest me how to the set path for making python2.4 as the main
interpretor instead of python 2.5.
regards
--
Beema Shafreen
--
http://mail.python.org/mailman/listinfo/python-list
Steven D'Aprano a écrit :
(snip)
Consequently, I almost always use single-underscore "private by
convention" names, rather than double-underscore names. The name-mangling
is, in my experience, just a nuisance.
s/just/most often than not/ and we'll agree on this !-)
--
http://mail.python.org/m
r a écrit :
(snip)
Unfortunatly though SketchUp currently uses
Ruby(sorry to use profanity)
(snip)
language for scripting on both the free
and pro versions. IMHO...and you will probably agree... programming
with Ruby is neither fun or efficient. Don't get me wrong i am not
knocking Ruby.
r a écrit :
On Nov 28, 12:52 am, [EMAIL PROTECTED] wrote:
On Nov 27, 10:28 pm, r <[EMAIL PROTECTED]> wrote:
To think...that I would preach freedom to the slaves and be lynched
for it...IS MADNESS!
Not one vote for Python, not a care. I think everyone here should look
deep within their self and
Hi,
How can we test Windows Installer using python.
Is there any module available for testing?
Please mail to [EMAIL PROTECTED]
Thanks,
Kalyan.
--
http://mail.python.org/mailman/listinfo/python-list
On 27 Nov, 01:59, Steven D'Aprano
<[EMAIL PROTECTED]> wrote:
>
> Oh please Steve. Did you read Xah's post or stop after the second
> paragraph? It was amazingly *non* vituperative, and I don't just mean
> "for Xah".
Agreed, although I had to look "vituperative" up first. Is the mere
presence of Xa
It was a very unlikely problem. Apparently although apache was
configured, someone in the past had run some instances of manage.py
Maybe they were stuck or they were running in the background.
Once all python instances were killed and Apache was restarted,
everything worked as a breeze.
Thanks fo
Roy Smith wrote:
There's a well known theory in studies of the human brain which says people
are capable of processing about 7 +/- 2 pieces of information at once.
It's not about processing multiple taks, it's about the amount of things
that can be held in working memory.
n
--
http://
zellux> I want to write a version-tracking tool for Python projects, and
zellux> need some sample projects whose even smallest modifications can
zellux> be downloaded from the internet.
Sure. Python itself. Do a checkout of the code from Subversion then for
any given file just ask S
In article <[EMAIL PROTECTED]>,
Nigel Rantor <[EMAIL PROTECTED]> wrote:
> Roy Smith wrote:
> >
> > There's a well known theory in studies of the human brain which says people
> > are capable of processing about 7 +/- 2 pieces of information at once.
>
> It's not about processing multiple tak
On Fri, 28 Nov 2008 00:06:01 -0800, bearophileHUGS wrote:
>>For this to change wouldn't be a little change, it would be a large
>>change.<
>
> I see, then my proposal has little hope, I presume. I'll have to keep
> moving functions outside to test them and move them inside again when I
> want to
On Nov 28, 5:36 am, manatlan <[EMAIL PROTECTED]> wrote:
> I'd like to make a "jquery python wrapper" ...
>
> here is my code :
> ===
> #!/usr/bin/env python
> # -*- coding: utf-8 -*-
>
> class JQueryCaller(object):
> def __init__(s
On 28 nov, 14:58, George Sakkis <[EMAIL PROTECTED]> wrote:
> On Nov 28, 5:36 am, manatlan <[EMAIL PROTECTED]> wrote:
>
>
>
> > I'd like to make a "jquery python wrapper" ...
>
> > here is my code :
> > ===
> > #!/usr/bin/env python
> >
On 28 nov, 15:19, manatlan <[EMAIL PROTECTED]> wrote:
> On 28 nov, 14:58, George Sakkis <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Nov 28, 5:36 am, manatlan <[EMAIL PROTECTED]> wrote:
>
> > > I'd like to make a "jquery python wrapper" ...
>
> > > here is my code :
> > > ===
On Nov 28, 9:19 am, manatlan <[EMAIL PROTECTED]> wrote:
> On 28 nov, 14:58, George Sakkis <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Nov 28, 5:36 am, manatlan <[EMAIL PROTECTED]> wrote:
>
> > > I'd like to make a "jquery python wrapper" ...
>
> > > here is my code :
> > >
On Fri, 28 Nov 2008 02:36:28 -0800, manatlan wrote:
> I'd like to make a "jquery python wrapper"
[...]
> here is my code :
[...]
What is the purpose of this code? As near as I can see, it would make an
excellent entry to the Obfuscated Python Competition, except it isn't
clear that it does any
On Nov 28, 3:15 am, Ben Finney <[EMAIL PROTECTED]>
wrote:
> Carl Banks <[EMAIL PROTECTED]> writes:
> > I like to think that "import abc" always does the same thing
> > regardless of any seemingly unrelated state changes of my program,
> > especially since, as the OP pointed out, import is used as a
On 28 nov, 15:49, George Sakkis <[EMAIL PROTECTED]> wrote:
> On Nov 28, 9:19 am, manatlan <[EMAIL PROTECTED]> wrote:
>
>
>
> > On 28 nov, 14:58, George Sakkis <[EMAIL PROTECTED]> wrote:
>
> > > On Nov 28, 5:36 am, manatlan <[EMAIL PROTECTED]> wrote:
>
> > > > I'd like to make a "jquery python wrapp
Hi:
i'm so newbie in python that i don't get the right idea about regular
expressions. This is what i want to do:
Extract using python some information and them replace this expresion
for others, i use as a base the wikitext and this is what i do:
paragraphs = """
= Test '''wikitest'''=
[[Image
The regex below identifies words in all languages I tested, but not in
Hindi:
# -*- coding: utf-8 -*-
import re
pat = re.compile('^(\w+)$', re.U)
langs = ('English', '中文', 'हिन्दी')
for l in langs:
m = pat.search(l.decode('utf-8'))
print l, m and m.group(1)
Output:
English English
中文 中
>
> I just want to make a jquery wrapper, and let people use it to write
> jquery call on the server side in a python way ...
>
> o is a object, imagine a widget : like a textarea or input box
> "js" is a special attribut of "o", which will let you write javascript
> for this object.
>
> o=MyObj
Steven D'Aprano wrote:
> On Fri, 28 Nov 2008 02:36:28 -0800, manatlan wrote:
>
>> I'd like to make a "jquery python wrapper"
> [...]
>> here is my code :
> [...]
>
> What is the purpose of this code? As near as I can see, it would make an
> excellent entry to the Obfuscated Python Competition, e
On Nov 28, 3:24 am, Viktor Kerkez <[EMAIL PROTECTED]> wrote:
> On Nov 28, 9:35 am, Carl Banks <[EMAIL PROTECTED]> wrote:
>
> > However, I'm not so sure the effect of os.chdir() on the import path
> > is a good idea.
>
> I'm not actually using os.chidir(), I just used it here to create a
> clearer e
hashlib.md5 does not appear to like unicode,
UnicodeEncodeError: 'ascii' codec can't encode character u'\xa6' in
position 1650: ordinal not in range(128)
After googling, I've found BDFL and others on Py3K talking about the
problems of hashing non-bytes (i.e. buffers)
http://www.mail-archive.com/
manatlan wrote:
> To explain better, here is another code
> class JQueryCaller(object):
> def __init__(self,callback):
> self.__callback=callback
> self._s=[]
>
> def __getattr__(self,name):
> def _caller(*args):
> sargs=["'%s'"%i for i in args]
>
Hi,
should I build a client for web services that require authentication based
on a ca (pem and crt), I'm trying to use soappy but not work... someone have
any idea or can tell me where to find a tutorial?
tnx a lot!
Luca
--
skype:luca.tebaldi
bookmark: http://del.icio.us/lucatebaldi
foto: http
On 28 nov, 17:12, Peter Otten <[EMAIL PROTECTED]> wrote:
> manatlan wrote:
> > To explain better, here is another code
> > class JQueryCaller(object):
> > def __init__(self,callback):
> > self.__callback=callback
> > self._s=[]
>
> > def __getattr__(self,name):
> > d
On 28 nov, 16:53, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
> > I just want to make a jquery wrapper, and let people use it to write
> > jquery call on the server side in a python way ...
>
> > o is a object, imagine a widget : like a textarea or input box
> > "js" is a special attribut of "o",
Shiao wrote:
> The regex below identifies words in all languages I tested, but not in
> Hindi:
>
> # -*- coding: utf-8 -*-
>
> import re
> pat = re.compile('^(\w+)$', re.U)
> langs = ('English', '中文', 'हिन्दी')
>
> for l in langs:
> m = pat.search(l.decode('utf-8'))
> print l, m and m.g
On Fri, Nov 28, 2008 at 10:47 AM, Shiao <[EMAIL PROTECTED]> wrote:
> The regex below identifies words in all languages I tested, but not in
> Hindi:
>
> # -*- coding: utf-8 -*-
>
> import re
> pat = re.compile('^(\w+)$', re.U)
> langs = ('English', '中文', 'हिन्दी')
I think the problem is that the H
On Nov 28, 2008, at 6:41 AM, Beema Shafreen wrote:
Hi all,
Can any body suggest me how to the set path for making python2.4 as
the main
interpretor instead of python 2.5.
Hi Beema,
This question is about your operating system, not about Python. On my
system (OS X), having installed Pytho
> and we're not throwing ourselves at your pet project because most of us don't
> give a monkey's toss about Sketchup. > Why should we put our time and energy
> into a piece of software that we don't care about?
AGAIN, I'm NOT asking you to support SKETCHUP I am asking for support
for PYTHON! Di
[EMAIL PROTECTED] wrote:
Terry Reedy:
A 'function' only needs to be nested if it is intended to be
different (different default or closure) for each execution of its
def.<
Or maybe because you want to denote a logical nesting, or maybe
because you want to keep the outer namespace cleaner,
willie wrote:
My code:
from time import time
def leibniz(terms):
acc = 0.0
num = 4.0 # numerator value remains constant in the series
den = 1
count = 0
start_time = 0.0
for aterm in range(terms):
nextterm = num/den * (-1)**aterm # (-1) allows fractions to
alter
Is there any python library that display very detailed hardware information
and it must run in linux environtment ?
Example (skip xml tag)
Phoenix Technologies NAPA0001.86C.0049.D.0612081421
12/08/06
Intel(R) Core(TM) Duo CPU T2350 @ 1.86GHz
Intel(R) Core(TM) Duo CPU T2350 @ 1.86
Sorry if my question was already asked and answered, but I can't
manage with this...
I've installed Python 2.6 in my Windows XP. Actually, I've installed
ActiveState's ActivePython 2.6.
I would like to use NumPy and SciPy.
Are those packages compatible with version 2.6 of Python?
Are they alrea
> The fact _you_ don't like Ruby doesn't make it a bad language. If what
> you want is a Python API to SketchUp, bashing Ruby certainly won't help
> - quite on the contrary. And it won't help promoting Python neither.
Thanks Bruno,
I never said Ruby is a bad Language! do you what IMHO means?? For
I am trying to chain filter functions together so I created these 2 functions.
def AndChain(*filters):
return (lambda asset: reduce((lambda r, f: apply(f, asset) and r), filters))
def OrChain(*filters):
return (lambda asset: reduce((lambda r, f: apply(f, asset) or r), filters))
Where fil
On Nov 28, 11:52 am, r <[EMAIL PROTECTED]> wrote:
> > and we're not throwing ourselves at your pet project because most of us
> > don't give a monkey's toss about Sketchup. > Why should we put our time and
> > energy into a piece of software that we don't care about?
>
> AGAIN, I'm NOT asking you
Thanks again alex23,
but did you not already post the exact same thing, can you not engage
in intellectual conversation, or have you spent your last penny?
--
http://mail.python.org/mailman/listinfo/python-list
On Fri, Nov 28, 2008 at 1:20 PM, Vicent Giner <[EMAIL PROTECTED]> wrote:
> Sorry if my question was already asked and answered, but I can't
> manage with this...
>
> I've installed Python 2.6 in my Windows XP. Actually, I've installed
> ActiveState's ActivePython 2.6.
>
> I would like to use NumPy
Jeff H wrote:
hashlib.md5 does not appear to like unicode,
UnicodeEncodeError: 'ascii' codec can't encode character u'\xa6' in
position 1650: ordinal not in range(128)
After googling, I've found BDFL and others on Py3K talking about the
problems of hashing non-bytes (i.e. buffers) ...
Unicode
"Vicent Giner" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Sorry if my question was already asked and answered, but I can't
manage with this...
I've installed Python 2.6 in my Windows XP. Actually, I've installed
ActiveState's ActivePython 2.6.
I would like to use NumPy and SciP
Jeff H wrote:
hashlib.md5 does not appear to like unicode,
UnicodeEncodeError: 'ascii' codec can't encode character u'\xa6' in
position 1650: ordinal not in range(128)
After googling, I've found BDFL and others on Py3K talking about the
problems of hashing non-bytes (i.e. buffers)
http://www.m
Jerry Hill wrote:
On Fri, Nov 28, 2008 at 10:47 AM, Shiao <[EMAIL PROTECTED]> wrote:
The regex below identifies words in all languages I tested, but not in
Hindi:
# -*- coding: utf-8 -*-
import re
pat = re.compile('^(\w+)$', re.U)
langs = ('English', '中文', 'हिन्दी')
I think the problem is th
Vicent Giner wrote:
I've installed Python 2.6 in my Windows XP. Actually, I've installed
ActiveState's ActivePython 2.6.
I would like to use NumPy and SciPy.
Are those packages compatible with version 2.6 of Python?
I believe there is more work to do on Scipy and Numpy before they will
run on
Terry Reedy wrote:
Jerry Hill wrote:
On Fri, Nov 28, 2008 at 10:47 AM, Shiao <[EMAIL PROTECTED]> wrote:
The regex below identifies words in all languages I tested, but not in
Hindi:
# -*- coding: utf-8 -*-
import re
pat = re.compile('^(\w+)$', re.U)
langs = ('English', '中文', 'हिन्दी')
I thi
Jeff H wrote:
hashlib.md5 does not appear to like unicode,
UnicodeEncodeError: 'ascii' codec can't encode character u'\xa6' in
position 1650: ordinal not in range(128)
It is the (default) ascii encoder that does not like non-ascii chars.
I suspect that is you encode to bytes first with an enc
On Nov 28, 4:32 am, Steven D'Aprano <[EMAIL PROTECTED]
cybersource.com.au> wrote:
> Are you trolling? Are you some sort of agent provocateur trying to put people
> *against* the idea of Python > scripting for Sketchup? If not,
> you're sure doing an excellent imitation of one.
I am the
On 28 Nov, 21:03, Terry Reedy <[EMAIL PROTECTED]> wrote:
>
> It is the (default) ascii encoder that does not like non-ascii chars.
> I suspect that is you encode to bytes first with an encoder that does
> work (latin-???), md5 will be happy.
I know that the "Python roadmap" answer to such question
On Nov 28, 6:15 am, Bruno Desthuilliers wrote:
> r a écrit :
> > On Nov 28, 12:52 am, [EMAIL PROTECTED] wrote:
> >> On Nov 27, 10:28 pm, r <[EMAIL PROTECTED]> wrote:
>
> >>> To think...that I would preach freedom to the slaves and be lynched
> >>> for it...IS MADNESS!
> >>> Not one vote for Python
John O'Hagan <[EMAIL PROTECTED]> wrote:
>
>Apologies if this is a D.Q., I'm still learning to use classes, and this
>little problem has proved too specific to find in the tutorials.
>
>I have two classes with a relationship that I find confusing.
>
>One is called Engine, and it has a method (bar_
On Nov 28, 2:24 pm, [EMAIL PROTECTED] wrote:
> On Nov 28, 6:15 am, Bruno Desthuilliers
>
>
> [EMAIL PROTECTED]> wrote:
> > r a écrit :
> > > On Nov 28, 12:52 am, [EMAIL PROTECTED] wrote:
> > >> On Nov 27, 10:28 pm, r <[EMAIL PROTECTED]> wrote:
>
> > >>> To think...that I would preach freedom to th
Carl Banks <[EMAIL PROTECTED]> writes:
> On Nov 28, 3:15 am, Ben Finney <[EMAIL PROTECTED]>
> wrote:
> > This is resolved in the Python 2.x series by implementing PEP 328
> > http://www.python.org/dev/peps/pep-0328/>, such that the
> > search path for ‘import’ does *not* contain the current direct
On Nov 28, 2:43 pm, r <[EMAIL PROTECTED]> wrote:
> On Nov 28, 2:24 pm, [EMAIL PROTECTED] wrote:
>
>
>
> > On Nov 28, 6:15 am, Bruno Desthuilliers
> > [EMAIL PROTECTED]> wrote:
> > > r a écrit :
> > > > On Nov 28, 12:52 am, [EMAIL PROTECTED] wrote:
> > > >> On Nov 27, 10:28 pm, r <[EMAIL PROTECTED]
On Sat, Nov 29, 2008 at 4:31 AM, Scott David Daniels
<[EMAIL PROTECTED]> wrote:
> Vicent Giner wrote:
>>
>> I've installed Python 2.6 in my Windows XP. Actually, I've installed
>> ActiveState's ActivePython 2.6.
>>
>> I would like to use NumPy and SciPy.
>>
>> Are those packages compatible with ver
MRAB wrote:
Should the Mc and Mn codepoints match \w in the re module even though
u'हिन्दी'.isalpha() returns False (in Python 2.x, haven't tried Python
3.x)?
Same. And to me, that is wrong. The condensation of vowel characters
(which Hindi, etc, also have for words that begin with vowels)
r schrieb:
The fact _you_ don't like Ruby doesn't make it a bad language. If what
you want is a Python API to SketchUp, bashing Ruby certainly won't help
- quite on the contrary. And it won't help promoting Python neither.
Thanks Bruno,
I never said Ruby is a bad Language!
-food for though
r schrieb:
The fact _you_ don't like Ruby doesn't make it a bad language. If what
you want is a Python API to SketchUp, bashing Ruby certainly won't help
- quite on the contrary. And it won't help promoting Python neither.
Thanks Bruno,
I never said Ruby is a bad Language!
-food for though
Oh Python, where art thy faithful followers, thy house is crumbling,
thy last breath spent, thy season draweth nigh...Ye have fought
bravely for all that is good. But ye are encompassed on all sides by
evil. Those who proclaim to love you are only the very same who seek
your end!
Weep oh lovers of
On Nov 28, 4:16 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
> Now, up up and away into my killfilter,
Ditto; apparently it's either a troll or an 8-year old.
George
--
http://mail.python.org/mailman/listinfo/python-list
http://lifeflowcharts.appspot.com/?num_visible_rows=20&scroll_offsets=%5B0%2C+0%2C+0%2C+0%2C+0%2C+0%2C+0%2C+0%2C+0%2C+5%5D&translate_x_ff=74&translate_x_ie=-69&num_visible_cols=8&translate_y_ie=374&child_order=reverse_time&translate_y_ff=-364&scale_xy_ff=1.0002&db_key=ag5saWZlZmxvd2NoYX
r wrote:
On Nov 28, 4:32 am, Steven D'Aprano <[EMAIL PROTECTED]
cybersource.com.au> wrote:
Are you trolling? Are you some sort of agent provocateur trying to put people
*against* the idea of Python > scripting for Sketchup? If not, you're
sure doing an excellent imitation of one.
I
> Python 2.6 implemented PEP 370: Per-user site-packages Directory
Ok, you can completelly replace virtualenv with
a) setting PYTHONUSERBASE=
b) Editing ~/.pydistutils.cfg to be like:
[install]
user=True
After this, installing new packages go to
$PYTHONUSERBASE/lib/python2.6/si
OK people, where back to 2 for Python and i will not even mention the
one's against. I thought Terry was 50% onboard but he has just made
his choice known. I would have liked to have you on board Terry, and
will forgive if you change your mind.
--
http://mail.python.org/mailman/listinfo/python-li
You know i wonder how many people saw that the link to the OP had
30,40 replies and they said...WOW it looks like the community is
getting behind a project to host Python, I had better check this out!
Then when they opened the link and saw all the negative responses from
well known posters...either
On Nov 29, 2:47 am, Shiao <[EMAIL PROTECTED]> wrote:
> The regex below identifies words in all languages I tested, but not in
> Hindi:
> pat = re.compile('^(\w+)$', re.U)
> ...
>m = pat.search(l.decode('utf-8'))
[example snipped]
>
> From this is assumed that the Hindi text contains punctuatio
You know i wonder how many people saw that the link to the OP had
30,40 replies and they said...WOW it looks like the community is
getting behind a project to host Python, I had better check this out!
Then when they opened the link and saw all the negative responses from
well known posters...either
On Fri, Nov 28, 2008 at 6:22 PM, r <[EMAIL PROTECTED]> wrote:
> You know i wonder how many people saw that the link to the OP had
> 30,40 replies and they said...WOW it looks like the community is
> getting behind a project to host Python, I had better check this out!
> Then when they opened the l
Terry,
I in my haste I may have miss-read your post...Are you saying that
there are people who WOULD support Python in SketchUp? Are you one of
them? Can you tell me who else may be interested? How can i contact
these people?
--
http://mail.python.org/mailman/listinfo/python-list
Terry,
In my haste I may have miss-read your post...Are you saying that there
are people who WOULD support Python in SketchUp? Are you one of them?
Can you tell me who else may be interested? How can i contact these
people?
--
http://mail.python.org/mailman/listinfo/python-list
John Machin wrote:
On Nov 29, 2:47 am, Shiao <[EMAIL PROTECTED]> wrote:
The regex below identifies words in all languages I tested, but not in
Hindi:
pat = re.compile('^(\w+)$', re.U)
...
m = pat.search(l.decode('utf-8'))
[example snipped]
From this is assumed that the Hindi text contain
On Fri, 28 Nov 2008 15:22:58 -0800, r wrote:
> You know I said before that I hoped Guido never see's this thread...but
> i wonder if maybe he should see it...To see how far the "great
> advocates" have fallen. I am disappointed to say the least. I would not
> want to be in his shoes and see this!
On Nov 27, 4:32 pm, "Emanuele D'Arrigo" <[EMAIL PROTECTED]> wrote:
> On Nov 27, 5:00 am, Steven D'Aprano
>
> <[EMAIL PROTECTED]> wrote:
> > Refactor until your code is simple enough to unit-test effectively, then
> > unit-test effectively.
>
> Ok, I've taken this wise suggestion on board and of cou
Dennis Lee Bieber wrote:
On 29 Nov 2008 00:26:06 GMT, Giudo von Rossom <[EMAIL PROTECTED]>
declaimed the following in comp.lang.python:
Given three or four mis-spellings just in the "from:" header data...
This doesn't even pass as an attempt at humor...
>
It's not comparable to the Parr
On Nov 27, 9:45 pm, r <[EMAIL PROTECTED]> wrote:
> On Nov 27, 9:31 pm, alex23 <[EMAIL PROTECTED]> wrote:
> > On Nov 28, 12:49 pm, r <[EMAIL PROTECTED]> wrote:
> > > Well... 3 for Ruby 1 for python. Not looking good so far. Any more
> > > votes?
>
> > I don't see -any- of the responses in this threa
On Nov 27, 9:03 am, "Giampaolo Rodola'" <[EMAIL PROTECTED]> wrote:
> Hi,
> I'm the maintainer of an asynchronous FTP server implementation based
> on asyncore.
> Some days ago I thought it would be interesting to add a class
> offering the possibility to run the asyncore loop into a thread so
> tha
On Nov 27, 9:28 pm, "Hendrik van Rooyen" <[EMAIL PROTECTED]> wrote:
> "Aaron Brady" <[EMAIL PROTECTED]> wrote:
...
> >As you can see, the 'visit' method is mechanical for classes A and B.
> >One might want to autogenerate those in some languages, but Python has
> >introspection:
>
> >class BaseAB:
Though only semi-Python related, it impacts me because I (until
recently) use Dillo at home for browsing docs.python.org.
I'm trying to figure out if something network-related changed.
Within the last week or two (time-frame is fuzzy), it seems that
something changed and I now get "Network unr
On Nov 27, 8:21 pm, Steven D'Aprano <[EMAIL PROTECTED]
cybersource.com.au> wrote:
snip
> body = 'L.append(None)\n'
> make_file('dumb.py', 'Create a big list the dumb way.',
> 'L = []\n', body*numitems)
> make_file('smart.py', 'Create a big list the smart way.',
> '', 'L = [None]*%d\n' % num
Terry, are you saying you want to join the push for Python? i would
love to have you aboard!
--
http://mail.python.org/mailman/listinfo/python-list
On Fri, Nov 28, 2008 at 9:52 AM, r <[EMAIL PROTECTED]> wrote:
>> and we're not throwing ourselves at your pet project because most of us
>> don't give a monkey's toss about Sketchup. > Why should we put our time and
>> energy into a piece of software that we don't care about?
>
> AGAIN, I'm NOT a
1 - 100 of 126 matches
Mail list logo