Python 計算字串長度?

如何用Python 計算字串長度? Example string = “1234567890” print (len(string)) Read More

Python 顯示字串第X至第Y個字?

如何用Python 顯示字串第X至第Y個字? Example string = “1234567890” print (string[1:5]) “print (string[x:y])”就是顯示第X+1到第Y個字, 所以如果想只顯示5及6 就應該用 string = “1234567890” print (string[4:6]) 如果由一開始到第Y個就應該用 string = “1234567890” print (string[:5]) 如果由第X+1個到最尾就應該用 string = “1234567890” print (string[4:])   Read More

Python 合併字串

如何用 Python 合併字串? Example x = “H” y = “ello” n = ” ?? 123″ z = x + y + n print (z) Read More

Python 顯示跨行字串

如何用 Python 顯示跨行字串? Ans: “”” 要SHOW既野1 要SHOW既野2 …. “”” Example x = “”” I am a boy “”” print (x)   Read More

Python 計算次方

如何用Python 計算次方? Example x = 2 ** 3 print (x) Read More

Python 取餘數

如何用Python 取餘數? Example x = 6 % 4 print (x) Read More

Protected: Complementing intuition with systematic study (OB)

There is no excerpt because this is a protected post.

Protected: What’s Organizational Behavior (OB) ?

There is no excerpt because this is a protected post.

Protected: What Managers Do?

There is no excerpt because this is a protected post.

Protected: The Importance of Interpersonal Skills

There is no excerpt because this is a protected post.

Protected: Organizational Behavior – Lesson 1 (ADMS)

There is no excerpt because this is a protected post.

Protected: ADMS (Orientation)

There is no excerpt because this is a protected post.

Protected: OSH5002EP (July 2020)

There is no excerpt because this is a protected post.

Protected: OSH5001EP (July 2020)

There is no excerpt because this is a protected post.

Protected: Fevaworks: Big Data Course 15 Jun 2020

There is no excerpt because this is a protected post.

Protected: Fevaworks: Big Data Course 8 Jun 2020

There is no excerpt because this is a protected post.

How to know what module installed on the computer (Windows)

[Ref Python大數據特訓班 (ISBN:978-986-476-910-0)] use “pip list” in cmd.exe   Read More

Protected: Fevaworks: Big Data Course 1 Jun 2020

There is no excerpt because this is a protected post.

How to change the Jupyter start-up folder

[Ref https://stackoverflow.com/questions/35254852/how-to-change-the-jupyter-start-up-folder] Use the jupyter notebook config file: Open cmd (or Anaconda Prompt) and run jupyter notebook –generate-config. This writes a file to C:\Users\username\.jupyter\jupyter_notebook_config.py. Browse to the file location and open it in an Editor Search for the following line in the file: #c.NotebookApp.notebook_dir = ” Replace by c.NotebookApp.notebook_dir = ‘/the/path/to/home/folder/’ Make sure you use forward slashes in your path and use Read More

Command Prompt: 11 basic commands you should know (cd, dir, mkdir, etc.)

[Ref https://www.digitalcitizen.life/command-prompt-how-use-basic-commands]   How to change the directory (folder) in Command Prompt (CMD) CD\ command  go one folder up, use the “cd..” command   How to change the drive in Command Prompt (CMD) “d:” change the drive and the directory at the same time – “cd D:\Python Code”   How to view the contents of a directory in Read More

1 34 35 36 37 38 48
wpChatIcon