Python




    ♥ Let us learn C ♥
♥ and Linux tmux Vim ♥

                              Python - First Notes

                                    First Links


Content

Python - First Notes - First Links
Python
Raspberry Pi
Books
Notes
Links

R and Python are joining forces, in the most ambitious crossover event of the year—for programmers qz.com - ursalabs.org




Python

Python (programming language) - WP:
Beautiful is better than ugly
Explicit is better than implicit
Simple is better than complex
Complex is better than complicated
Readability counts
Rather than having all of its functionality built into its core, Python was designed to be highly extensible. - adding programmable interfaces to existing applications
Python's philosophy rejects the Perl "there is more than one way to do it" approach to language design in favor of "there should be one—and preferably only one—obvious way to do it". - small core language with a large standard library and easily extensible interpreter - can move time-critical functions to extension modules written in languages such as C, or use PyPy, a just-in-time compiler. Cython is also available, which translates a Python script into C and makes direct C-level API calls into the Python interpreter - keeping it fun to use - spam and eggs (from a famous Monty Python sketch) instead of the standard foo and bar -
code is pythonic is to say that it uses Python idioms well, that it is natural or shows fluency in the language, that it conforms with Python's minimalist philosophy and emphasis on readability - contrast is unpythonic - WP - python.org
Guido Van Rossum Stepping Down From Python - YT
learnpython.org
Python and C - Comparisons and Contrasts - rose-hulman.edu
$ python -v // checks version for Mac terminal - now showing python2.7
//> /usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.pyc //>
//> matches /usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py
Difference between .py and .pyc files? - Python compiles the .py files and saves it as .pyc files - net-informations.com
Should I use Python 2 or Python 3 for my development activity? - python.org - What’s New In Python 3.0 - python.org




Raspberry Pi

Raspberry Pi - WP - Raspbian OS - WP - What is a Raspberry Pi? - YT - raspberrypi.org/help -
Raspberry Pi 3 Model B+ is the newest, fastest, and easiest to use -
minimum need: 1. 3B+ 2. power supply 3. micro SD card 4. keyboard 5. mouse 6. TV or computer screen 7. HDMI screen cable, adapter if needed - optional: 8. case 9. speakers or headphones 10. breadboard cables and other --- A BRAND-NEW PI FOR π DAY - YT

1. Raspberry Pi 3 Model B+ 1.4GHz 64-bit quad-core ARM Cortex-A53 Dual-band 802.11ac wireless LAN Bluetooth 4.2 - 3x faster Ethernet - Power over Ethernet support (with separate PoE HAT) NZ$63.25 inc GST
+ 2. power adapter Raspberry Pi Official White Multi Plugs In (AU EU UK US) Travel Adapter with MicroUSB Connector 5.1V 2.5A 13W NZ$21.85
+ 3. card Raspberry Pi TRANSCEND 16GB MicroSD Card Pre-loaded with NOOBS V2 NZ$27.94
+ 8. case Official Red & White Enclosure for Raspberry Pi 3 Model B and B+ NZ$20.70
+ 10. breadboard cables Raspberry Pi Breadboarding Wire Bundle NZ$18.40
+ 10.a lead cables test Raspberry Pi Alligator Clip Test Lead Cables (Multi Colours) 40cm Long (Set of 10) NZ$10.35
+ 11. camera Raspberry Pi Infrared Night Vision Camera Kit. Focal Adjustable, 1080P, 5MP, Sensitive Infrared Lights. Quick Install Guide NZ$72.45
+ 4. keyboard
+ 5. mouse
+ 6. screen TV or computer
+ 7. HDMI cable + Raspberry Pi Official White HDMI Cable 2m Male to Male HDMI 2.0 with Ethernet and Audio Return Channel Support 3D, 4K, 2160P/60Hz and X.V.colour NZ$16.10
9. speakers or headphones

--- Combo Deal Raspberry Pi 3 Model B+ Official Starter Kit White Edition with OS (Inc 1. New Pi3 Mainboard, 2. Multi Plugs Aadapter, 8. Red & White Case, 3. 16GB NOOBS Card, 7. HDMI 2M Cable) NZ$150.66 - pbtech.co.nz
What languages are used to program raspberry PI? - raspberrypi.org
Python 2 or 3 - raspberrypi.org

Other shop pishop.nz




Books

The Best Python Books - realpython.com
Effective Computation in Physics: Field Guide to Research with Python - by Anthony Scopatz and Kathryn D. Huff - 1e 2015 - p552 - Amazon

R Cover - Back - Dedication - Table of Contents Part1-4 Ch1-23 Glossary Bibliography Index
Foreward
xv - spending hours, weeks etc. struggling without the right skills for scientific computing - not knowing how reliable the results are - Katy and Anthony show that none of this pain is necessary - few basic tools like command shell, version control, writing modular code solves it and help others to reproduce and build on this work - book doesn't make you a great but a better programmer - helps to make effective use of tutorials and Q&A forums on Web
Preface xvii - Welcome to Effective Computation in Physics - will learn essential software skills from astrophysics to nuclear engineering - from 0 to software team guru - physics and computer co-evolved - phisicists wrongly think programming is easy and learning phisics teaches how to write code - need computation in physics as we need math - knowing computation makes practicing physics much easier - computer is like slide rule or photon detector or oscilloscope, but because computer is more complicated and configurable, it requires more patience, care and understanding to properly set up -
xviii - more and more physicists are asked to be software developers - will be more productive as physicist - also computational modeling and simulation play important part to validate theory and diminishes the costs
xviii -

Acknowledgments - xxvi - ...

PART I - Getting Started
1 - Introduction to the Command Line




Notes




Links




Sessions

• Session 1 • Tue 2019-4-23 Berlin 10:40-11:30 WR py.html - start ♡♡♡





         

web counter