Giter Club home page Giter Club logo

python_basic_sec1's Introduction

さらっと学ぶ、Python基礎文法

本講座の狙い

  • Python初学者向けに、全体像を示すことを狙いとします

    • 種々のアレンジ技を網羅的に伝えることより、全体像を優先します
    • 用語や定義の厳格さよりも、直感的な理解のしやすさを優先します
    • 事務仕事、あるいはウェブプログラミング技術に近い知識を優先します
      • たとえば、ウェブプログラミングで使う機会のないbit演算等は扱いません
  • Excel VBA基礎講座修了生程度のプログラミング知識を前提とします

    • 多くの言語に共通の基本概念については、手間暇かけての解説はしません
      • 変数とは
      • 構造文とは
      • 関数とは
      • 引数とは
      • ...
    • 基礎的なテスト実行ノウハウについては、手間暇かけての解説はしません
      • プログラムのステップイン実行
      • ステップイン
      • ステップアウト
      • ブレークポイント
      • 中断中に変数等の値を参照する
      • ...
  • 動画講座では、文法知識だけでなく、開発環境(Pycharm)の機能も折りに触れ紹介します


おままかな章立て

「基礎文法を、さらっと学ぶ」という趣旨の講座なので、以下のいずれについても、踏み込んだ解説はしません。
(関連事項については、負荷がかかりすぎない範囲で紹介することもあります)

section1

  1. リテラル値。代表的な演算子(その1)

    • 数値型
    • bool型
    • 文字列型
    • None型
    • 代表的な演算子その1
  2. リスト、タプル、集合。代表的な演算子(その2)

    • リスト
    • タプル
    • 集合
    • frozenset型
    • 文字列のシーケンス
  3. 構造文

    • for文
    • while文
    • if文
    • 代表的な演算子その2
  4. 辞書

    • マッピング
  5. 内包表記

    • リスト内包表記
    • タプル内包表記
    • 辞書内包表記
    • 集合内包表記
  6. 文字列操作のまとめ

section2

  1. 関数(その1)

    • 位置引数と名前付き引数
    • 可変長引数と *args, **kwargs
  2. クラスとインスタンス

    • クラスとインスタンス
    • コンストラクタ
    • インスタンスの呼び出し
    • インスタンスメソッド
    • 関数による属性へのアクセス
      • hasattr, getattr, setattr
  3. モジュールとパッケージ

    • インポート
    • ライブラリ
  4. 関数(その2)

    • 高階関数とデコレータ
    • private属性の関数
    • 【参考】グローバル変数
  5. 例外

  6. 特殊な関数とメソッド

section3 - 総括と背景**・背景技術

  1. オブジェクトのid

  2. 主要な組み込み型

    • 数値、シーケンス、マッピング、クラス、インスタンス、例外
  3. ハッシュ可能オブジェクト

  4. イミュータブルなオブジェクト、ミュータブルなオブジェクト

python_basic_sec1's People

Contributors

k-brahma avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.