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: Intermediate Python user needed help

2012-08-05 Thread William R. Wing
On Aug 5, 2012, at 5:14 PM, John Mordecai Dildy wrote: > Im using Textwrangler and thats the only text editor that im using just > saying for everyone > -- > http://mail.python.org/mailman/listinfo/python-list (With apologies, I initially sent this privately to John, and not to the list.) As

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: [pypy-dev] A quick question for you!

2018-06-19 Thread William ML Leslie
u only need to use gc.enable() if you have earlier run gc.disable(). -- William Leslie Notice: Likely much of this email is, by the nature of copyright, covered under copyright law. You absolutely MAY reproduce any part of it in accordance with the copyright law of the nation you are reading this i

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

ANN: PL/Py 0.1 Release

2005-06-30 Thread James William Pye
After much hacking, and many liters of caffeinated beverages, it is my pleasure to announce the first development release of PL/Py, the PostgresPy Project[1]'s Backend elements for the PostgreSQL ORDBMS. The very terse project news item can be found here[2]. PL/Py, PostgresPy's Backend Project, i

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

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

2016-02-18 Thread William Ray Wing
> On Feb 18, 2016, at 10:33 AM, wrong.addres...@gmail.com wrote: > > torstai 18. helmikuuta 2016 17.21.32 UTC+2 Oscar Benjamin kirjoitti: >> On 18 February 2016 at 11:32, Chris Angelico wrote: >> [byte] >> It sounds to me as if all of your needs can be solved in pure Python >> code possibly u

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

2016-02-19 Thread William Ray Wing
> On Feb 19, 2016, at 8:13 PM, Steven D'Aprano wrote: > > On Sat, 20 Feb 2016 12:27 am, Dennis Lee Bieber wrote: > > >> Then the best suggestion I have would be to take a weekend and just >> read the language reference manual (it used to be about an 80-page PDF >> file, but has no doubt grown

Re: [Off-topic] Requests author discusses MentalHealthError exception

2016-03-03 Thread William Ray Wing
> On Mar 3, 2016, at 3:20 PM, alister wrote: > > On Thu, 03 Mar 2016 11:03:55 -0700, Ian Kelly wrote: > >> On Thu, Mar 3, 2016 at 10:21 AM, alister >> wrote: >>> On Thu, 03 Mar 2016 13:35:12 +1100, Chris Angelico wrote: 1) No physical object can have negative mass. 2) I am a part of

Re: [OFF-TOPIC] It is true that is impossible write in binary code, the lowest level of programming that you can write is in hex code?

2014-11-06 Thread William Ray Wing
> On Nov 5, 2014, at 6:14 PM, Clayton Kirkwood wrote: > > Yeah, the 11 was mesmerizing. You didn't need no stinkin' program to see how > busy the system was, you just checked the lights. You could really tell when > somebody was compiling or link/loading. As I've done many times since those > da

Re: Understanding "help" command description syntax - explanation needed

2014-11-07 Thread William Ray Wing
On Nov 7, 2014, at 7:42 AM, Dave Angel wrote: > > Bob Martin Wrote in message: >> in 730867 20141107 093651 c...@isbd.net wrote: >>> Darren Chen wrote: 在 2014年11月5日星期三UTC+8下午8时17分11秒,larry@gmail.com写道: > On Wed, Nov 5, 2014 at 7:13 AM, Ivan Evs

Re: Python handles globals badly.

2014-12-04 Thread William Ray Wing
> On Dec 4, 2014, at 8:56 PM, Dennis Lee Bieber wrote: > > On Thu, 04 Dec 2014 14:51:14 +0200, Marko Rauhamaa > declaimed the following: > >> Chris Angelico : >> >>> A lot of programs don't use threads, and therefore cannot have thread >>> safety problems - or, looking at it the other way, do

Re: Do you like the current design of python.org?

2014-12-05 Thread William Ray Wing
> On Dec 5, 2014, at 5:43 AM, Steven D'Aprano > wrote: > > Peter Otten wrote: > >> Did you ever hit the "Socialize" button? Are you eager to see the latest >> tweets when you are reading a PEP? Do you run away screaming from a page >> where nothing moves without you hitting a button? Do you ap

Re: Run Programming ?????

2014-12-12 Thread William Ray Wing
> On Dec 12, 2014, at 8:03 AM, Chris Warrick wrote: > > > On Dec 12, 2014 1:40 PM, "Delgado Motto" > wrote: > > > > I travel alot, if not just interested in things of pocketable portability, > > and was curious if you can tell me if Python can be LEARNED from begi

Re: python traceroute

2015-01-21 Thread William Ray Wing
> On Jan 21, 2015, at 12:06 AM, Denis McMahon wrote: > > On Tue, 20 Jan 2015 19:37:26 -0800, Chandrakant Tiwari wrote: > >> in the program below i want it to make it work the same way as TRACERT >> command. > > As an observation, you're re-inventing a wheel that already works > perfectly we

Re: python 2 to python 3

2015-02-25 Thread William Ray Wing
> On Feb 24, 2015, at 9:55 PM, Audrey McFarlane wrote: > > I am using Wing101 v.5 and it is using Python2, but I want to make it use > Python3 instead because need Python3 for a uni lab. How do I change it? > -- > https://mail.python.org/mailman/listinfo/python-list Assuming you have Python

Re: Python programming

2014-02-12 Thread William Ray Wing
On Feb 12, 2014, at 10:04 PM, Roy Smith wrote: > In article , > Grant Edwards wrote: > >> On 2014-02-13, Dennis Lee Bieber wrote: >> >>> An S-100 wire-wrap board. >> >> Yup, been there done that! > > Never did S-100, but I did do a custom Unibus card (wirewrap). > > You know you're wor

Re: SSH/Telnet program to Router/switch

2014-02-19 Thread William Ray Wing
On Feb 19, 2014, at 3:14 AM, Sujith S wrote: > Hi, > > I am new to programming and python. I am looking for a python script to do > ssh/telnet to a network equipment ? I know tcl/perl does this using > expect/send. > > Do we have expect available in python as well or need to use some other

Re: Just For Inquiry

2014-02-20 Thread William Ray Wing
On Feb 20, 2014, at 5:48 PM, John Gordon wrote: > In shivang patel > writes: > >> So, I kindly request to you please, give me a very brief info regarding >> *Role of Project Manager*. > > In my organization, a project manager does these things (and a lot more): > Ensure that a requirements d

Re: Mac vs. Linux for Python Development

2014-02-24 Thread William Ray Wing
On Feb 23, 2014, at 3:43 AM, twiz wrote: > Hello, > > I'm sure this is a common question but I can't seem to find a previous thread > that addresses it. If one one exists, please point me to it. > > I've been developing with python recreationally for a while on Ubuntu but > will soon be tra

Re: Coding a simple state machine in python

2014-02-24 Thread William Ray Wing
On Feb 24, 2014, at 8:30 PM, Ronaldo wrote: > How do I write a state machine in python? I have identified the states and > the conditions. Is it possible to do simple a if-then-else sort of an > algorithm? Below is some pseudo code: > > if state == "ABC": > do_something() > change state t

Re: Python programming

2014-03-06 Thread William Ray Wing
On Mar 6, 2014, at 8:24 PM, Roy Smith wrote: > In article , > Dennis Lee Bieber wrote: > >> On 06 Mar 2014 02:51:54 GMT, alb...@spenarnc.xs4all.nl (Albert van der >> Horst) declaimed the following: >> >>> In article , >>> Roy Smith wrote: In article , Grant Edwards wrote: >

Re: Python programming

2014-03-07 Thread William Ray Wing
On Mar 7, 2014, at 1:03 PM, John Ladasky wrote: > > As for FORTRAN? This week, I actually downloaded an application which > required a FORTRAN compiler. This is the only FORTRAN application I've ever > needed. It's not old code, the first revision came out about 10 years ago. > More than

Re: Switching between cmd.CMD instances

2014-04-02 Thread William Ray Wing
On Apr 2, 2014, at 1:03 AM, Josh English wrote: > I have a program with several cmd.Cmd instances. I am trying to figure out > what the best way to organize them should be. > > I've got my BossCmd, SubmissionCmd, and StoryCmd objects. > > The BossCmd object can start either of the other two, a

Re: "Latching" variables in function

2014-04-09 Thread William Ray Wing
On Apr 9, 2014, at 12:35 AM, Terry Reedy wrote: > On 4/8/2014 4:09 PM, Grawburg wrote: >> >> I've probably used the wrong term - I'm thinking of what I do when writing >> PLC code - so I can't find how to do this in my reference books. >> This is part of a project I'm working on with a Raspberr

Re: Significant digits in a float?

2014-05-01 Thread William Ray Wing
On May 1, 2014, at 12:16 AM, Mark H Harris wrote: > On 4/30/14 10:56 PM, Paul Rubin wrote: > >> There is a nice Javascript simulation of the N4-ES here: >> >> http://www.antiquark.com/sliderule/sim/n4es/virtual-n4es.html >> > > Thank you! > > The N4-ES and the N4-T (mine) are essentially the

Re: Can Python do this? First steps, links to resources or complete software referals appreciated.

2014-05-22 Thread William Ray Wing
On May 22, 2014, at 6:03 AM, ed.cot...@gmail.com wrote: > Hi, I'm an academic and I want to find/adapt/create a script that will grab > abstracts (150-250 words of text) from Google Scholar search results and sort > them by relevance (e.g. keywords, keyword combinations, anything other way > yo

Re: IDE for python

2014-05-28 Thread William Ray Wing
On May 28, 2014, at 6:43 AM, Sameer Rathoud wrote: > Hello everyone, > > I am new to python. > > I am currently using python 3.3 > > With python I got IDLE, but I am not very comfortable with this. > > Please suggest, if we have any free ide for python development. > -- > https://mail.python

Re: Module for dialoging with intercative programs, sockets, files, etc.

2013-08-06 Thread William Ray Wing
On Aug 6, 2013, at 4:44 AM, Ulrich Eckhardt wrote: > Am 05.08.2013 21:38, schrieb Olive: >> I have found telnetlib which make very easy to interact with a telnet >> server, especially the read_until command. I wonder if something >> similar exits for other things that a telnet server. > > It's

Re: Unable to redirect the subprocess CMD.exe to txt file. Please help !!!

2013-09-03 Thread William Ray Wing
On Sep 3, 2013, at 9:54 AM, Venkatesh wrote: > Hello comp.lang.python Group, > > I am trying to invoke a subprocess in Python as below > > import sys > import time > import os > import subprocess > DETACHED_PROCESS = 0x0008 > > path = r'C:\Windows\System32\cmd.exe /k ping www.google.com -

Re: Cross Platform

2013-09-05 Thread William Ray Wing
On Sep 4, 2013, at 11:47 PM, Chandru Rajendran wrote: > Hi all, > > I have a doubt regarding the python cross platform. I think you mean you have a question... > If we write Class in windows ,whether we can without any modifications in > Linux, if so then how about the GUI programming and Li

Re: Can I trust downloading Python?

2013-09-09 Thread William Ray Wing
On Sep 9, 2013, at 12:23 PM, Michael Torrie wrote: > On 09/09/2013 05:02 AM, Anthony Papillion wrote: >> But (and this is stepping into *really* paranoid territory here. But >> maybe not beyond the realm of possibility) it would not be so hard to >> compromise compilers at the chip level. If the

Re: Tryign to send mail via a python script by using the local MTA

2013-09-16 Thread William Ray Wing
On Sep 16, 2013, at 12:15 PM, Ferrous Cranus wrote: > Στις 16/9/2013 3:56 μμ, ο/η Antoon Pardon έγραψε: >> Op 16-09-13 14:11, Ferrous Cranus schreef: >>> Στις 16/9/2013 2:44 μμ, ο/η Heiko Wundram έγραψε: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 16.09.2013 13:37, schri

Re: Tryign to send mail via a python script by using the local MTA

2013-09-17 Thread William Ray Wing
On Sep 17, 2013, at 5:42 PM, Ferrous Cranus wrote: > On 17/9/2013 7:30 μμ, Denis McMahon wrote: >> On Tue, 17 Sep 2013 18:17:43 +0300, Ferrous Cranus wrote: >> >>> So cant this be done in python or not? >>> or is a mtetr of configuring the MTA? conf file? >> >> Python can not control data that

Re: Language design

2013-09-18 Thread William Ray Wing
On Sep 18, 2013, at 11:12 AM, Chris Angelico wrote: > On Thu, Sep 19, 2013 at 1:08 AM, Neil Cerutti wrote: >> On 2013-09-18, Chris Angelico wrote: >>> On Thu, Sep 19, 2013 at 12:57 AM, Neil Cerutti wrote: There's lots of poetry with significant indentation, though. Imbuing the shape

Re: Why does it have red squiggly lines under it if it works perfectly fine and no errors happen when I run it?

2013-09-20 Thread William Ray Wing
On Sep 20, 2013, at 3:01 AM, William Bryant wrote: [byte] > > Thanks a lot! I have one more question, is there any way I can make my > program work on android tablets and ipads? Because I'd like to use it in > school because we are learning statistics and we are allow

Re: Tryign to send mail via a python script by using the local MTA

2013-09-21 Thread William Ray Wing
On Sep 21, 2013, at 5:21 AM, Νίκος wrote: > On 18/9/2013 2:29 πμ, Dennis Lee Bieber wrote: >> On Tue, 17 Sep 2013 18:17:43 +0300, Ferrous Cranus >> declaimed the following: >> >>> So cant this be done in python or not? >>> or is a mtetr of configuring the MTA? conf file? >> >> You can't..

Re: Possibilities of Building "Stacked Neural Networks"

2013-09-25 Thread William Ray Wing
On Sep 25, 2013, at 5:43 AM, Robert Kern wrote: > On 2013-09-24 19:03, Michael Lamport Commons wrote: >> Dear Members of this list-serve: >> >>Would it be possible to build “stacked neural networks” like the one >> shown in the attached document? >> >>You may have a few questio

Re: DNS query against a specific server.

2013-09-30 Thread William Ray Wing
On Sep 30, 2013, at 7:42 AM, Michel Albert wrote: > Hi, > > ``socket.gethostbyname`` sends the DNS resolution query to the DNS server > specified by the OS. Is there an easy way to send a query to a *different* > server? > > I see that twisted.names allows you to do this, but, having all of t

Re: Complex literals (was Re: I am never going to complain about Python again)

2013-10-10 Thread William Ray Wing
On Oct 10, 2013, at 10:12 AM, Grant Edwards wrote: > On 2013-10-10, Chris Angelico wrote: >> On Fri, Oct 11, 2013 at 12:09 AM, Roy Smith wrote: >>> BTW, one of the earliest things that turned me on to Python was when I >>> discovered that it uses j as the imaginary unit, not i. All >>> right-t

Problem in Multiprocessing module

2013-10-11 Thread William Ray Wing
I'm running into a problem in the multiprocessing module. My code is running four parallel processes which are doing network access completely independently of each other (gathering data from different remote sources). On rare circumstances, the code blows up when one of my processes has do st

Re: Error Testing

2013-10-31 Thread William Ray Wing
On Oct 31, 2013, at 1:17 PM, Neil Cerutti wrote: > On 2013-10-31, rusi wrote: >> On Thursday, October 31, 2013 8:50:27 PM UTC+5:30, Neil Cerutti wrote: >>> wrote: This suggests that Pascal went against established practice. This is false. FORTRAN used = and that was a mistake caused by

Re: Basic Python Questions - Oct. 31, 2013

2013-11-01 Thread William Ray Wing
On Oct 31, 2013, at 5:31 AM, "E.D.G." wrote: > Posted by E.D.G. on October 31, 2013 > > The following are several relatively basic questions regarding Python's > capabilities. I am not presently using it myself. At the moment a number of > people including myself are comparing it with o

Re: Basic Python Questions - Oct. 31, 2013

2013-11-01 Thread William Ray Wing
On Nov 1, 2013, at 2:08 PM, Ethan Furman wrote: > On 11/01/2013 08:42 AM, William Ray Wing wrote: >> >> Granted, this performance is based on pulling in libraries. It imports >> numpy, mathplotlib, and wx to handle the fast array calculations, the >> plotting, an

Re: multiprocessing: child process race to answer

2013-11-02 Thread William Ray Wing
On Nov 2, 2013, at 1:03 AM, smhall05 wrote: > On Friday, November 1, 2013 10:52:40 PM UTC-4, MRAB wrote: >> On 02/11/2013 02:35, smhall05 wrote: >> >>> I am using a basic multiprocessing snippet I found: >>> >>> #- >>> from multiprocessing imp

Re: multiprocessing: child process race to answer (forgot to Cc: the list)

2013-11-02 Thread William Ray Wing
t; finds the answer in about 250ms, but since I can't stop the other processes, > it takes about 800ms before I can use the answer. Do you recommend a global > variable flag? Any other suggestions? > > On Nov 2, 2013 8:17 AM, "William Ray Wing" wrote: > On Nov 2, 20

Re: how to load test a web app?

2013-11-06 Thread William Ray Wing
On Nov 6, 2013, at 1:25 PM, Skip Montanaro wrote: >> Have a look at selenium and sauce labs: >> >> http://www.seleniumhq.org/ >> https://saucelabs.com/ > > Maybe we should pass that information along to Kathleen Sebelius. :-) > > Skip Definitely! Anyone seen the cover of this week's issue of

Re: i want to know about python language

2013-11-07 Thread William Ray Wing
On Nov 7, 2013, at 1:51 AM, Kewl p wrote: > On Thursday, November 7, 2013 8:48:26 AM UTC+5:30, Kewl p wrote: >> h > > can i get link of a ide in which python can run,,...?? > -- > https://mail.python.org/mailman/listinfo/python-list There are actually almost too many. Googling for Python

Re: ANN: Wing IDE 5.1.2 released

2015-02-26 Thread William Ray Wing
> On Feb 26, 2015, at 2:04 PM, Jim Mooney wrote: > > Hey, can I run Py 2.7 and 3.4 side by side without a lot of hassle, using > Wing? I run both since I'm migranting and so far the free IDEs just seem to > choke on that. > -- > https://mail.python.org/mailman/listinfo/python-list I assume y

Re: New to Python - block grouping (spaces)

2015-04-16 Thread William Ray Wing
> On Apr 16, 2015, at 2:11 AM, Paul Rubin wrote: > > Steven D'Aprano writes: >> I'm aware that Coffeescript provides a brace-free wrapper around Javascript; >> I'm not aware of any wrapper that *adds* braces to a language without them. > > You're not old enough to remember Ratfor ;-) > -- >

Re: Accessing DataSocket Server with Python

2015-05-29 Thread William Ray Wing
> On May 28, 2015, at 6:17 PM, Dan Stromberg wrote: > > I have no idea about the protocol used by NI DataSockets, but you > might be able to reverse engineer the protocol by using the official > client with a sniffer. > > Also, be aware that TCP/IP guarantees that you get the correct data in >

Re: Fixing Python install on the Mac after running 'CleanMyMac'

2015-05-29 Thread William Ray Wing
> On May 29, 2015, at 9:12 AM, Cem Karan wrote: > > > On May 28, 2015, at 11:47 PM, Laura Creighton wrote: > >> webmas...@python.org just got some mail from some poor embarrased >> soul who ran this program and broke their Python install. >> >> They are running Mac OSX 10.7.5 >> >> They are

Re: Need assistance

2015-07-18 Thread William Ray Wing
> On Jul 18, 2015, at 1:34 PM, Mark Lawrence wrote: > > [byte] > What is an {HP calculator} roll operation? > The original Hewlett Packard “Scientific” calculators (HP-35, 45, 65, etc) that used Polish notation (operand, operand, operation; with no “=“ sign) had a stack. That stack itsel

Re: Python handles globals badly.

2015-09-09 Thread William Ray Wing
> On Sep 9, 2015, at 1:22 PM, Steven D'Aprano wrote: > > [byte] > > I think my favourite is the guy who claims that the reason natural languages > all count from 1 is because the Romans failed to invent zero. (What about > languages that didn't derive from Latin, say, Chinese?) Right. Note

Re: Recover data over the network

2015-10-09 Thread William Ray Wing
> On Oct 9, 2015, at 10:44 PM, Arshpreet Singh wrote: > >> On Saturday, 10 October 2015 04:40:27 UTC+5:30, Steven D'Aprano wrote: >> >> What do you mean, "recover data from a server"? What has happened to the >> server? Can it boot or is it in an unbootable state? Are the hard drives >> physic

<    1   2   3   4   5   6   >