[广东话] Python 入门:第二课 – Python Containers – List / Tuple

Python Containers

  1. Python Containers
    1. List [] -列表
    2. Tuple () -元组
    3. Dictionary {key:value} -字典
    4. Set {key} -集合
  2. Using List
    • Append, add, insert, extend, pop, del, sort, copy
  3. Using Tuple
    • Accessing elements, variable assignment

免费订阅本 Youtube 频道

[广东话] Python 入门:第一课 – PyCharm, Python examples & Python data types

[广东话] Python 入门:第一课 – PyCharm, Python examples & Python data types

基于 Python 3.7 的教程,以广东话教授。

# 第一课: PyCharm, Hello world, data type

  1. Pycharm IDE basic usage
  2. Indentation, print function
  3. Four main data type: str, int, float, bool
  4. Basic calculation
  5. Type conversion: int(), float(), str(), bool()
  6. String concatenation
  7. SLICE operation [start:end:step]
  8. String functions: find, replace, etc.

免费订阅本 Youtube 频道

Android Studio 可成功 compile 但编辑器完全找不到 AppCompat 的任何参考

今天遇到一个很奇怪的 Android Studio 问题。打开其中一个项目时,可以成功 compile 但 AppCompat 的参考都找不到 (全部标示为红字)。把上 Google 找到 stackoverflow 上也有人有过同样的问题,什么 Clean / Invalidate Caches 都不能解决问题,只有其中有一简单方法对我的项目有效。 先把 Android Studio 关掉 到项目的 \.idea 删除 libraries (或更名) 用 Android Studio 重新打开该项目 Stackoverflow 的解答

无法复制此页面的内容