Re: Survey: improving the Python std lib docs

2017-05-18 Thread justin walters
On Thu, May 18, 2017 at 12:09 AM, Deborah Swanson wrote: > Michael Torrie wrote, on Wednesday, May 17, 2017 3:11 PM > > > > On 05/17/2017 02:31 PM, Ned Batchelder wrote: > > > Can you give an example of such a method? Often, that signature is > > > used because there is no pre-conception of what

Re: Survey: improving the Python std lib docs

2017-05-18 Thread justin walters
On Thu, May 18, 2017 at 8:08 AM, justin walters wrote: > > > On Thu, May 18, 2017 at 12:09 AM, Deborah Swanson < > pyt...@deborahswanson.net> wrote: > >> Michael Torrie wrote, on Wednesday, May 17, 2017 3:11 PM >> > >> > On 05/17/2017 02:31 PM,

Re: /g/? (was: What if range did not exist?)

2017-05-18 Thread justin walters
On Thu, May 18, 2017 at 11:18 AM, Skip Montanaro wrote: > > I visit /g/ quite often ... > > Is this a channel on Reddit or something else? > > Thx, > > Skip Montanaro > It's the technology board on 4chan. It's pretty useless. Mostly just for messing around. -- https://mail.python.org/mailman/li

Re: /g/? (was: What if range did not exist?)

2017-05-18 Thread justin walters
On Thu, May 18, 2017 at 12:48 PM, Skip Montanaro wrote: > > It's the technology board on 4chan. It's pretty useless. Mostly just for > > messing around. > > Thanks. I tried to visit 4chan, but company access policy forbade > it... Something about porn. > > Skip > The place is a cesspool. I don't

Re: type hinting backward compatibility with python 3.0 to 3.4

2017-05-21 Thread justin walters
On Sun, May 21, 2017 at 2:38 AM, Chris Angelico wrote: > On Sun, May 21, 2017 at 7:29 PM, bartc wrote: > > > > They might be /created/ at runtime, but it's a pretty good bet that the > name > > A in this declaration: > > > > class A... > > > > is the name of a class. The question in Python, as

Re: Scala considering significant indentation like Python

2017-05-23 Thread justin walters
On Tue, May 23, 2017 at 7:10 AM, Grant Edwards wrote: > On 2017-05-23, Michael Torrie wrote: > > On 05/22/2017 02:57 PM, Ethan Furman wrote: > >>> Kind of reminds me of LISP. Lots of closing parenths, and often then > >>> just all get stuck together on a long. But I guess that's why they > >>>

Re: Bug or intended behavior?

2017-06-02 Thread justin walters
On Fri, Jun 2, 2017 at 10:17 AM, wrote: > Can someone please explain this to me? Thanks in advance! > > ~Sean > > > Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 12:39:47) > [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin > Type "help", "copyright", "credits" or "license" for more info

Re: Transitioning from Linux to Windows

2017-06-03 Thread justin walters
On Jun 3, 2017 7:28 AM, wrote: On Saturday, June 3, 2017 at 8:50:27 AM UTC-5, Chris Angelico wrote: > Hmm. ISTM the easiest way would be to run an explicit server, probably > HTTP (hence Django as you mentioned), and then you can have people > access it using a client on Windows. With HTTP, that

Re: python certification

2017-06-08 Thread justin walters
On Thu, Jun 8, 2017 at 4:49 AM, Gonzalo V wrote: > hi, > good day. > where can i get a python certification? > > thanks! > -- > https://mail.python.org/mailman/listinfo/python-list > I don't believe there is any official certification. Nor do I believe that a Python certification would be someth

Re: API Help

2017-06-14 Thread justin walters
On Wed, Jun 14, 2017 at 3:49 PM, Grant Edwards wrote: > On 2017-06-14, Erik wrote: > > On 14/06/17 22:54, Ray Cote wrote: > >> Definitely JSON: > > > >> json.loads(“""[{"itemNumber":"75-5044","inventory":[{" > warehouseCode":"UT-1-US","quantityAvailable":0.0},{" > warehouseCode":

Re: API Help

2017-06-14 Thread justin walters
On Wed, Jun 14, 2017 at 4:06 PM, justin walters wrote: > > > On Wed, Jun 14, 2017 at 3:49 PM, Grant Edwards > wrote: > >> On 2017-06-14, Erik wrote: >> > On 14/06/17 22:54, Ray Cote wrote: >> >> Definitely JSON: >> >>>>> >

Re: API Help

2017-06-14 Thread justin walters
On Wed, Jun 14, 2017 at 4:40 PM, Grant Edwards wrote: > On 2017-06-14, justin walters wrote: > > > I should also specify that the data you have received is malformed. > > > > JSON should always have an object as the top level structure, not an > > array as i

Re: API Help

2017-06-14 Thread justin walters
On Wed, Jun 14, 2017 at 6:00 PM, Ned Batchelder wrote: > On Wednesday, June 14, 2017 at 7:06:39 PM UTC-4, justin walters wrote: > > JSON and Python dictionaries have nearly the exact same syntax. That's > why > > working with > > JSON in Python is such a joy! :) &g

Re: [OT] is JSON all that great? - was Re: API Help

2017-06-14 Thread justin walters
On Wed, Jun 14, 2017 at 7:33 PM, Michael Torrie wrote: > On 06/14/2017 05:06 PM, justin walters wrote: > > JSON in Python is such a joy! :) > > I understand that in this case the data is coming from a server in a > form intended for easy use with Javascript. But other

RE: Error

2017-06-28 Thread justin walters
On Jun 28, 2017 1:47 PM, "Ken R. Lewis" wrote: Hello! I am running a script, and it comes up with an error. What can I do to make the error be corrected? I am thinking it is something with the data, possibly. I have only had Python for a few days, so maybe I copied some codes wrong. Also,

Re: how to make this situation return this result?

2017-07-01 Thread justin walters
On Sat, Jul 1, 2017 at 5:45 AM, Ho Yeung Lee wrote: > just want to compare tuples like index (0,1), (0,2), (1,2) without > duplicate > such as (2,0), (1,0) etc > > I'm going to assume that the order of values in the tuple is important to you. If so, you can simply use the `==` operator to com

Re: Funding continuous maintenance for PyInstaller?

2017-07-18 Thread justin walters
On Tue, Jul 18, 2017 at 3:01 AM, Hartmut Goebel < h.goe...@crazy-compilers.com> wrote: > Hi, > > I'm seeking advice how to fund continuous maintenance for an open source > project. > > *Do you have any idea how to fund continuous maintenance for PyInstaller? > Do you have any idea whom or where to

Re: How do you do deep input data validation?

2017-07-22 Thread justin walters
On Sat, Jul 22, 2017 at 2:01 AM, Amirouche Boubekki < amirouche.boube...@gmail.com> wrote: > It seems that aiohttp recommends using one of trafaret, colander or > jsonschema > >. > I am not very familiar with those librari

Re: Planning a Python Course for Beginners

2017-08-08 Thread justin walters
On Tue, Aug 8, 2017 at 7:19 AM, Stefan Ram wrote: > I am planning a Python course. > > I started by writing the course akin to courses I gave > in other languages, that means, the course starts roughly > with these topics: > > - number and string literals > - types of number and string li

Re: Proposed new syntax

2017-08-10 Thread justin walters
On Thu, Aug 10, 2017 at 7:28 AM, Steve D'Aprano wrote: > Every few years, the following syntax comes up for discussion, with some > people > saying it isn't obvious what it would do, and others disagreeing and saying > that it is obvious. So I thought I'd do an informal survey. > > What would you

asyncio: Gather over growing list of tasks

2021-01-27 Thread Justin Paston-Cooper
Hello, Let's say I have a loop where at each iteration, a task which makes an HTTP request to some endpoint is generated, and then the loop sleeps for n seconds. These tasks may throw exceptions. I can call asyncio.gather on these tasks once the loop has finished, but I actually want to stop the

distutils crashing: $MACOSX_DEPLOYMENT_TARGET mismatch

2008-03-26 Thread Justin S Bayer
I am running Mac OS X 10.5 on an Intel processor. I have distutils verison 2.5.1 running on a Python 2.5.2 installed via fink. Any help would be greatly appreciated! Regards, -Justin -- http://mail.python.org/mailman/listinfo/python-list

Help with this program???

2015-11-27 Thread justin bloomer via Python-list
Your program should contain a function that: 1. Seeks input from the user (via the keyboard); 2. To build a list of student exam results; 3. For each student their name (first and last), student number, and mark out of 100 should be captured; 4. For full marks regular expressions or similar mechani

<    1   2   3   4