วันพฤหัสบดีที่ 19 กันยายน พ.ศ. 2556

ep1 python : academy fantasia เอ้ยยย codecademy

สวัสดีทุกท่านนะคะ วันนี้ มีเว็บมาแนะนำ คือ http://www.codecademy.com เป็นเว็บที่สอนเขียนโปรแกรมที่เข้าใจง่าย แค่อ่านภาษาอังกฤษพอได้ เท่านั้นพอ สอนตั้งแต่พื้นฐานเลย

ข้อดี คือ ให้เราปฏิบัติจริงเลย อ่านบทเรียน และมีแบบฝึกหัดให้ทำเดี๋ยวนั้นเลย
ข้อเสีย คือ ต้องต่อเน็ต และตัว compiler อาจจะดูงงๆว่าผิดตรงไหนหว่า แต่มี Q&A forum ช่วยไว้ เพราะคนติดก็มีเยอะเช่นกัน

เว็บนี้สอนภาษาอะไรบ้าง จิ้มตามลิ้งข้างล่างเลยจ้าา ก็อปเอาจากเว็บ




เราเรียน Python ก่อน เพราะเราต้องเขียนโปรแกรม Python ในที่ทำงาน ซึ่งอ่านจาก http://docs.python.org/2/tutorial/ ก็ไม่ใช่ว่าจะเข้าใจทั้งหมด เพราะขาดการลงมือทำ ให้เข้าใจถ่องแท้ และมีแต่ตัวอย่างง่ายๆเท่านั้น เว็บนี้จึงเป็นทางเลือกที่ดีในการเริ่มเขียนโปรแกรมภาษาใหม่ๆ

มาถึงเจ้า Python กันบ้าง ข้อดีคือ มันรันทีละบรรทัด ถ้ามันมี error จะทำงานไปจนถึงบรรทัดที่เป็นปัญหา ถ้าเป็นภาษาอื่น จะรันไม่ได้เพราะติด error และสามารถนำไปใช้กับเจ้า Raspberry Pi ที่นอนนิ่งอยู่ในกล่องได้ด้วย TT (ทำงาน 5 วัน ไม่ค่อยมีเวลาเล่นเท่าไหร่)

เมื่อจบแต่ละบท จะมีธงให้ด้วย เก็บแต้มได้ด้วย แต้มได้มาจากทำแบบฝึกหัดผ่าน เข้าหน้าเว็บ

บทเรียน python มีดังนี้ (ขอก็อปมาแปะนะคะ T^T) ซึ่งเจ้าของบล็อกได้เรียนครบทุกบทแล้วคะ


Python Syntax

Python Syntax
This tutorial will introduce you to Python, a general-purpose, object-oriented interpreted language you can use for countless standalone projects or scripting applications.

Tip Calculator
Now that you've completed the lesson on Python syntax, let's see if you can put your newfound skills to use. In this project, you'll create a simple calculator that determines the price of a meal after tax and tip.

Strings and Console Output

Strings & Console Output
This course will introduce you to strings and console output in Python, including creating string literals, calling a variety of string methods, and using the "print" keyword.
Date and Time
This project is a follow up to Unit 2: Strings and Console input and will give you practice with the concepts introduced in that course.

Conditionals and Control Flow

Conditionals & Control Flow
In this course, we'll learn how to create programs that generate different outcomes based on user input!
PygLatin
In this project we'll put together all of the Python skills we've learned so far including string manipulation and branching. We'll be building a Pyg Latin translator. (That's Pig Latin for Python Programmers!)

Functions

Functions
A function is a reusable section of code written to perform a specific task in a program. We gave you a taste of functions in Unit 3; here, you'll learn how to create your own.

Taking a Vacation
Hard day at work? Rough day at school? Take a load off with a programming vacation!

Lists & Dictionaries

Python Lists and Dictionaries
Lists and dictionaries are powerful tools you can use to store, organize, and manipulate all kinds of information.

A Day at the Supermarket
Let's manage our own supermarket and buy some goods along the way!

Student Becomes the Teacher

Student Becomes the Teacher
Use what you've learned so far to manage your own class.

Lists and Functions

Lists and Functions
Now that you've learned about lists, let's turbo-charge them with functions.

Battleship!
In this project we will make a simplified version of the classic board game Battleship! We'll use functions, lists, and conditionals to make our game.

Loops

Loops
Loops allow you to quickly iterate over information in Python. In this lesson, we'll cover two types of loop: 'while' and 'for'.

Practice Makes Perfect
You know a lot of Python now. Let's do some practice problems!

Exam Statistics

Exam Statistics
Your students just took their first test. It's time to see how everyone did. Let's write a program to compute the mean, variance, and standard deviation of the test scores.

Advanced Topics in Python

Advanced Topics in Python
In this lesson, we'll cover some of the more complex aspects of Python, including iterating over data structures, list comprehensions, list slicing, and lambda expressions.

Introduction to Bitwise Operators
Bitwise operations directly manipulate bits—patterns of 0s and 1s. Though they can be tricky to learn at first, their speed makes them a useful addition to any programmer's toolbox

Introduction to Classes

Introduction to Classes
Classes are a crucial part of object-oriented programming (OOP). In this course, we'll explain what classes are, why they're important, and how to use them effectively.

Classes
Make your own Car and learn how to driveCar()!

File Input and Output

File Input/Output
Now that you understand Python syntax and have been introduced to some Python best practices, let's apply what you've learned to a real-world application: writing data to a file.

เมื่อเรียนครบแล้ว ยังมีหัวข้ออื่นๆให้เรียนอีก ตามลิ้งนี้เลยคะ http://www.codecademy.com/courses/lang/python?filter_by_levels=all&filter_by_locales=en

และยังมี group ให้เข้าไปส่องด้วยหล่ะ ทั้งเรื่อง programming และเรื่องอื่นๆอีกด้วย

-----------------------------------------------

สำหรับวันนี้ แนะนำเรื่อง codecademy ก่อนคะ คราวหน้าจะมาเรื่องเขียนโปรแกรมจริงจังแล้วคะ

ป้ายกำกับ: ,

0 ความคิดเห็น:

แสดงความคิดเห็น

สมัครสมาชิก ส่งความคิดเห็น [Atom]

<< หน้าแรก