Re: Next float?

2007-11-21 Thread Mark T
"Steven D'Aprano" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Is there a simple, elegant way in Python to get the next float from a > given one? By "next float", I mean given a float x, I want the smallest > float larger than x. > > Bonus points if I can go in either direction (

Re: Hexadecimal list conversion

2007-12-20 Thread Mark T
"Gabriel Genellina" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > En Thu, 20 Dec 2007 09:30:14 -0300, Neil Webster <[EMAIL PROTECTED]> > escribi�: > >> I have a list which is a line from a file: >> ['\x003\x008\x001\x004\x007\x005\x00.\x005\x000\x002\x005\x009\x009\x00', >> '\x00

Cheat sheet

2007-12-27 Thread Riccardo T.
I wrote a little cheat sheet for this wonderful language, but because of my still little experience with it, I would like to have a feedback Could you have a look at it and tell me what do you think about, please? http://greyfox.imente.org/index.php?id=73 -- GreyFox -- http://mail.python.org/mai

Re: Cheat sheet

2007-12-27 Thread Riccardo T.
Markus Gritsch ha scritto: > On Dec 27, 11:38 am, "Riccardo T." <[EMAIL PROTECTED]> wrote: >> I wrote a little cheat sheet for this wonderful language, but because of >> my still little experience with it, I would like to have a feedback >> Could you have a loo

Re: Cheat sheet

2007-12-27 Thread Riccardo T.
[EMAIL PROTECTED] ha scritto: > Looks cool, but you might find these interesting too: > > http://www.limsi.fr/Individu/pointal/python/pqrc/ > http://mail.python.org/pipermail/python-list/2006-June/386662.html > > Mike Thanks :) I'll read them to improve my python knowledge, but I prefere to have

Re: Cheat sheet

2007-12-27 Thread Riccardo T.
Carl Banks ha scritto: > On Dec 27, 12:38 pm, "Riccardo T." <[EMAIL PROTECTED]> wrote: >> I wrote a little cheat sheet for this wonderful language, but because of >> my still little experience with it, I would like to have a feedback >> Could you have a loo

Re: Cheat sheet

2007-12-28 Thread Riccardo T.
Scott David Daniels ha scritto: > [in the .png] >> ... >> Callable types >>... >>User-definet methods > > I personally prefer "User-defined methods" That's a typo, thank you. >>... >>Class instances > I'd try: > Class instances with a __call__ method. Yes, it's more clear

Re: Cheat sheet

2007-12-28 Thread Riccardo T.
c james ha scritto: > On the svg version, as viewed on firefox, the sections "Simple > statements", "Definations" and "Comments"; there appears to be a problem > with text wrapping. I see, it has already been signaled by mail. I'm not sure about how to fix that, I'll have to ask someone who knows

Re: Cheat sheet

2007-12-28 Thread Riccardo T.
Scott David Daniels ha scritto: > Riccardo T. wrote: >> Scott David Daniels ha scritto: >>> [in the .png] >>>> ... >>>> Callable types >>>>... >>>>User-definet methods >>> I personally prefer "User-defined

Re: Cheat sheet

2007-12-29 Thread Riccardo T.
Alaric ha scritto: > Nicely done! I would suggest you put your website address on it and a revision > number so that as it gains use on te web, people can find the "latest" > version. That's a good idea, thank you :) -- GreyFox -- http://mail.python.org/mailman/listinfo/python-list

Re: Cheat sheet

2007-12-29 Thread Riccardo T.
Scott David Daniels ha scritto: > Riccardo T. wrote: >> Maybe I'll add __builtin__ and os in place of the type hierarchy, but >> I'm not sure about that. However, not in the next release. What do you >> think about? > > How about: > top line w/ _

Re: Cheat sheet

2007-12-29 Thread Riccardo T.
ZeD ha scritto: > Michele Simionato wrote: > >> Python 2.4.4 (#2, Oct 4 2007, 22:02:31) > file is open >> True >> >> Python 2.5.1 (r251:54863, Oct 5 2007, 13:36:32) > file is open >> False >> >> Nowadays file is no more an alias for open. > > curious... maybe it's me, but I can't find a

Re: Cheat sheet

2008-01-01 Thread Riccardo T.
Riccardo T. ha scritto: > I wrote a little cheat sheet for this wonderful language, but because of > my still little experience with it, I would like to have a feedback > Could you have a look at it and tell me what do you think about, please? > > http://greyfox.imente.org/

Different results when running script from IDLE versus Command Line

2008-03-12 Thread Casey T
Hi, I'm new to Python and I'm having some problems with getting different results from my script when I run it from IDLE versus just double- clicking the .py file and having it run through the command line. Basically, my script reads some CSV files, assembles a text files, then uploads that test f

Re: Different results when running script from IDLE versus Command Line

2008-03-13 Thread Casey T
On Mar 12, 5:28 pm, Chris <[EMAIL PROTECTED]> wrote: > On Mar 12, 8:10 pm, Casey T <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > I'm new to Python and I'm having some problems with getting different > > results from my script when I run it

Python Django Latex Permissions Problem

2008-11-24 Thread I-T
I have a python/django webapp running with apache2. It executes system commands for getting a pdf generated by pdflatex from a .tex file and a couple of image files which it also generates. The permssions from ls-l for all the created files is:- -rw-r--r-- 1 www-data www-data The files are being

Re: Python Django Latex Permissions Problem

2008-11-28 Thread I-T
for the help though On Nov 25, 2:30 pm, Nick Craig-Wood <[EMAIL PROTECTED]> wrote: > I-T <[EMAIL PROTECTED]> wrote: > >  I have a python/django webapp running with apache2. It executes system > >  commands for getting a pdf generated by pdflatex from a .tex file and &

Re: Porn Addiction Solutions?

2008-10-11 Thread Ph . T
BTW, this is the newsgroup of python.org, not python.com; but python does have tools that let you synth new graphics from old, and it would be interesting to know if there were any other programming approaches to this problem . On Wed, Oct 8, 2008 at 12:07 PM, <[EMAIL PROTECTED]> wrote: > Help,

Designing superclasses so inherited methods return objects with same type as the instance.

2008-11-19 Thread Felix T.
I have a class called Interval(type.ObjectType) that is supposed to mimic closed mathematical intervals. Right now, it has a lot of methods like this: def __add__(self,other): if type(other) in Numerical: return Interval(self.lower_bound+other, self.upper_bound +other)

image exclude values from resize

2009-03-06 Thread T Kirstine
I've been downsampling RGB images using pil, but know I would like to exclude black 0,0,0 values from the resize calculations. I was hoping that applying a alapha mask to black areas and creating RGBA image then performing the resample would fix the issue but no such luck. any ideas? -- http://

numpy choosing groups / clusters of values

2009-04-29 Thread T Kirstine
I have a numpy array and would like to get the values from the array where groups of values are the same. Select the groups of 0 where group is > 3 and change 0 to 5 This [3, 2, 1, 0, 0], [1, 0, 3, 0, 0], [2, 0, 1, 3, 0], [0, 2, 3, 3, 0] to this [3, 2, 1, 5, 5], [1, 0, 3, 5, 5], [2, 0, 1, 3, 5]

Re: Making Variable Text Output More Pythonic?

2008-05-16 Thread I-T
A thousand apologies for my ignorance. I'll try not to get names mixed up again in the future. On May 16, 8:42 pm, Arnaud Delobelle <[EMAIL PROTECTED]> wrote: > afrobeard <[EMAIL PROTECTED]> writes: > > Arnaud's code wont work if self.opt1 is None, an empty list, an empty > > tuple, False, etc, be

Re: write to specific line in file?

2008-05-16 Thread I-T
Open the file inside your script in append mode. open('filename', 'wa') On May 16, 11:41 pm, globalrev <[EMAIL PROTECTED]> wrote: > i ahve a program that takes certain textsnippets out of one file and > inserts them into another. > > problem is it jsut overwrites the first riow every time. > > i

Re: New Python Novice

2009-10-02 Thread Deven T
On Fri, Oct 2, 2009 at 4:34 PM, baboucarr sanneh wrote: > Hello Everyone, > > My name is Baboucarr ..am from the gambia (west africa)..I just read about > python and i want to know how to program with it.. > I would like you guys to help me in my road to becoming a python guru..Am a > novice so i

Selecting MAX from a list

2010-03-05 Thread Ines T
I need to select a maximum number from a list and then call the variable that identifies that number, for example: x1,x2=1, y1,y2=4, z1,z2=3 So I need first to find 4 and then to take y to do additional operations as y-z. I will appreciate your SOON help! -- http://mail.python.org/mailman/listinf

Re: Calling FORTAN dll functions from Python

2010-12-08 Thread Katie T
On Tue, Dec 7, 2010 at 11:11 AM, Alex van der Spek wrote: > Does anyone know how to call functions from FORTRAN dlls in Python? Is it > even possible? I browsed the documentation for Python 2.6.1 and the Python/C > API comes close to what I would like to do but it is strictly limited to C. > > Un

Re: Python distribution recommendation?

2010-12-11 Thread Katie T
On Sat, Dec 11, 2010 at 12:43 PM, Octavian Rasnita wrote: > Hi, > > Is there a "recommended" Python distribution for Windows XP? Either will work, although the python.org one is the more popular and is likely the one used by most tutorials and beginners guides. The ActiveState one bundles PyQT if

Re: Help regarding pattern matching

2010-12-15 Thread Katie T
On Wed, Dec 15, 2010 at 9:21 PM, jupiter wrote: > Hi People, > > > I need some ideas on how to find pattern in random data series like stock > chart. > > > What I want is to be able to find Head & Shoulder pattern in chart. Have a look at the references in: http://www.dpem.tuc.gr/fel/fm2009/Pap

Re: Help regarding pattern matching

2010-12-15 Thread Katie T
On Thu, Dec 16, 2010 at 2:34 AM, Chris Rebert wrote: > On Wed, Dec 15, 2010 at 6:22 PM, Katie T wrote: >> On Wed, Dec 15, 2010 at 9:21 PM, jupiter wrote: >>> Hi People, >>> >>> I need some ideas on how to find pattern in random data series like stock >

Re: Python Web App

2010-12-25 Thread Katie T
On Wed, Dec 22, 2010 at 9:43 PM, Sean wrote: > Anybody know where I can find a Python Development Environment in the > form of a web app for use with Chrome OS. I have been looking for a > few days and all i have been able to find is some old discussions with > python developers talking about they

Re: Python Average Salary Report

2010-12-25 Thread Katie T
On Sat, Dec 25, 2010 at 11:38 AM, czarina08 wrote: > I'm doing a market research report on the average hourly rates for > Python/Django developers. Any input on this? I do understand that it > does depend on the location, amount of experience and skills. I'd like > to hear what are the hourly rate

Re: Language Detection Library/Code

2010-12-27 Thread Katie T
On Mon, Dec 27, 2010 at 7:10 PM, Shashwat Anand wrote: > Can anyone suggest a language detection library in python which works on a > phrase of say 2-5 words. Generally such libraries work by bi/trigram frequency analysis, which means you're going to have a fairly high error rate with such small

Re: Language Detection Library/Code

2010-12-28 Thread Katie T
On Tue, Dec 28, 2010 at 12:42 AM, Shashwat Anand wrote: > Regarding dictionary lookup+n-gram approach I didn't quite understand what > you wanted to say. Run through trigram analysis first, if it identified multiple languages as being matches within the error margin then split the text into words

Re: Tkinter: The good, the bad, and the ugly!

2010-12-29 Thread Katie T
On Wed, Dec 29, 2010 at 11:58 PM, rantingrick wrote: > > Then and only then will Python be truly what GvR intended. I want > everyone here to consider what i am proposing and offer some opinions > because it is time for change. What's your opinion of the other gui toolkits with Python bindings li

Re: Tkinter: The good, the bad, and the ugly!

2010-12-30 Thread Katie T
On Thu, Dec 30, 2010 at 12:15 AM, rantingrick wrote: > > However i need to stress that my intention is towards a 100% Python > GUI. Not a binding, not a wrapping (except for OS calls!) but a *real* > Python GUI. The only thing that i know of at this point is pyGUI > although there are probably oth

Re: CPython on the Web

2011-01-02 Thread Katie T
On Sun, Jan 2, 2011 at 7:26 AM, azakai wrote: > The idea is that by compiling CPython itself, all the features of the > language are immediately present, and at the latest version, unlike > writing a new implementation which takes time and tends to lag behind. > As to why run it on the web, there

Re: Python use growing fast

2011-01-10 Thread Katie T
On Mon, Jan 10, 2011 at 10:29 PM, John Nagle wrote: > On 1/10/2011 1:02 PM, MRAB wrote: >> >> On 10/01/2011 20:29, Dan Stromberg wrote: >>> >>> I invite folks to check out Tiobe's Language Popularity Rankings: >>> >>> http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html > >   That's so

Re: Developing a program to make a family tree.

2011-01-15 Thread Katie T
On Fri, Jan 14, 2011 at 7:57 PM, Jon Clements wrote: > Otherwise, you're in for a struggle, as you need to choose a storage > back-end, a GUI (wxWindows/GTK/Qt4 etc...), how to handle GEDCOM > format (unless it's not going to be compatible with other software), > does it need to produce web pages/

Re: Fitness data program

2011-01-15 Thread Katie T
On Sat, Jan 15, 2011 at 5:47 PM, Antonio Cardenes wrote: > Hello folks, I'm trying to improve my Phyton skills with a project: A > fitness program that can correlate measurements (weight and size of various > body parts), date taken and it has to be able to print a nice graph showing > improvement

Re: Best way to gain root privileges

2011-02-17 Thread Katie T
On Wed, Feb 16, 2011 at 9:26 PM, GSO wrote: > I'm sure this question is as old as time, but what is the best way to > gain root privileges?  (Am using Python 2.6.5, pygtk2 v2.16, Gtk > v2.18.9, on RHEL6.) > Running any kind of script sudo'd is a bad idea, it's very very hard (in many cases imposs

How to open and read an unknown extension file

2010-04-08 Thread varnikat t
I am trying to do this if os.path.exists("*.*.txt"): file=open("*.*.txt") self.text_view.get_buffer().set_text(file.read()) else: file=open("*.*.html") self.text_view.get_buffer().set_text(file.read()) It gives error *.*.txt not existingThere are

How to open and read an unknown extension file

2010-04-08 Thread varnikat t
file=open(glob.glob("*.*.html")) self.text_view.get_buffer().set_text(file.read()) * This gives error!! On Thu, Apr 8, 2010 at 9:12 PM, Kushal Kumaran < kushal.kumaran+pyt...@gmail.com > wrote: > On Thu, Apr 8, 2010 at 9:00 PM, varnikat t wrote: > >

Re: How to open and read an unknown extension file

2010-04-08 Thread varnikat t
it gives me this error TypeError: coercing to Unicode: need string or buffer, list found On Thu, Apr 8, 2010 at 10:48 PM, varnikat t wrote: > > > > > Hey, > Thanks for the help.it detects now using glob.glob("*.*.txt") > Can u suggest how to open and read f

Re: How to open and read an unknown extension file

2010-04-09 Thread varnikat t
buttons are active I don't know how to toggle between the two radio buttons. Also I want to display the respective image with them Landscape and portrait at the top of each optionCan anyone help me with this? On Fri, Apr 9, 2010 at 6:05 AM, Tim Chase wrote: > On 04/08/2010 12:22 PM, varnikat

Re: How to open and read an unknown extension file

2010-04-09 Thread varnikat t
And I am using python and GLADE for GUI On Fri, Apr 9, 2010 at 6:30 PM, varnikat t wrote: > Hey thanks a lot to all of youNow i understood the concept and can use > it the right way > > I have another doubt regarding using radio buttons > > I am using two radio b

how to get text from a html file?

2010-04-13 Thread varnikat t
Hi, Can anyone tell me how to get text from a html file?I am trying to display the text of an html file in textview(of glade).If i directly display the file,it shows with html tags and attributes, etc. in textview.I don't want that.I just want the text. Can someone help me with this? Regards Varn

How to display .txt file in textview of glade

2010-04-14 Thread varnikat t
Hi, Whenever I try to open a .txt file in textview of glade, it never opens and throws this error: GtkWarning: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL)' failed self.text_view.get_buffer().insert(self.text_view.get_buffer().get_end_iter(), "\n" + file.read()) It op

keyboard shortcuts glade+python

2010-04-27 Thread varnikat t
How to use keyboard shortcuts like ctrl+o for opening a file from menubar menuitm OPEN in python+GLADE? -- Varnika Tewari -- http://mail.python.org/mailman/listinfo/python-list

How to check when OCRing is finished

2010-05-03 Thread varnikat t
Hi, How to check if OCR engine like cuneiform,ocropus,ocrad OCRing an image has completed the job if running it from a python program? I am using a progress bar on the front end to show the OCRing progress happening in background but how to stop progress bar automatically when OCRing is done. A

how to play a sound file repeatedly in loop

2010-05-08 Thread varnikat t
How to run sound file repeatedly in loop ? When I do this, it does nothing and terminates: import pygst pygst.require("0.10") import gst, gtk n=0 while n<10: player = gst.element_factory_make("playbin2", "player") player.set_property("uri", "file:/home/varnika/hello.ogg") player.se

Re: multi-core software

2009-06-07 Thread Ken T.
ution. As I recall I could get exact timings on my 6502 based Commodore 64. The issues you speak of simply weren't issues. -- Ken T. http://www.electricsenator.net Never underestimate the power of stupid people in large groups. -- http://mail.python.org/mailman/listinfo/python-list

Re: multi-core software

2009-06-07 Thread Ken T.
On Mon, 08 Jun 2009 02:39:40 +0100, Jon Harrop wrote: > Ken T. wrote: >> On Sun, 07 Jun 2009 11:16:46 -0400, Lew wrote: >>> So the good old days are a matter of degree and self-deception - it >>> was easier to fool ourselves then that we could at least guess timings

How Can I edit and update my .config (for my python application) file using WebSockets exactly like how we edit and update router .config file?

2017-07-18 Thread T Obulesu
I have my python application running on Raspberry Pi and it needs to be configured every time. Hence I want to access this .config file over online and configure it exactly like how we can configure our router, but I want to use only web sockets. -- https://mail.python.org/mailman/listinfo/pyth

Re: Case Solution: The Los Angeles Philharmonic Orchestra Cultural Entrepreneurship by Rohit Deshpande, Annelena Lobb

2017-07-27 Thread t . ueda0820
On Saturday, July 1, 2017 at 10:56:39 PM UTC+3, Case Solution & Analysis wrote: > Case Solution and Analysis of The Los Angeles Philharmonic Orchestra: > Cultural Entrepreneurship by Rohit Deshpande, Annelena Lobb, send email to > casesolutionscentre(at)gmail(dot)com > > Case Study ID: 9-517-00

Best Scripting Language for Embedded Work?

2013-07-09 Thread David T . Ashley
We develop embedded software for 32-bit micros using Windows as the development platform. We are seeking a general purpose scripting language to automate certain tasks, like cleaning out certain directories of certain types of files in preparation for ZIP'ing, generating certain source files autom

Re: Best Scripting Language for Embedded Work?

2013-07-11 Thread David T . Ashley
On Tue, 09 Jul 2013 21:44:48 -0400, Dave Angel wrote: >On 07/09/2013 09:29 PM, David T. Ashley wrote: >> We develop embedded software for 32-bit micros using Windows as the >> development platform. >> >> We are seeking a general purpose scripting language to auto

Re: Best Scripting Language for Embedded Work?

2013-07-11 Thread David T . Ashley
On Wed, 10 Jul 2013 14:38:51 -0500, Johann Hibschman wrote: >David T. Ashley writes: > >> We develop embedded software for 32-bit micros using Windows as the >> development platform. >... >> I know that Tcl/Tk would do all of the above, but what about Python? >>

Re: Python as a default shell, replacement of bash, sh, cmd ?

2012-02-21 Thread Kyle T. Jones
On 2/19/12 2:16 AM, SherjilOzair wrote: Well, if not modify python itself, I was thinking of making another shell, which borrows a lot from python, something like merging bash and python. such that I can do `cd ~/Desktop/dev` and `for i in open('file.txt'): print i` at the some shell. This I t

Re: Python 2.6 OR 3.2

2011-06-09 Thread Kyle T. Jones
John Gordon wrote: In <9037ef5f-53c5-42c6-ac5d-8f942df6c...@x38g2000pri.googlegroups.com> hisan writes: Hi All, Please let me know which one is GOOD whether Python 2.6 OR 3.2. Please let me know the difference between them. Please give some refernce site or books to know the difference I

Re: A question about Python Classes

2011-04-22 Thread Kyle T. Jones
Ethan Furman wrote: chad wrote: Let's say I have the following class BaseHandler: def foo(self): print "Hello" class HomeHandler(BaseHandler): pass Then I do the following... test = HomeHandler() test.foo() How can HomeHandler call foo() when I never created an instance

Overuse of try/except/else?

2011-05-09 Thread Kyle T. Jones
It has been hard for me to determine what would constitute overuse. Cheers. -- http://mail.python.org/mailman/listinfo/python-list

Getting process details on an operating system process/question answer by vouce

2018-07-16 Thread John T. Haggerty
So, it's early for me---and I'm not sure if these things can be done but I'd like to know the following: 1. How can Python connect to a running operating system process on a host operating system to see what part of the execution is like?---ie keep track of health stats like it's stuck on disk acc

don't quite understand mailing list

2018-09-06 Thread VanDyk, Richard T
Greetings; I sent in a question on how to install robot framework on python 3.7 using pip (or any other way). None of the commands on the >>> seem to work for me. I was asked to update the c/c++ runtime which I don't know what that means. I was also asked to subscribe to the mailing list. I did

recursive methods require implementing a stack?

2016-04-06 Thread Charles T. Smith
I just tried to write a recursive method in python - am I right that local variables are only lexically local scoped, so sub-instances have the same ones? Is there a way out of that? Do I have to push and pop my own simulated stack frame entry? -- https://mail.python.org/mailman/listinfo/python

Re: recursive methods require implementing a stack?

2016-04-06 Thread Charles T. Smith
On Wed, 06 Apr 2016 20:28:47 +, Rob Gaddi wrote: > Charles T. Smith wrote: > >> I just tried to write a recursive method in python - am I right that local >> variables are only lexically local scoped, so sub-instances have the same >> ones? Is there a way out of that

Python 3.5 Cross Compile for ARM

2016-05-23 Thread billy . t . west
Hi. Can anyone point me to documentation/instructions for cross compiling Python 3.5? I'm trying to compile Python for an ARM processor. It seems like something broke with cross compilation in 3.5 and a patch was created (https://bugs.python.org/issue22359), but I don't even know where to beg

Installing python into Blender 2.79

2019-06-17 Thread flori....@t-online.de
Hallo Python, I want to import DWG- or FBX-data from AutoCAD Architecture 2015 into Blender. I downloaded Python 3.7.3 into Windows 10 Prof., but I cannot find the python-program and do not know the path to bind python into blender. Please could you help and tell me how to bring python into B

Book for Long Short-Term Memory for Sequential Data

2019-09-21 Thread Duc T. Ha
Please, help me the title of a book about Deep Learning with the Recurrent Neural Network network structure using Long Short-term Memory for Sequential Data (time-series data). The R or Python language is OK. I need a book like hand-on because I do not work in information technology. Thank you s

Re: Microsoft Hatred FAQ

2005-10-14 Thread Peter T. Breuer
In comp.os.linux.misc Jeroen Wenting wrote: > Without Microsoft 90% of us would never have seen a computer more powerful > than a ZX-81 and 90% of the rest of us would never have used only dumb > mainframe terminals. Uh - when microsoft produced dos 1.0, or whatever it was, I was sitting at my

Re: Microsoft Hatred FAQ

2005-10-15 Thread Peter T. Breuer
In comp.os.linux.misc John Wingate <[EMAIL PROTECTED]> wrote: > Peter T. Breuer <[EMAIL PROTECTED]> wrote: >> In comp.os.linux.misc Jeroen Wenting >> wrote: >>> Without Microsoft 90% of us would never have seen a computer more powerful >>> than a ZX-

Re: Microsoft Hatred FAQ

2005-10-15 Thread Peter T. Breuer
In comp.os.linux.misc David Schwartz <[EMAIL PROTECTED]> wrote: > I guess I wasn't explicit enough. Most people who want cars also want an > engine. Some don't. Dealers could sell cars and engines separately. They > just (generally) don't. There is nothing illegal or immoral about this. Ther

Re: Microsoft Hatred FAQ

2005-10-16 Thread Peter T. Breuer
In comp.os.linux.misc Jeroen Wenting wrote: > "Peter T. Breuer" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >> In comp.os.linux.misc Jeroen Wenting >> wrote: >>> Without Microsoft 90% of us would never have seen a computer more &

Re: Microsoft Hatred FAQ

2005-10-18 Thread Peter T. Breuer
In comp.os.linux.misc Richard Steiner <[EMAIL PROTECTED]> wrote: > Here in comp.os.linux.misc, > John Wingate <[EMAIL PROTECTED]> spake unto us, saying: >>Peter T. Breuer <[EMAIL PROTECTED]> wrote: >>> It seems to me that I was using 3.x. Maybe it was 3.1?

Re: Microsoft Hatred FAQ

2005-10-20 Thread Peter T. Breuer
In comp.os.linux.misc David Schwartz <[EMAIL PROTECTED]> wrote: > "Peter T. Breuer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >> There would be if an engine manufacturer refused to provide car >> manufacturers with ANY engines for any model,

Re: Microsoft Hatred FAQ

2005-10-20 Thread Peter T. Breuer
In comp.os.linux.misc David Schwartz <[EMAIL PROTECTED]> wrote: > "Peter T. Breuer" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >> Not if they abuse a monopoly position in doing so, which is where we >> started. > In other wo

Re: Microsoft Hatred FAQ

2005-10-20 Thread Peter T. Breuer
In comp.os.linux.misc T Beck <[EMAIL PROTECTED]> wrote: > Peter T. Breuer wrote: >> In comp.os.linux.misc David Schwartz <[EMAIL PROTECTED]> wrote: >> >> > "Peter T. Breuer" <[EMAIL PROTECTED]> wrote in message >> > news:[EMAIL PROTECTE

Re: Microsoft Hatred FAQ

2005-10-25 Thread Peter T. Breuer
In comp.os.linux.misc Antoon Pardon <[EMAIL PROTECTED]> wrote: >> I think you need to look up "extortion" in a dictionary. I can walk up >> to you and say "if you want me to mow your lawn, you must pay me $1 every >> time you smoke a cigarette". So long as you can say "no" and all that >> ha

Re: Microsoft Hatred FAQ

2005-10-25 Thread Peter T. Breuer
In comp.os.linux.misc David Schwartz <[EMAIL PROTECTED]> wrote: > Yes, but that's the "if". I have a monopoly on *me* mowing your lawn. > You can, of course, go to someone else to have your lawn mowed. Of course you can't - why would anyone else be available to mow my lawn just because I want

Re: Microsoft Hatred FAQ

2005-10-25 Thread Peter T. Breuer
In comp.os.linux.misc David Schwartz <[EMAIL PROTECTED]> wrote: > "Peter T. Breuer" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > [DS, MS shill, said ..] >>> Essentially, Microsoft asked for exclusive arrangements. That is, >

Re: Microsoft Hatred FAQ

2005-10-25 Thread Peter T. Breuer
In comp.os.linux.misc David Schwartz <[EMAIL PROTECTED]> wrote: > 1) There is no other operating system worth selling. In this case, you > are right, you have no choice but to sell the Microsoft OS, but the deal > they're offering you harms you in no way. (Unless you intended to sell PCs > w

Re: Microsoft Hatred FAQ

2005-10-25 Thread Peter T. Breuer
In comp.os.linux.misc David Schwartz <[EMAIL PROTECTED]> wrote: > "Peter T. Breuer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >> 3) there are plenty of other OSs that are developed or could be >> developed but which cannot get a footho

Re: Microsoft Hatred FAQ

2005-10-25 Thread Peter T. Breuer
In comp.os.linux.misc David Schwartz <[EMAIL PROTECTED]> wrote: > "Eike Preuss" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >> Shouldn't it be my right as a seller, to decide that I want to sell an >> operating system 'that nobody wants' _as well as_ operating systems that >> 'e

Re: Microsoft Hatred FAQ

2005-10-25 Thread Peter T. Breuer
In comp.os.linux.misc David Schwartz <[EMAIL PROTECTED]> wrote: > "Peter T. Breuer" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >>> Yes, it certainly is. However, it is also Microsoft's right as a >>> seller >&

Re: Microsoft Hatred FAQ

2005-10-25 Thread Peter T. Breuer
In comp.os.linux.misc David Schwartz <[EMAIL PROTECTED]> wrote: > "Steven D'Aprano" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >> The first two points are factually wrong, and the third is an opinion >> based on the concept, as far as I can see, that Microsoft should be >> all

Re: Microsoft Hatred FAQ

2005-10-26 Thread Peter T. Breuer
In comp.os.linux.misc David Schwartz <[EMAIL PROTECTED]> wrote: > "Peter T. Breuer" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > I don't know what drugs you're on, but the McDonald's corporation most > certainly is in the

Re: Microsoft Hatred FAQ

2005-10-26 Thread Peter T. Breuer
In comp.os.linux.misc David Schwartz <[EMAIL PROTECTED]> wrote: > "Peter T. Breuer" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >> In comp.os.linux.misc David Schwartz <[EMAIL PROTECTED]> wrote: >>> "Peter T. Breuer

Re: Microsoft Hatred FAQ

2005-10-26 Thread Peter T. Breuer
In comp.os.linux.misc David Schwartz <[EMAIL PROTECTED]> wrote: > "Peter T. Breuer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >> In comp.os.linux.misc David Schwartz <[EMAIL PROTECTED]> wrote: > That doesn't at all address my point

Re: Microsoft Hatred FAQ

2005-10-26 Thread Peter T. Breuer
In comp.os.linux.misc David Schwartz <[EMAIL PROTECTED]> wrote: > . Microsoft said you can sell Windows and other > operating systems, but there will be a charge for every machine you sell > without Windows -- if you want to be able to buy Windows wholesale. Someone

Re: Microsoft Hatred FAQ

2005-10-26 Thread Peter T. Breuer
In comp.os.linux.misc Roedy Green <[EMAIL PROTECTED]> wrote: > 3. Maytag makes the machines. In the computer instance, we at CMP > custom build the computers. Microsoft have no business telling me what > to do when they supplied only one component. I could not even sell a > BARE computer. I'm a

Re: Microsoft Hatred FAQ

2005-10-27 Thread Peter T. Breuer
In comp.os.linux.misc David Schwartz <[EMAIL PROTECTED]> wrote: > However, both a finding of "yes, Microsoft had a monopoly" and a > finding of "no, Microsoft did not have a monopoly" would both have been > within the trial court's discretion. Well, of course, and they said YES (as a

Re: Microsoft Hatred FAQ

2005-10-27 Thread Peter T. Breuer
In comp.os.linux.misc David Schwartz <[EMAIL PROTECTED]> wrote: >Microsoft was not going to let a business > parasitically use Windows to build a business that touted the advantages of > competing products. Well, it should have, because that's what manufacturers of op

Re: Microsoft Hatred FAQ

2005-10-27 Thread Peter T. Breuer
In comp.os.linux.misc David Schwartz <[EMAIL PROTECTED]> wrote: > Peter T. Breuer wrote: >> In comp.os.linux.misc David Schwartz <[EMAIL PROTECTED]> wrote: >>>Microsoft was not going to let a business >>> parasitically use Wind

exception raised by nested iterator being ignored by for loop

2005-11-19 Thread james t kirk
ot; : self.fh = gzip.GzipFile(filename, "r") else : self.fh = open(filename, "r") def __iter__ (self) : return self def next (self) : for line in self.fh : # StopIteration raised here when file exhausted

Re: python object model diagram

2005-09-09 Thread Ara . T . Howard
7;s close at least... thanks for the links! regards. -a -- === | email :: ara [dot] t [dot] howard [at] noaa [dot] gov | phone :: 303.497.6469 | Your life dwells amoung the causes of death |

[OT] Re: "grep" database

2005-09-09 Thread Ara . T . Howard
gt; Any suggestions appreciated. > > Thanks, > Hilbert google 'glimpse'. hth. -a -- ======= | email :: ara [dot] t [dot] howard [at] noaa [dot] gov | phone :: 303.497.6469 | Your life dwells amoung the causes

FCGI Help?

2005-02-13 Thread Kevin T. Ryan
I'm also hoping to use something a little less daunting than Apache if possible. Thanks for your help, and sorry for such a long post! Kevin T. Ryan -- http://mail.python.org/mailman/listinfo/python-list

Decimal, __radd__, and custom numeric types...

2005-02-28 Thread Blake T. Garretson
I'm having some issues with decimal.Decimal objects playing nice with custom data types. I have my own matrix and rational classes which implement __add__ and __radd__. They know what to do with Decimal objects and react appropriately. The problem is that they only work with Decimals if the cust

Re: Decimal, __radd__, and custom numeric types...

2005-03-01 Thread Blake T. Garretson
Thanks for the suggestions and modified module. I will probably just use this "fixed" module to solve my immediate problem. I appreciate your post to python-dev as well; it looks like this may be addressed in a future release. :) Thanks, Blake -- http://mail.python.org/mailman/listinfo/python-

Trouble writing lines into file with line feeds- Python Newb

2013-12-23 Thread daniel . t . healy
Overview: I'm attempting to read strings from a serial port. Each string ends with a carriage return and line feed. I want to write those strings to a file, like a log file. So, if I send P1 and the P2 on a new line, I would expect to open this file and find (line 1) P1 (line 2) P2. Problem: T

how to get names of attributes

2015-12-30 Thread Charles T. Smith
Hi, How can I get *all* the names of an object's attributes? I have legacy code with mixed new style classes and old style classes and I need to write methods which deal with both. That's the immediate problem, but I'm always running into the need to understand how objects are linked, in par

<    1   2   3   4   5   >