Featured Posts

CS50 Python , Nutrition Facts Table

Image
Nutrition Facts: Python Practice for Beginners Nutrition Facts Table for Python Practice Welcome to this comprehensive guide for Python beginners! If you are learning how to work with lists, dictionaries, and loops, this post will help you build practical skills using a real-world example: nutrition facts for fruits. Understanding how to organize and manipulate data is a key part of programming, and this exercise will give you hands-on experience. Below is a sample table of fruits and their calorie values, formatted as a Python list of dictionaries. This structure is ideal for coding exercises, projects, or even building your own nutrition calculator. You can expand this list, add new fruits, or use it as a foundation for more advanced Python tasks. Python List of Dictionaries Example: fruits = [ {'name': 'Apple', 'calories': 130}, {'name': 'Avocado', 'calories': 50}, {'name': 'Banana', 'ca...

How to Open a Folder in VSC with CMD

 Open a Folder in Visual Studio Code with CMD

visual studio code
VSC

If you don't have the the right click option open with visual studio code, no worries, you can do that with command prompt. Here's how:

  1. From windows explorer, open/migrate to the folder/directory which you want to work on.
  2. click in the folder/directory path which will highlight the path to the folder
    ex. C:\Users\User\Desktop\projects
  3. While the folder is highlighted, type cmd which will open the command prompt with the file path

    open folder with command prompt
    Open folder with Command Prompt

  4. In the command prompt type (code .) without the brackets.
  5. The folder you are in will open with Visual Studio Code.
  6. Now, you can work on the folder through Visual Studio Code, like creating a new file, copying or deleting a file.



    Other topics of Interest:

Comments

Popular posts from this blog

فرصتك للدراسة في ألمانيا: منحة ممولة بالكامل لطلاب الدراسات العليا

How to Deactivate Screen Reader in Kali Linux

Murphy's Law: Expect the Unexpected

Python 3.2.1.14 LAB: Essentials of the while loop

Data Analysis Roadmap 2026: From Excel Lover to Python-Powered Analyst