From brianhray at gmail.com Thu Mar 2 22:15:29 2017 From: brianhray at gmail.com (Brian Ray) Date: Thu, 2 Mar 2017 22:15:29 -0500 Subject: [Chicago] Static Type checking? Message-ID: Anyone here check out Mypy http://www.mypy-lang.org/ Here is a FAQ http://mypy.readthedocs.io/en/latest/faq.html -- Brian Ray @brianray (773) 669-7717 -------------- next part -------------- An HTML attachment was scrubbed... URL: From adam at adamforsyth.net Thu Mar 2 23:03:42 2017 From: adam at adamforsyth.net (Adam Forsyth) Date: Thu, 2 Mar 2017 22:03:42 -0600 Subject: [Chicago] Static Type checking? In-Reply-To: References: Message-ID: I talk about function annotations, using them for typing, and mypy in particular in the talk I gave at PyOhio last summer . (warning: technical problems with the venue mean my presentation couldn't be fullscreen, the microphone didn't work, and the previous talk ran long so I had to rush). On Thu, Mar 2, 2017 at 9:15 PM, Brian Ray wrote: > Anyone here check out Mypy http://www.mypy-lang.org/ > > Here is a FAQ http://mypy.readthedocs.io/en/latest/faq.html > > -- > Brian Ray > @brianray > (773) 669-7717 > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From foresmac at gmail.com Fri Mar 3 15:38:22 2017 From: foresmac at gmail.com (Chris Foresman) Date: Fri, 3 Mar 2017 14:38:22 -0600 Subject: [Chicago] Mentorship Program Spring Term In-Reply-To: References: Message-ID: <7FEFAD42-A7E5-495B-914B-C49AD387FCE4@gmail.com> Ray, We were about to highlight the Chipy mentorship program on Sprout?s engineering blog. I didn?t realize the deadline was so close; would it possible to extend? Regards, Chris Foresman foresmac at gmail.com > On Feb 12, 2017, at 12:34 AM, Ray Berg wrote: > > Hey Folks! > > We're in our application season for the Spring Term of the Mentorship Program. This week at the ChiPy Meeting we showed off our new application process which makes it SUPER easy to fill in the application, be you Mentee or Mentor! > > https://chipymentor.org/ > > Applications will close on March 5th, so log today to start filling in the application. We're using a Github login to make it easy for you to get started without having to remember yet another password. > > I'm very confident that this term will be an amazing one for the program, but I need your help to do it. If you've never been involved in the program, now is the time to try it! If you've been a Mentee/Mentor before, you know how fun it is...apply to be a Mentor this time around. There's no better way to help us make ChiPy an awesome place for growth, all while honing your own skills as a developer. > > If you have any questions feel free to email me directly or leave a note using the form on the bottom of the Mentorship Page. > > Respectfully, > Ray Berg > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago -------------- next part -------------- An HTML attachment was scrubbed... URL: From raymondwberg at gmail.com Sat Mar 4 13:19:07 2017 From: raymondwberg at gmail.com (Ray Berg) Date: Sat, 4 Mar 2017 11:19:07 -0700 Subject: [Chicago] Mentorship Program Spring Term Message-ID: Hey Chris, We can't move the selection back, but we'll start by getting rid of the distinction between Mentee and Mentor deadlines. As of now, we'll accept Mentee applications through March 12th (along with Mentor applications). We are still a bit behind where we could be for applications, so I'd encourage everyone to apply. I'd like to get a few more Mentors above our total capacity just so we can have more opportunities to match people well. http://chipy.org So, if you haven't submitted an application...go now! One week left before we close applications and start picking people for another incredible round of the ChiPy Mentorship Program. Respectfully, Ray Berg -------------- next part -------------- An HTML attachment was scrubbed... URL: From joe.jasinski at gmail.com Mon Mar 6 09:42:53 2017 From: joe.jasinski at gmail.com (Joe Jasinski) Date: Mon, 6 Mar 2017 08:42:53 -0600 Subject: [Chicago] ChiPy March 2017 Meeting: Beginning Python Theme Message-ID: ChiPy, All, the ChiPy March meetup is upcoming and we have a great meeting planned. This month the talk theme is Beginning Python and we are meeting at Braintree in Merchandise Mart. Whether you are new to Python or are a Python veteran, this meeting has some planned talks that you will surely enjoy. Also, if you are new to ChiPy, look for our Welcome Table, to meet some ChiPy members and get oriented. Hope to see you there! *When:* Thursday March 9th 6:00pm: doors open (food arrives) 6:30pm: Chipy Welcome table 7:00pm: Talks Start *How:*You can rsvp at chipy.org or via our Meetup group. *Where:* 222 W Merchandise Mart Plaza Suite 800 Go to the elevators in the middle of the building between the two security desks, and take them to the 8th floor. If building security asks you where you're going just tell them Braintree. The elevators will let you off right in the Braintree lobby. *What:* *How I Taught My Dog To Text Selfies *By: Greg Baugues Experience Level: Novice This talk is is for Python developers who would like to get started with hardware hacking but have been too intimidated in the past to do so. Also, it's for people who like dogs and/or selfies. Using a Raspberry Pi, Python, Twilio, and a big red button, I taught my dog to text selfies. In this talk, which features 25 minutes of live coding, we'll build the hardware hack from scratch. Developers will walk away knowing how to use Python to interact with Twilio and the Raspberry Pi's GPIO pins. A video of this hack was featured on Mashable and was watched over 2.5M times. *How To Develop and Deploy Faster using Python APIs * By: Paul Ebreo Experience Level: Intermediate Building and deploying applications has never been easier, especially with the proliferation of APIs. In this talk, I will share the 4 concepts that will allow Python developers to quickly learn and use any Python-based API. The target audience for this talk are intermediate newbies who have a couple of projects under their belt. *Quick prototyping with redis-helper * By: Kenneth Wade Experience Level: Novice In this talk, I will demonstrate some uses of https://pypi.python.org/pypi/redis-helper and how you can easily store, index, and modify Python dicts in Redis. Some asciinema demos are available at https://asciinema.org/~kenjyco Thanks always to all our Platinum sponsors, especially: Braintree, Imaginary Landscape, and Telnyx. Please be aware of our code of conduct http://www.chipy.org/pages/conduct/ See you there! -- Joe J. Jasinski www.joejasinski.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From theakson at hotmail.com Mon Mar 6 09:52:07 2017 From: theakson at hotmail.com (t heakson) Date: Mon, 6 Mar 2017 14:52:07 +0000 Subject: [Chicago] a good book Message-ID: http://qoppac.blogspot.com/p/systematic-trading-book.html preview https://books.google.co.uk/books?id=y3dxCgAAQBAJ&printsec=frontcover#v=onepage&q&f=false by this guy http://qoppac.blogspot.com/p/about-me.html He's about to check out the new IB Python API http://interactivebrokers.github.io/tws-api/#gsc.tab=0 From foresmac at gmail.com Mon Mar 6 13:11:01 2017 From: foresmac at gmail.com (Chris Foresman) Date: Mon, 6 Mar 2017 12:11:01 -0600 Subject: [Chicago] Mentorship Program Spring Term In-Reply-To: References: Message-ID: Thanks for the update, Ray. We may try to publish this week, not sure. Both myself and another Sprout Social colleague have put in mentor applications for spring, so we may combine our experience in the spring into the existing post and publish once the mentorship is over but before the next cohort starts. Thanks, Chris Foresman foresmac at gmail.com > On Mar 4, 2017, at 12:19 PM, Ray Berg wrote: > > Hey Chris, > > We can't move the selection back, but we'll start by getting rid of the distinction between Mentee and Mentor deadlines. As of now, we'll accept Mentee applications through March 12th (along with Mentor applications). > > We are still a bit behind where we could be for applications, so I'd encourage everyone to apply. I'd like to get a few more Mentors above our total capacity just so we can have more opportunities to match people well. > > http://chipy.org > > So, if you haven't submitted an application...go now! One week left before we close applications and start picking people for another incredible round of the ChiPy Mentorship Program. > > Respectfully, > Ray Berg > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul at paulmayassociates.com Mon Mar 6 13:28:34 2017 From: paul at paulmayassociates.com (Paul May) Date: Mon, 06 Mar 2017 18:28:34 -0000 Subject: [Chicago] From PMA - Position: CTO Hands On Software Development Message-ID: <363927798836017@paulmayassociates.com> Position Hi Chipy, this role will take a person who's still hands on architecture / development and has cut their teeth working as a CTO. Python is a language they favor but not using currently.? Please contact? Paul May? 312.925.1294 or paul at paulmayassociates.com? ? CTO Hands On Software Development Full-Time Regular Chief "Hands ON" Technology Officer - Software Development Location - Northside Chicago - Near Wrigley Field area Company is not looking to relocate for this role. Company will not sponsor for this role. ? Key points: If applying for this role, please state if you have ( none, some or advanced ) knowledge of the following: Must have led projects, be a mentor / leader, still be hands on development and understand architecture. Ideally coming from a Linux environment?with?web development platforms (Python, Java / Spring) experience. Any LISP exp a huge plus Must / should have experience working within a software development firm and managing software development. Must be able to manage more than just software development with an understanding of Networking, writing SOP's ( Standard Operating Procedures), The position requires a unique combination of startup-like resourcefulness, software engineering expertise, DevOps, and C-Level strategic experience. AngularJS front-end, API, and an message-oriented set of single purpose server side subsystems Technical Thought Leader, a?master of both the hands-on technical domain as well as communication and mentorship.? ? ? Summary:? Company provides enterprise-level scheduling and resource management application serving Higher Education and other markets. Over 200 of the most prestigious colleges and universities in the world rely on our software daily. Looking for a?CTO to help?grow the?software components and IT infrastructure. The ideal candidate will be able to further existing processes and procedures where they have room to grow and to create and inculcate new processes where need be. Assess and work to reduce the amount of technical debt, interleaving with new features. We are well on the way towards implementing a modern architecture featuring an AngularJS front-end, API, and an message-oriented set of single purpose server side subsystems. Furthering the reach of the software and a SaaS model are almost certainly in our future. The position requires a unique combination of startup-like resourcefulness, software engineering expertise, DevOps, and C-Level strategic experience. The ideal candidate will possess the ability to not only manage the technology, but also possess the ability to grow and manage people and processes. Job Requirements People Monitor employee progress and improve productivity. Mentor team Help with recruiting new staff Set and enforce deadlines Process Institute and improve processes and procedures Ensure that documentation exists and is being maintained. Ensure that the network and data-handling policies are sufficient and are being complied with. Improve support and configuration management tools. Work to simplify the product and processes to support the product. Technology Apply a deep understanding of enterprise-class software engineering, system architecture, DevOps, SaaS. Monitor and assess technologies, tools and methodologies relevant to mission and SLAs. Work with stakeholders to create and maintain product roadmap Thanks, Paul President v 708-479-1111 c 312-925-1294 Paul May & Associates, Inc. (PMA) paul at paulmayassociates.com link up http://www.linkedin.com/in/paulmayassociates like us on http://www.facebook.com/paulmayassociates Search over 100 real jobs www.paulmayassociates.com tweet us @paulmayassoc ? https://plus.google.com/+Paulmayassociates ? ? (The following links were included with this email:) mailto:paul at paulmayassociates.com mailto:paul at paulmayassociates.com http://www.linkedin.com/in/paulmayassociates http://www.facebook.com/paulmayassociates http://www.paulmayassociates.com/ https://plus.google.com/+Paulmayassociates -------------- next part -------------- An HTML attachment was scrubbed... URL: From mikaeltamillow96 at gmail.com Mon Mar 6 14:50:39 2017 From: mikaeltamillow96 at gmail.com (Michael Tamillow) Date: Mon, 6 Mar 2017 13:50:39 -0600 Subject: [Chicago] From PMA - Position: CTO Hands On Software Development In-Reply-To: <363927798836017@paulmayassociates.com> References: <363927798836017@paulmayassociates.com> Message-ID: Is this ChiPy approved? On Mon, Mar 6, 2017 at 12:28 PM, Paul May wrote: > Position > > Hi Chipy, this role will take a person who's still hands on architecture / > development and has cut their teeth working as a CTO. Python is a language > they favor but not using currently. > > Please contact > Paul May > 312.925.1294 <(312)%20925-1294> or paul at paulmayassociates.com > > > > CTO Hands On Software Development > > Full-Time Regular > > Chief "Hands ON" Technology Officer - Software Development > > Location - Northside Chicago - Near Wrigley Field area > > Company is not looking to relocate for this role. > > Company will not sponsor for this role. > > > > *Key points: If applying for this role, please state if you have ( none, > some or advanced ) knowledge of the following: * > > > *Must have led projects, be a mentor / leader, still be hands on > development and understand architecture. * > > *Ideally coming from a Linux environment with web development platforms > (Python, Java / Spring) experience. Any LISP exp a huge plus* > > *Must / should have experience working within a software development firm > and managing software development. * > > *Must be able to manage more than just software development with an > understanding of Networking, writing SOP's ( Standard Operating > Procedures), * > > *The position requires a unique combination of startup-like > resourcefulness, software engineering expertise, DevOps, and C-Level > strategic experience. * > > *AngularJS front-end, API, and an message-oriented set of single purpose > server side subsystems* > > *Technical Thought Leader, a master of both the hands-on technical domain > as well as communication and mentorship.* > > > > > > Summary: Company provides enterprise-level scheduling and resource > management application serving Higher Education and other markets. Over 200 > of the most prestigious colleges and universities in the world rely on our > software daily. Looking for a CTO to help grow the software components and > IT infrastructure. > > The ideal candidate will be able to further existing processes and > procedures where they have room to grow and to create and inculcate new > processes where need be. Assess and work to reduce the amount of technical > debt, interleaving with new features. > > We are well on the way towards implementing a modern architecture > featuring an AngularJS front-end, API, and an message-oriented set of > single purpose server side subsystems. Furthering the reach of the software > and a SaaS model are almost certainly in our future. > > The position requires a unique combination of startup-like > resourcefulness, software engineering expertise, DevOps, and C-Level > strategic experience. > > The ideal candidate will possess the ability to not only manage the > technology, but also possess the ability to grow and manage people and > processes. > > Job Requirements > > People > > - > > Monitor employee progress and improve productivity. > - > > Mentor team > - > > Help with recruiting new staff > - > > Set and enforce deadlines > > > Process > > Institute and improve processes and procedures > > Ensure that documentation exists and is being maintained. > > Ensure that the network and data-handling policies are sufficient and are > being complied with. > > Improve support and configuration management tools. > > Work to simplify the product and processes to support the product. > > Technology > > Apply a deep understanding of enterprise-class software engineering, > system architecture, DevOps, SaaS. > > Monitor and assess technologies, tools and methodologies relevant to > mission and SLAs. > > Work with stakeholders to create and maintain product roadmap > > > Thanks, > > *Paul* > > *President* > > *v 708-479-1111 <(708)%20479-1111>* > > *c 312-925-1294 <(312)%20925-1294>* > > *Paul May & Associates, Inc. (PMA)* > > paul at paulmayassociates.com > > link up http://www.linkedin.com/in/paulmayassociates > > like us on http://www.facebook.com/paulmayassociates > > Search over 100 real jobs www.paulmayassociates.com > > tweet us @paulmayassoc > > https://plus.google.com/+Paulmayassociates > > > > > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From davidkunio at gmail.com Thu Mar 9 23:32:23 2017 From: davidkunio at gmail.com (David Matsumura) Date: Fri, 10 Mar 2017 04:32:23 +0000 Subject: [Chicago] FinSIG - Bonus Meeting in the Burbs Message-ID: Hi, If you are around Lisle on the 30th come by to a special 2nd March FinSIG. We will meet @ Benedictine University. Meeting details are here: https://www.meetup.com/_ChiPy_/events/237948852/ The meeting will start with a quick introduction to algorithmic trading and a demo the the Quantopian platform. Then we will start our Strategy of the Month series with a value/momentum scorecard. Hope to see you there. David -------------- next part -------------- An HTML attachment was scrubbed... URL: From d-lewit at neiu.edu Tue Mar 14 00:05:05 2017 From: d-lewit at neiu.edu (Lewit, Douglas) Date: Mon, 13 Mar 2017 23:05:05 -0500 Subject: [Chicago] MIT Python course and pylab installation. Message-ID: Hello to all Pythonistas in the Chicago area. I just completed the first of two MIT online courses in Python, and I was very impressed with the quality of this course. My only criticism is that it seemed that a little too much time was given at the beginning of the course for assignments, and by the end of the course not enough time was given for the completion of programming assignments, exercises, etc, but of course this is very often the case in many courses, whether they are online or in a classroom. But in general I thought this course was really good. The video lectures were fantastic, the problem sets were highly instructive and thought provoking, and I learned a lot about Python and programming in general. Excellent course. I highly recommend it to anyone who is just starting out with Python, and even experienced Python programmers might benefit from a course such as this one. The discussion forum was also pretty good, although I didn't really take advantage of it very much. On a different topic.... I just got done installing Python3.6 on my Linux machine using *./configure*, then *make*, and then *sudo make install*. It worked great, no problems. Then I used *pip3.6* to install the following packages: *numpy*, *scipy* and also *matplotlib*. What's rather curious to me is that the *pylab* package also got installed! But I didn't use pip to install that package. I think it just "piggy backed along" when I installed matplotlib. Is that normal behavior? Can explicitly requested packages implicitly request other packages when those packages serve as dependencies? *I'm guessing that pylab is a dependency for matplotlib*, hence when I requested matplotlib, pip had to implicitly request the installation of pylab as well, but here I'm just guessing. My installation "appears to be" pretty good, but.... I'm not extremely experienced with installing stuff on Linux so I thought it might be a good idea to get some advice from the Python pros out there. Thanks in advance for the constructive feedback and I pray that everyone has a wonderful, peaceful and productive week. Best, Douglas Lewit -------------- next part -------------- An HTML attachment was scrubbed... URL: From mikaeltamillow96 at gmail.com Tue Mar 14 08:04:32 2017 From: mikaeltamillow96 at gmail.com (Michael Tamillow) Date: Tue, 14 Mar 2017 07:04:32 -0500 Subject: [Chicago] MIT Python course and pylab installation. In-Reply-To: References: Message-ID: Hey Doug, I'm pretty sure there's a file that states dependencies and then setuptools installs the dependencies with with the package. It's kind of a necessity for dependency injection. So, just in case you build your own project to pip install, you'll need to be explicit for the sake of your users. Just check out other packages for a template. Conda install informs you of the changes that are about to take place and asks you to confirm. (To make a package conda installable requires more work.) Anyone feel free to correct me if I'm wrong. Sent from my iPhone > On Mar 13, 2017, at 11:05 PM, Lewit, Douglas wrote: > > Hello to all Pythonistas in the Chicago area. > > I just completed the first of two MIT online courses in Python, and I was very impressed with the quality of this course. My only criticism is that it seemed that a little too much time was given at the beginning of the course for assignments, and by the end of the course not enough time was given for the completion of programming assignments, exercises, etc, but of course this is very often the case in many courses, whether they are online or in a classroom. But in general I thought this course was really good. The video lectures were fantastic, the problem sets were highly instructive and thought provoking, and I learned a lot about Python and programming in general. Excellent course. I highly recommend it to anyone who is just starting out with Python, and even experienced Python programmers might benefit from a course such as this one. The discussion forum was also pretty good, although I didn't really take advantage of it very much. > > On a different topic.... I just got done installing Python3.6 on my Linux machine using ./configure, then make, and then sudo make install. It worked great, no problems. Then I used pip3.6 to install the following packages: numpy, scipy and also matplotlib. What's rather curious to me is that the pylab package also got installed! But I didn't use pip to install that package. I think it just "piggy backed along" when I installed matplotlib. Is that normal behavior? Can explicitly requested packages implicitly request other packages when those packages serve as dependencies? I'm guessing that pylab is a dependency for matplotlib, hence when I requested matplotlib, pip had to implicitly request the installation of pylab as well, but here I'm just guessing. My installation "appears to be" pretty good, but.... I'm not extremely experienced with installing stuff on Linux so I thought it might be a good idea to get some advice from the Python pros out there. > > Thanks in advance for the constructive feedback and I pray that everyone has a wonderful, peaceful and productive week. > > Best, > > Douglas Lewit > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago -------------- next part -------------- An HTML attachment was scrubbed... URL: From kylerjbrown at gmail.com Tue Mar 14 01:10:22 2017 From: kylerjbrown at gmail.com (Kyler Brown) Date: Tue, 14 Mar 2017 00:10:22 -0500 Subject: [Chicago] MIT Python course and pylab installation. In-Reply-To: References: Message-ID: Hi Douglas, There's a nice entry in the FAQ here: http://matplotlib.org/faq/usag e_faq.html#matplotlib-pyplot-and-pylab-how-are-they-related My understanding is that pylab isn't a dependency, but a convenience package that imports numpy and pyplot functions into the main namespace. I think pylab was important when the scientific python community was young and most new users were coming from Matlab. Now it's just cruft. In general python packages can install dependencies. For example, the date-parsing package 'arrow' requires the package 'dateutil'. Here's the line in arrow's setup.py specifying that dependency: https://github.com/crsmithdev/arrow/blob/master/setup.py#L40 so if you `pip install arrow` you end up with dateutil as well. You might be interested in exploring dependencies with this tool: https://pypi.python.org/pypi/pipdeptree Cheers! Kyler On Mon, Mar 13, 2017 at 11:05 PM, Lewit, Douglas wrote: > Hello to all Pythonistas in the Chicago area. > > I just completed the first of two MIT online courses in Python, and I was > very impressed with the quality of this course. My only criticism is that > it seemed that a little too much time was given at the beginning of the > course for assignments, and by the end of the course not enough time was > given for the completion of programming assignments, exercises, etc, but of > course this is very often the case in many courses, whether they are online > or in a classroom. But in general I thought this course was really good. > The video lectures were fantastic, the problem sets were highly instructive > and thought provoking, and I learned a lot about Python and programming in > general. Excellent course. I highly recommend it to anyone who is just > starting out with Python, and even experienced Python programmers might > benefit from a course such as this one. The discussion forum was also > pretty good, although I didn't really take advantage of it very much. > > On a different topic.... I just got done installing Python3.6 on my Linux > machine using *./configure*, then *make*, and then *sudo make install*. > It worked great, no problems. Then I used *pip3.6* to install the > following packages: *numpy*, *scipy* and also *matplotlib*. What's > rather curious to me is that the *pylab* package also got installed! But > I didn't use pip to install that package. I think it just "piggy backed > along" when I installed matplotlib. Is that normal behavior? Can > explicitly requested packages implicitly request other packages when those > packages serve as dependencies? *I'm guessing that pylab is a dependency > for matplotlib*, hence when I requested matplotlib, pip had to implicitly > request the installation of pylab as well, but here I'm just guessing. My > installation "appears to be" pretty good, but.... I'm not extremely > experienced with installing stuff on Linux so I thought it might be a good > idea to get some advice from the Python pros out there. > > Thanks in advance for the constructive feedback and I pray that everyone > has a wonderful, peaceful and productive week. > > Best, > > Douglas Lewit > > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rcglb627 at gmail.com Tue Mar 14 04:21:38 2017 From: rcglb627 at gmail.com (Rick Galbo) Date: Tue, 14 Mar 2017 08:21:38 +0000 Subject: [Chicago] MIT Python course and pylab installation. In-Reply-To: References: Message-ID: Doug, Here is a good answer to your question: http://stackoverflow.com/questions/11469336/what-is-the-difference-between-pylab-and-pyplot You seem to be doing things the right way and you will definitely come to hate pip and all the joys it will bring you managing packages in python. It is one of the more aggravating and amazing thing about the language. A lot of times a package you want to install will have dependencies. This is a package used by the package you are trying to install in its source code. Best of luck, Rick Galbo On Mon, Mar 13, 2017 at 11:05 PM Lewit, Douglas wrote: > Hello to all Pythonistas in the Chicago area. > > I just completed the first of two MIT online courses in Python, and I was > very impressed with the quality of this course. My only criticism is that > it seemed that a little too much time was given at the beginning of the > course for assignments, and by the end of the course not enough time was > given for the completion of programming assignments, exercises, etc, but of > course this is very often the case in many courses, whether they are online > or in a classroom. But in general I thought this course was really good. > The video lectures were fantastic, the problem sets were highly instructive > and thought provoking, and I learned a lot about Python and programming in > general. Excellent course. I highly recommend it to anyone who is just > starting out with Python, and even experienced Python programmers might > benefit from a course such as this one. The discussion forum was also > pretty good, although I didn't really take advantage of it very much. > > On a different topic.... I just got done installing Python3.6 on my Linux > machine using *./configure*, then *make*, and then *sudo make install*. > It worked great, no problems. Then I used *pip3.6* to install the > following packages: *numpy*, *scipy* and also *matplotlib*. What's > rather curious to me is that the *pylab* package also got installed! But > I didn't use pip to install that package. I think it just "piggy backed > along" when I installed matplotlib. Is that normal behavior? Can > explicitly requested packages implicitly request other packages when those > packages serve as dependencies? *I'm guessing that pylab is a dependency > for matplotlib*, hence when I requested matplotlib, pip had to implicitly > request the installation of pylab as well, but here I'm just guessing. My > installation "appears to be" pretty good, but.... I'm not extremely > experienced with installing stuff on Linux so I thought it might be a good > idea to get some advice from the Python pros out there. > > Thanks in advance for the constructive feedback and I pray that everyone > has a wonderful, peaceful and productive week. > > Best, > > Douglas Lewit > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bob.haugen at gmail.com Tue Mar 14 11:09:23 2017 From: bob.haugen at gmail.com (Bob Haugen) Date: Tue, 14 Mar 2017 10:09:23 -0500 Subject: [Chicago] MIT Python course and pylab installation. In-Reply-To: References: Message-ID: Kyler, thanks a lot for telling us about pipdeptree. On Tue, Mar 14, 2017 at 12:10 AM, Kyler Brown wrote: > Hi Douglas, > > There's a nice entry in the FAQ here: > http://matplotlib.org/faq/usage_faq.html#matplotlib-pyplot-and-pylab-how-are-they-related > > My understanding is that pylab isn't a dependency, but a convenience package > that imports numpy and pyplot functions into the main namespace. I think > pylab was important when the scientific python community was young and most > new users were coming from Matlab. Now it's just cruft. > > In general python packages can install dependencies. For example, the > date-parsing package 'arrow' requires the package 'dateutil'. Here's the > line in arrow's setup.py specifying that dependency: > https://github.com/crsmithdev/arrow/blob/master/setup.py#L40 so if you `pip > install arrow` you end up with dateutil as well. > > You might be interested in exploring dependencies with this tool: > https://pypi.python.org/pypi/pipdeptree > > Cheers! > Kyler > > On Mon, Mar 13, 2017 at 11:05 PM, Lewit, Douglas wrote: >> >> Hello to all Pythonistas in the Chicago area. >> >> I just completed the first of two MIT online courses in Python, and I was >> very impressed with the quality of this course. My only criticism is that >> it seemed that a little too much time was given at the beginning of the >> course for assignments, and by the end of the course not enough time was >> given for the completion of programming assignments, exercises, etc, but of >> course this is very often the case in many courses, whether they are online >> or in a classroom. But in general I thought this course was really good. >> The video lectures were fantastic, the problem sets were highly instructive >> and thought provoking, and I learned a lot about Python and programming in >> general. Excellent course. I highly recommend it to anyone who is just >> starting out with Python, and even experienced Python programmers might >> benefit from a course such as this one. The discussion forum was also >> pretty good, although I didn't really take advantage of it very much. >> >> On a different topic.... I just got done installing Python3.6 on my Linux >> machine using ./configure, then make, and then sudo make install. It worked >> great, no problems. Then I used pip3.6 to install the following packages: >> numpy, scipy and also matplotlib. What's rather curious to me is that the >> pylab package also got installed! But I didn't use pip to install that >> package. I think it just "piggy backed along" when I installed matplotlib. >> Is that normal behavior? Can explicitly requested packages implicitly >> request other packages when those packages serve as dependencies? I'm >> guessing that pylab is a dependency for matplotlib, hence when I requested >> matplotlib, pip had to implicitly request the installation of pylab as well, >> but here I'm just guessing. My installation "appears to be" pretty good, >> but.... I'm not extremely experienced with installing stuff on Linux so I >> thought it might be a good idea to get some advice from the Python pros out >> there. >> >> Thanks in advance for the constructive feedback and I pray that everyone >> has a wonderful, peaceful and productive week. >> >> Best, >> >> Douglas Lewit >> >> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > From d-lewit at neiu.edu Tue Mar 14 12:40:44 2017 From: d-lewit at neiu.edu (Lewit, Douglas) Date: Tue, 14 Mar 2017 11:40:44 -0500 Subject: [Chicago] MIT Python course and pylab installation. In-Reply-To: References: Message-ID: Thanks everyone for the great replies and URL's. matplotlib and pyplot are working great on my Python3.6 installation, but it required a little bit of setup on my part. I had to install ( using pip ) Qt5Py ( I think it's kind of like TKinger, a GUI generator or GUI app ) and before doing any plotting in Python3.6 ( without the Anaconda installation ) I have to enter these commands at a prompt: *>>> import matplotlib* *>>> matplotlib.use("Qt5Agg")* *>>> import pylab as plt * *''' You don't have to call it "plt". Call it whatever you like. '''* And then I can start plotting! ( The plots look great. They look very Matlab-like or Matlab-y. ) On Tue, Mar 14, 2017 at 10:09 AM, Bob Haugen wrote: > Kyler, thanks a lot for telling us about pipdeptree. > > On Tue, Mar 14, 2017 at 12:10 AM, Kyler Brown > wrote: > > Hi Douglas, > > > > There's a nice entry in the FAQ here: > > http://matplotlib.org/faq/usage_faq.html#matplotlib- > pyplot-and-pylab-how-are-they-related > > > > My understanding is that pylab isn't a dependency, but a convenience > package > > that imports numpy and pyplot functions into the main namespace. I think > > pylab was important when the scientific python community was young and > most > > new users were coming from Matlab. Now it's just cruft. > > > > In general python packages can install dependencies. For example, the > > date-parsing package 'arrow' requires the package 'dateutil'. Here's the > > line in arrow's setup.py specifying that dependency: > > https://github.com/crsmithdev/arrow/blob/master/setup.py#L40 so if you > `pip > > install arrow` you end up with dateutil as well. > > > > You might be interested in exploring dependencies with this tool: > > https://pypi.python.org/pypi/pipdeptree > > > > Cheers! > > Kyler > > > > On Mon, Mar 13, 2017 at 11:05 PM, Lewit, Douglas > wrote: > >> > >> Hello to all Pythonistas in the Chicago area. > >> > >> I just completed the first of two MIT online courses in Python, and I > was > >> very impressed with the quality of this course. My only criticism is > that > >> it seemed that a little too much time was given at the beginning of the > >> course for assignments, and by the end of the course not enough time was > >> given for the completion of programming assignments, exercises, etc, > but of > >> course this is very often the case in many courses, whether they are > online > >> or in a classroom. But in general I thought this course was really > good. > >> The video lectures were fantastic, the problem sets were highly > instructive > >> and thought provoking, and I learned a lot about Python and programming > in > >> general. Excellent course. I highly recommend it to anyone who is just > >> starting out with Python, and even experienced Python programmers might > >> benefit from a course such as this one. The discussion forum was also > >> pretty good, although I didn't really take advantage of it very much. > >> > >> On a different topic.... I just got done installing Python3.6 on my > Linux > >> machine using ./configure, then make, and then sudo make install. It > worked > >> great, no problems. Then I used pip3.6 to install the following > packages: > >> numpy, scipy and also matplotlib. What's rather curious to me is that > the > >> pylab package also got installed! But I didn't use pip to install that > >> package. I think it just "piggy backed along" when I installed > matplotlib. > >> Is that normal behavior? Can explicitly requested packages implicitly > >> request other packages when those packages serve as dependencies? I'm > >> guessing that pylab is a dependency for matplotlib, hence when I > requested > >> matplotlib, pip had to implicitly request the installation of pylab as > well, > >> but here I'm just guessing. My installation "appears to be" pretty > good, > >> but.... I'm not extremely experienced with installing stuff on Linux so > I > >> thought it might be a good idea to get some advice from the Python pros > out > >> there. > >> > >> Thanks in advance for the constructive feedback and I pray that everyone > >> has a wonderful, peaceful and productive week. > >> > >> Best, > >> > >> Douglas Lewit > >> > >> > >> > >> _______________________________________________ > >> Chicago mailing list > >> Chicago at python.org > >> https://mail.python.org/mailman/listinfo/chicago > >> > > > > > > _______________________________________________ > > Chicago mailing list > > Chicago at python.org > > https://mail.python.org/mailman/listinfo/chicago > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > -------------- next part -------------- An HTML attachment was scrubbed... URL: From eric at intellovations.com Thu Mar 16 22:31:33 2017 From: eric at intellovations.com (Eric Floehr) Date: Thu, 16 Mar 2017 22:31:33 -0400 Subject: [Chicago] PyOhio 2017 -- be a part of our 10th anniversary Message-ID: PyOhio is special to me -- it's where I gave my first talk. PyOhio is special because you can attend for free, and we've reached out to and helped many who didn't have or couldn't spend hundreds of dollars on a conference to jump start or improve their career in programming. But while all of us are volunteers, and we have an amazing partnership with the Open Source Club at OSU to help keep costs low, PyOhio does cost money to put on. The last three years our expenses have been about $25,000 per year. That's about $60 per attendee. The bottom line: *We need sponsors!* If you work at a company, or know of a company, or have a philanthropic relative, please let them know that sponsoring PyOhio gets their message out to nearly 500 motivated developers who care enough about programming to give up their Saturday and Sunday to attend. If you are reading this, could you please: 1. Ask one company to sponsor PyOhio (http://pyohio.org/sponsors/prospectus/ ) 2. Forward this email to someone who know at a company that would benefit from sponsoring PyOhio. 3. Introduce me (Eric Floehr) to someone who might sponsor or donate to PyOhio. Thanks so much for your help in making the 10th PyOhio it's best yet! Cheers, Eric Floehr Sponsorship Chair & Treasurer PyOhio 2017 -------------- next part -------------- An HTML attachment was scrubbed... URL: From d-lewit at neiu.edu Sat Mar 25 17:59:07 2017 From: d-lewit at neiu.edu (Lewit, Douglas) Date: Sat, 25 Mar 2017 16:59:07 -0500 Subject: [Chicago] Deleting from a list or dictionary while processing it? Message-ID: Hi guys, I remember doing some of this once upon a time, but I may have forgotten the details, so if someone could refresh my memory that would be great. In essence, what I'm trying to do is process a list ( or perhaps a dictionary ) BUT WHILE I'M PROCESSING IT I WANT TO MUTATE IT BY DELETING ELEMENTS FROM IT. Does that make sense? ( Launching Python interpreter to provide a concrete example! ) *while** my_list:* *for** n **in** my_list[:]:* * print**(n)* *my_list = my_list[**1**:]* I think that's correct.... but still.... it can get a bit confusing. Okay, thanks for the feedback. Best, Douglas. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jordanb at hafd.org Sat Mar 25 18:07:02 2017 From: jordanb at hafd.org (Jordan Bettis) Date: Sat, 25 Mar 2017 17:07:02 -0500 Subject: [Chicago] Deleting from a list or dictionary while processing it? In-Reply-To: References: Message-ID: <58D6EA06.5050000@hafd.org> If you're trying to use a list as a stack you can just use list.pop: In [1]: my_stack = [1,2,3,4,5,6] In [2]: while len(my_stack) > 0: ...: print(l.pop()) ...: 6 5 4 3 2 1 On 03/25/2017 04:59 PM, Lewit, Douglas wrote: > Hi guys, > > I remember doing some of this once upon a time, but I may have > forgotten the details, so if someone could refresh my memory that > would be great. > > In essence, what I'm trying to do is process a list ( or perhaps a > dictionary ) BUT WHILE I'M PROCESSING IT I WANT TO MUTATE IT BY > DELETING ELEMENTS FROM IT. Does that make sense? > > ( Launching Python interpreter to provide a concrete example! ) > > *while**my_list:* > > ***for**n **in**my_list[:]:* > > * print**(n)* > > ***my_list = my_list[**1**:]* > > * > * > > I think that's correct.... but still.... it can get a bit confusing. > Okay, thanks for the feedback. > > > Best, > > > Douglas. > > > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago -------------- next part -------------- An HTML attachment was scrubbed... URL: From elmq0022 at umn.edu Sat Mar 25 19:27:32 2017 From: elmq0022 at umn.edu (Aaron Elmquist) Date: Sat, 25 Mar 2017 18:27:32 -0500 Subject: [Chicago] Deleting from a list or dictionary while processing it In-Reply-To: References: Message-ID: Hey Douglas, I hope you see the advantage of Jordan's solution. If you copy the list over again and again like your example the runtime is O(n^2) . Popping from the end of the list, list like Jordan, is a constant time operation. Processing the whole list is then O(n) which scales? better. Here's a good reference for you: https://wiki.python.org/moin/TimeComplexity Aaron On Mar 25, 2017 5:16 PM, "Jordan Bettis" wrote: If you're trying to use a list as a stack you can just use list.pop: In [1]: my_stack = [1,2,3,4,5,6] In [2]: while len(my_stack) > 0: ...: print(l.pop()) ...: 6 5 4 3 2 1 On 03/25/2017 04:59 PM, Lewit, Douglas wrote: Hi guys, I remember doing some of this once upon a time, but I may have forgotten the details, so if someone could refresh my memory that would be great. In essence, what I'm trying to do is process a list ( or perhaps a dictionary ) BUT WHILE I'M PROCESSING IT I WANT TO MUTATE IT BY DELETING ELEMENTS FROM IT. Does that make sense? ( Launching Python interpreter to provide a concrete example! ) *while** my_list:* *for** n **in** my_list[:]:* * print**(n)* *my_list = my_list[**1**:]* I think that's correct.... but still.... it can get a bit confusing. Okay, thanks for the feedback. Best, Douglas. _______________________________________________ Chicago mailing listChicago at python.orghttps://mail.python.org/mailman/listinfo/chicago _______________________________________________ Chicago mailing list Chicago at python.org https://mail.python.org/mailman/listinfo/chicago -------------- next part -------------- An HTML attachment was scrubbed... URL: From wirth.jason at gmail.com Sat Mar 25 19:43:05 2017 From: wirth.jason at gmail.com (Jason Wirth) Date: Sat, 25 Mar 2017 23:43:05 +0000 Subject: [Chicago] Deleting from a list or dictionary while processing it In-Reply-To: References: Message-ID: Deque has a pop left. On Sat, Mar 25, 2017, 6:35 PM Aaron Elmquist wrote: > Hey Douglas, > > I hope you see the advantage of Jordan's solution. > > If you copy the list over again and again like your example the runtime is > O(n^2) . > > Popping from the end of the list, list like Jordan, is a constant time > operation. Processing the whole list is then O(n) which scales? better. > > Here's a good reference for you: > > https://wiki.python.org/moin/TimeComplexity > > Aaron > > On Mar 25, 2017 5:16 PM, "Jordan Bettis" wrote: > > If you're trying to use a list as a stack you can just use list.pop: > > In [1]: my_stack = [1,2,3,4,5,6] > > In [2]: while len(my_stack) > 0: > ...: print(l.pop()) > ...: > 6 > 5 > 4 > 3 > 2 > 1 > > > On 03/25/2017 04:59 PM, Lewit, Douglas wrote: > > Hi guys, > > I remember doing some of this once upon a time, but I may have forgotten > the details, so if someone could refresh my memory that would be great. > > In essence, what I'm trying to do is process a list ( or perhaps a > dictionary ) BUT WHILE I'M PROCESSING IT I WANT TO MUTATE IT BY DELETING > ELEMENTS FROM IT. Does that make sense? > > ( Launching Python interpreter to provide a concrete example! ) > > *while** my_list:* > > *for** n **in** my_list[:]:* > > * print**(n)* > > *my_list = my_list[**1**:]* > > > I think that's correct.... but still.... it can get a bit confusing. > Okay, thanks for the feedback. > > > Best, > > > Douglas. > > > > > _______________________________________________ > Chicago mailing listChicago at python.orghttps://mail.python.org/mailman/listinfo/chicago > > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > -------------- next part -------------- An HTML attachment was scrubbed... URL: From anjali.deolapure at gmail.com Mon Mar 27 00:05:34 2017 From: anjali.deolapure at gmail.com (Anjali Deolapure) Date: Sun, 26 Mar 2017 23:05:34 -0500 Subject: [Chicago] Chicago Coder Conference - *Last* Call for Papers and Discount Code Message-ID: Hey Pythonistas, The Chicago Coder Conference is still looking for some Python talks to represent the coolest language in the land. The last day for talk submissions is this *Friday, March 31st*, and I know y'all have some awesome presentations to contribute. Here are the links for details: http://www.chicagocoderconference.com/ http://www.chicagocoderconference.com/call-for-papers/ Giving a talk will obviously get you a free pass to the conference and the chance to represent Python in the Chicago Coder Community. (BONUS!) Also, for those wanting to attend, ChiPy received a 50% discount code for registration: *2017CCCUGchipy50* Let me know if you have any questions, and I can get you in contact with the right people! Cheers, Anjali -------------- next part -------------- An HTML attachment was scrubbed... URL: From 4n6.listserv at gmail.com Mon Mar 27 13:26:52 2017 From: 4n6.listserv at gmail.com (Dan O'Day) Date: Mon, 27 Mar 2017 12:26:52 -0500 Subject: [Chicago] Deleting from a list or dictionary while processing it? In-Reply-To: <58D6EA06.5050000@hafd.org> References: <58D6EA06.5050000@hafd.org> Message-ID: Just be careful if relying on specific list indices after that, as the elements' positions will change. Dan On Sat, Mar 25, 2017 at 5:07 PM, Jordan Bettis wrote: > If you're trying to use a list as a stack you can just use list.pop: > > In [1]: my_stack = [1,2,3,4,5,6] > > In [2]: while len(my_stack) > 0: > ...: print(l.pop()) > ...: > 6 > 5 > 4 > 3 > 2 > 1 > > > On 03/25/2017 04:59 PM, Lewit, Douglas wrote: > > Hi guys, > > I remember doing some of this once upon a time, but I may have forgotten the > details, so if someone could refresh my memory that would be great. > > In essence, what I'm trying to do is process a list ( or perhaps a > dictionary ) BUT WHILE I'M PROCESSING IT I WANT TO MUTATE IT BY DELETING > ELEMENTS FROM IT. Does that make sense? > > ( Launching Python interpreter to provide a concrete example! ) > > while my_list: > > for n in my_list[:]: > > print(n) > > my_list = my_list[1:] > > > I think that's correct.... but still.... it can get a bit confusing. Okay, > thanks for the feedback. > > > Best, > > > Douglas. > > > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > From techsupport at chicagoactuarialassociation.org Tue Mar 28 08:40:12 2017 From: techsupport at chicagoactuarialassociation.org (Chicago Actuarial Association) Date: Tue, 28 Mar 2017 07:40:12 -0500 Subject: [Chicago] Last Day to Register for Predictive Analytics Talks Message-ID: <647B37C0-F717-4B6F-AD26-79CB28E4EF19@chicagoactuarialassociation.org> Today is the last day to register for the predictive analytics track of the Chicago Actuarial Association! Data Scientist speakers from Allstate, Deloitte, Enova and Sears will speaking about their experience using predictive analytics. The conference takes place on April, 4th from 1 PM to 5:30 PM with dinner to follow. It is located at the Holiday Inn Chicago Mart Plaza 350 W Mart Center Drive Chicago. It is $50 for students and $145 for working actuaries and data scientists. You can sign up here: http://chicagoactuarialassociation.org/events/30/save-the-date-2017-caa-workshops Please contact techsupport at ChicagoActuarialAssociation.org with any questions. -------------- next part -------------- An HTML attachment was scrubbed... URL: From davidkunio at gmail.com Tue Mar 28 13:46:17 2017 From: davidkunio at gmail.com (David Matsumura) Date: Tue, 28 Mar 2017 17:46:17 +0000 Subject: [Chicago] FinSIG - Upcoming Meetings Message-ID: Hi Chipy, Just a reminder that we have some FinSIG meetings on the horizon. *Thursday March 30th @ Benedictine University (Lisle)* We will be doing a Algo Trading 101 session and show some trading strategies in Quantopian. Thanks to Quantopian for buying pizza and drinks at this meeting. Come on out to the burbs for this bonus meeting and RSVP here: https://www.meetup.com/_ChiPy_/events/237948852/ *Saturday April 8th @ Loyola University (Water Tower Campus)* We will are running a workshop on practical strategy development and testing. We will also hear from the Quinlan School's investment team regarding strategy development. The meetup is here: https://www.meetup.com/_ChiPy_/events/238774232/ Please also RSVP here: http://analyticslab.eventbrite.com Hope to see you out at one of our future meetings. Thanks David -------------- next part -------------- An HTML attachment was scrubbed... URL: From zitterbewegung at gmail.com Wed Mar 29 14:50:50 2017 From: zitterbewegung at gmail.com (Joshua Herman) Date: Wed, 29 Mar 2017 18:50:50 +0000 Subject: [Chicago] Deleting from a list or dictionary while processing it? In-Reply-To: References: <58D6EA06.5050000@hafd.org> Message-ID: If you use a dictionary and not an ordered dictionary the order that you insert the elements will not be preserved . On Mon, Mar 27, 2017 at 4:28 PM Dan O'Day <4n6.listserv at gmail.com> wrote: > Just be careful if relying on specific list indices after that, as the > elements' positions will change. > > Dan > > > On Sat, Mar 25, 2017 at 5:07 PM, Jordan Bettis wrote: > > If you're trying to use a list as a stack you can just use list.pop: > > > > In [1]: my_stack = [1,2,3,4,5,6] > > > > In [2]: while len(my_stack) > 0: > > ...: print(l.pop()) > > ...: > > 6 > > 5 > > 4 > > 3 > > 2 > > 1 > > > > > > On 03/25/2017 04:59 PM, Lewit, Douglas wrote: > > > > Hi guys, > > > > I remember doing some of this once upon a time, but I may have forgotten > the > > details, so if someone could refresh my memory that would be great. > > > > In essence, what I'm trying to do is process a list ( or perhaps a > > dictionary ) BUT WHILE I'M PROCESSING IT I WANT TO MUTATE IT BY DELETING > > ELEMENTS FROM IT. Does that make sense? > > > > ( Launching Python interpreter to provide a concrete example! ) > > > > while my_list: > > > > for n in my_list[:]: > > > > print(n) > > > > my_list = my_list[1:] > > > > > > I think that's correct.... but still.... it can get a bit confusing. > Okay, > > thanks for the feedback. > > > > > > Best, > > > > > > Douglas. > > > > > > > > > > _______________________________________________ > > Chicago mailing list > > Chicago at python.org > > https://mail.python.org/mailman/listinfo/chicago > > > > > > > > _______________________________________________ > > Chicago mailing list > > Chicago at python.org > > https://mail.python.org/mailman/listinfo/chicago > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > -------------- next part -------------- An HTML attachment was scrubbed... URL: From foresmac at gmail.com Wed Mar 29 15:01:18 2017 From: foresmac at gmail.com (Chris Foresman) Date: Wed, 29 Mar 2017 14:01:18 -0500 Subject: [Chicago] Deleting from a list or dictionary while processing it? In-Reply-To: References: <58D6EA06.5050000@hafd.org> Message-ID: <1E3B2446-A1AB-4476-8EF6-3798E05F851F@gmail.com> Unless you happen to be using CPython 3.6.x. Chris Foresman foresmac at gmail.com > On Mar 29, 2017, at 1:50 PM, Joshua Herman wrote: > > If you use a dictionary and not an ordered dictionary the order that you insert the elements will not be preserved . > > On Mon, Mar 27, 2017 at 4:28 PM Dan O'Day <4n6.listserv at gmail.com > wrote: > Just be careful if relying on specific list indices after that, as the > elements' positions will change. > > Dan > -------------- next part -------------- An HTML attachment was scrubbed... URL: