Python 合併字串
如何用 Python 合併字串? Example x = “H” y = “ello” n = ” ?? 123″ z = x + y + n print (z)
Python 顯示跨行字串
如何用 Python 顯示跨行字串? Ans: “”” 要SHOW既野1 要SHOW既野2 …. “”” Example x = “”” I am a boy “”” print (x)
How to know what module installed on the computer (Windows)
[Ref Python大數據特訓班 (ISBN:978-986-476-910-0)] use “pip list” in cmd.exe
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
Setting CHROME as Default browser for Anaconda Jupyter Notebook
[Ref https://community.simplilearn.com/threads/setting-chrome-as-default-browser-for-anaconda-jupyter-notebook.48667/] Here is the way to override this default config and set chrome as a default browser while launching in simple steps. Step 1: Launch Anaconda command Prompt Step 2: Type the command ” jupyter notebook –generate-config ” step 3: Locate the generated configuration file in the path “C:\Users\XXXX\.jupyter\jupyter_notebook_config.py” and open it with notepad/any text editor. step
Python Lesson 1
[Ref Wiki, Youtube, It’s django:用Python迅速打造Web應用!] Python is an interpreted, high-level, general-purpose programming language. Recent years, it has been used more broadly than before. This article is not going to share to much about the history and applications. Instead, let’s take a look on the interface of the language. To “play” this language, we need something. If you have learnt PHP,