Re: Your confirmation is required to join the Python-list mailing list

2020-09-10 Thread Michael Torrie
On 9/10/20 10:48 AM, LZ Lian wrote: > Dear Python Team, > > I've subscribed as requested. I've attached the subscription email > for your reference too > > Now, for the issue I’ve tried to download and install the latest > version of Python software a few times. However, each time I run the >

Question

2020-09-24 Thread Michael Boom
ng call on one proxy, would using the other proxy step on the toes of the first? Michael L. Boom 858-240-6059 mikeb...@mikeboom.com<mailto:mikeb...@mikeboom.com> 11532 Hadar Dr. San Diego, CA. 92126 -- https://mail.python.org/mailman/listinfo/python-list

Re: Problem

2020-09-30 Thread Michael Torrie
On 9/29/20 4:31 PM, Ron Villarreal via Python-list wrote: > Tried to open Python 3.8. I have Windows 10. Icon won’t open. Did you read the documentation? https://docs.python.org/3/using/windows.html Seems like this comes up several times a week. Perhaps the installer should automatically open thi

Re: Python's carbon guilt

2020-10-11 Thread Michael Torrie
On 10/10/20 9:58 AM, Peter Pearson wrote: > Python advocates might want to organize their thoughts on > this subject before their bosses spring the suggestion: > > From > https://www.sciencemag.org/news/2020/10/we-re-part-problem-astronomers-confront-their-role-and-vulnerability-climate-change >

Re: Python for Windows

2020-10-14 Thread Michael Torrie
On 10/14/20 11:29 AM, Ana María Pliego San Martín wrote: > I've tried to install Python a couple of times on my computer. Although it > works fine when first downloaded, every time I turn off my computer and > then back on Python says it has a problem that needs fixing. After "fixing" > it, I still

Re: Simple question - end a raw string with a single backslash ?

2020-10-18 Thread Michael Torrie
On 10/18/20 11:07 AM, Mladen Gogala via Python-list wrote: > The fundamental > difference between the two languages is that Perl is procedural while > Python is a fully OO language. Discussion of Perl vs Python necessarily > devolves into the discussion of procedural vs OO paradigms. Python cert

Re: Simple question - end a raw string with a single backslash ?

2020-10-18 Thread Michael Torrie
On 10/18/20 5:37 PM, Mladen Gogala via Python-list wrote: > On Sun, 18 Oct 2020 12:19:18 -0600, Michael Torrie wrote: > >> Python certainly is procedural. A script starts at the top and executes >> through to the bottom and ends, barring any flow control in the middle. >>

Re: Help with the best practice to learn python

2020-10-19 Thread Michael Torrie
On 10/19/20 9:12 AM, Azhar Ansari wrote: > Hello Python Community, > Kindly help me with the best practice to learn python. > Lots of material over net but its very confusing. What is your goal? Python is a tool. What do you want to do with it? If you don't have any particular thing in mind, it'

Re: GUI (tkinter) popularity and job prospects for

2020-10-22 Thread Michael Torrie
On 10/22/20 12:58 PM, Lammie Jonson wrote: > > I have been a rails developer as well as JS/react. I had wanted to > look at python a bit due to it's popularity. > > I looked at tkinter which seems to have quite a few examples out > there, but when I searched indeed.com for tkinter and wxpython it

Re: GUI: I am also looking for a nudge into the best (GUI) direction.

2020-10-31 Thread Michael Torrie
On 10/31/20 5:42 PM, Greg Ewing wrote: > On 1/11/20 9:44 am, Barry Scott wrote: > >> It does not appear to me that use native widgets is important for a tool kit. > > It's not strictly necessary. However, recreating the exact appearance > and behaviour of native widgets is a lot of work, and diff

Converting images to PDF. Final file has blank pages before and after.

2020-11-30 Thread Michael Baca
Hello, new to the group, rather new to programming. I'm writing a program that takes images and converts them into PDF's. It works after quite a few days of trying, however the final file has a blank page inserted before and after each page containing the images. This uses FPDF to do the conv

Re: Converting images to PDF. Final file has blank pages before and after.

2020-12-02 Thread Michael Baca
On Monday, November 30, 2020 at 7:15:37 PM UTC-7, MRAB wrote: > On 2020-12-01 01:20, Michael Baca wrote: > > Hello, new to the group, rather new to programming. > > > > I'm writing a program that takes images and converts them into PDF's. It > > works afte

Re: Error

2020-12-06 Thread Michael Torrie
On 12/5/20 11:41 AM, Barry Fitzgerald via Python-list wrote: > Good day," > > I purchased a book for my son and followed the directions to a T. (Coding > Games in Python) > Whenever I got to the point of of moving the "hello" file over to pgzrun is > where my trouble began. > Its not finding a p

Re: Error

2020-12-06 Thread Michael Torrie
On 12/5/20 11:41 AM, Barry Fitzgerald via Python-list wrote: > Good day," > > I purchased a book for my son and followed the directions to a T. > (Coding Games in Python) Whenever I got to the point of of moving the > "hello" file over to pgzrun is where my trouble began. Its not > finding a path

Re: Error

2020-12-07 Thread Michael Torrie
On 12/7/20 11:07 AM, Barry Fitzgerald wrote: > I did the pip install I did the pip install pygameThe pip install > pgzero I get this error C:\Users\barol>pip install pgzeroDefaulting > to user installation because normal site-packages is not > writeableCollecting pgzero Using cached pgzero-1.2-py3

Re: Error

2020-12-07 Thread Michael Torrie
On 12/7/20 11:30 AM, MRAB wrote: > There's no need to remove Python 3.9 first; Python 3.8 can be installed > alongside it. Since the original poster is invoking python.exe directly, probably as per the instructions in the book he's following, I fear having two versions of python installed will ju

Re: Review, suggestion etc?

2020-12-17 Thread Michael Torrie
On 12/17/20 9:10 AM, Bischoop wrote: > Could you expand here, I rather don't know how I could do it different > way apart from if maritals == 'Yes' or maritals == 'No' or is it what > you meant? I think he's hinting at using a loop instead. while maritals != 'Yes' and maritals != 'No': marita

Re: Installing Python (2.7) 'by hand' on Ubuntu - possible?

2020-12-22 Thread Michael Torrie
On 12/22/20 8:10 AM, Chris Green wrote: > I have (as discussed here) a printer utility that uses Python 2 and I > can't update it to Python 3 because it has a .so library file which is > compiled for Python 2. I think I have exhausted all the possibilities > for converting it to Python 3 so now I'

Re: Installing Python (2.7) 'by hand' on Ubuntu - possible?

2020-12-22 Thread Michael Torrie
On 12/22/20 9:44 AM, Chris Green wrote: > I have it running on 20.04 (with a couple of compatibility packages > from a PPA) but I know I start hitting problems as soon as I move to > 20.10. So that does sound like an excellent idea. Where can I find > information about building container type thi

Re: Which method to check if string index is queal to character.

2020-12-28 Thread Michael Torrie
On 12/28/20 10:37 AM, Bischoop wrote: > A valid email address consists of an email prefix and an email domain, > both in acceptable formats. The prefix appears to the left of the @ symbol. > The domain appears to the right of the @ symbol. > For example, in the address exam...@mail.com, "example" i

Re: Which method to check if string index is queal to character.

2020-12-28 Thread Michael Torrie
On 12/28/20 10:46 AM, Marco Sulla wrote: > On Mon, 28 Dec 2020 at 17:37, Bischoop wrote: >> >> I'd like to check if there's "@" in a string and wondering if any method >> is better/safer than others. I was told on one occasion that I should >> use is than ==, so how would be on this example. >> >>

Re: Which method to check if string index is queal to character.

2020-12-28 Thread Michael Torrie
On 12/28/20 1:27 PM, Richard Damon wrote: > Validating that it meets the SYNTAX of an email address isn't THAT hard, > but there are a number of edge cases to worry about. Yes one would think that, but in my experience half of all web sites get it wrong, insisting that my perfectly valid and RFC-c

ANN: python-ldap-2.0.10

2005-09-23 Thread Michael Ströder
Find a new release of python-ldap: http://python-ldap.sourceforge.net/ python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related stuff (e.g. p

Re: Single type for __builtins__ in Py3.0

2005-09-23 Thread Michael Hoffman
Collin Winter wrote: > If possible, I'd like to see this go in before 3.0. +1 -- Michael Hoffman -- http://mail.python.org/mailman/listinfo/python-list

Re: What is "self"?

2005-09-23 Thread Michael Spencer
e function have to be in the class dictionary. You can just call any function descriptor yourself: >>> def g(self, y): ... return self.f(y) ... >>> boundg = g.__get__(b) # bind to B instance >>> boundg > >>> boundg(0) 42 >>> Looked at this way, function.__get__ just does partial function application (aka currying). >>> def f(x, y): ... return x+y ... >>> add42 = f.__get__(42) >>> add42 >>> add42(1) 43 Michael -- http://mail.python.org/mailman/listinfo/python-list

Re: Wrapping classes

2005-09-23 Thread Michael Spencer
de is boilerplate. >>> a = 3 >>> b = 4 >>> calc('a * b') using a using b 12 >>> calc('a * b ** (b - a) * "a"') using a using b using b using a '' >>> calc("0 and a

Metaclasses, decorators, and synchronization

2005-09-24 Thread Michael Ekstrand
is? (or are there some serious problems with my design?) TIA, Michael -- http://mail.python.org/mailman/listinfo/python-list

Re: Editing The Registery

2005-09-24 Thread Michael Ekstrand
On Saturday 24 September 2005 15:04, Eyual Getahun wrote: > I was wondering how could I edit the registery with python The excellent manual tells you how... The _winreg module http://docs.python.org/lib/module--winreg.html -Michael -- http://mail.python.org/mailman/listinfo/python-list

Re: RE + UTF-8

2005-09-24 Thread Michael Ströder
\w*)","X","[Chelcický]",re.L) You first have to turn the raw strings into Unicode strings. It seems on your console it should be: unicode('[Chelcický]','utf-8') Note that you have to set HTTP headers and in web applications. Ciao, Michael. -- http://mail.python.org/mailman/listinfo/python-list

Re: Metaclasses, decorators, and synchronization

2005-09-25 Thread Michael Ekstrand
ng to do something with some kind of lock, but I'm fairly new to multithreaded programming. What would be a more efficient way to accomplish this? - Michael -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Programming

2005-09-26 Thread Michael Ekstrand
but... I'd check out Lilypond. It's a music typesetting system; as I recall, it has the capacity to extract music data from MIDI files and generate Lilypond files, and then the Lilypond data can be converted to PS, DVI, PDF, etc. -Michael -- http://mail.python.org/mailman/listinfo/python-list

Re: Metaclasses, decorators, and synchronization

2005-09-26 Thread Michael Ekstrand
ter the lock has been put in place - that will happen much more than a call to a synchronized method of a fresh object). As I said, I'm kinda new to this threading stuff... is there anything I'm missing in this implementation? -Michael -- http://mail.python.org/mailman/listinfo/python-list

Re: Metaclasses, decorators, and synchronization

2005-09-26 Thread Michael Ekstrand
inner function appear to bear the same argument list as the original method? I've been poking around in new and inspect, but it is not appearing like an easy task. Thanks, - Michael -- http://mail.python.org/mailman/listinfo/python-list

Re: Metaclasses, decorators, and synchronization

2005-09-27 Thread Michael Ekstrand
On Tuesday 27 September 2005 00:22, Michele Simionato wrote: > It is not that easy, but you can leverage on my decorator module > which does exactly what you want: > http://www.phyast.pitt.edu/~micheles/python/decorator.zip Excellent. Thank you :-). - Michael -- http://mail.python.or

Re: What is "self"?

2005-09-27 Thread Michael Spencer
* __getattribute__ is only available with new style classes and objects > * object.__getattribute__ and type.__getattribute__ make different calls to __get__. > * data descriptors always override instance dictionaries. > * non-data descriptors may be overridden by

Re: Silly function call lookup stuff?

2005-09-27 Thread Michael Spencer
what names are bound to it and there are many ways besides an import statement of binding/re-binding, so "if the context changes" is easier said than done. > > This way any function would only need to be looked up once. > > L. > Would you apply this optimization to all lookups in outer scopes, or just callables? Why? ;-) Michael -- http://mail.python.org/mailman/listinfo/python-list

Re: What tools are used to write and generate Python Library documentation.

2005-09-27 Thread Michael Ekstrand
the style of Javadoc. Its markup language lets you document module, class, and instance variables and constants by mentioning them in the module or class's docstring. It has its own markup languge (very JavaDoc-ish), but it also supports JavaDoc and reStructuredText syntax. - Michael --

Fixes since 2.4.2c1? (was: RELEASED Python 2.4.2 (final))

2005-09-28 Thread Michael Ströder
n 2.4.1 and run make test there without problems. But being busy during the last days I did not have the time to track it down and report a bug... :-/ Ciao, Michael. -- http://mail.python.org/mailman/listinfo/python-list

Re: 1 Million users.. I can't Scale!!

2005-09-28 Thread Michael Schneider
I would need to get a better picture of your app. I use a package called twisted to handle large scale computing on multicore, and multi-computer problems http://twistedmatrix.com/ Hope this is useful, Mike yoda wrote: > Hi guys, > My situation is as follows: > > 1)I've developed a service th

What python idioms for private, protected and public?

2005-09-29 Thread Michael Schneider
I have been following this thread with great interest. I have been coding in C++ since the late 80's and Java since the late 90's. I do use private in these languages, with accessors to get at internal data. This has become an ingrained idiom for me. When I create a python object, it is natu

Re: Will python never intend to support private, protected and public?

2005-09-29 Thread Michael Ekstrand
ration with some XML parsing issues, before I did a little Java and learned to use SAX). -Michael -- http://mail.python.org/mailman/listinfo/python-list

Re: What python idioms for private, protected and public?

2005-09-29 Thread Michael Ekstrand
On Thursday 29 September 2005 09:08, Michael Schneider wrote: > Design Intent: > > 1) mark an object as dirty in a setter (anytime the object is > changed, the dirty flag is set without requiring a user to set the > dirty flag 2 ways: wrap every attribute that is to be set in a

Re: converting Word to MediaWiki

2005-09-29 Thread Michael Ekstrand
On Thursday 29 September 2005 07:43, Peter Hansen wrote: > Are the two necessarily in conflict? Perl can save your butt and > _still_ suck! Hear, hear! Although I think it's the vi user in me that makes me like Perl... - Michael -- http://mail.python.org/mailman/listinfo/python-list

Re: A rather unpythonic way of doing things

2005-09-29 Thread Michael Ekstrand
> crippled. So I delved a bit into the language, and found some sources > of syntactic sugar that I could use, and this is the result: > > http://www.pick.ucam.org/~ptc24/yvfc.html Umm, TMTOWTDI? As uniform as Python is, it still is flexible... Brilliant. Simply brilliant. -Michael --

Re: A Moronicity of Guido van Rossum

2005-09-29 Thread Michael Goettsche
On Thursday 29 September 2005 16:24, Xah Lee wrote: > A Moronicity of Guido van Rossum > > Xah Lee, 200509 > Assuming you want to reach people to convince them your position is right, why don't you try that in proper language? "moron" occured 7 times in your not too long text, that doesn't let y

Re: What python idioms for private, protected and public?

2005-09-29 Thread Michael Schneider
Frederik, Thank you very much for the info on properties, that is very useful. Sorry about the public typo, that should have been protected. I should not post before coffee hits :-) Happy coding, Mike Fredrik Lundh wrote: > Michael Schneider wrote: > > >>1) mark an objec

Re: grouping array

2005-09-29 Thread Michael Spencer
, x1 = region[ptr] for j, i in adj: y2, x2 = y1 + j, x1 + i if y2 < 0 or y2 == rows: continue if x2 < 0 or x2 == cols: continue if griddata[y2 * cols + x2]: append((y2, x2)) griddata[y2 * cols + x2] = 0 ptr += 1 yield region Michael -- http://mail.python.org/mailman/listinfo/python-list

Re: Fixes since 2.4.2c1?

2005-09-30 Thread Michael Ströder
Martin v. Löwis wrote: > Michael Ströder wrote: > >>Does that differ from 2.4.2c1? On Monday I noticed a crash in the test >>suite on a box running Solaris 8. It seems I can build Python 2.4.1 and >>run make test there without problems. > > There is also a chance

Re: Overloading __init__ & Function overloading

2005-09-30 Thread Michael Hoffman
baseclass.__init__(arg) This is an example of polymorphism generally, not overloading. -- Michael Hoffman -- http://mail.python.org/mailman/listinfo/python-list

Re: grouping array

2005-09-30 Thread Michael Spencer
coords functions returns the coordinates of the top-left and bottom-right points. You did not answer the previous post which asked what to do if the regions were not rectangular. HTH Michael -- http://mail.python.org/mailman/listinfo/python-list

Re: Feature Proposal: Sequence .join method

2005-09-30 Thread Michael Spencer
m ... >>> list(interleave(100,range(10))) [0, 100, 1, 100, 2, 100, 3, 100, 4, 100, 5, 100, 6, 100, 7, 100, 8, 100, 9] >>> but I can't think of a use for it ;-) Michael -- http://mail.python.org/mailman/listinfo/python-list

Re: Controlling who can run an executable

2005-10-04 Thread Michael Ekstrand
e-specific key, and then decrypts it before running it (runner would need to be in C or something). Or maybe just embeds in itself a crypographic signature using a hardware key that is verified before the program can run. -Michael -- http://mail.python.org/mailman/listinfo/python-list

Re: how to debug when "Segmentation fault"

2005-10-04 Thread Michael Ekstrand
e to find out where is the problem in the code? Thanks for > any help. What extension modules are you using? I've never seen "stock" Python (stable release w/ only included modules) segfault, but did see a segfault with an extension module I was using the other week (lxml IIRC

Re: cgi relay for python cgi script

2005-10-04 Thread Michael Ekstrand
MAIL PROTECTED] /usr/bin/env HTTP_HOST="$HTTP_HOST" OTHER_ENV_VARS /my/cgi/script "$@" Depending on your security needs, you may need to do things with alternate shells for the CGI user account, etc., but that can be done. And it will probably also need some input sanitization, e

Re: how to debug when "Segmentation fault"

2005-10-04 Thread Michael Ekstrand
On Oct 4, 2005, at 2:08 PM, Jp Calderone wrote: > On Tue, 4 Oct 2005 11:22:24 -0500, Michael Ekstrand > <[EMAIL PROTECTED]> wrote: >> I've never seen "stock" Python (stable release w/ only included >> modules) >> segfault, but did see a segfault with

Re: wxPython equiv. to tag_configure

2005-10-04 Thread Michael Ekstrand
On Oct 4, 2005, at 3:11 PM, ncf wrote: > In the wxWidgets manual, I see a wxHtmlWindow object, but nothing like > that seems to exist when I dir() wxPython. wxHtmlWindow is in the wx.html module. -Michael -- http://mail.python.org/mailman/listinfo/python-list

Re: /usr/bin/env python, force a version

2005-10-06 Thread Michael Ekstrand
/dev/stderr exit 1 fi "$PYTHON" "$APPATH" "$@" Problems: Requires Python 2.4 to be installed as python2.4, and doesn't have upward compatibility (i.e. 2.5). But it's at least as good as #!/usr/bin/env python2.4, and it gives a clean error message. -Michael -- http://mail.python.org/mailman/listinfo/python-list

Re: So far

2005-10-06 Thread Michael Schneider
Take a look at: http://wingware.com/ It is only $35.00 for an IDE. (30 day free eval version) I use eclipse for java, and have become quite fond of tab completion. Mike CppNewB wrote: > I am absolutely loving my experience with Python. Even vs. Ruby, the syntax > feels very clean with an emp

Re: So far (about editing tools)

2005-10-06 Thread Michael Ekstrand
Python programmers write in one > of vim or emacs. Anyone got stats? +1 Vim. But no stats. Perhaps a survey of Python source files found on the Internet for prevailing modelines would be revealing? - Michael -- http://mail.python.org/mailman/listinfo/python-list

Re: [Info] PEP 308 accepted - new conditional expressions

2005-10-07 Thread Michael Ekstrand
On Friday 07 October 2005 08:56, Eric Nieuwland wrote: > Ever cared to check what committees can do to a language ;-) *has nasty visions of Java* Hey! Stop that! - Michael -- http://mail.python.org/mailman/listinfo/python-list

Re: new forum -- homework help/chit chat/easy communication

2005-10-08 Thread Michael Goettsche
On Saturday 08 October 2005 21:15, Lasse Vågsæther Karlsen wrote: > [EMAIL PROTECTED] wrote: > > I've launched a new forum not too long ago, and I invite you all to go > > there: www.wizardsolutionsusa.com (click on the forum link). We offer > > all kinds of help, and for those of you who just lik

Re: Daisy Daisy, give me your answer do

2005-10-08 Thread Michael Goettsche
On Saturday 08 October 2005 22:10, Xah Lee wrote: > there is a MacPerl program posted in 1998 that uses Mac's speech synth > to sing Daisy Bell. > See: > > http://bumppo.net/lists/macperl/1998/11/msg00412.html > > can anyone modify it so it runs out of the box on today's OS X? > > PS i'm posting th

Re: Daisy Daisy, give me your answer do

2005-10-09 Thread Michael Goettsche
On Saturday 08 October 2005 23:39, Xah Lee wrote: > Dear Michael Goettsche, > > why don't you lead the pack to be on-topic for a change, huh? > > Xah > Because you are a moron. Unsubscribe from this list please and never come back. -- http://mail.python.org/mailman/listinfo/python-list

Re: Jargons of Info Tech industry

2005-10-10 Thread Michael Ströder
is "Hey grandma, check out the latest > photos on my web site: www.example.com/rich/photos". In principle you're right but you forgot: "And hey grandma, use this account name and this password for accessing this web page." Ciao, Michael. -- http://mail.python.org/mailman/listinfo/python-list

Re: Send password over TCP connection

2005-10-10 Thread Michael Ströder
Dan Stromberg wrote: > On Mon, 10 Oct 2005 15:13:14 -0700, Paul Rubin wrote: >> >>Use SRP if you can. > > Where can I learn more about this? http://www.faqs.org/rfcs/rfc2945.html Ciao, Michael. -- http://mail.python.org/mailman/listinfo/python-list

ANN: Kamaelia 0.3.0 released!

2005-10-11 Thread Michael Sparks
sing = Kamaelia is released under the Mozilla tri-license scheme (MPL1.1/GPL2.0/LGPL2.1). See http://kamaelia.sourceforge.net/Licensing.html Best Regards, Michael. -- [EMAIL PROTECTED], http://kamaelia.sourceforge.net/ British Broadcasting Corporation, Research and Development Kingswoo

small outsource project: change host for gnuTellaVision

2005-10-11 Thread Michael Douma
This is about a small subcontracting project. This is an interesting project which produces interactive graphs of the gnutella network. We are updating a python project written by students at Berkeley a few years ago. This project is to switch from an out-dated data host to a new one. The followin

Re: Well written open source Python apps

2005-10-13 Thread Michael Ekstrand
ad no difficulty understanding and modifying httplib). - Michael -- http://mail.python.org/mailman/listinfo/python-list

Re: Send password over TCP connection

2005-10-13 Thread Michael Ströder
nDatabase(user,password) It would be better to use salted SHA-1. Ciao, Michael. -- http://mail.python.org/mailman/listinfo/python-list

Re: UI toolkits for Python

2005-10-13 Thread Michael Ekstrand
ell (if at all) on Mac. wxWidgets also feels very old-Windows-ish. For example, it's built around having 1 toolbar for a window; for my application, that's not going to work so well, and I'm also having issues with some things related to dynamically creating toolbars and chan

Re: Node Subtree

2005-10-14 Thread Michael Ekstrand
ction > /class or by importing another module? Look into the XPath code included in PyXML (http://pyxml.sourceforge.net). - Michael -- http://mail.python.org/mailman/listinfo/python-list

Problems with properties

2005-10-14 Thread Michael Schneider
Hello All, I have been working on learning how to use python properties. The get property access is working, but the the set property is not working. Rather then dispatching the property assignment to setNothing, the property object is being replaced with a string. I must be doing something ver

Re: Problems with properties

2005-10-14 Thread Michael Schneider
Thanks to all, I added the object as a subclass (should this be required for 2.4.1 ???) I also switched to the decorator with the @property syntax Thank you very much for the help for adding @property to the language. what a great language :-) Mike Michael Schneider wrote: > Hello

Re: Problems with properties

2005-10-14 Thread Michael Schneider
Thanks to all, I added the object as a subclass (should this be required for 2.4.1 ???) I also switched to the decorator with the @property syntax Thank you very much for the help for adding @property to the language. what a great language :-) Mike Michael Schneider wrote: > Hello

Re: Microsoft Hatred FAQ

2005-10-15 Thread Michael Heiming
s a one-person job, thanks to the o/s. The only thing positive about M$ entering the market, probably due to their ineffective programming style they pushed Intel into producing pretty fast while cheapo CPUs. Ironically exactly this is the key to Linux/*BSD success in the unix server market. ;)

Re: Microsoft Hatred FAQ

2005-10-15 Thread Michael Heiming
In comp.os.linux.misc John Bokma <[EMAIL PROTECTED]>: > Michael Heiming <[EMAIL PROTECTED]> wrote: >> The only thing positive about M$ entering the market, probably >> due to their ineffective programming style they pushed Intel into >> producing pretty fast

Re: Microsoft Hatred FAQ

2005-10-15 Thread Michael Heiming
0 came out February 1982, according to: http://www.levenez.com/unix/history.html#05 Kudos to the one who did the work! -- Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94) mail: echo [EMAIL PROTECTED] | perl -pe 'y/a-z/n-za-m/' #bofh excuse 44: bank holiday - system operating credits not recharged^ -- http://mail.python.org/mailman/listinfo/python-list

Re: Microsoft Hatred FAQ

2005-10-15 Thread Michael Heiming
In comp.os.linux.misc John Bokma <[EMAIL PROTECTED]>: > Michael Heiming <[EMAIL PROTECTED]> wrote: >> In comp.os.linux.misc John Bokma <[EMAIL PROTECTED]>: >>> Michael Heiming <[EMAIL PROTECTED]> wrote: >> >>>> The only thing posit

Re: Microsoft Hatred FAQ

2005-10-15 Thread Michael Heiming
In comp.os.linux.misc Matt Garrish <[EMAIL PROTECTED]>: > "Michael Heiming" <[EMAIL PROTECTED]> wrote in message [..] >> Dunno what's so BS about the possibility that the wintel mafia >> works hand in hand, M$ introduces a new OS and Intel faster CPU

Re: Microsoft Hatred FAQ

2005-10-16 Thread Michael Heiming
ched, even if obvious enough, extensive cross-posting and "Microsoft" right in the subject. ;-) -- Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94) mail: echo [EMAIL PROTECTED] | perl -pe 'y/a-z/n-za-m/' #bofh excuse 390: Increased sunspot activity. -- http://mail.python.org/mailman/listinfo/python-list

Re: UI toolkits for Python

2005-10-17 Thread Michael Ekstrand
Flash can definitely do this (but that doesn't really count). Not tested. > 5) Anything other than absolutely trivial graphical programs. Correct there. - Michael -- http://mail.python.org/mailman/listinfo/python-list

Re: Microsoft Hatred FAQ

2005-10-18 Thread Michael Heiming
ket share seems to raise, slow but continuously. Unimportant if someone likes it or not, it just happens. -- Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94) mail: echo [EMAIL PROTECTED] | perl -pe 'y/a-z/n-za-m/' #bofh excuse 8: static buildup -- http://mail.python.org/mailman/listinfo/python-list

Re: Python vs Ruby

2005-10-21 Thread Michael Ekstrand
ain of Java, but solves problems much more elegantly. It just isn't shipped embedded in all leading browsers :-(. - Michael -- http://mail.python.org/mailman/listinfo/python-list

PID and/or handle assistance. . .?

2005-10-22 Thread Michael Williams
Hi All, Can anyone explain how to both spawn processes from PYTHON and acquire their process IDs or a handle to them for use later? I'd also like to acquire the stdout of each spawned process. Regards, Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Re: PID and/or handle assistance. . .?

2005-10-22 Thread Michael Williams
On Oct 22, 2005, at 1:16 PM, [EMAIL PROTECTED] wrote:Michael Williams wrote: Hi All, Can anyone explain how to both spawn processes from PYTHON and  acquire their process IDs or a handle to them for use later?  I'd  also like to acquire the stdout of each spawned process. Google dead today? Well,

Re: Read/Write from/to a process

2005-10-25 Thread Michael Schneider
Jas, I use a python called twisted to run processes as you describe. Twisted is an event-driven framework that brings a change in the way that you look at things. take a look at: http://twistedmatrix.com/projects/core/documentation/howto/process.html Good luck, hope this is useful, Mike jas

Re: Documentation for iteration in mappings

2005-10-25 Thread Michael Ströder
ux2 Type "help", "copyright", "credits" or "license" for more information. >>> a_dictionary = {0: "zero", 1: "one"} >>> for x in a: ... print x ... Traceback (most recent call last): File "", line 1, in ? NameError: name 'a' is not defined >>> Ciao, Michael. -- http://mail.python.org/mailman/listinfo/python-list

Re: Web based applications are possible with wxPython?

2005-10-25 Thread Michael Ströder
HI! Shameless plug: I'm looking for the opposite way. I'd like to run a web application within a pseudo-browser in wxPython without the need to start a web server. Is that possible with a thin wrapper? Ciao, Michael. -- http://mail.python.org/mailman/listinfo/python-list

Re: Hi All - Newby

2005-10-25 Thread Michael Tobis
> confusion regarding some of the basics... Reset your brain. This came up recently, and despite there being a pending quibble, I think it's extremely useful to the experienced programmer/new Pythonista: http://effbot.org/zone/python-objects.htm And since Frederik is apparenlty reading this thr

Re: assignment to reference

2005-10-26 Thread Michael Tobis
I apparently don't understand this question in the same way the way others do. I think the question is about the mutability of strings. To my understanding of your question, it is impossible, at least if the referenced objects are strings or other objects of immutable type. 'cabbage' cannot be c

weakrefs to functions for observer pattern

2005-11-02 Thread Michael Schneider
Hello All, I am comming back to python after being away for several years. I would like to use weak refs in an observer pattern implementation. The problme that I have seems to be that weakrefs can't manage functions. --- from docs: http://www.python.org/doc/current/lib/module-

Re: weakrefs to functions for observer pattern

2005-11-03 Thread Michael Schneider
Alex Martelli wrote: > Michael Schneider <[EMAIL PROTECTED]> wrote: > > >>I would like to use weak refs in an observer pattern implementation. >>The problme that I have seems to be that weakrefs can't manage functions. > > > They can manage just fin

Re: Using Which Version of Linux

2005-11-05 Thread Michael Schneider
I have been away from unix/linux for a couple of years. I went with SUSE. Just do an install all, and 10 gig later you are done. Very simple install, very easy admin with YAST. If you are a power admin, there may be better release. But if you want simple, but powerful, SUSE has worked well fo

ANN: python-ldap-2.0.11

2005-11-07 Thread Michael Ströder
Find a new release of python-ldap: http://python-ldap.sourceforge.net/ python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related stuff (e.g. p

Re: SuSe 10.0 missing Idle

2005-11-11 Thread Michael Ströder
Joseph Garvin wrote: > SuSE probably has a seperate package, something like python-tk, that > will install IDLE. # rpm -qf `which idle` python-idle-2.4.1-3 Ciao, Michael. -- http://mail.python.org/mailman/listinfo/python-list

This Week in PyPy 2

2005-11-11 Thread Michael Hudson
Introduction This is the second of what will hopefully be many summaries of what's been going on in the world of PyPy in the last week. I'd still like to remind people that when something worth summarizing happens to recommend if for "This Week in PyPy" as mentioned on: http://c

Re: directory listing

2005-11-11 Thread Michael Konrad
"Fredrik Lundh" <[EMAIL PROTECTED]> wrote: > "SU News Server" <[EMAIL PROTECTED]> wrote: > >> I've struggled with this for quite a while and I'm am just not sure >> what is going on. I have the following code >> import os >> >> def buildList( directory='/Users/mkonrad' ) >> >> dirs = [ ] >> >> l

Re: directory listing

2005-11-11 Thread Michael Konrad
Richard Townsend <[EMAIL PROTECTED]> wrote: > On 11 Nov 2005 21:20:33 GMT, SU News Server wrote: > > Try passing the full pathname of each item to os.path.isdir() > > You can create the pathname using os.path.join(directory, x) > > > I wonder if I can join ./, so I don't have the full path

Re: directory listing

2005-11-11 Thread Michael Konrad
This is what I decided on for a solution. I haven't tested it cross-platform yet. import os def dirListing(directory='/Users/mkonrad'): """Returns a list of directories.""" #variables dirs = [] #list of directories

Re: directory listing

2005-11-11 Thread Michael Konrad
This is what I decided on for a solution. I haven't tested it cross-platform yet. import os def dirListing(directory='/Users/mkonrad'): """Returns a list of directories.""" #variables dirs = [] #list of directories

<    9   10   11   12   13   14   15   16   17   18   >