On November 28, the sixth meeting of the “Python at APVT” club took place. The meeting was held in room 318 of the APVT department from 11:15 to 13:30.
Below is a brief summary of the meeting.
Empire of Code (Volodymyr Obrizan)
Empire of Code is another game where knowing the Python language gives you an advantage. Website address: http://www.empireofcode.com The game was developed by the same developers as the site http://www.checkio.com The game is a clone of Clash of Clans, but with a theme about asteroids and robots. The twist is that here you can improve your base by solving little Python or JavaScript problems, and you can also write algorithms for defending your base and strategies for attacking other people’s bases.

A Walkthrough of One Tricky Little Problem (Volodymyr Obrizan + everyone)
The problem is this: develop a function that validates a password (returns True or False). The conditions are: the password must be longer than 9 characters, have at least one uppercase letter, at least one lowercase letter, and at least one digit. The function prototype is: def func(password). Try to solve it on your own. But there is one more constraint: the real high-wire act is fitting the implementation of this function into 99 bytes.
I can give two pieces of advice:
-
Write a test program that will check whether the function checks the password correctly. Because if you keep changing the program, trying to fit it into 99 bytes, at some point it may stop working.
-
Read the article about functional programming. It will give you hints on how to shorten the code substantially. Link to the article: https://docs.python.org/3/howto/functional.html
Data Science: Big Data, Machine Learning, and More Using the Python Language (Vladimir Rustinov)
Vladimir Alekseevich began giving an introduction to the big data technology stack. We didn’t manage to cover much, but the topic isn’t small either. You can’t cover it in half an hour to an hour.
Here is the link to the presentation: https://drive.google.com/file/d/0BwMuwA59_aNuWUFrLXJqcnRXemJXUnhaS0RncTdKUVc3SWJB/view?usp=sharing


The topic of big data is appealing because of the wide range of technologies and knowledge required to successfully solve the corresponding tasks.
Previous meetings:
No. 5 11/21/2015 Summary of the Fifth Meeting of the “Python at APVT” Club
No. 3, No. 4 11/07/2015, 11/14/2015 Summary of the Third and Fourth Meetings of the “Python at APVT” Club
No. 2 10/31/2015 Summary of the Second Meeting of the “Python at APVT” Club
No. 1 10/24/2015 The first meeting of the “Python at APVT” club took place. Summary
How can you get news about meetings of the “Python at APVT” club?
Subscription to news about meetings of the “Python at APVT” club: http://bit.ly/python-apvt-reg The mailing list will be the main channel for information about meetings.
Groups on VKontakte and Facebook: https://vk.com/python.apvt and https://www.facebook.com/groups/python.apvt respectively.
A Q&A site about Python and the club: http://bit.ly/python-apvt-qa
Questions? You can contact me personally: volodymyr.obrizan@gmail.com