توضیحاتی در مورد کتاب :
2002 г, 43с.
Курс компьютерной физики на python
این سند یک کتاب راهنما است که در سال 2002 به عنوان مقدمه ای بر برنامه نویسی برای دانشجویان سال اول لیسانس در حال تحصیل در رشته فیزیک در دانشگاه آکسفورد استفاده شده است. اگر به آموزش برنامه نویسی (به ویژه با استفاده از پایتون) علاقه مند هستید، ممکن است پایتون در آموزش برای شما جالب باشد. اگر فقط میخواهید پایتون مورد نیاز برای نوشتن برنامههای رویهای ساده از نوع مورد استفاده برای حل مسائل فیزیک را یاد بگیرید، به ادامه مطلب بروید.
مطالب مقدمه آزمایش پایتون
قراردادهای تایپوگرافی
< قوی>استفاده از سیستم
ورود به سیستم
اصول IDLE
ایجاد برنامه جدید
باز کردن برنامه های موجود
ذخیره برنامه ها
بستن برنامه ها
برنامه نویسی با استفاده از IDLE
استفاده از مفسر تعاملی
استفاده از ویرایشگر
حساسیت به حروف کوچک
عناصر پایتون Hello world
مفسران، ماژول ها و برنامه جالب تر
متغیرها
نام ها و تکالیف
انواع
ورودی و خروجی
حساب
br/>حلقههای for
نمونهای از حلقه for
استفاده از تابع range
if
نمونهای از آزمون if
تستهای مقایسه و Booleans
عبارات else و elif
while loops
استفاده از توابع کتابخانه
آرایه ها
ساخت توابع خود
ورودی و خروجی فایل
قرار دادن همه آنها در کنار هم
خروجی گرافیکی و پایتون اضافی خروجی گرافیکی
آرایه ها در پایتون
توابعی که ممکن است برای مشکلات سال اول نیاز داشته باشید
خواندن فایلها
اعداد تصادفی
دامنه
تفاوتهای پایتون
برای حلقهها
علاقه شما را بیشتر میکند
خطاها خطاهای مشخصه، خطاهای کلیدی، خطاهای فهرست
خطاهای نام
خطاهای نحو
خطاهای نوع
کلمات رزرو شده
درباره این سند .
توضیحاتی در مورد کتاب به زبان اصلی :
2002 г, 43с.
Курс компьютерной физики на python
This document is a handbook used during 2002 as an introduction to programming for first year undergraduates studying physics at the University of Oxford. If you're interested in teaching programming (particularly using Python), then you may find Python in Education interesting. If you just want to learn the Python needed to write simple procedural programs of the kind used to solve problems in physics, then read on.
ContentsIntroduction The Python trial
Typographical conventions
Using the system Logging in
IDLE basics
Creating a new program
Opening existing programs
Saving programs
Closing programs
Programming using IDLE
Using the interactive interpreter
Using the editor
Case sensitivity
The elements of Python Hello world
Interpreters, modules, and a more interesting program
Variables
Names and Assignment
Types
Input and output
Arithmetic
for loops
An example of a for loop
Using the range function
if statements
An example of an if test
Comparison tests and Booleans
else and elif statements
while loops
Using library functions
Arrays
Making your own functions
File input and output
Putting it all together
Graphical output and additional Python Graphical output
Arrays in Python
Functions you may need for the first-year problems
Reading files
Random numbers
Scope
Python differences
for loops
Taking your interest further
Errors Attribute Errors, Key Errors, Index Errors
Name Errors
Syntax Errors
Type Errors
Reserved Words
About this document .