Tag: python

  • Home
  • Posts tagged “python”

VS Code & PhpStorm 2-clicks Auto-Format Code

PhpStorm (Menu Code > ReFormat Code/File) * Reformat File has more Options as seen in the second screenshot VS Code (Right-Click + choose: Format Document/Selection) Format Document: For All Document but Format Selection: Only for the Selected Code

Read More

Check the Python version from the command line and in the Python script

/Users/leonidassavvides/PycharmProjects/pythonProject2/venv/bin/python /Users/leonidassavvides/PycharmProjects/pythonProject2/main.pyHi, PyCharmPython 3.10.4Python 3.10.4Python 3.10.4 (v3.10.4:9d38120e33, Mar 23 2022, 17:29:05) [Clang 13.0.0 (clang-1300.0.29.30)] Process finished with exit code 0

Read More

Fix an Internet connection – Internet not working

Here is a Python Script If then try… …. else try .., From this script flow & flowchart you can learn to debug a non working connection EASY READ EVEN FOR NON PYTHON PROGRAMMERS SCRIPT HERE // FLOWCHART FOLLOWS 17-internet-connection_py Flowchart          

Read More