トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS

Top / linux / python examples / python エンコードルール
Last-modified: 2017-04-27 (木) 11:45:20 (2407d)

python エンコードルール


  • syntax:
    # coding: utf-8
    # -*- coding: utf-8 -*-

  • comment:
    日本語などの文字を含むスクリプトを作成する場合は、スクリプトの1行目、または2行目に、
    スクリプトの エンコードルール(coding:) を指定します。以下の内容が定義可能。



  • Example:



    Tag: Linux python

    Goto Top Page

Top / linux / python examples / python エンコードルール