Re: python package management confusion

2019-01-18 Thread dieter
dcs3spp via Python-list writes: > On Friday, 18 January 2019 07:39:00 UTC, dieter wrote: > ... > My situation is similar to the following > > Assume the following two privately developed projects that I have written, > each with their own setup.py: > 1. parent exists in folder $HOME/project/

Re: the python name

2019-01-18 Thread Gregory Ewing
DL Neil wrote: (not that New Zealanders need to know much about snakes!) Probably recommended when we visit Australia, though. Also we seem to have imported some of their spiders in recent years, so it's only a matter of time before their snakes follow. I wonder if we could get Australia to p

Re: sampling from frequency distribution / histogram without replacement

2019-01-18 Thread duncan smith
On 14/01/2019 20:11, duncan smith wrote: > Hello, > Just checking to see if anyone has attacked this problem before > for cases where the population size is unfeasibly large. i.e. The number > of categories is manageable, but the sum of the frequencies, N, > precludes simple solutions such as

Re: TKinter Newbie question

2019-01-18 Thread TUA
Thanks for your fresh pair of eyes! -- https://mail.python.org/mailman/listinfo/python-list

Python Packages Survey

2019-01-18 Thread Cameron Davidson-Pilon
Hello! I invite you to participate in the Python Packages Survey - it takes less than a minute to complete, and will help open source developers understand their users' better. Thanks for participating! https://python-packages-survey.com/ -- Cameron Davidson-Pilon Data Origami

Re: Pythonic Y2K

2019-01-18 Thread Rich Shepard
On Fri, 18 Jan 2019, Gene Heskett wrote: I had one client, a hedge fund, that I fixed literally 1000's of Y2K issues for. When Y2K came and there were no problems, the owner said to me "You made such a big deal about the Y2K thing, and nothing happened." -- I would quite cheerfully have bough

Re: Pythonic Y2K

2019-01-18 Thread Gene Heskett
On Friday 18 January 2019 16:55:28 Avi Gross wrote: > Larry, > > I keep hearing similar things about the Flu Vaccine. It only works 40% > of the time or whatever. But most of the people that get the flu get a > different strain they were not vaccinated against! > > There are hundreds of strains ou

Re: Pythonic Y2K

2019-01-18 Thread Larry Martell
On Fri, Jan 18, 2019 at 4:56 PM Avi Gross wrote: > > Larry, > > I keep hearing similar things about the Flu Vaccine. It only works 40% of > the time or whatever. But most of the people that get the flu get a > different strain they were not vaccinated against! That seems like a complete non-sequi

RE: Pythonic Y2K

2019-01-18 Thread Avi Gross
Larry, I keep hearing similar things about the Flu Vaccine. It only works 40% of the time or whatever. But most of the people that get the flu get a different strain they were not vaccinated against! There are hundreds of strains out there and by protecting the herd against just a few, others wil

RE: Pythonic Y2K

2019-01-18 Thread Avi Gross
Michael, I certainly agree with you on most of what you said. My internal humor makes me see patterns that are not at all applicable. Such as the common "2" in python 2.X and Y2K which influence my choice of phrases. And, perhaps even more oddly, I see Y and K in both Y2K and the slightly odd spel

Re: Pythonic Y2K

2019-01-18 Thread mm0fmf
On 17/01/2019 02:34, Avi Gross wrote: but all it took was to set the clock forward on a test system and look for anomalies. You're new to programming or you're not very old and certainly haven't run much pre-Y2k software. ;-) Issues that needed solving: 2 digits only for the date use

Re: Pythonic Y2K

2019-01-18 Thread Grant Edwards
On 2019-01-18, Dennis Lee Bieber wrote: > Hey... I'm still waiting for a novelization of the TRS-DOS date "bug". > TRS-DOS directory structure only allocated 3-bits for the year. Three bits for the year? they didn't expect those computers to last long, eh? [My current Thinkpad is over 10

RE: Pythonic Y2K

2019-01-18 Thread David Raymond
Reminds me of a similar problem that didn't get noticed until it did actually hit: In 2007 the first time a group of F-22's crossed the international date line every computer system in the aircraft crashed, losing comms, navigation, avionics, and a host of other systems. Fortunately their engine

mocking for get method in requests

2019-01-18 Thread Shakti Kumar
Hello people, I noticed something weird (weird as per my current knowledge, though I know its subjective) today. sample.py file -- import requests def random_testing(): out = requests.get('www.cisco.com') a = out.json() return a testing.py file -- @patch(*’*sample.requests') def

Re: Pythonic Y2K

2019-01-18 Thread Larry Martell
On Fri, Jan 18, 2019 at 10:43 AM Michael Torrie wrote: > > On 01/16/2019 12:02 PM, Avi Gross wrote: > > I recall the days before the year 2000 with the Y2K scare when people > > worried that legacy software might stop working or do horrible things once > > the clock turned. It may even have been s

Re: Pythonic Y2K

2019-01-18 Thread Michael Torrie
On 01/16/2019 12:02 PM, Avi Gross wrote: > I recall the days before the year 2000 with the Y2K scare when people > worried that legacy software might stop working or do horrible things once > the clock turned. It may even have been scary enough for some companies to > rewrite key applications and e

Re: python package management confusion

2019-01-18 Thread dcs3spp via Python-list
On Friday, 18 January 2019 07:39:00 UTC, dieter wrote: > dcs3spp via Python-list writes: > > ... > > How do I configure setuptools to pull my own private dependency package > > using virtualenv + python setup.py develop > > > You call "python setup.py develop" for your own package > (which the

RE: Pythonic Y2K

2019-01-18 Thread David Raymond
Which brings up the assumption that this whole A.D. thing is gonna stick around for more than a few millennia and isn't just a fad. Sloppy to just use positive for A.D. and negative for B.C. without a discrete unit for Age. What happens when Sauron is defeated and the Third Age is declared? Or i