From mdurthaler at sbcglobal.net Mon Nov 2 08:04:17 2020 From: mdurthaler at sbcglobal.net (Michael Durthaler) Date: Mon, 2 Nov 2020 08:04:17 -0500 Subject: [CentralOH] Debugging Help References: <008801d6b118$acebbbf0$06c333d0$.ref@sbcglobal.net> Message-ID: <008801d6b118$acebbbf0$06c333d0$@sbcglobal.net> Hello, I?m new to Python and am using Visual Studio 2019 Python Projects. Their Python Projects don?t respect ? , * , ? in the signature of a method where all args after , * , are named or keyword args. And the course code I?m following does use this syntax. I?ve done my best to work around this by not using , *, but have such a complex piece of code that it now breaks and I can?t find why. Should be a very fast view by a more seasoned Pythonista. Would love some help, who wants some Chic Fil A or IHOP? ? Or meet online with Team Viewer? Thanks, Michael Durthaler 8128 Trailhawk Dr. Blacklick, OH 43004 mdurthaler at sbcglobal.net 740 739 4498 ? Home 740 739 3765 ? Cell A veteran is someone who, at some point in his life wrote a blank check made Payable to ?The United States of America? for an amount ?up to and including my life.? That is Honor, and there are way too many people who no longer understand it. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim.prior at accenture.com Mon Nov 2 08:30:24 2020 From: jim.prior at accenture.com (Prior, Jim) Date: Mon, 2 Nov 2020 13:30:24 +0000 Subject: [CentralOH] [External] Debugging Help In-Reply-To: <008801d6b118$acebbbf0$06c333d0$@sbcglobal.net> References: <008801d6b118$acebbbf0$06c333d0$.ref@sbcglobal.net>, <008801d6b118$acebbbf0$06c333d0$@sbcglobal.net> Message-ID: On 20-11-02, 08:25, Michael Durthaler wrote: > Their Python Projects don?t respect ? , * , ? in the signature of a method where all args after , * , are named or keyword args. And the course code I?m following does use this syntax. > > I?ve done my best to work around this by not using , *, but have such a complex piece of code that it now breaks and I can?t find why. > > Should be a very fast view by a more seasoned Pythonista. Would love some help, who wants some Chic Fil A or IHOP? ? Or meet online with Team Viewer? The weekly Python dojos are a great to explore this kind of stuff if your problem has not been resolved by then. See cohpy.org. ________________________________ This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy. Your privacy is important to us. Accenture uses your personal data only in compliance with data protection laws. For further information on how Accenture processes your personal data, please see our privacy statement at https://www.accenture.com/us-en/privacy-policy. ______________________________________________________________________________________ www.accenture.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From tyrday at gmail.com Mon Nov 2 12:38:06 2020 From: tyrday at gmail.com (Ty Day) Date: Mon, 2 Nov 2020 12:38:06 -0500 Subject: [CentralOH] Debugging Help In-Reply-To: <008801d6b118$acebbbf0$06c333d0$@sbcglobal.net> References: <008801d6b118$acebbbf0$06c333d0$.ref@sbcglobal.net> <008801d6b118$acebbbf0$06c333d0$@sbcglobal.net> Message-ID: I don't know how to find out when things were added to python. But manually looking through https://docs.python.org/3.8/tutorial/controlflow.html#positional-or-keyword-arguments it seems like / and * to demark position only and keyword only arguments were added sometime in 3.7.... So, what version of python are you using? For example: ``` def foo(pos_only, /, standard, *, kwd_only): print(pos_only, standard, kwd_only) ``` That works for me in python 3.7.7 but not in 3.7.1 On Mon, Nov 2, 2020 at 8:26 AM Michael Durthaler wrote: > Hello, > > > > I?m new to Python and am using Visual Studio 2019 Python Projects. > > > > Their Python Projects don?t respect ? , * , ? in the signature of a method > where all args after , * , are named or keyword args. And the course code > I?m following does use this syntax. > > > > I?ve done my best to work around this by not using , *, but have such a > complex piece of code that it now breaks and I can?t find why. > > > > Should be a very fast view by a more seasoned Pythonista. Would love some > help, who wants some Chic Fil A or IHOP? ? Or meet online with Team > Viewer? > > > > Thanks, > > > > Michael Durthaler > > 8128 Trailhawk Dr. > > Blacklick, OH 43004 > > mdurthaler at sbcglobal.net > > 740 739 4498 ? Home > > 740 739 3765 ? Cell > > > > A veteran is someone who, at some point in his life wrote a blank check > made Payable to ?The United States of America? for an amount ?up to and > including my life.? That is Honor, and there are way too many people who > no longer understand it. > > > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tyrday at gmail.com Mon Nov 2 13:15:10 2020 From: tyrday at gmail.com (Ty Day) Date: Mon, 2 Nov 2020 13:15:10 -0500 Subject: [CentralOH] Debugging Help In-Reply-To: References: <008801d6b118$acebbbf0$06c333d0$.ref@sbcglobal.net> <008801d6b118$acebbbf0$06c333d0$@sbcglobal.net> Message-ID: I believe my advice to check the python version is bad. I believe ` , *, ` to show keyword only arguments has been in python since 3.0. https://www.python.org/dev/peps/pep-3102/ On Mon, Nov 2, 2020 at 12:38 PM Ty Day wrote: > I don't know how to find out when things were added to python. But > manually looking through > https://docs.python.org/3.8/tutorial/controlflow.html#positional-or-keyword-arguments > it seems like / and * to demark position only and keyword only arguments > were added sometime in 3.7.... So, what version of python are you using? > > For example: > ``` > def foo(pos_only, /, standard, *, kwd_only): > print(pos_only, standard, kwd_only) > ``` > That works for me in python 3.7.7 but not in 3.7.1 > > On Mon, Nov 2, 2020 at 8:26 AM Michael Durthaler > wrote: > >> Hello, >> >> >> >> I?m new to Python and am using Visual Studio 2019 Python Projects. >> >> >> >> Their Python Projects don?t respect ? , * , ? in the signature of a >> method where all args after , * , are named or keyword args. And the >> course code I?m following does use this syntax. >> >> >> >> I?ve done my best to work around this by not using , *, but have such a >> complex piece of code that it now breaks and I can?t find why. >> >> >> >> Should be a very fast view by a more seasoned Pythonista. Would love >> some help, who wants some Chic Fil A or IHOP? ? Or meet online with >> Team Viewer? >> >> >> >> Thanks, >> >> >> >> Michael Durthaler >> >> 8128 Trailhawk Dr. >> >> Blacklick, OH 43004 >> >> mdurthaler at sbcglobal.net >> >> 740 739 4498 ? Home >> >> 740 739 3765 ? Cell >> >> >> >> A veteran is someone who, at some point in his life wrote a blank check >> made Payable to ?The United States of America? for an amount ?up to and >> including my life.? That is Honor, and there are way too many people who >> no longer understand it. >> >> >> _______________________________________________ >> CentralOH mailing list >> CentralOH at python.org >> https://mail.python.org/mailman/listinfo/centraloh >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim.prior at accenture.com Thu Nov 26 18:01:47 2020 From: jim.prior at accenture.com (Prior, Jim) Date: Thu, 26 Nov 2020 23:01:47 +0000 Subject: [CentralOH] November Meeting Announcement 2020-11-30 Dan Moore Gives Presentation on Poetry. Message-ID: What: November Monthly Meeting: Dan Moore Gives Presentation on Poetry When: Monday, November 30, 2020, 6:00 p.m. to 8:00 p.m. Who: All interested in Python, from complete beginners to experts Where: Online at gather.town: https://gather.town/NRsxe91HZKpkM7hk/COhPy Dan Moore will give a presentation on Poetry[1]. Poetry deals with packages and virtual environments for Python. Dan will talk about why Poetry is a great solution for that. Is it better than pipenv? Ask Dan about that. We will be meeting online at gather.town[2]. Pay attention to the global chat in gather.town for guidelines as the meeting progresses. Gather.town supports multiple simulaneous conversations, so it is good for socializing with side conversations. gather.town accomplishes this by letting you see and hear only those people you are close to. To talk with people, move close enough to see and hear them. To leave a conversation, move far enough away from people that you can not hear or see them. No registration is required to use gather.town. 6:00 p.m.: Socialize, eat, and drink (your own food and beverages). 6:30 p.m.: Announcements followed by presentations 8:00 p.m.: Hard Stop for presentations; resume socializing. cohpy.org RSVP Here: https://www.meetup.com/Central-Ohio-Python-Users-Group/events/274775438/ [1] Poetry https://python-poetry.org/ [2] https://gather.town/NRsxe91HZKpkM7hk/COhPy ________________________________ This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy. Your privacy is important to us. Accenture uses your personal data only in compliance with data protection laws. For further information on how Accenture processes your personal data, please see our privacy statement at https://www.accenture.com/us-en/privacy-policy. ______________________________________________________________________________________ www.accenture.com From taylor.britain at smartdata.net Mon Nov 30 16:36:52 2020 From: taylor.britain at smartdata.net (Taylor Britain) Date: Mon, 30 Nov 2020 16:36:52 -0500 Subject: [CentralOH] Python centered Lunch & Learn Message-ID: Hello, I just wanted to pass on an event that I thought was relevant to the Central Ohio Python user group. This is a purely educational (no business background) Lunch & learn happening on December 9th around connecting your python apps to a SQL server. It would be great if you could post it as an event on your Meet Up page, or if you could pass the information on. Regardless, just wanted the group to have knowledge of it. Hope all is well! *A call to all Python aficionado's out there, have you wanted to learn how to connect your Python application to a Microsoft SQL Server database? Come join Tim Groven of the Smart Data team as we host our next Lunch & Learn on December 9th.* *Tim will introduce you to SQLAlchemy to show how it can be used for simple database access to it?s powerful array of Object-Relational Mapping tools. Out Lunch & Learns are purely educational and are free to all developers or novices out there looking to occupy there lunch hour with a bit of learning. Registration link is below, and we hope to be seeing you soon!* *Taylor Britain* Business Development Lead Set some time for a chat? My Calendar c: 630.809.5333 [image: Smart Data Logo] -------------- next part -------------- An HTML attachment was scrubbed... URL: