Re: Python-list Digest, Vol 33, Issue 159

2006-06-10 Thread Ray Schumacher
rial.LXSerial(...) My rationale of putting the class in its own module is to minimize giant module files with lots of long classes; there is only a remote possibility that someone would want call a class without most of the others as well. Ray Ray Schumacher wrote: > > What is the feeli

"parent" in a class __init__ def?

2006-06-10 Thread Ray Schumacher
ly one class: port = LXSerial.LXSerial(...) My rationale of putting one class in its own module is to minimize giant module files with lots of long classes; I see only a remote possibility that someone would want call a class without most of the others as well. Ray Ray Schumacher wrote: > > What

Making a time series analysis package in python - advice or assistance sought

2006-07-06 Thread Ray Tomes
casting. 3. Markets, stocks, commodities forecasting. 4. Interdisciplinary causal analysis. 5. Many more If you are seriously interested in this, then please contact me by email at ray(at)tomes(dot)biz which is the email from which this message was sent without the ".remove" part (anti- spam

how to serve image files without disk use?

2006-12-28 Thread Ray Schumacher
ead()) fh.close() else: break But, how can I avoid disk writes? wx's *.SaveFile() needs a string file name (no objects). I'm going to investigate PIL's im.save(), as it appears to allow file-objects. Ray -- http://mail.python.org/mailman/listinfo/python-list

Re: Python-list Digest, Vol 39, Issue 465

2006-12-29 Thread Ray Schumacher
ted this weekend; more stuff I haven't used... Thanks, Ray For anyone interested, I attached a quick wx I made last night that monitors a USB webcam, will create "dark" frames (a la astronomy), and serve up images to web browsers (thus the question). The browser/monitor would ac

multi-threaded webcam with SimpleAsyncHTTPServer.py

2007-01-07 Thread Ray Schumacher
it with: >python SimpleAsyncHTTPServer.py -p -3 I'll be trying implementing some streaming next. Question, though: how can I unblock asyncore.loop(), or at least be able to interrupt it? To kill this server I need to hit CNTRL-C and then attempt to GET an image from Firefox, Python then t

Re: multi-threaded webcam with SimpleAsyncHTTPServer.py

2007-01-08 Thread Ray Schumacher
on one machine will require more thought on my part, of course. I only run one cam, but a friend runs 3 and is pissed at the X10 software he paid for. Thanks, Ray -- http://mail.python.org/mailman/listinfo/python-list

Re: multi-threaded webcam with SimpleAsyncHTTPServer.py (updated)

2007-01-08 Thread Ray Schumacher
Better asyncore.loop use. Also fixes a late bug in my first post of code: PILFile.seek(0) needed since PIL.save does not reset the pointer. class ImageServer(RequestHandler): def __init__(self, conn, addr, server): asynchat.async_chat.__init__(self,conn) self.client_addres

Re: Firebird and Python

2006-02-27 Thread Ray Cote
At 5:07 PM +0100 2/27/06, Magnus Lycka wrote: > > I'm still interested >in experiences from Pythonistas using Firebird-- >especially embedded. Works great. Python and Firebird embedded (at least on Windows) is very simple to use. Not currently using it on other platforms. --

Filenames of files downloaded via urlretrieve that have been redirected

2005-05-10 Thread Ray Slakinski
way to know what filename files.asp is redirecting to so I can rename tempFileName.tmp to the correct name? Thanks in advance, Ray -- http://mail.python.org/mailman/listinfo/python-list

Re: What are OOP's Jargons and Complexities?

2005-05-25 Thread Ray Dillinger
Wibble wrote: > Thats how common lisp specifies a vector. > > Andreas, your link indicates that lisp is a Weakly typed language not > strong. Theres no compile time type semantics, at least in CommonLisp, > MacLisp, ZetaLisp or FranzLisp. > > (setq foo #(1 2 3)) > (setq foo 1) > (setq foo "Whate

Re: What are OOP's Jargons and Complexities?

2005-06-01 Thread Ray Dillinger
Matthias Buelow wrote: > And btw., I haven't used Pascal in a dozen years but my latest info is > that Turbo Pascal still lives in the form of "Delphi" for the Windows > platform. Surely not "dead" as I understand it. There's also FreePascal, which compiles approximately the same language as Tur

reading a python file object in c extension crashes python

2005-06-13 Thread travis ray
Hi, I have an extension in which a file object is created in python and passed down to a c extension which attempts to read from it or write to it. Writing to the file pointer seems to work okay, but reading from it results in EBADF and causes python to crash on exit. I've attached the minimal (

reading a python file object in c extension crashes python

2005-06-13 Thread travis ray
Hi, I have an extension in which a file object is created in python and passed down to a c extension which attempts to read from it or write to it. Writing to the file pointer seems to work okay, but reading from it results in EBADF. It also causes python to crash on exit. I've attached the min

ANN: ChiPy August Meeting Topic "Snakes On Apples"

2007-08-05 Thread Brian Ray
es to automate your coding needs - Address Book Plugin for syncing with gmail contacts utilizing libgmail -- Brian Ray - Python Sprint at Google and PyCon '08 updates / discussion - After: If you wish, follow Chipy the Chipmunk to Greektown or Taylor Street Venue - :: The Un

Python installation problem

2007-03-02 Thread Ray Buck
of /usr/local? Although I'm a retired programmer (mainframes), I'm still learning this linux stuff. I guess that makes me a noob...I hope you'll take that into consideration. Thanks, Ray -- http://mail.python.org/mailman/listinfo/python-list

is there a posh Win32 binary? or, compiling with MS 2005 Express...

2007-09-28 Thread Ray Schumacher
). The 7.1 compiler with the 1.1SDK is no longer available, so I can't repair the install. I went through the motions of compiling yesterday with the new MS Express Toolkit on another machine and failed. Distutils keeps saying that the SDK for 7.1 is not installed. Ray -- http://mail.pyt

threads - was:Is there a way to protect a piece of critical code?

2007-01-14 Thread Ray Schumacher
correlations etc, and computationally bound. It needs to have read access to the array and a pointer, and kill the ADC task when desired. Thoughts/opinions are humbly requested, Ray -- http://mail.python.org/mailman/listinfo/python-list

Re: Jobs: Lisp and Python programmers wanted in the LA area

2007-02-26 Thread Ray Dillinger
Tech HR wrote: > But we're a very young company (barely six months old at this point) so > we're willing to listen to most anything at this point. (We're using > Darcs for revision control. Haskell, anyone?) Tell us, where you would expect an applicant for one or more of these jobs to live if

Re: Jobs: Lisp and Python programmers wanted in the LA area

2007-02-28 Thread Ray Dillinger
> Actually, it just occurred to me that the company location was also in > the subject line of this thread ;-) D'oh! Should have looked at the verbose header before responding. I've got my newsreader set to display one title per line, and then didn't give it enough horizontal room to see your f

Python installation problem (sorry if this is a dup)

2007-02-28 Thread Ray Buck
d of /usr/local? Although I'm a retired programmer (mainframes), I'm still learning this linux stuff. I guess that makes me a noob...I hope you'll take that into consideration. Thanks, Ray -- http://mail.python.org/mailman/listinfo/python-list

Chicago Python Users Group Thurs May 11 at 7pm

2006-05-10 Thread Brian Ray
This will be our best meeting yet! ChiPy's Monthly meeting this Thurs. May 11, 2006. 7pm. (except for folks who want to help setup at 6:30 and get first dibs on pizza) Location ThoughtWorks' Chicago office 651 West Washington Blvd., 6th floor Chicago, IL 60661 Location description: "6

best site for hacking tricks , computer tweaks

2009-01-13 Thread debasish ray
-- http://mail.python.org/mailman/listinfo/python-list

Re: Web Crawler - Python or Perl?

2008-06-09 Thread Ray Cote
ck to Beautiful Soup -- which usually gets _something_ useful off the page. --Ray -- Raymond Cote Appropriate Solutions, Inc. PO Box 458 ~ Peterborough, NH 03458-0458 Phone: 603.924.6079 ~ Fax: 603.924.8668 rgacote(at)AppropriateSolutions.com www.AppropriateSolutions.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Python 2.5 adoption

2008-04-19 Thread Ray Cote
d the announcement for pyspread. Requirements? Python 2.5. You might want to talk with the pyspread folks regarding their decision to require 2.5. http://pyspread.sourceforge.net --Ray -- Raymond Cote Appropriate Solutions, Inc. PO Box 458 ~ Peterborough, NH 03458-0458 Phone: 603.924.6079 ~ Fax: 6

Question about dir function

2009-12-19 Thread Ray Holt
When I run a dir(_builtins_) I get the error message that the name _builtins_ is not defined. I haven't tried the dir function on other functions, but can someone tell me why I am getting this message? Thanks, Ray -- http://mail.python.org/mailman/listinfo/python-list

Invalid syntax error

2009-12-20 Thread Ray Holt
Why am I getting an invalid syntax error on the following: os.chdir(c:\\Python_Modules). The error message says the colon after c is invalid syntax. Why is it saying this when I am trying to change directory to c:\Python_Modules. Thanks, Ray -- http://mail.python.org/mailman/listinfo/python-list

Opening File Object

2009-12-21 Thread Ray Holt
I use the following code: fileobject = open("e:\\Ray Holts Documents\\Word Documents\\1850 Warren MS Jenkins", 'y') line = fileobject.readline() I get the following error message:Traceback (most recent call last): File "C:/Python26/Reading_and_Writing_Files", lin

Invalid Syntax Error

2010-01-14 Thread Ray Holt
Why am I getting an invalid systax on the first except in the following code. It was copid from the python tutorial for beginners. Thanks, Ray import sys try: #open file stream file = open(file_name, "w" except IOError: print "There was an error writing to", fi

Why am I getting this Error message

2010-01-28 Thread Ray Holt
Why am I getting the following error message. Area has been declared as an attribute of Circle. Thanks, Ray class Circle: def __init__(self): self.radius = 1 def area(self): return self.radius * self.radius * 3.14159 c = Circle() c.radius = 3 print c.area() Traceback (most

Program to compute and print 1000th prime number

2009-11-07 Thread Ray Holt
I am taking the MIT online course Introduction to Computer Science and Programming. I have a assignment to write a program to compute and print the 1000th. prime number. Can someone give me some leads on the correct code? Thanks, Ray -- http://mail.python.org/mailman/listinfo/python-list

Indentation problems

2009-11-08 Thread Ray Holt
invalid syntax or incorrect indentation. Can someone help me. Also when I open the edit window instead of the shell the programs tend not to run. Help! Ray -- http://mail.python.org/mailman/listinfo/python-list

Commenting and uncommenting from the shell

2009-11-08 Thread Ray Holt
Can you comment and uncomment code from the shell. I know that the format meny only shows in the edit window. I tried crtl + 3, which is what it said in the configuration window to use, and nothing happens. Also can you write executable code from the edit window. I can't see to get code that I writ

Computing the 1000th prime

2009-11-12 Thread Ray Holt
I have an assigment to find the 1000th. prime using python. What's wrong with the following code: PrimeCount = 0 PrimeCandidate = 1 while PrimeCount < 2000: IsPrime = True PrimeCandidate = PrimeCandidate + 2 for x in range(2, PrimeCandidate): if PrimeCandidate % x == 0: ##

pythonpath

2009-11-21 Thread Ray Holt
Is there a way to make python point to a different directory for modules. I don't like to keep my modules in the program directory, but I can't figure out from the shell how to get the program to look in another directory. I am using XP Pro as an operating system and python2.6 -- http://mail.pytho

Why this error message

2010-01-31 Thread Ray Holt
Why am I getting the error that test is not defined. Thanks, Ray class SpecialFile: def __init__(self, fileName): self.__file = open(fileName, 'W') self.__file.write('* Start Special File *\n\n') def write(self, str): self.__fil

Why this error message

2010-02-01 Thread Ray Holt
Guys, I apologize for the last email asking for help I am going to have to remember to check my indentation. Ray -- http://mail.python.org/mailman/listinfo/python-list

Re: Have you embraced Python 3.x yet?

2010-03-28 Thread Ray Allen
In our company, we still use python-2.5.4, and will be updated to python-2.5.5. I hope we can go to 2.6.x or 3.x, but I'm not sure when. -- http://mail.python.org/mailman/listinfo/python-list

Re: Good Intermediate Tutorials

2010-04-01 Thread Ray Allen
programs. If you want to know more you can read the cpython source itself. Its not too difficult. -- Ray Allen Best wishes! -- http://mail.python.org/mailman/listinfo/python-list

[Python-list] The distutils.sysconfig.set_python_config() function

2010-04-09 Thread Ray Allen
find it in distutils/sysconfig.py. Thanks. -- Ray Allen Best wishes! -- http://mail.python.org/mailman/listinfo/python-list

python3.5m vs libpython3.5m on CentOS6

2017-02-24 Thread Ray Cote
a new python3.5m.so softlink to libpython3.5m.so.1.0 and re-running ldconfig would do the trick, but still get the same error. Any hints appreciated. —Ray -- https://mail.python.org/mailman/listinfo/python-list

Python 3.6 printing crashing on OS X 10.12.4

2017-04-05 Thread Ray Cote
m/t1j3nz5L 1: Python installed via ports. 2: OS X 10.12.4. 3: Python 3.6.1 (though I also had this problem with 3.6.0). 4: Have successfully run python 3.5 for months. 5: Running under standard terminal program. 6: I have py36-readline installed. 7: Have tried uninstalling and re-installing Pyth

Re: Python 3.6 printing crashing on OS X 10.12.4

2017-04-10 Thread Ray Cote
On Wed, Apr 5, 2017 at 3:40 PM, Python wrote: > Le 05/04/2017 à 20:14, Ray Cote a écrit : > >> Hello: >> >> Python 3.6 crashing when trying to print from the environment. >> >> $ python >> Python 3.6.1 (default, Mar 22 2017, 15:53:21) >> [GCC 4.2

Re: New to python and programming

2017-05-17 Thread Ray Cote
get > > stuck? I mean is this group for new programmers as well..? > > Thanks > > You might want to check out the Python Tutors list: https://mail.python.org/mailman/listinfo/tutor It is friendly towards beginner questions. —Ray -- https://mail.python.org/mailman/listinfo/python-list

Re: Ciphers in SSL library python.

2017-06-14 Thread Ray Cote
1: Are you 100% sure the server to which you are trying to connect supports RC4-SHA? 2: If you have access to the server, turn on SSH debug mode to watch your client try and connect. I find that to be helpful in debugging many connection issues. On Wed, Jun 14, 2017 at 4:16 PM, wrote: > Hey, I

Re: Ciphers in SSL library python.

2017-06-14 Thread Ray Cote
On Wed, Jun 14, 2017 at 4:40 PM, wrote: > Hey, I'm "the server(I've written using ssl/socket)" and my client is > using RC4-SHA, but I can't make the server to use it. I make " > ciphers='RC4-SHA' " in the ssl.wrap_socket. Do I need to modify SSL file or > something to make it work? Had not rea

Re: API Help

2017-06-14 Thread Ray Cote
On Wed, Jun 14, 2017 at 4:33 PM, Bradley Cooper wrote: > I am working with an API and I get a return response in this format. > > > [{"itemNumber":"75-5044","inventory":[{"warehouseCode":" > UT-1-US","quantityAvailable":0.0},{"warehouseCode":"KY-1-US"," > quantityAvailable":0.

Re: API Help

2017-06-14 Thread Ray Cote
On Wed, Jun 14, 2017 at 6:14 PM, Erik wrote: > On 14/06/17 22:54, Ray Cote wrote: > >> Definitely JSON: >> >>> >>>>> json.loads(“""[{"itemNumber":"75-5044","inventory":[{"wareho >> useCode"

Re: Why do Perl programmers make more money than Python programmers

2013-05-07 Thread William Ray Wing
On May 7, 2013, at 4:31 PM, Martijn Lievaart wrote: > On Sun, 05 May 2013 17:07:41 -0400, Roy Smith wrote: > >> There *are* programming languages worse than PHP. Have you ever tried >> britescript? > > Have you tried MUMPS? :-) > > M4 > Which one? The original MUMPS (Massachusetts General

Re: Message passing syntax for objects | OOPv2

2013-05-10 Thread William Ray Wing
On May 10, 2013, at 12:55 AM, Roy Smith wrote: > In article , > Chris Angelico wrote: > >> The first hard disk I ever worked with stored 20MB in the space of a >> 5.25" slot (plus its associated ISA controller card). > > Heh. The first hard disk I ever worked with stored 2.4 MB in 6U of rack

Re: The state of pySerial

2013-05-29 Thread William Ray Wing
On May 29, 2013, at 2:23 PM, Ma Xiaojun wrote: > Hi, all. > > pySerial is probably "the solution" for serial port programming. > Physical serial port is dead on PC but USB-to-Serial give it a second > life. Serial port stuff won't interest end users at all. But it is > still used in the EE world

Re: Is this PEP-able? fwhile

2013-06-26 Thread William Ray Wing
On Jun 26, 2013, at 7:49 AM, Fábio Santos wrote: > On 26 Jun 2013 11:45, wrote: > > > > On Tuesday, June 25, 2013 9:30:54 PM UTC+5:30, Ian wrote: > > > In my experience the sorts of people who preach "one exit point" are > > > also all about defining preconditions and postconditions and proving >

Re: Important features for editors

2013-07-04 Thread William Ray Wing
On Jul 4, 2013, at 9:22 AM, Tim Chase wrote: > On 2013-07-04 05:02, Dave Angel wrote: > [snip an excellent list of things to look for in an editor] > > Also, > > - the ability to perform changes in bulk, especially across files. > Often, this is done with the ability to record/playback macros

Re: crack a router passcode

2013-07-09 Thread William Ray Wing
On Jul 9, 2013, at 12:55 AM, saadharana wrote: > I need to crack my router passcode to see what firmware it's running. There's > a passcode set but I don't remember it and it's not written down anywhere. > > > This question really isn't appropriate for a python-list, BUT - every router I'm f

Re: Google the video "9/11 Missing Links". 9/11 was a Jew Job!

2012-07-18 Thread William Ray Wing
On Jul 18, 2012, at 11:47 PM, Nicky dsdsdsds wrote: > COPY THIS MESSAGE FAST BECAUSE JEWS AND TRAITORS DELETE IT FAST! > > Sometimes I wish this list was moderated... -Bill -- http://mail.python.org/mailman/listinfo/python-list

Re: OT: Text editors

2012-08-30 Thread William Ray Wing
> On 7/29/2012 5:28 AM, Mark Lawrence wrote: >> On 29/07/2012 06:08, Ben Finney wrote: >>> Tim Chase writes: >>> [byte] >> >> Point taken, snag being I've never used any nix box in anger. This >> thread reminds of the good 'ole days when I were a lad using TPU on VMS. >> Have we got any V

Re: Subprocess puzzle and two questions

2012-11-13 Thread William Ray Wing
On Nov 13, 2012, at 11:41 PM, Roy Smith wrote: > In article , > w...@mac.com wrote: > >> I need to time the operation of a command-line utility (specifically >> nslookup) from within a python program I'm writing. > > Ugh. Why are you doing this? Shelling out to nslookup is an incredibly > s

Re: How do I find what kind of exception is thrown.

2017-09-05 Thread William Ray Wing
> On Sep 5, 2017, at 4:50 AM, Antoon Pardon wrote: > > Python 2.6.4 on a solaris box. > > I have a program in which all kind of excptions can be thrown and caugth. > The main program is something like below: > > try: >do_stuff > except Exception: >log unexpected trouble > > Now I foun

Re: How to track usage within a desktop python application

2017-10-08 Thread William Ray Wing
> On Oct 8, 2017, at 8:38 PM, Ryan Holmes wrote: > > I maintain a desktop python application that is used by a decent number of > folks (I would assume 10k+, though it's hard to know since it's based on > number of downloads rather than number of unique users). I would like to > integrate som

Re: Let's talk about debuggers!

2017-10-25 Thread William Ray Wing
> On Oct 25, 2017, at 9:07 AM, Thomas Jollans wrote: > > [byte] > What options are there for Python (that work)? What text editors (and > IDEs) have a decent integrated debugger or debugging plugin? I rather like WingIDE (the name is a coincidence). It allows insertion/removal of break poi

Re: Python noob having a little trouble with strings

2017-10-28 Thread William Ray Wing
OSX has been shipping with Python 2.7 for several years. I’m not sure why you are seeing 2.6. Bill > On Oct 27, 2017, at 2:48 AM, Lutz Horn wrote: > > On Thu, Oct 26, 2017 at 07:59:10PM -0700, randyli...@gmail.com wrote: >> Hi Bob, thanks for responding. I'm not sure where to do so, my >> pro

Re: plot map wit box axes

2017-12-24 Thread William Ray Wing
> On Dec 23, 2017, at 3:27 PM, breamore...@gmail.com wrote: > > On Friday, December 22, 2017 at 3:42:58 PM UTC, jorge@cptec.inpe.br wrote: >> Hi, >> >> I use the PYTHON and IDL. In IDL I can plot a grid map like a this >> figure (mapa.png). Please, I would like know how can I plot my figure

Re: Goto (Posting On Python-List Prohibited)

2017-12-30 Thread William Ray Wing
> On Dec 30, 2017, at 7:46 AM, Peter J. Holzer wrote: > > On 2017-12-29 19:09:35 -0500, Dennis Lee Bieber wrote: >> On Fri, 29 Dec 2017 23:12:22 +, bartc declaimed the >> following: >>> Looking at 14 million lines of Linux kernel sources, which are in C, >>> over 100,000 of them use 'goto'

Re: What's the best way to minimize the need of run time checks?

2016-08-12 Thread William Ray Wing
> On Aug 12, 2016, at 7:07 AM, Steven D'Aprano > wrote: > > [megabyte] > > > [1] Are there programming language aware spell checkers? If not, there > should be. > > There are programming language-aware editors with built-in spell checkers (and syntax coloring, but that’s a diff

Re: Choosing a Python IDE. what is your Pythonish recommendation? I do not know what to choose.

2017-01-04 Thread William Ray Wing
> On Jan 4, 2017, at 1:54 AM, Antonio Caminero Garcia > wrote: > > On Tuesday, January 3, 2017 at 4:12:34 PM UTC-8, Dietmar Schwertberger wrote: >> On 02.01.2017 12:38, Antonio Caminero Garcia wrote: >> You did not try Wing IDE? It looks less like a spacecraft. Maybe you >> like it. >> Maybe t

Re: Choosing a Python IDE. what is your Pythonish recommendation? I do not know what to choose.

2017-01-04 Thread William Ray Wing
> On Jan 4, 2017, at 3:44 PM, Dietmar Schwertberger > wrote: > > On 04.01.2017 15:41, William Ray Wing wrote: >> I use Wing, and I think you will like it. It *is* pythonic, and for what it >> is worth, offers remote debugging as one of its more recently added featur

Re: Choosing a Python IDE. what is your Pythonish recommendation? I do

2017-01-06 Thread William Ray Wing
> On Jan 4, 2017, at 1:54 AM, Antonio Caminero Garcia wrote: > > On Tuesday, January 3, 2017 at 4:12:34 PM UTC-8, Dietmar Schwertberger wrote: >> On 02.01.2017 12:38, Antonio Caminero Garcia wrote: >> You did not try Wing IDE? It looks less like a spacecraft. Maybe you >> like it. >> Maybe the di

Re: Choosing a Python IDE. what is your Pythonish recommendation? I do

2017-01-06 Thread William Ray Wing
> On Jan 4, 2017, at 3:44 PM, Dietmar Schwertberger wrote: > > On 04.01.2017 15:41, William Ray Wing wrote: >> I use Wing, and I think you will like it. It *is* pythonic, and for what it is worth, offers remote debugging as one of its more recently added features. > Obviously

Re: Context

2017-02-03 Thread William Ray Wing
> On Feb 3, 2017, at 8:10 AM, Antonio wrote: > > From: Antonio > Sent: Friday, February 3, 2017 1:02 PM > To: python-list@python.org > Subject: Context > > I have python version 3.6.0 installed into my desktop)windows 7) but the > menu/context (file,edit..etc) i

Re: please test the new PyPI (now in beta)

2018-03-28 Thread William Ray Wing
> On Mar 28, 2018, at 10:50 AM, sumana.hariharesw...@gmail.com wrote: > > [byte] > > People who literally don't see the list of ways to filter on the left-hand > side of https://pypi.org/search/ I do see the list of filters, but I only get it AFTER I’ve entered my first search term. I may

Re: please test the new PyPI (now in beta)

2018-03-30 Thread William Ray Wing
> On Mar 28, 2018, at 10:50 AM, sumana.hariharesw...@gmail.com wrote: > > [byte] > : I ask you the usual list of troubleshooting questions. What OS and browser > are you using, what plugins and particularly interesting preferences are you > using, and so on. (When I turn off JavaScript in m

Re: Scanner freakishness [was Re: Python list vs google group]

2018-06-16 Thread William Ray Wing
> On Jun 16, 2018, at 9:10 AM, Steven D'Aprano > wrote: > > On Sat, 16 Jun 2018 11:54:15 +1000, Chris Angelico wrote: > >> On Sat, Jun 16, 2018 at 11:00 AM, Jim Lee wrote: > >>> I once had a Mustek color scanner that came with a TWAIN driver. If >>> the room temperature was above 80 degrees

Re: [beginner] What's wrong?

2016-04-01 Thread William Ray Wing
> On Apr 1, 2016, at 6:57 PM, Mark Lawrence via Python-list > wrote: > >> On 01/04/2016 23:44, sohcahto...@gmail.com wrote: >>> On Friday, April 1, 2016 at 3:10:51 PM UTC-7, Michael Okuntsov wrote: >>> Nevermind. for j in range(1,8) should be for j in range(8). >> >> I can't tell you how many

Re: GoPiGo distence sensor

2016-06-15 Thread William Ray Wing
> On Jun 15, 2016, at 10:59 AM, Joel Goldstick wrote: > > On Wed, Jun 15, 2016 at 10:15 AM, wrote: >> I have a small robot on wheels named the GoPiGo. >> What I want is if the distence sensor read the same distence for let say 5 >> seconds then the GoPiGo go's backward. >> When I look at th

Why is Python deleting every time

2020-10-01 Thread Sai Shubham Ray
Sometimes when I try to run python program it says that python is not installed and I have to repair it. Thank god there is a repair option in python but still do something to get rid of this problem Regards Sai Shubham Ray -- https://mail.python.org/mailman/listinfo/python-list

Re: datetime question

2013-11-12 Thread William Ray Wing
On Nov 12, 2013, at 10:57 AM, Ferrous Cranus wrote: > Στις 12/11/2013 5:54 μμ, ο/η Tim Chase έγραψε: >> On 2013-11-12 17:24, Ferrous Cranus wrote: >>> But what of the server was in California and i live in Greece? >>> >>> How would datetime.now() work then? >> >> Best practices say to move the

Re: using print() with multiprocessing and pythonw

2013-11-12 Thread William Ray Wing
On Nov 12, 2013, at 2:12 PM, Isaac Gerg wrote: > I launch my program with pythonw and begin it with the code below so that all > my print()'s go to the log file specified. > > if sys.executable.find('pythonw') >=0: ># Redirect all console output to file. >sys.stdout = open("pyt

Re: To whoever hacked into my Database

2013-11-13 Thread William Ray Wing
On Nov 13, 2013, at 1:27 PM, superchromix wrote: > > > hi all, > > I've been thinking about learning Python for scientific programming.. but all > of these flame war type posts make the user community look pretty lame. How > did all of these nice packages get written when most of the user i

Re: understanding someone else's program

2013-11-15 Thread William Ray Wing
On Nov 15, 2013, at 6:05 AM, C. Ng wrote: > Hi all, > > Please suggest how I can understand someone else's program where > - documentation is sparse > - in function A, there will be calls to function B, C, D and in those > functions will be calls to functions R,S,T and so on so forth...

Re: python 3.3 repr

2013-11-15 Thread William Ray Wing
On Nov 15, 2013, at 10:18 AM, Robin Becker wrote: > On 15/11/2013 15:07, Joel Goldstick wrote: > > > > >> >> Cool, someone here is older than me! I came in with the 8080, and I >> remember split octal, but sixes are something I missed out on. > > The pdp 10/15 had 18 bit words and

Re: Program Translation - Nov. 14, 2013

2013-11-16 Thread William Ray Wing
On Nov 16, 2013, at 4:31 AM, Terence wrote: > I downloaded the packed file mentioned, extracted the files and had a look > at the Fortran sources given: > ETGTAB.FOR and ETGTAB.F > > The ETGTAB.FOR file had double spacing, which Iremoved automatically, then > compared the two sources automatical

Re: Automation

2013-11-16 Thread William Ray Wing
On Nov 16, 2013, at 1:17 AM, Larry Hudson wrote: [byte] > > However, that's just a side comment. I wanted to mention my personal peeve... > > I notice it's surprisingly common for people who are native English-speakers > to use 'to' in place of 'too' (to little, to late.), "your" in place of

Re: Python Beginner

2013-11-16 Thread William Ray Wing
On Nov 16, 2013, at 5:25 PM, ngangsia akumbo wrote: > I am called Richard m from western Africa, Cameroon. It was a pleasure for me > to join this group. > > I have been learning python for about 4 months now and i have already > mastered alot as far as the language is concern. > > I am learn

Re: Got a Doubt ! Wanting for your Help ! Plz make it ASAP !

2013-11-23 Thread William Ray Wing
On Nov 23, 2013, at 1:42 AM, Ian Kelly wrote: > On Fri, Nov 22, 2013 at 7:18 PM, Steven D'Aprano > wrote: >> I'm not an expert on Indian English, but I understand that in that >> dialect it is grammatically correct to say "the codes", just as in UK and >> US English it is grammatically correct t

Re: Experiences/guidance on teaching Python as a first programming language

2013-12-09 Thread William Ray Wing
On Dec 9, 2013, at 11:57 AM, rusi wrote: > On Monday, December 9, 2013 5:53:41 PM UTC+5:30, Oscar Benjamin wrote: >> 5) Learning to program "should be painful" and we should expect the >> students to complain about it (someone actually said that!) but the >> pain makes them better programmers in

Re: Question RE urllib

2013-12-16 Thread William Ray Wing
On Dec 16, 2013, at 6:40 AM, Jeff James wrote: > So I'm using the following script to check our sites to make sure they are > all up and some of them are reporting they are "down" when, in fact, they are > actually up. These sites do not require a logon in order for the home page > to come u

Re: Looking for tips for moving dev environment from Windows to Mac

2014-01-08 Thread William Ray Wing
On Jan 8, 2014, at 9:11 AM, pyt...@bdurham.com wrote: > Long time Windows developer making the move to Apple platform. My new > development environment is a 15" MacBook Pro with 16 Gb RAM and a 512 Gb SSD. > I'm totally new to the world of Apple hardware and software and am looking > for advice

Re: Looking for tips for moving dev environment from Windows to Mac

2014-01-08 Thread William Ray Wing
On Jan 8, 2014, at 12:26 PM, Bob Hartwig wrote: > "4. Best visual diff utility for Mac?" > > opendiff. I think it's part of xcode. > > Regarding Python IDEs, I really like PyCharm. It's written in Java, and > sometimes you can tell that by its performance, but it's very featureful and > has

Re: How to get Mac address of ethernet port?

2014-01-13 Thread William Ray Wing
On Jan 11, 2014, at 11:34 AM, Michael Torrie wrote: > On 01/11/2014 07:35 AM, Andriy Kornatskyy wrote: >> Sam, >> >> How about this? >> >> from uuid import getnode as get_mac >> '%012x' % get_mac() > > This seems to work if you have only one ethernet adapter. Most > computers have two (wired

Re: Learning python networking

2014-01-15 Thread William Ray Wing
On Jan 15, 2014, at 11:31 AM, Chris Angelico wrote: > On Thu, Jan 16, 2014 at 3:25 AM, William Ray Wing wrote: >> On Jan 15, 2014, at 7:52 AM, Chris Angelico wrote: >>> One of the fundamentals of the internet is that connections *will* >>> break. A friend of mine

Re: Learning python networking

2014-01-15 Thread William Ray Wing
On Jan 15, 2014, at 7:52 AM, Chris Angelico wrote: [megabyte] > One of the fundamentals of the internet is that connections *will* > break. A friend of mine introduced me to Magic: The Gathering via a > program that couldn't handle drop-outs, and it got extremely > frustrating - we couldn't get

Re: [RELEASED] Python 3.3.4 release candidate 1

2014-01-27 Thread William Ray Wing
On Jan 27, 2014, at 8:55 AM, Mark Lawrence wrote: > On 27/01/2014 07:36, Georg Brandl wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> On behalf of the Python development team, I'm reasonably happy to announce >> the >> Python 3.3.4 release candidate 1. >> > > "Reasonably" hap

Re: Newcomer Help

2014-02-10 Thread William Ray Wing
On Feb 10, 2014, at 11:10 AM, Walter Hughey wrote: > I am new to Python programming, actually new to any programming language. I > sent the email below to the "pythonmac-...@python.org a few days ago. So far > I have not seen a reply, actually, I have not seen anything from pythonmac in > any

Re: Mac Question

2016-01-01 Thread William Ray Wing
> On Jan 1, 2016, at 5:56 AM, tdspe...@gmail.com wrote: > > Hi All > > I am trying to create a directory on a windows drive from my macbook air with > python but get a permissions error because the windows ntfs drive is read > only - does anyone know away to overcome this issue - I have looked

Re: imshow keeps crashhing

2016-01-06 Thread William Ray Wing
> On Jan 6, 2016, at 6:10 PM, darren.mcaf...@gmail.com wrote: > > Thanks for the quick reply! > > So scipy is making temporary files in /private/vars/folders/w4/ name>/ Is this a typo or did you really mean /private/vars? That is, did your create a “vars” directory under /private at some poi

Re: Stop writing Python 4 incompatible code

2016-01-15 Thread William Ray Wing
> On Jan 15, 2016, at 9:52 AM, Emile van Sebille wrote: > > On 1/14/2016 3:55 PM, Rick Johnson wrote: >> But, when you have almost infinitely deep pockets, like >> Google, you don't need to create *everything* yourself, no, >> you simply wait for someone else to build it, then wait a >> little l

Re: Stop writing Python 4 incompatible code

2016-01-15 Thread William Ray Wing
> On Jan 15, 2016, at 1:09 PM, Bernardo Sulzbach > wrote: > > On Fri, Jan 15, 2016 at 3:02 PM, William Ray Wing wrote: >> >> What Micro$oft was actually sued for was worse. They would approach a small >> company: “We like your product/technology, we think w

Re: Stop writing Python 4 incompatible code

2016-01-16 Thread William Ray Wing
> On Jan 16, 2016, at 9:48 AM, Bernardo Sulzbach > wrote: > > On Sat, Jan 16, 2016 at 12:41 PM, Alister wrote: >> it was exactly the scenario described >> >> A company had developed a means of impo=roving the Fat file system (IIRC by >> using a pseudo file system on top to eliminate the waste

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-17 Thread William Ray Wing
> On Feb 17, 2016, at 2:49 PM, wrong.addres...@gmail.com wrote: > > I am mostly getting positive feedback for Python. > I would be surprised if you weren’t. > It seems Python is used more for web based applications. Is it equally fine > for creating stand-alone *.exe's? Can the same code be c

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-18 Thread William Ray Wing
> On Feb 17, 2016, at 2:49 PM, wrong.addres...@gmail.com wrote: > > I am mostly getting positive feedback for Python. > > It seems Python is used more for web based applications. Is it equally fine > for creating stand-alone *.exe's? Can the same code be compiled to run on > Linux or Android o

<    1   2   3   4   >