[EMAIL PROTECTED] wrote in
news:[EMAIL PROTECTED]:
> """
> Spoke too soon, i get this error when running amara in
> ActivePython
>
import amara
amara.parse("http://www.digg.com/rss/index.xml";)
>
> Traceback (most recent call last):
> File "", line 1, in ?
> File "C:\Python23\Lib
"Tuvas" <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]:
> I need a function that will tell if a given variable is a
> character or a number. Is there a way to do this? Thanks!
>
If you really need to, you can test for type:
>>> for x in ['3',3,3.1,3j]:
... print type(x)
>>> for x
[EMAIL PROTECTED] wrote in
news:[EMAIL PROTECTED]:
> """
> Not wanting to hijack this thread, but it got me interested in
> installing amara. I downloaded
> Amara-allinone-1.0.win32-py2.4.exe and ran it. It professed that
> the installation directory was to be
> D:\Python24\Lib\site-packages\ ..
"manuhack" <[EMAIL PROTECTED]> wrote in news:1153981114.837884.232610
@p79g2000cwp.googlegroups.com:
> I copied the lines
>
> f=open('/tmp/workfile', 'w')
> print f
> f.close()
>
> from Python 2.4 Documentation 7.2. But it said IOerror No such file or
> directory" '/tmp/workfile'
>
> Is it som
Duncan Booth <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]:
>> >>> def f():
>> class C(object):
>> def __init__(self):
>>self.a = 'a'
>> return C()
>>
>> >>> x = f()
>> >>> x.a
>> 'a'
>> >>> y=f.C()
>>
>
Of course there's this:
>>> def f():
... clas
Duncan Booth <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]:
> Diez B. Roggisch wrote:
>
>>> No, the list comprehension lets you write an expression directly
>>> avoiding a function call, and it also allows you to add in a
>>> condition which can be used to filer the sequence. Your proposal
Anthony Greene <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]:
> Howdy, I had the impression that pychecker caught and reported such
> dynamic syntactical errors.
>
> #!/usr/bin/env python
>
>
> def add(i):
> i += 10
>
> status = 3
>
> if 1 == 1:
> statuss = 15
>
> add(stat
"tjreedy" <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]:
>
> <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>> O/S WinXP Home
>> Vsn of Python: 2.4
>>
>> Wish to install Amara. Using amara-allinone-1.0.win32-py2.4.exe
>> (2965KB)
>>
>> Forder structure before installation:
Gabriel Genellina <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]:
> At Thursday 24/8/2006 17:44, Chaz Ginger wrote:
>
>>That is merely a logical use of OO after all when would a car and an
>>orange be the same?
>
> Uh... what's the point...?
> By example, an orange inside a car would be mo
"Ant" <[EMAIL PROTECTED]> wrote in news:1157218244.750434.36220
@h48g2000cwc.googlegroups.com:
>
> zefciu wrote:
>> Pontus Ekberg wrote:
> ...
>> > $ python test.py
>> >
>> > or
>> >
>> > $ ./test.py (if test.py is executable)
>> >
>> >
>> Thats if you use un*x. If you word under windows, the fi
"mistral" <[EMAIL PROTECTED]> wrote in news:1157239512.139823.15650
@74g2000cwt.googlegroups.com:
[...]
> Assuming I have Windows XP, and I installed ActiveState Python. No any
> other additional manipulations were done, no any PATHEXTes environment
> variables, etc, etc, nothing. How many prepara
connect_clicked(self, widget, data=None):
if locked:
os.popen("sudo network-admin -c ath0")
self.emit('connection-attempted', "ath0")
else:
os.popen("sudo iwconfig ath0 ap 00:0F:B3:31:CB:01")
self.emit('connection-attempted', "ath0
On Sun, 05 Feb 2006 10:39:18 -0800, Rick Spencer wrote:
>I just want to fire
> off the command line utility (iwconfig) for connecting. In this case, I
> want my program to wait until iwconfig is done before continuing on. I
> figure that I could just write a line of code to read
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]:
> def number_format(num, places=0):
> """Format a number according to locality and given places"""
> locale.setlocale(locale.LC_ALL, "")
> return locale.format("%.*f", (places, num), True)
>
There are some edge
pdb might help. Add this to your code:
import pdb
pdb.set_trace()
--
http://mail.python.org/mailman/listinfo/python-list
bruno at modulix <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]:
> HappyHippy wrote:
>> More of a minor niggle than anything but how would I remove the
>> aforementioned space?
>
>
>> eg.
>> strName = 'World'
>> print 'Hello', strName, ', how are you today?'
>
>
> Already got an anwser,
[EMAIL PROTECTED] wrote in news:1140725159.143882.202630
@j33g2000cwa.googlegroups.com:
>
> Steven D'Aprano wrote:
>> You could try this:
>>
>> while 1:
>> var = raw_input("Give me some data! ")
>> if var == "some data":
>> print "Success!"
>> break
>> else:
>>
[EMAIL PROTECTED] wrote in news:1140987642.195734.187540
@t39g2000cwt.googlegroups.com:
> Can you please tell me what is the meaning this error in general?
>
> UnboundLocalError: local variable 'colorIndex' referenced before
> assignment
>
> In my python script,
> I have a variable define and i
Have a look at Putty's pscp and PySCP...
http://www.chiark.greenend.org.uk/~sgtatham/putty/
http://py.vaults.ca/apyllo.py/990075885.195097684.69935243
Rick
Lars wrote:
> Daniel,
>
> Why don't you just use the 'sftp' command line program, it's available
>
If it is umask, then that would be umask for the Apache process,
not the second script (which I presume doesn't run as Apache).
The CGI script can explicitly set the permissions when creating
the folder using mkdir() or makedirs() so that others can write
into it. (Depending on how public or priv
Like the last poster said, use %Z. On my Mandriva Linux system I get the
following results:
>>> time.localtime()
(2005, 6, 7, 15, 7, 12, 1, 158, 1)
>>> time.strptime("2005-06-07 15:07:12 EDT", "%Y-%m-%d %H:%M:%S %Z")
(2005, 6, 7, 15, 7, 12, 1, 158, 1)
.python.org/tut/node8.html
One suggestion is to make a directory in your /home dir where you keep
your downloaded and homemade Python modules and scripts. I call mine
"Python" so it's ~/Python or /home/rick/Python.
Then, as suggested, add this dir to your Python path, so that you ca
both your script and the file have Mac line endings?
rick
--
http://mail.python.org/mailman/listinfo/python-list
sdist, the Basis and IO subdirectories
are not included. How can I get the distutils to include this?
Thanks in advance,
Rick
--
http://mail.python.org/mailman/listinfo/python-list
> Sorry for keeping you guys busy with such a mistake ;)
No apologies necessary, especially since you reported the final
outcome. Now anybody searching on that message will find a complete
thread and a lesson learned.
rick
--
http://mail.python.org/mailman/listinfo/python-list
On Dec 5, 7:20 am, [EMAIL PROTECTED] wrote:
>
> I recommend asking the distutils guys at their list:
>
> http://mail.python.org/mailman/listinfo/distutils-sig
>
> Mike
I did, and no one replied there either. Probably because everyone,
there and here, were too polite to say that I was nutso. Which
is is something that's probably pretty common, modifying
a data structure using a gui, so I'm hoping that someone has thought
about this and has some good advice about best practices here.
Thanks in advance for your time,
Rick
--
http://mail.python.org/mailman/listinfo/python-list
On Dec 8, 11:57 pm, Waldemar Osuch <[EMAIL PROTECTED]> wrote:
> On Dec 8, 8:35 pm, Rick Muller <[EMAIL PROTECTED]> wrote:
>
>
>
> > I'm a computational chemist who frequently dabbles in Python. A
> > collaborator sent me a huge XML file that at one point wa
On Dec 10, 8:03 pm, "Whizzer" <[EMAIL PROTECTED]> wrote:
> Is OReilly's Learning Python a good place to start learning to program?
> I've been told Python is a good first language.
>
> Thanks for the advice.
If you already have Python installed,just go to the bottom of this
article and check the v
On Dec 11, 10:08 am, "ron.longo" <[EMAIL PROTECTED]> wrote:
> Is there any way that I can find the path of the main .py file of my
> application?
>
> For example, I have an application with some resources which are in a
> subdirectory:
>
> myPythonApp.py
> /resources
> image1
>
On Dec 13, 9:00 pm, Davy <[EMAIL PROTECTED]> wrote:
>
> What's "\1" and the whole re.sub() mean?
>
Read about backreferences here:
http://www.regular-expressions.info/brackets.html
Also see the entry on parentheses here:
http://docs.python.org/lib/
On Dec 14, 1:56 am, "Vladimir Rusinov" <[EMAIL PROTECTED]>
wrote:
glob or fnmatch
http://docs.python.org/lib/module-glob.html
rd
--
http://mail.python.org/mailman/listinfo/python-list
On Dec 18, 2:14 pm, [EMAIL PROTECTED] wrote:
> But where? Look it up in the function reference. OK,
> where's the function reference? A line of code that you'd type in a
> second is a ten-minute search. Thank God for google.
Maybe this will help:
http://rgruet.free.fr/PQR25/PQR2.5.html
But sinc
On Dec 21, 7:03 pm, Rachel Garrett <[EMAIL PROTECTED]> wrote:
> I'd like to write a simple application that will accept input from the
> user, go out to a particular web page, and submit the user's input to
> the website. The results that are displayed by the web page should
> then be sent back to
Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]:
> In <[EMAIL PROTECTED]>, é· wrote:
>
>> suggest add do while loop in later version
>
> Please also suggest a clean syntax for this. :-)
>
Since Python already has a while : loop, I'm supposing you
mean somethin
[EMAIL PROTECTED] wrote in news:1148133784.844430.23130@
38g2000cwa.googlegroups.com:
> Gerard Flanagan wrote:
>> All
>>
>> would anyone happen to have code to generate Cutter Numbers:
>>
>> eg. http://www1.kfupm.edu.sa/library/cod-web/Cutter-numbers.htm
>>
[...]
>
> I wrote a script to see if
On Jan 7, 4:37 pm, dgoldsmith_89 <[EMAIL PROTECTED]> wrote:
> Can anyone point me to a downloadable open source English dictionary
> suitable for programmatic use with python: I'm programming a puzzle
> generator, and I need to be able to generate more or less complete
> lists of English words, alp
On Jan 29, 10:39 am, kj <[EMAIL PROTECTED]> wrote:
> I'd written a Perl module to facilitate the writing of scripts.
> It contained all my boilerplate code for parsing and validating
> command-line options, generating of accessor functions for these
> options, printing of the help message and of t
s
>>> t = Test()
>>> wr = weakref.ref(t)
>>> wr_new = copy.copy(wr) # Fails, not enough args to __new__
Anybody out there have some insight into this?
Thanks
Rick
--
http://mail.python.org/mailman/listinfo/python-list
On Feb 14, 12:31 pm, Rick Harris <[EMAIL PROTECTED]> wrote:
> I am working with an object, Context, that maintains an identity map
> by using the weakref.WeakValueDictionary. I would like to clone this
> Context object (and objects that may have a Context object) using
> copy.
On Feb 14, 12:31 pm, Rick Harris <[EMAIL PROTECTED]> wrote:
> I am working with an object, Context, that maintains an identity map
> by using the weakref.WeakValueDictionary. I would like to clone this
> Context object (and objects that may have a Context object) using
> copy.
On Mar 12, 11:22 am, mrstephengross <[EMAIL PROTECTED]> wrote:
> Hi all. I've got a python file called 'foo' (no extension). I want to
> be able to load it as a module, like so:
>
> m = __import__('foo')
>
> However, the interpreter tells me "No module named foo". If I rename
> it foo.py, I can i
On Mar 26, 9:12 am, waltbrad <[EMAIL PROTECTED]> wrote:
> On his command line he types:
>
> C:\...\PP3E>Launcher.py
>
> and this begins the program. Doesn't work for me. I have to type:
>
> C:\...\PP3E>python Launcher.py
>
> Is this a typo on his part or has he configured his settings in such a
>
different I see here between the numpy.array call in the
cases is that
a[0] is a numpy int32
10 is an int
Why would this minor difference in integer types cause a totally
different result for the two cases - or is something else causing the
difference in results?
-rick
P.S.
I am aware that
Hello All,
Why is python designed so that b and c (according to code below)
actually share the same list object? It seems more natural to me that
each object would be created with a new list object in the points
variable.
class Blob:
def __init__(self, points=[]):
self._points = point
ed? It will be
harder to change the language 10 years from now, so why not change it
now?
(By "better" I mean that over many years of time programmers will be
more productive because the language will be learned a bit faster with
a fewer surprises - and still retain its power.)
-Rick
On Feb 27, 6:42 am, "steven.oldner" wrote:
> Just learning Python and have a project to create a weekly menu and a
> shopping list from the menu.
> Question: How should I set up the data? I'm looking at maybe 70 menu
> items and maybe 1000 items for the shopping list. I need to be able
> to
I'm the main programmer for the PyQuante package, a quantum chemistry
package in Python. I'm trying to speed up one of my rate determining
steps. Essentially, I have to decide between two algorithms:
1. Packed means that I compute N**4/8 integrals, and then do a bunch
of indexing operations to unp
On May 13, 7:29 pm, Con <[EMAIL PROTECTED]> wrote:
> Hi, how does properly install the Python MySQL db module for Mac OS
> X? I was only able to locate the Win32 modules.
>
> Thanks in advance,
>
> -Conrad
I tried this a couple of weeks ago using macports and had problems.
See, for example:
htt
On May 27, 6:13 am, Laura Creighton <[EMAIL PROTECTED]> wrote:
> In a message of Mon, 26 May 2008 12:38:28 PDT, [EMAIL PROTECTED] writes:
>
> >I forgot to ask: what's your target platform? I mentioned Organizer's
> >Database, but it only runs on Windows. If you need a Linux or OS X
> >solution, t
On Jun 3, 12:22 am, V <[EMAIL PROTECTED]> wrote:
> I'm a C++, Java and C programmer, and I'm searching for a (preferably
> printed) book that teaches me the "Python idioms", i.e. the "Python
> way" of doing something.
>
> Ideally, I'm searching for a book like "Effective C++" or "Effective
> Java",
On Mar 31, 2:39 pm, [EMAIL PROTECTED] wrote:
> How do I receive input from the command line in Python?
As long as we are all guessing, do you perhaps mean raw_input?
my_name = raw_input("What is your name? ")
What is your name? Rick
>>> my_name
'Rick'
--
On Apr 5, 6:56 pm, [EMAIL PROTECTED] wrote:
> What I would like to do
> is recursively backup the specified directories . . .
> but be able to specify exclusion directories (which copytree does
> not appear to allow you to do). My initial thoughts were I'll
> probably have to use os.path.walk for
for larger projects but limited in general.
I really like spe and want to continue using it. Stani himself seems
pretty unreachable.
Does anyone have a clue for me about what the issue is? Is no one else
using this great ide? Or is no one else having this problem?
Thanks for any help
In my previous post about spe I didn't mention that my set up is:
python 2.4.4
wxpython 2.8.3
thanks.
-Rick King
--
http://mail.python.org/mailman/listinfo/python-list
debugger it got really weird: for example, at one point I went to the
variables pane and clicked to open 'self' and it was at that moment that
all this output came through on the console. Absolutely nonsensical.
I'll check out the new stuff for eclipse.
-Rick
Fabio Zadrozny
Could you first find out if it exists with isfile(..) and then try to
open it? If it fails I *think*
it would have to be open by another process.
-Rick King
Southfield MI
bvidinli wrote:
i started python programming a few months ago.
now i need the code to understand if a file already
easy to use, but I would go to the trouble of learning
one of the bigger frameworks if they would provide a more elegant
solution.
My web skillz are obviously several years out of date, so I'd like
some guidance on the best way to update them.
Thanks in advance,
Rick
--
http://mail.python.org/mailman/listinfo/python-list
On Apr 19, 2:44 pm, globalrev <[EMAIL PROTECTED]> wrote:
>
> www.vpython.orgmight be what you are looking for.
Except, if I'm not mistaken, vpython isn't a web framework. It would
work if I wanted to write some python scripts and have other people
run them, but I want to run everything through a
dict also has 'get' which provides a default if the key isn't defined:
a={}
print a.get('a','default')
default
-Rick King
southfield MI
--
http://mail.python.org/mailman/listinfo/python-list
then this statement:
d = date2('12312008')
Causes:
TypeError: function takes exactly 3 arguments (1 given)
Is there something basically wrong with subclassing date?
-Rick King
--
http://mail.python.org/mailman/listinfo/python-list
Wow! I've been away in other pursuits.
The new docs are gorgeous and searchable.
http://docs.python.org/dev/index.html
Thank you, python.org.
--
http://mail.python.org/mailman/listinfo/python-list
"gangesmaster" <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]:
> aah. you all are too stupid.
-1 QOTW.
--
rzed
--
http://mail.python.org/mailman/listinfo/python-list
Kent Johnson <[EMAIL PROTECTED]> wrote in news:44310867$1_1
@newspeer2.tds.net:
> Sion Arrowsmith wrote:
>> Eric Deveaud <[EMAIL PROTECTED]> wrote:
>>> some moderns editors allow you to comment/uncomment a selected Bunch
>>> of lines of code
>>
>> Out of curiousity, is there a modern editor wh
Kent Johnson <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]:
> Rick Zantow wrote:
>> Kent Johnson <[EMAIL PROTECTED]> wrote in news:44310867$1_1
>> @newspeer2.tds.net:
>>
>>> Sion Arrowsmith wrote:
>>>> Out of curiousity, is there a m
Steven D'Aprano <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]:
> On Sat, 08 Apr 2006 22:54:17 -0700, Ju Hui wrote:
>
>> I want to print 3 numbers without blank.
> [snip]
>> how to print
>> 012
>> ?
>
> Method one: accumulate your numbers into a single string, then print
> it in one go.
>
No telling what Windows will do. :)
I am a mere hobbyist programmer, but I think real programmers will
tell you that it is a bad habit to use relative paths. Use absolute
paths instead and remove all doubt.
http://docs.python.org/library/os.path.html
RD
--
http://mail.python.org/mailman/listinf
On Feb 23, 1:08 pm, Gib Bogle wrote:
> It isn't useful to respond to a serious question with OS bigotry.
Okay, I'll go with what Aahz said:
> I've seen similar issues on Win7.
> AFAIK, this has nothing to do with Python.
--
http://mail.python.org/mailman/listinfo/python-list
> Hi,
> I have been trying to install python on my Win ME system
Try this:
http://tinyurl.com/w7wgp
RD
--
http://mail.python.org/mailman/listinfo/python-list
Appreciate any help on this. I am porting an app from Java to python
and need generic object pooling with hooks for object initialization /
cleanup and be able to specify an object timeout.
Thanks !
Rick
--
http://mail.python.org/mailman/listinfo/python-list
On Jul 15, 4:53 am, Jonathan Gardner
wrote:
> On Jul 14, 6:34 pm, Rick Lawson wrote:
>
> > Appreciate any help on this. I am porting an app from Java to python
> > and need generic object pooling with hooks for object initialization /
> > cleanup and be able to specify an
;t work.
I am very confused about unicode. Can someone point me in the right
direction?
windows xp sp2
python 2.6.2 unicode
Thanks!
Rick King
Southfield MI
--
http://mail.python.org/mailman/listinfo/python-list
Thanks. I looked around for alternatives but didn't find this one.
Rick
Chris Rebert wrote:
On Sat, Jul 18, 2009 at 3:30 PM, Rick King wrote:
Hello,
I want to copy files using subprocess.call or os.system where the file names
are non-ascii, e.g. Serbian(latin), c's and s's w
uot;filetoolGUI.py",
other_resources = [(RT_MANIFEST, 1, manifest_template %
dict(prog="FileTool"))],
dest_base = "FileTool")
setup(
options = {"py2exe": {"compressed": 1,"optimize": 2,"ascii":
1,"bundle_files": 1}},
zipfile = None,
windows = [FileTool],
)
Any help will be greatly appreciated!
Rick King
Southfield MI USA
--
http://mail.python.org/mailman/listinfo/python-list
so means I have to have a command
window.
If I add this:
self.stdin = self.edt_console_input (where self.edt_console_input
is a wxPython text control)
it just gets an EOF right away.
Is there any way to do what I want to do? This might be better posted on
the wxpython list.
Thanks fo
but
this currently brings everything to a halt.
One thing this app does is execute processes using wxPythons wx.Process
object and wx.Execute function. wxPython makes it easy to redirect stdin
and stdout. I'm trying to do a similar thing for individual python
statements. I'm not sur
shlex doesn't handle unicode input though, so, in general, it's not a
good solution.
Rick King
Southfield MI
http://docs.python.org/library/shlex.html
module shlex — Simple lexical analysis
New in version 1.5.2.
"The shlex class makes it easy to write lexical analyzers for
On Wednesday, February 15, 2017 at 10:16:14 PM UTC-6, Steven D'Aprano wrote:
> Oh, we know why the code is failing. We don't need help
> diagnosing the UnboundLocalError exception. You're right:
> there's an except pass around an assignment, so if the
> assignment fails, `result` never gets set.
>
On Sunday, February 26, 2017 at 2:15:58 PM UTC-6, Pete Dowdell wrote:
> I use Python, mainly with Django, for work. I was wondering
> if anyone has encountered an editor that could display a
> class with all inherited methods included in the editor's
> view of the class code.
Personally, i'm a min
On Wednesday, March 1, 2017 at 4:51:34 AM UTC-6, Terry Reedy wrote:
> The class listing provided by the pydoc module browser,
> also in help(someclass), do list all methods. Try
> >>> import tkinter
> >>> help(tkinter.Text)
> for instance.
>
> On 2/28/201
On Saturday, March 4, 2017 at 3:05:57 PM UTC-6, Peter Pearson wrote:
> I suspect I'm not the only fossil here who gets kinda
> misty contemplating NNTP's history.
Yeah. Well... Python-list has developed quite a reputation
within usenet antiquities circles for its highly coveted
collection of rare
On Tuesday, March 28, 2017 at 3:09:45 AM UTC-5, loial wrote:
> Can I pass self(or all its variables) to a class?
> Basically, how do I make all the variables defined in self
> in the calling python script available to the python class
> I want to call?
Your question, as presented, is difficult to
On Wednesday, March 29, 2017 at 8:17:01 PM UTC-5, Jan Gosmann wrote:
> On 29 Mar 2017, at 20:12, Steve D'Aprano wrote:
>
> > If you can demonstrate this effect using simple example
> > code without the external dependencies (using nothing but
> > the standard library) and people can replicate it,
On Sunday, March 26, 2017 at 1:21:18 PM UTC-5, Chris Angelico wrote:
> On Mon, Mar 27, 2017 at 4:43 AM, Steve D'Aprano
> wrote:
> [...] So, for instance, Eryk Sun commented that my rounded
> box example didn't render correctly in all fonts - but in
> the future, a new version of those fonts could
On Sunday, March 26, 2017 at 2:53:49 PM UTC-5, Chris Angelico wrote:
> On Mon, Mar 27, 2017 at 6:25 AM, Mikhail V wrote:
> > On 26 March 2017 at 20:10, Steve D'Aprano
> > wrote:
> >> On Mon, 27 Mar 2017 03:57 am, Mikhail V wrote:
> I generally find that when people say that Unicode doesn't
> so
On Sunday, March 26, 2017 at 6:42:36 PM UTC-5, Mikhail V wrote:
> And all text I currently read on my monitor are prerendered
> bitmaps, refined manually for frequently used sizes, and
> that is how it should be made. IOW there are much more
> important aspects than the ability to scale a text lin
On Thursday, March 30, 2017 at 12:43:59 AM UTC-5, Chris Angelico wrote:
> Except that it doesn't actually take very much work to call
> on someone else's library, which is what you get when you
> use Unicode properly. (At least, assuming you're using a
> decent language like Python, which comes wit
On Thursday, March 30, 2017 at 2:58:53 AM UTC-5, Steven D'Aprano wrote:
> On Wed, 29 Mar 2017 20:53:35 -0700, Rick Johnson wrote:
>
> > On Sunday, March 26, 2017 at 1:21:18 PM UTC-5, Chris Angelico wrote:
> >> On Mon, Mar 27, 2017 at 4:43 AM, Steve D'Aprano
>
On Thursday, March 30, 2017 at 9:14:54 AM UTC-5, Steve D'Aprano wrote:
> On Thu, 30 Mar 2017 03:21 pm, Rick Johnson wrote:
>
> > On Sunday, March 26, 2017 at 2:53:49 PM UTC-5, Chris Angelico wrote:
> >> On Mon, Mar 27, 2017 at 6:25 AM, Mikhail V wrote:
> >>
On Saturday, April 1, 2017 at 11:01:03 AM UTC-5, Steve D'Aprano wrote:
> On Sat, 1 Apr 2017 12:17 pm, Rick Johnson wrote:
>
> > Most people just quietly change the filename and move on
>
> There are over a billion people in China, almost a billion
> more in India, a
On Saturday, April 1, 2017 at 3:08:20 PM UTC-5, Mikhail V wrote:
> On 1 April 2017 at 06:38, Rick Johnson wrote:
> > On Thursday, March 30, 2017 at 9:14:54 AM UTC-5, Steve D'Aprano wrote:
>
> > > - and making band names look ǨØØĻ and annoy old fuddy-
> > >
On Saturday, April 1, 2017 at 9:18:14 PM UTC-5, Steve D'Aprano wrote:
[...]
> Even India has a literacy rate of 74%, which is not far off
> the functional literacy rate in the US of 86%.
>
> http://www.huffingtonpost.com/2013/09/06/illiteracy-rate_n_3880355.html
And your source is the HuffPo? Seri
On Saturday, April 1, 2017 at 9:32:17 PM UTC-5, MRAB wrote:
> Sometimes he mentions MUDs, sometimes he mentions Pike, but at least he
> doesn't rant.
I have not even _begun_ to rant. Yet...
--
https://mail.python.org/mailman/listinfo/python-list
On Sunday, April 2, 2017 at 11:26:50 AM UTC-5, Steve D'Aprano wrote:
> On Sun, 2 Apr 2017 04:41 pm, Terry Reedy wrote:
> > On 4/1/2017 12:00 PM, Steve D'Aprano wrote:
> >
> > > example of the Ugly American.
> >
> > As an American I resent your promotion and perpetuation of
> > an ugly ethno-centr
On Sunday, April 2, 2017 at 3:49:43 PM UTC-5, Gene Heskett wrote:
> On Sunday 02 April 2017 12:26:40 Steve D'Aprano wrote:
> > On Sun, 2 Apr 2017 04:41 pm, Terry Reedy wrote:
> > > On 4/1/2017 12:00 PM, Steve D'Aprano wrote:
> > > >
> > > > example of the Ugly American.
> > >
> > > As an American
On Friday, April 7, 2017 at 7:49:11 PM UTC-5, Steve D'Aprano wrote:
> But for merely ordinary obfuscation caused by poor design,
> your best bet is probably to inspect Foo.__module__.
>
> You can also try:
>
> inspect.getsource(FooClass)
> inspect.getsourcefile(FooClass)
Hmm, I tried that code b
@John
General debugging methodology dictates that when your output
does not match your expectation, you must never assume
anything. Here you made the fatal mistake of assuming that:
(1) files are stored as list objects, or (2) Python
automatically converts file data to list objects, or (3)
that py
On Sunday, April 9, 2017 at 2:39:18 AM UTC-5, Steven D'Aprano wrote:
> On Sun, 09 Apr 2017 13:57:28 +1000, Chris Angelico wrote:
>
> I don't know anyone who has ever said "this interpreter is
> too fast, can you make it run slower?"
LOL!
> [...]
>
> Well, maybe. As is pointed out many, many times
On Sunday, April 9, 2017 at 4:05:57 AM UTC-5, Chris Angelico wrote:
> On Sun, Apr 9, 2017 at 5:39 PM, Steven D'Aprano wrote:
> > Even better would be if the compiler was smart enough to
> > use the optimized, fast runtime when the dynamic features
> > aren't used, and fall back on a slower implem
On Sunday, April 9, 2017 at 1:34:39 PM UTC-5, bartc wrote:
> On 09/04/2017 04:57, Chris Angelico wrote:
> > On Sun, Apr 9, 2017 at 10:20 AM, wrote:
> > > I've an idea that
> > > http://www.mos6581.org/python_need_for_speed is a week
> > > late for April Fool's but just in case I'm sure that some
1001 - 1100 of 1183 matches
Mail list logo