gluk47 / swfk Goto Github PK
View Code? Open in Web Editor NEW“Snake wrangling for kids”: the Russian translation. Русский перевод книги «Snake Wrangling for Kids»
“Snake wrangling for kids”: the Russian translation. Русский перевод книги «Snake Wrangling for Kids»
Это русский перевод книги "Snake Wrangling for Kids", позднее переработанной и выпущенной как "Python for kids". Это клон репозитория https://code.google.com/p/swfk/, там книгу писал автор, Jason R Briggs. В этом репозитории есть оригинальная книга без изменений в папке en, она как-то собирается при помощи latex и dvipdf. В папке ru есть перевод (незаконченный, начатый с линуксовой версии для Питона 3), он собирается командой ./build.sh которая вызывает xelatex и собирает все три версии книги. Можно собрать только нужную/нужные версии, так: ./build.sh macos Ну и свежие собранные версии есть там же, book-linux.pdf, book-windows.pdf и book-macos.pdf (собраны из тех же исходников, которые лежат в свежем коммите). Книга распространяется на условиях лицензии Creative Commons Attribution-Noncommercial-Share Alike 3.0 New Zealand License, что значит, что её можно читать, изменять и невозбранно распространять, но только под той же лицензией, бесплатно и обязательно указывая понятным образом авторство разных частей (как минимум, «оригинальной» и изменённой последним автором). Подробнее тут почитайте: http://creativecommons.org/licenses/by-nc-sa/3.0/nz/deed.ru This is an unofficial clone of LaTeX source of "Snake Wrangling for Kids" The original repository was copied from here: https://code.google.com/p/swfk/, where it was maintained by the original book author, Jason R Briggs. This repository contains both the original English book and its Russian translation (with priority in translating to the Linux edition). This work is licensed under the Creative Commons Attribution-Noncommercial-Share Alike 3.0 New Zealand License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/3.0/nz or send a letter to Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA. To build, you'll need xelatex (unlike the original book which builds with latex and dvipdf). The easiest way to build the translated book is to go to the folder 'ru' and run: ./build.sh or, for just some versions: ./build.sh macos linux ./build.sh windows ./build.sh help If you input an incorrect target (e.g. 'help'), you'll get the list of all supported targets.
on the windows version of the book section 2.0 it talks about dividing by 20,
but the first example shows 100 over 200
it should read
100 over 20
Original issue reported on code.google.com by [email protected]
on 25 Jul 2012 at 2:48
Dear admirable author,
first, good work for the great book! It's easy to understand
and pleasant to read, but it seems I've spotted an error in chapter9
that may hinder the kids from learning about TK interface, so
I submit report as follow:
What steps will reproduce the problem?
1. type in the code on top of p84 (or 94 of 160)
2. execute the code
What is the expected output? What do you see instead?
it's expected to show a window with a button. But no
window show up actually.
What version of the product are you using? On what operating system?
python 3.x on windows, also tried python 2.6 (with little modification on
the code, ie. change tkinter to Tkinter)
Suggested solution:
by adding one more line of code (ie. tk.mainloop() ),
the code will run with no problem
Original issue reported on code.google.com by [email protected]
on 3 Apr 2012 at 4:50
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.