Chris Angelico to dn:
> > Python mailing-lists are covered by the Code of Conduct
> > and monitored by ListAdmins. Thus, there are controls
> > which limit the impact which advertisers and others with
> > non-pythonic aims might otherwise exert!
>
> So long as there's a newsgroup gateway, those co
Sebastian Wells:
> The spammers won the spam wars, so even if you have
> someone's real e-mail address, that's no guarantee that
> you can contact them.
No so with me. My e-mail address here is munged, but in a
very obvious way, and no, my mailbox is not overwhelmed with
spam.
I make a habit of
Hello, all.
Does Python have an instrospection facility that can
determine to which outer variable a function argument is
bound, e.g.:
v1 = 5;
v2 = 5;
def f(a):
print(black_magic(a)) # or black_magic('a')
f(v1) # prints: v1
f(v2) # prints: v2
--
() ascii ribbon campaign
:
main()
But there are mistakes like
C:\Users\Anton\AppData\Local\Programs\Python\Python36-32\python.exe
"C:/Users/Anton/PycharmProjects/Работа с файловой системой/Перебор файлов из
папки.py"
Traceback (most recent call last):
File "C:/Users/Anton/PycharmProjects/Работа с файл
(I am on Windows 10) When I install a new Python version, pip does not
update all of the way. In the command line 'pip' still runs the old
pip.exe, so I've had to manually move the new pip to C:\Windows .
It would be great if you fixed this for future python versions!
Thanks,
hances are that your global package configuration breaks
anyways.
Regards,
Anton
>> On 8 Dec 2016, at 09:18, Michael Torrie wrote:
>>
>> On 12/07/2016 11:09 PM, 3dB wrote:
>> trying to install SpeechRecognition for Python results in error:
>>
>> running
o not try. Do or not do."
So stop complaining. Just live with it.
Regards,
Anton
> On 7 Dec 2016, at 21:02, BartC wrote:
>
>> On 07/12/2016 16:53, Michael Torrie wrote:
>>> On 12/07/2016 08:48 AM, BartC wrote:
>>> I would prefer that the program
What is your operating system, environment, and Python build?
dbm is just a module that might not have been included into your Python build.
It's not a bug but a deliberate choice of the package maker.
Regards,
Anton
> On 5 Dec 2016, at 17:45, clvanwall wrote:
>
> I ha
Just a couple of days ago I was asking myself a similar question, and found
this blog article:
https://jeffknupp.com/blog/2013/02/14/drastically-improve-your-python-understanding-pythons-execution-model/
Clarified a lot of things to me.
, Anton
> On 17 Nov 2016, at 16:19, BartC wr
I'll heartily recommend anaconda python. It's got everything you need
prepackaged.
Remove what you installed before.
Cheers
Pauk
--
https://mail.python.org/mailman/listinfo/python-list
Easiest way of installing is removing the python you've installed already and
installing continuum's anaconda python 3.x (for x = 4 or 5). It has "batteries
included" - numpy, scipy and many others!
Paul
--
https://mail.python.org/mailman/listinfo/python-list
On Sunday, September 20, 2015 at 9:56:06 AM UTC+2, shiva upreti wrote:
> https://ideone.com/BPflPk
>
> Please tell me why 'print s' statement is being executed inside loop, though
> I put it outside.
> Please help. I am new to python.
Hi!
Welcome to python, the most awesome programming language
Hi!
Fascinated by the concept of ordering dependent test failures [0], I've run the
python test suite [1] with 256 different random seeds (took a little more than
12 hours). The results vary a lot - for instance, the number of tests reported
as OK varies, the number of skips varies, etc. Since
Probably a silly question.
Let's say I have a dictionary mydict and I need to test if a dictionary is
empty.
I would use
if not mydict:
"""do something"""
But I just came across a line of code like:
if mydict == {}:
"""do something"""
which seems odd to me, but maybe there is a valid
Right. Try
"which python" in the terminal and report back!
Cheers
Paul
--
https://mail.python.org/mailman/listinfo/python-list
There's a module called "template" that I've used before, for the find/replace
part. I never investigated its performance, but my script used less than 1 s
for 100 files IIRC :-)
Paul
--
https://mail.python.org/mailman/listinfo/python-list
On Friday, November 14, 2014 2:17:38 PM UTC-8, Richard Riehle wrote:
> In C, C++, Ada, and functional languages, I can create an array of functions,
> albeit with the nastiness of pointers in the C family. For example, an
> array of functions where each function is an active button, or an array
On Wednesday, November 12, 2014 3:03:18 PM UTC-8, Ian wrote:
> On Wed, Nov 12, 2014 at 3:48 PM, Anton wrote:
> Sure, which is why you and I have both suggested raising a RuntimeError
> instead.
Yeah, I actually read it after sending my response :)
--
https://mail.python.org/mailman
On Wednesday, November 12, 2014 2:42:19 PM UTC-8, Ian wrote:
> On Wed, Nov 12, 2014 at 3:13 PM, Anton wrote:
> > If the code is run optimized and asserts are ignore CONFUSED statement
> > would still not be handled and you will not know about it.
> > I would do something
On Wednesday, November 12, 2014 2:05:17 PM UTC-8, Ian wrote:
> On Wed, Nov 12, 2014 at 2:56 PM, Marko Rauhamaa wrote:
> > Ethan Furman:
> >
> >> On 11/12/2014 01:41 PM, Marko Rauhamaa wrote:
> >>>
> >>> Or I might indicate the exhaustion of possibilities:
> >>>
> >>> if status == OK:
> >>>
On Wednesday, November 12, 2014 1:41:20 PM UTC-8, Marko Rauhamaa wrote:
> Asserts help the reader of the code understand why some possibilities
> are not considered by the code. They are not considered because the
> writer of the code asserts they are not really possible.
I can see how assert state
On Wednesday, November 12, 2014 2:00:35 PM UTC-8, Anton wrote:
> On Wednesday, November 12, 2014 1:41:20 PM UTC-8, Marko Rauhamaa wrote:
> > Asserts help the reader of the code understand why some possibilities
> > are not considered by the code. They are not considered because th
On Tuesday, November 11, 2014 11:41:06 AM UTC-8, Peter Cacioppi wrote:
> I get the impression that most Pythonistas aren't as habituated with assert
> statements as I am. Is that just a misimpression on my part? If not, is there
> a good reason to assert less with Python than other languages?
>
On Thursday, October 30, 2014 4:10:23 AM UTC-7, Steven D'Aprano wrote:
> I don't particularly like either version. I prefer this:
>
> def load_int(obj):
> if isinstance(obj, int):
> # Case 1), an int, e.g. 7
> return obj
> elif isinstance(obj, str):
> # Case 2) and
On Tuesday, October 28, 2014 10:13:14 PM UTC-7, Gregory Ewing wrote:
> No, that's not the correct answer. Being NP-complete doesn't
> mean something is impossible, or even hard to do. All it
> means is that nobody knows of a cleverer solution than
> just trying all possibilities. That's only a diff
On Wednesday, October 29, 2014 4:59:25 AM UTC-7, Rafael Romero Carmona wrote:
> 2014-10-29 12:25 GMT+01:00 Martin Kemp :
> Actually it doesn't work because there is no add function and it
> doesn't catch the TypeError function to ignore other exceptions than
> ValueError. Doesn't it? I tested in Py
On Wednesday, October 29, 2014 4:43:33 AM UTC-7, Rafael Romero Carmona wrote:
> Hi, first in Python 2.7.6 and Python 3.4.0 list haven't got any add
> function but they have append.
You are right, in my original code I use set instead of array, so it should be
either values = set() or values.append
else:
values.add(c_int)
continue
===
Thanks,
Anton.
--
https://mail.python.org/mailman/listinfo/python-list
On Monday, October 27, 2014 5:33:17 PM UTC-7, alex23 wrote:
> On 28/10/2014 1:10 AM, e...@gmail.com wrote:
> > Write a program that reads the contents of the two files into two
> > separate lists. The user should be able to enter a boy's
> > name, a girl's name or both, and the
27;t use them for checking input arguments to public library
>
> functions (private ones are okay) since you don't control the
>
> caller and can't guarantee that it will never break the
>
> function's contract.
>
>
>
> * Don't use assert for any error which you expect to recover from.
>
> In other words, you've got no reason to catch an AssertionError
>
> exception in production code.
>
>
>
> * Don't use so many assertions that they obscure the code.
>
>
>
>
>
>
>
> --
>
> Steven
I use ORM and often need to write a function that either takes an id of the
record or already loaded model object.
So I end up writing a piece of code like below:
def do_something(instance):
if isinstance(instance_or_id, int):
instance = Model.get(instance)
assert isinstance(instance, Model)
# Code that assumes that instance is an object of type Model
do_somthing is not a part of public library, though it is a public function,
which can and intended to be used by other programmers; and assert should never
happen if a client uses the function as planned.
I wonder if this use-case is controversial to this part:
> Many people use asserts as a quick and easy way to raise an exception if
>
> an argument is given the wrong value. But this is wrong, dangerously
>
> wrong, for two reasons. The first is that AssertionError is usually the
>
> wrong error to give when testing function arguments. You wouldn't write
>
> code like this:
>
>
>
> if not isinstance(x, int):
>
> raise AssertionError("not an int")
>
>
>
> you'd raise TypeError instead. "assert" raises the wrong sort of
>
> exception.
>
Thanks,
Anton.
--
https://mail.python.org/mailman/listinfo/python-list
for i in (10**p for p in range(3, 8)):
print(i)
--
https://mail.python.org/mailman/listinfo/python-list
ind the best one, and i think they are not browsing job boards.. ;)
greetings from vienna,
Anton
>
> Best regards,
> Waldek
--
http://mail.python.org/mailman/listinfo/python-list
templates in django
We think the project will take about 8-12 weeks, starting November 1th.
If you are interested, send your CV, a "why i am the best for the job"-letter
and your rates to:
development [at] creativesociety [dot] com
Thanks,
Anton
--
http://mail.python.org/mailman/listi
2011/7/12 Xah Lee :
>23 yandex.ru (Russian) ◇ ?
>
As far as I know, the site is written in Perl. However, they are using
lots of python in their products and for internal use.
Anton.
--
http://mail.python.org/mailman/listinfo/python-list
Den 24.02.11 13.41, skrev n00m:
The 1st "False" is not surprising for me.
It's the 2nd "True" is a bit hmmm... ok, it doesn't matter
==
Have a nice day!
I am no expert, but I think python re-uses some integer and string
objects. For instance, if you create the object int(2)
Den 21.02.11 10.34, skrev Jean-Michel Pichavant:
spam head wrote:
I'm looking for an easy way to display simple line graphs generated by
a python program in Windows. It could be done from within the
program, or I could write the information out to a file and call an
external program. Either is f
Den 22.02.11 13.29, skrev pyt...@bdurham.com:
Paul,
How about skipping the whole xml thing? You can dynamically import any python
module, even if it does not have a python filename.
Great example!
Can you do the same with a cStringIO based file that exists in memory
vs. on disk? Your exampl
Den 21.02.11 18.30, skrev Matt Funk:
Hi,
I was wondering if someone had some advice:
I want to create a set of xml input files to my code that look as follows:
Alg1
./Alg1.in
c:\tmp
1
So there are co
Den 01.02.11 22.20, skrev Tracubik:
Hi all!
i'm writing a notification program and i'm quite new to python.
The program have to check every 5 minutes a particular website and alert
me when a particular sentence ("user online") is in the html.
i've thinked to use a text browser (lynx) to retrieve
99-4126-bf3a-7ec40ea80...@j18g2000yqd.googlegroups.com>
quite sensible, use something like that myself, and recommend it to
others.
Followups set to c.l.f (adjust as appropriate).
- anton
--
M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.compla
e instructions (RISCs).
Only the IA64 has a code size increase by a factor of 2.33. Note that
code size is not everything that's in a program binary, and the rest
should be unaffected by whether the instructions are fixed-size or
variable-sized, so the overall effect on the binary will b
Hi, I can't figure out how can I change the variable type in function.
In C I could do that easily by changing pointer.
Code:
def add(b):
b = {}
print type(b)
a = []
print type(a)
add(a)
print type(a)
Output:
--
http://mail.python.org/mailman/listinfo/python-list
th this query
>
> > > new_start_date = "NOW() - '29 days'::INTERVAL"
> > > self.dyndb.orderdb.query('''update set creation_date
> > > = %s
> > > where id_order = %s''', (new_start_date,
On Mar 31, 3:10 am, "D'Arcy J.M. Cain" wrote:
> On Tue, 30 Mar 2010 15:46:12 -0700 (PDT)
>
> ASh wrote:
> > > > new_start_date = "NOW() - '29 days'::INTERVAL"
> > > > self.dyndb.orderdb.query('''update set creation_date
> > > > = %s
> > > > where id_order
number of wildcard imports it would be very helpful if class names
> could be automatically imported from the proper module. There is no
> problem in finding out the proper module given a (valid) class name.
Maybe this helps:
http://www.connellybarnes.com/code/autoimp/
Regards,
Ant
Hi,
I'd like to insert Multiple Records Using One Insert Statement
inserting one record using one insert statement works
this is the example:
import MySQLdb
conn = MySQLdb.connect(host="localhost",.)
cursore = conn.cursor()
cursore.execute('INSERT INTO frutta (nome, quantita) VALUES(%s, %s)'
On Fri, 21 Nov 2008 18:10:02 +0100
Gerard flanagan <[EMAIL PROTECTED]> wrote:
> data = '''
> 1 6 6 1 6 6 1 6 6 1 6 6 1 6 6 1 9 3 3 0 3 3 0 3 3 0 3 3 0 10 6 6
> 1 6 6 1 6 6 1 6 6 1 6 6 1 6 6 1 6 6 1 9 3 3 0 3 3 0 3 3 0 3 3 0 10 6 6
> 1 6 6 1 6 6 1 6 6 1 6 6 1 6 6 1 6 6 1 9 3 3 0 3 3 0 3 3 0 3 3 0 1
On Wed, 19 Nov 2008 10:57:53 +0100
"Eric Brunel" <[EMAIL PROTECTED]> wrote:
> I'm trying out Python 2.6 and I found what might be a bug in the
> Tkinter module. How can I report it?
maybe here:
http://bugs.python.org/issue3774
> The possible bug is a traceback when trying to delete a menu item
On Thu, 30 Oct 2008 17:45:40 +0100
Gerhard Häring <[EMAIL PROTECTED]> wrote:
> psyco seems to just work on Linux with Python 2.6. So it is probably
> "only" a matter of compiling it on Windows for Python 2.6.
Yes. I compiled it using "wp setup.py build --compiler=mingw32" with
cygwin, where wp w
John Machin lexicon.net> writes:
>
> On Jun 12, 7:11 pm, anton <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I want to replace all occourences of " by \" in a string.
> >
> > But I want to leave all occourences of \" as they are.
> >
and NOT:
this I want \" while I dont want this \\"
I tried even the (?<=...) construction but here I get an unbalanced paranthesis
error.
It seems tha re is not able to do the job due to parsing/compiling problems
for this sort of strings.
Have you any idea??
Anton
Exam
d in Javascript:
http://ejohn.org/blog/processingjs/
-Anton
--
http://mail.python.org/mailman/listinfo/python-list
On May 7, 7:22 pm, Pop User <[EMAIL PROTECTED]> wrote:
> Anton Slesarev wrote:
>
> > But I have some problem with writing performance grep analog.
>
> I don't think you can ever catch grep. Searching is its only purpose in
> life and its very good at it. You
I try to save my time not cpu cycles)
I've got file which I really need to parse:
-rw-rw-r-- 1 xxx xxx 3381564736 May 7 09:29 bigfile
That's my results:
$ time grep "python" bigfile | wc -l
2470
real0m4.744s
user0m2.441s
sys 0m2.307s
And python scripts:
import sys
if len(
I've read great paper about generators:
http://www.dabeaz.com/generators/index.html
Author say that it's easy to write analog of common linux tools such
as awk,grep etc. He say that performance could be even better.
But I have some problem with writing performance grep analog.
It's my script:
On Apr 22, 3:54 pm, Paul McGuire <[EMAIL PROTECTED]> wrote:
> On Apr 22, 8:47 am, "Anton Mellit" <[EMAIL PROTECTED]> wrote:
>
>
>
> > I need something like
> > 'overriding' =, which is impossible, but I look for a systematic
> > appro
ferrable? Does anyone know any alternative ways?
Anton
--
http://mail.python.org/mailman/listinfo/python-list
hard for C newbies.
Den 15. april. 2008 kl. 19.35 skrev [EMAIL PROTECTED]:
> On Apr 15, 3:07 am, Paul Anton Letnes <[EMAIL PROTECTED]>
> wrote:
>
>
>> but C bogs you down with administrative stuff (try converting an int
>> to a string; I found myself googling for a
Den 15. april. 2008 kl. 11.11 skrev Diez B. Roggisch:
> Alexander Dong Back Kim wrote:
>
>> Hi all,
>>
>> I'm very very beginner of python but I'm dare to ask this question
>> straight away. =P
>>
>> Is it possible to import C++ static library compiled by GCC? The
>> target is definitely Linux ma
Brian: Impressive!
This is the most balanced, well-informed and interesting reply to this
debate. I would like to make some comments even so.
I have tried all languages, and consider myself agnostic. However, I
would like to roughly repeat what James Gosling (Java inventor) said
at a lectu
Funny,
I'm just doing exactly this:
import os
def main():
dataFolder = 'data/'
fileList = os.listdir(dataFolder)
for file in fileList:
inFile = open(dataFolder + file, 'r')
print 'read inFile & do something useful here'
Clear as an... egg?
>
> Thanks a lot for the comments. So, I post the code, which should let
> you recreate the circumstances. I'm on 10.5.2, python2.5 (from
> Fink), and got SIP from FINK recently - should be the latest version.
>
> I know C++ to some extent - the linking is the hardest part for me
> to grasp.
Okay, installed SIP. Looks promising, following the tutorial on
http://www.riverbankcomputing.com/static/Docs/sip4/sipref.html#using-sip
It should be noted that I am working on a Mac - I know there are some
differences, but it's still UNIX and should work somehow.
Anyway, I copy-paste and create
Hello guys,
(related to previous thread on wrapping C/C++ in Python, trying the
SWIG approach.)
Trying to map a C++ class to python, one method for now. Running the
following commands to "compile":
--
#!/usr/bin/env bash
MOD_NAME=Wavelet
swig -c++ -pyth
Could you include some code around line 39 in demo.py?
Also, you could try to comment out the stuff before that point, and
see if the demo runs that far.
Paul.
hi
i want to use gnuplot with python
i installed it seemingly successfully
but when i try to run demo.py it gives the following e
Brian and Diez:
First of all, thanks for the advice.
Brian:
I have installed NumPy and SciPy, but I can't seem to find a wavelet
transform there.
The main point of this was more to learn C wrapping than to actually
get a calculation done. I will probably be starting a PhD soon, doing
real
$2 = (char**)alloca($1*sizeof(char*));
> for (Py_ssize_t i = 0; i < $1; ++i) {
> PyObject *o = PySequence_GetItem($input, i);
> $2[i] = PyString_AsString(o);
> }
> }
>
> That one works for mapping a python sequence (such as a list) into the
> argc, argv arguments commonly pas
Hello etc.
I am a "scientific" user of Python, and hence have to write some
performance critical algorithms. Right now, I am learning Python, so
this is a "newbie" question.
I would like to wrap some heavy C functions inside Python,
specifically a wavelet transform. I am beginning to bec
gamename wrote:
> Hi,
>
> Where can I find python 2.5.1 rpm's for redhat9 and fedora6/7?
did you check on the fedora7 dvd?
btw building from sources if completely straigtforward (meaning that it
does not build character and leaves your with a sense of accomplishment
the way building x.org code
Anton Tropashko wrote:
> i can't use qtreactor since it relies on qt bindings lib (GPLed)
> how much work there is to provide an alternative gpl free qtreactor
> equivalent that is suitable for deployment in a commercial app
> and who is specializing in this sort of contract wor
i can't use qtreactor since it relies on qt bindings lib (GPLed)
how much work there is to provide an alternative gpl free qtreactor
equivalent that is suitable for deployment in a commercial app
and who is specializing in this sort of contract work?
in case i can convince the management to get t
s it didn't get the complete file)
it deleted it afterwards anyway.
Bye
Anton
--
http://mail.python.org/mailman/listinfo/python-list
python 2.4.3 installation with moinmoin and trac for
example,
I didn't like this too much, ... don't remember exactly what I
didn't like exactly, by I deinstalled the whole enthon stuff rather
fast.
Again: the enthon installer is nice if somebody uses only this
suite :-)
Its a great wo
tried out (or tried to try out) different tools for
doing 3D plotting, but skipped most of them since I did
not get them to work.
(... yes I am a little bit confused since I didnt find
something working out of the box).
Anton
>
> PyOpenGL isn't abandonware. Python 2.5 comes with the ct
Hi Marek,
thanks for the link .. I knew VPython
already by I forgot it ( the last time it was only
python 2.4 compatible) but as I see
they support python 2.5 now ;-)
I will check it and thanks again.
Anton
> Hi anton,
>
>Have you take a look at vpython? Here's their
Hi,
I would like to know if some of you knows a
- working
- actual
- out of the box (for me: binaries available)
Package/Lib to do 3D plotting out of the box.
I know matplotlib.
There is MayaVi from enthon but you need to use their python (2.4.3),
all other stuff need picking sources etc
t;)'
(excerpt from the documentation).
Actually it should be nice to have this workaround available
separately for use by other math packages.
Anton
--
http://mail.python.org/mailman/listinfo/python-list
sion, so
people should use // when they divide integers and expect an integer.
Other than these two things (the second one does not require
recompilation, so it is not so bad probably) I don't need any changes
to python core. I agree that a standard must be standard.
Anton
--
http://mail.python.org/mailman/listinfo/python-list
> Does your version use the GMP library (optional in PARI).
> Does it support Windows? I couldn't tell if the PARI
> Windows distribution has GMP, but I suspect not since GMP
> doesn't support Windows.
No, I didn't try to use gmp. But this may be not a bad idea. I am
trying to compile gmp right no
ython. For this my module installs my own handler for the operation
‘divide’ for integers and longs. That’s it. In other respects it is a
normal python module.
I will greatly appreciate any feedback.
Anton
--
http://mail.python.org/mailman/listinfo/python-list
better to make a function
which would 'turn on/off' my division. It is strange that it is only
possible to do such things in C code, I cannot do it from python.
Anton
--
http://mail.python.org/mailman/listinfo/python-list
Hello
Someone knows since as I can obtain the information detailed about the
compiler of Python? (Table of tokens, lists of productions of the
syntactic one , semantic restrictions...)
Thanks.
--
http://mail.python.org/mailman/listinfo/python-list
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> i have a c function from some modbus documentation that i need to
> translate into python.
>
> it looks like this:
>
>
> unsigned short CRC16(puchMsg, usDataLen)
> unsigned char *puchMsg ;
> unsigned short usDataLen ;
> {
>unsigne
[EMAIL PROTECTED] wrote:
> Given a list of elements that are either a character or a character
> follows by a number, e.g.
>
> ['a', 'b', 'c1', 'd', 'e1', 'f', 'c2', 'x', 'e2']
>
> find all the permutations that are given by switching the positions of
> the elements that:
> (1) begins with the
Alex Martelli wrote:
> You can find a few examples of me demonstrating the subject of your
> interest by searching for my name e.g. on video.google.com; searching
> for my name on Amazon will show some books using similar techniques, and
> searching for my name on groups.google.com will find about
HYRY wrote:
>> - should non-ASCII identifiers be supported? why?
> Yes. I want this for years. I am Chinese, and teaching some 12 years
> old children learning programming. The biggest problem is we cannot
> use Chinese words for the identifiers. As the program source becomes
> longer, they always
Duncan Booth wrote:
> Recently there has been quite a bit of publicity about the One Laptop Per
> Child project. The XO laptop is just beginning rollout to children and
> provides two main programming environments: Squeak and Python. It is an
> exciting thought that that soon there will be mill
[EMAIL PROTECTED] wrote:
> I see. I figured that list comprehensions made another list(duh), but
> I thought I could relink the object(List) to the new list and keep it
> once the function ended.
>
> Is it possible to pass a reference(to an object.. Like 'List',
> basically) to a function and chan
Neil Hodgson wrote:
> Anton Vredegoor:
>
>> Ouch! Now I seem to be disagreeing with the one who writes my editor.
>> What will become of me now?
>
> It should be OK. I try to keep my anger under control and not cut
> off the pixel supply at the first stirrings o
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> Martin v. Löwis:
>
> > This PEP suggests to support non-ASCII letters (such as accented
> > characters, Cyrillic, Greek, Kanji, etc.) in Python identifiers.
>
> I support this to ease integration with other languages and
> platform
Martin v. Löwis wrote:
> In summary, this PEP proposes to allow non-ASCII letters as
> identifiers in Python. If the PEP is accepted, the following
> identifiers would also become valid as class, function, or
> variable names: Löffelstiel, changé, ошибка, or 売り場
> (hoping that the latter one means
estherschindler wrote:
> * If you telecommute, full- or part-time, what *one* thing do you wish
> the CIO or IT Management would understand that they don't currently
> "get"?
I'm not currently telecommuting but last year I had a telecommuting job
for half a year. What I would want to say to all
Steve Holden wrote:
> I'm sorry, but while the PSF is a democratically-run organization its
> franchise doesn't extend beyond the membership.
I didn't realize this was about an PSF internal affair. Of course a
group of people can decide on its internal matters without asking anyone
else, as lo
Antoon Pardon wrote:
> On 2007-04-25, Anton Vredegoor <[EMAIL PROTECTED]> wrote:
>> Antoon Pardon wrote:
>>
>>>>> That's a good point, and also a valid reason for restricting the
>>>>> voting community to PSF members. Thanks, Alex.
>>
Anton Vredegoor wrote:
> It's about as ridiculous as proving that a stiff parrot is dead by
> grabbing it by the legs and repeatedly hitting it's head on the counter.
Or to write "it's" where its is more appropriate.
A.
--
http://mail.python.org/mailman/listinfo/python-list
Antoon Pardon wrote:
>>> That's a good point, and also a valid reason for restricting the
>>> voting community to PSF members. Thanks, Alex.
>> So in order to avoid a suspicion of a conflict of interest you want to
>> turn the whole thing into private property of the PSF?
>>
>> That is the most
Steve Holden wrote:
>> When cash is involved, it's important to avoid even the slightest
>> hint of a suggestion of a suspicion of a conflict of interest;
>> that, I guess, is why firms that run contests with cash prizes
>> always declare employees and their families "not eligible", and why
>> I t
Ray wrote:
> hi, I have a question about how to use .grid_forget (in python/TK)
>
> I need to work on grid repeatly. everytime when a button is pressed,
> the rows of grid is different. such like, first time, it generate 10
> rows of data.
> 2nd time, it maybe only 5 rows. so I need a way to RES
KDawg44 wrote:
> I am writing a GUI front end in Python using Tkinter. I have
> developed the GUI in a grid and specified the size of the window. The
> widgets are centered into the middle of the window. I would like them
> to fill the window. I tried using the sticky=E+W+N+S option on the
> w
Anton Vredegoor wrote:
> def xsplitter(seq, pred):
> Q = deque(),deque()
> it = iter(seq)
> def gen(p):
> for x in it:
> Q[pred(x) == p].append(x)
> while Q[p]: yield Q[p].popleft()
> while Q[p]: yield Q[p].pople
1 - 100 of 250 matches
Mail list logo