[issue44844] The command line of launching Edge on Linux hangs

2021-08-05 Thread Ray Luo
New submission from Ray Luo : Launching Chrome on Linux from command line: $ export BROWSER=google-chrome; python -m webbrowser https://httpbin.org/delay/10 It can successfully launch Chrome with the specified web page opened in a new tab. And the console command line finishes

[issue44760] Turtle Documentation - Contents Hyperlink conflict

2021-07-28 Thread Ray Kinane
New submission from Ray Kinane : In the Turtle module, there are 2 methods named "clear", one for turtle objects and one for screen objects. In the Turtle module documentation, in the contents section, in the "Turtle methods" section, under "More drawing co

Re: Ann: New Python curses book

2021-03-30 Thread William Ray Wing via Python-list
I’ve ordered the book (physical volume). It will fulfill a need I’ve had for some time. Unfortunately, it is only available in the UK store, so the shipping cost by far outweighs the book’s cost. Hope for other’s sake, it migrates to the other Amazon stores fairly quickly. Thanks, Bill > On

Re: How do you debug in Python? Coming from a Matlab and R user. I'm already aware of pdb.

2021-01-26 Thread William Ray Wing via Python-list
> On Jan 26, 2021, at 2:00 PM, C W wrote: > > Hello everyone, > > I'm a long time Matlab and R user working on data science. How do you > troubleshooting/debugging in Python? > Another approach is to run the code in an IDE. I happen to use Wing, but that is a coincidence. But almost ANY

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: questions re: calendar module

2020-08-01 Thread William Ray Wing via Python-list
> On Aug 1, 2020, at 10:35 AM, o1bigtenor wrote: > > On Sat, Aug 1, 2020 at 9:29 AM o1bigtenor wrote: >> >>> On Sat, Aug 1, 2020 at 6:58 AM Peter Otten <__pete...@web.de> wrote: >>> >>> o1bigtenor wrote: >>> >>> import calendar >>> print (calendar.calendar(2024,1,1,2,8)) >>>

[issue26903] ProcessPoolExecutor(max_workers=64) crashes on Windows

2020-04-13 Thread Ray Donnelly
Ray Donnelly added the comment: I took the liberty of filing this: https://bugs.python.org/issue40263 Cheers. -- nosy: +Ray Donnelly ___ Python tracker <https://bugs.python.org/issue26

[issue40263] ValueError exception on _winapi.WaitForMultipleObjects

2020-04-13 Thread Ray Donnelly
Ray Donnelly added the comment: https://github.com/python/cpython/pull/19501 -- ___ Python tracker <https://bugs.python.org/issue40263> ___ ___ Python-bug

[issue40263] ValueError exception on _winapi.WaitForMultipleObjects

2020-04-13 Thread Ray Donnelly
Change by Ray Donnelly : -- nosy: +Ray.Donnelly nosy_count: 5.0 -> 6.0 pull_requests: +18852 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19501 ___ Python tracker <https://bugs.python.org/i

[issue40263] Follow on bug from https://bugs.python.org/issue26903 (ValueError exception on _winapi.WaitForMultipleObjects)

2020-04-12 Thread Ray Donnelly
Change by Ray Donnelly : -- keywords: +patch Added file: https://bugs.python.org/file49057/-Fix-off-by-one-error-in-_winapi_WaitForMultipleObjec.patch ___ Python tracker <https://bugs.python.org/issue40

[issue40263] Follow on bug from https://bugs.python.org/issue26903 (ValueError exception on _winapi.WaitForMultipleObjects)

2020-04-12 Thread Ray Donnelly
Change by Ray Donnelly : Removed file: https://bugs.python.org/file49056/-bpo-26903-Limit-ProcessPoolExecutor-to-61-workers-on-Windows.patch.ref ___ Python tracker <https://bugs.python.org/issue40

[issue40263] Follow on bug from https://bugs.python.org/issue26903 (ValueError exception on _winapi.WaitForMultipleObjects)

2020-04-12 Thread Ray Donnelly
Ray Donnelly added the comment: See my proposed patch. I am happy to make a PR on github for this too if people agree it's the right fix. -- Added file: https://bugs.python.org/file49056/-bpo-26903-Limit-ProcessPoolExecutor-to-61-workers-on-Windows.patch.ref

[issue40263] Follow on bug from https://bugs.python.org/issue26903 (ValueError exception on _winapi.WaitForMultipleObjects)

2020-04-12 Thread Ray Donnelly
New submission from Ray Donnelly : See attached reproducer -- components: Interpreter Core, Windows files: ppe.py messages: 366258 nosy: Ray Donnelly, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: Follow on bug from https

Re: [Tutor] Questions

2019-04-08 Thread William Ray Wing via Python-list
-Q filings of individual > companies by putting in a ticker (preferably in excel, but an be done > elsewhere). Trying to figure out how to even start setting this up. > > Thank you! > > On Sun, Apr 7, 2019 at 8:57 PM William Ray Wing <mailto:w...@mac.com>> wrote: >

Re: Levenberg-Marquardt non-linear least-squares fitting in Python [follow-on]

2019-03-28 Thread William Ray Wing via Python-list
Below I’ve included the code I ran, reasonably (I think) commented. Note the reference to the example. The data actually came from a pandas data frame that was in turn filled from a 100 MB data file that included lots of other data not needed for this, which was a curve fit to a calibration

Re: Levenberg-Marquardt non-linear least-squares fitting in Python

2019-03-28 Thread William Ray Wing via Python-list
> On Mar 28, 2019, at 7:54 AM, Madhavan Bomidi wrote: > > Hi, > > I have x and y variables data arrays. These two variables are assumed to be > related as y = A * exp(x/B). Now, I wanted to use Levenberg-Marquardt > non-linear least-squares fitting to find A and B for the best fit of the >

[issue36354] Use CreateProcessW for Python 2.7 on Windows.

2019-03-18 Thread Ray Donnelly
Ray Donnelly added the comment: .. and alternative to my ACP idea would be to use `GetACP()` or `getfilesystemencoding()` .. or? Suggestions welcome! -- ___ Python tracker <https://bugs.python.org/issue36

[issue36354] Use CreateProcessW for Python 2.7 on Windows.

2019-03-18 Thread Ray Donnelly
New submission from Ray Donnelly : Hi all, I'd like to entertain some discussion around the idea of calling CreateProcessW instead of CreateProcess on Windows. I've written a patch as a proof of concept and I would love to get some feedback. I guess I've broken the normal ACP

Re: the python name

2019-01-04 Thread William Ray Wing via Python-list
> On Jan 4, 2019, at 11:34 AM, Avi Gross wrote: > > [BYTE] > As I joked in an earlier message, I remember using a version of FORTRAN > called WATFOR. Yes, there was a WATFIV. > > Yah - WATFOR was Waterloo FORTRAN, an interpreted FORTRAN that was used a lot in intro classes. No matter

Re: the python name

2019-01-04 Thread William Ray Wing via Python-list
On 3/01/19 2:03 PM, Avi Gross wrote: > Challenge: Can we name any computer language whose name really would suggest > it was a computer language? > I think the name is the least important aspect of a computer language. I’d like to propose that classic FORTRAN (FORmulaTRANslator) came/comes

[issue35644] venv doesn't work on Windows when no venvlauncher executable present

2019-01-03 Thread Ray Donnelly
Ray Donnelly added the comment: Thanks Steve, the sys.path value from the first comment can be discarded, it was running the wrong Python! The 'old' mechanism (which my patch reverts to) does copy all the necessary DLLs already. I released builds with this patch now and venv works fine

[issue35644] venv doesn't work on Windows when no venvlauncher executable present

2019-01-02 Thread Ray Donnelly
Change by Ray Donnelly : -- title: venv doesn't do what it claims to do (apears not to work at all?) -> venv doesn't work on Windows when no venvlauncher executable present ___ Python tracker <https://bugs.python.org/issu

[issue35644] venv doesn't do what it claims to do (apears not to work at all?)

2019-01-02 Thread Ray Donnelly
Ray Donnelly added the comment: The commit that my patch modifies is: https://github.com/python/cpython/commit/1c3de541e64f75046b20cdd27bada1557e550bcd Cheers. -- ___ Python tracker <https://bugs.python.org/issue35

[issue35644] venv doesn't do what it claims to do (apears not to work at all?)

2019-01-02 Thread Ray Donnelly
Ray Donnelly added the comment: Bit of an update to this, I'm re-opening it as there appears to be a regression from Python 3.7.1 to 3.7.2 for the case when there is no venvlauncher.exe present (i.e. when there are no python{w,}.exes in Lib\venv\scripts\nt). The old code of copying

[issue35644] venv doesn't do what it claims to do (apears not to work at all?)

2019-01-02 Thread Ray Donnelly
Ray Donnelly added the comment: I found the executable is in the `Scripts` directory, closing. The real issue I'm facing is on Anaconda Distribution's build of Python 3 which I'm updating to 3.7.2. Closing, Cheers! -- stage: -> resolved status: open ->

[issue35644] venv doesn't do what it claims to do (apears not to work at all?)

2019-01-02 Thread Ray Donnelly
New submission from Ray Donnelly : Happy New Year! I'm not sure if this is a misunderstanding on my part, a docs bug or a code bug. At https://docs.python.org/3/library/venv.html we see: "The solution for this problem is to create a virtual environment, a self-contained directory

Re: [Python-Dev] [RELEASE] Python 3.7.1rc2 and 3.6.7rc2 now available for testing

2018-10-14 Thread Ray Donnelly
, so perhaps this should be added in the configure stuff when we detect macOS? Best regards, Ray Donnelly, Anaconda Inc, On Sat, Oct 13, 2018 at 10:51 PM Ned Deily wrote: > > Python 3.7.1rc2 and 3.6.7rc2 are now available. 3.7.1rc2 is a release > preview of the first maintenance release

Re: Creating Win .exe file from *.py on Linux

2018-10-02 Thread William Ray Wing via Python-list
> On Oct 2, 2018, at 3:03 PM, John Doe wrote: > > Hello World > > Is it possible to create on Linux win .exe file from *.py file? > -- > https://mail.python.org/mailman/listinfo/python-list As was pointed out here a day or so ago, the answer is yes, but it is a two step process. First

Re: How to change '\\' to '\'

2018-10-01 Thread William Ray Wing via Python-list
> On Oct 1, 2018, at 10:17 PM, Jach Fong wrote: > > Thanks for your info about how Windows supports the forward slash. > > I don't quit sure what is the meaning of "top posting" in your mail. > If its meaning (forgive me if I was wrong) is where the reply was put > in mail, I have reason of

Re: Matplotlib 3D limitations, please recommend alternative

2018-07-04 Thread William Ray Wing via Python-list
> On Jul 4, 2018, at 5:53 PM, John Ladasky wrote: > > I'm a regular Matplotlib user. Normally, I graph functions. I just > attempted to graph an icosahedral surface using the plot_trisurf() methods of > Matplotlib's Axes3D. I have discovered that Matplotlib is basically > hard-wired for

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

[issue33232] Segmentation fault in operator.attrgetter

2018-04-05 Thread Ray Donnelly
Change by Ray Donnelly <rdonne...@anaconda.com>: -- nosy: +Ray Donnelly ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33232> ___

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

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

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,

[issue32457] Windows Python cannot handle an early PATH entry containing ".." and python.exe

2017-12-30 Thread Ray Donnelly
Ray Donnelly <rdonne...@anaconda.com> added the comment: .. though I will also ask the scons people to change this to use pushd and %CD% instead. Even if you were to make Python capable of handling such bad input, who knows what other programs will fail, and build systems should be

[issue32457] Windows Python cannot handle an early PATH entry containing ".." and python.exe

2017-12-30 Thread Ray Donnelly
New submission from Ray Donnelly <rdonne...@anaconda.com>: Over on the Anaconda Distribution we received a (private) bug report about a crash when trying to use scons. I thought initially it was due to one of our patches but I tested it out with official CPython and also with Win

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

Re: Recommended pypi caching proxy?

2017-12-18 Thread Ray Cote
On Mon, Dec 18, 2017 at 1:00 PM, Matt Wheeler <m...@funkyhat.org> wrote: > On Mon, 18 Dec 2017, 15:45 Ray Cote, <rgac...@appropriatesolutions.com> > wrote: > >> Looking to deploy a locally cached pypi proxy service. >> >> Is there a recommended/pre

Recommended pypi caching proxy?

2017-12-18 Thread Ray Cote
from the crowd? —Ray -- Raymond Cote, President Tokenize What Matters® voice: +1.603.924.6079 email: rgac...@appropriatesolutions.com skype: ray.cote Schedule a meeting: https://calendly.com/ray_cote/60min/ -- https://mail.python.org/mailman/listinfo/python-list

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

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

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

Re: API Help

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

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","

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

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,

Re: New to python and programming

2017-05-17 Thread Ray Cote
s. Am i allowed to ask any questions that I may have when i 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 questi

Re: closing image automatically in for loop , python

2017-04-12 Thread William Ray Wing
> On Apr 12, 2017, at 7:18 AM, Masoud Afshari wrote: > > Dear all > > I have several *.sfd files which created by a simulation code. I wrote a > program containing a for Loop which reads each time one .sfd file and plot > the requested Parameters. I have two request:

Re: Python and the need for speed

2017-04-10 Thread William Ray Wing
> On Apr 10, 2017, at 8:25 AM, Mikhail V wrote: > > On 10 April 2017 at 02:21, Gregory Ewing wrote: >> >> >> >> My take on the idea of making Python less dynamic in order >> to improve speed is that you'll end up with a language that,

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 <python@example.invalid> 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 201

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: Who are the "spacists"?

2017-03-17 Thread William Ray Wing
> On Mar 17, 2017, at 8:52 PM, Mikhail V wrote: > > So Python supports both spaces and tabs for indentation. > > I just wonder, why not forbid spaces in the beginning of lines? > How would one come to the idea to use spaces for indentation at all? > That convention

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

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 >

Re: Need reviews for my book on introductory python

2017-01-27 Thread Ray Cote
On Fri, Jan 27, 2017 at 4:18 PM, mm0fmf wrote: > On 27/01/2017 20:17, bob gailer wrote: > >> On 1/25/2017 9:25 PM, Sandeep Nagar wrote: >> >>> Hi, >>> >>> A few month ago I wrote a book on introductory python based on my >>> experinces while teaching python to Bachelor students

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 <maill...@schwertberger.de> 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 re

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 >>

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 <maill...@schwertberger.de> > 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

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

[issue28938] match_hostname treats SAN IP address as DNS name and fails to check CN then

2016-12-11 Thread Ray Satiro
Changes by Ray Satiro <raysat...@yahoo.com>: -- nosy: +raysatiro ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28938> ___ __

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

Live analog plotting - python

2016-06-24 Thread Prabhakar Ray
Hi Guys, I'm reading a continuous analog value using python and plotting it using drawnow(). Since the plot is moving it's getting difficult to note down the coordinates of any specific point. I intend to implement a moving data cursor which can follow the graph and can give me real time

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

[issue27017] Python3.5.1: type().startswith()

2016-05-14 Thread Ray
New submission from Ray: This doesn't look like proper functionality Python 3.5.1 (v3.5.1:37a07cee5969, Dec 6 2015, 01:54:25) [MSC v.1900 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >&

Re: pylint woes

2016-05-07 Thread Ray Cote
e. Example: def function_name( parm_1, long_parm_name, …. end_of_long_list_of params) parm_1 = long_parm_name —Ray -- Raymond Cote, President voice: +1.603.924.6079 email: rgac...@appropriatesolutions.com skype: ray.cote -- https://mail.python.org/mailman/listinfo/python-list

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

Re: Adding run_in_executor task to already existing loop.

2016-03-25 Thread Ray Cote
the directive I needed. This is now working perfectly. Thanks —Ray -- Raymond Cote, President voice: +1.603.924.6079 email: rgac...@appropriatesolutions.com skype: ray.cote -- https://mail.python.org/mailman/listinfo/python-list

Adding run_in_executor task to already existing loop.

2016-03-25 Thread Ray Cote
loop.run_until_complete(asyncio.gather(*[block, ]) The above code says “loop already running.” because we’re already in an async ask that has been awaited. What is the proper method of adding in this new synchronous task? Regards —Ray -- Raymond Cote, President voice: +1.603.924.6079 email: rgac

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

Re: Looking for examples of using aiopg with aiohttp and non-async startup.

2016-02-26 Thread Ray Cote
it connection.cursor() —r On Thu, Feb 25, 2016 at 5:23 PM, Ray Cote <rgac...@appropriatesolutions.com> wrote: > Hello: > > I have an aiohttp project that starts in the usual way: > > app = web.Application() > app.router.add_route(‘POST”, ‘/‘, handler) > web

Looking for examples of using aiopg with aiohttp and non-async startup.

2016-02-25 Thread Ray Cote
into an aiohttp web application? Regards —Ray -- Raymond Cote, President voice: +1.603.924.6079 email: rgac...@appropriatesolutions.com skype: ray.cote -- https://mail.python.org/mailman/listinfo/python-list

Re: tcp networking question (CLOSE_WAIT)

2016-02-25 Thread Ray
On Thursday, February 25, 2016 at 1:56:21 PM UTC-5, Martin A. Brown wrote: > Hello again Ray, > > >> >I'm new to python networking. I am waiting TCP server/client app by > >> >using python built-in SocketServer. My problem is if client get > >> >killed,

Re: tcp networking question (CLOSE_WAIT)

2016-02-25 Thread Ray
On Thursday, February 25, 2016 at 12:56:10 PM UTC-5, Ray wrote: > hi, > > I'm new to python networking. I am waiting TCP server/client app by using > python built-in SocketServer. My problem is if client get killed, then the > tcp port will never get released, in CLOSE_WAIT >

Re: tcp networking question (CLOSE_WAIT)

2016-02-25 Thread Ray
On Thursday, February 25, 2016 at 1:18:05 PM UTC-5, Martin A. Brown wrote: > >I'm new to python networking. I am waiting TCP server/client app by > >using python built-in SocketServer. My problem is if client get > >killed, then the tcp port will never get released, in CLOSE_WAIT > > I did not

tcp networking question (CLOSE_WAIT)

2016-02-25 Thread Ray
hi, I'm new to python networking. I am waiting TCP server/client app by using python built-in SocketServer. My problem is if client get killed, then the tcp port will never get released, in CLOSE_WAIT maybe I didn't do the handler right? or anyway I can catch the client get killed? I wrote

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,

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

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

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

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

2016-02-17 Thread Ray Cote
st versions of pyInstaller (http://www.pyinstaller.org) are incredibly good at generating single-file binaries for both Windows and Linux. We’re using pyInstaller to distribute applications based on some fairly complex frameworks—including wxPython (http://www.wxpython.org) which is one option for

Re: Daemon strategy

2016-02-05 Thread Ray Cote
rvices - setting service dependences (don’t start until another service is up and running) - set processor dependencies —Ray On Fri, Feb 5, 2016 at 1:39 PM, <paul.hermeneu...@gmail.com> wrote: > It appears that python-deamon would be exactly what I need. Alas, > appears not to ru

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 >>

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

Re: Stop writing Python 4 incompatible code

2016-01-15 Thread William Ray Wing
> On Jan 15, 2016, at 1:09 PM, Bernardo Sulzbach <mafagafogiga...@gmail.com> > wrote: > > On Fri, Jan 15, 2016 at 3:02 PM, William Ray Wing <w...@mac.com> wrote: >> >> What Micro$oft was actually sued for was worse. They would approach a small >> com

I can not install matplotlib, numpy, scipy, and pandas.

2016-01-06 Thread Omar Ray via Python-list
ro grams\\python\\python35-32\\lib', 'C:\\', 'c:\\users\\---\\appdata\\local\\progr ams\\python\\python35-32\\libs'] NOT AVAILABLE How do I download matplotlib and the other packages mentioned in the subject line? -Omar Ray -- https://mail.python.org/mailman/listinfo/python-list

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

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

Re: Writing a Financial Services App in Python

2015-11-19 Thread William Ray Wing
> On Nov 19, 2015, at 6:59 AM, Cai Gengyang wrote: > > > From YCombinator's new RFS, This is the problem I want to solve as it is a > severe problem I face myself and something I need. I want to write this app > in Python as I heard that Python is a great language that

Re: What does “grep” stand for?

2015-11-06 Thread William Ray Wing
> On Nov 5, 2015, at 10:36 PM, Larry Hudson via Python-list > wrote: > > On 11/05/2015 05:18 PM, Dennis Lee Bieber wrote: >> On Thu, 5 Nov 2015 20:19:39 + (UTC), Grant Edwards >> declaimed the following: >> >>> Though I used a line-editor

Re: Detection of a specific sound

2015-11-03 Thread William Ray Wing
> On Oct 25, 2015, at 8:17 PM, Montana Burr wrote: > > I'm looking for a library that will allow Python to listen for the shriek of > a smoke alarm. Once it detects this shriek, it is to notify someone. Ideally, > specificity can be adjusted for the user's environment.

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

Re: A little test for you Guys

2015-09-22 Thread Ray Cote
On Tue, Sep 22, 2015 at 7:32 PM, Mark Lawrence wrote: > >> 2 Lists >> > > Tut, tut, tut. That is not a list, that is a tutple. -- https://mail.python.org/mailman/listinfo/python-list

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,

Re: Need assistance

2015-07-18 Thread William Ray Wing
On Jul 18, 2015, at 1:34 PM, Mark Lawrence breamore...@yahoo.co.uk 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

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 cfkar...@gmail.com wrote: On May 28, 2015, at 11:47 PM, Laura Creighton l...@openend.se 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

Re: Accessing DataSocket Server with Python

2015-05-29 Thread William Ray Wing
On May 28, 2015, at 6:17 PM, Dan Stromberg drsali...@gmail.com 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

Re: New to Python - block grouping (spaces)

2015-04-16 Thread William Ray Wing
On Apr 16, 2015, at 2:11 AM, Paul Rubin no.email@nospam.invalid wrote: Steven D'Aprano steve+comp.lang.pyt...@pearwood.info 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.

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 cybervigila...@gmail.com 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. --

Re: python 2 to python 3

2015-02-25 Thread William Ray Wing
On Feb 24, 2015, at 9:55 PM, Audrey McFarlane bryceod...@icloud.com 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

  1   2   3   4   5   >