0% found this document useful (0 votes)
7 views3 pages

Offline C and Python Setup Guide

Uploaded by

xmrehman
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views3 pages

Offline C and Python Setup Guide

Uploaded by

xmrehman
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Offline Setup Guide for C Language and Python

This guide will help you install everything needed to code in C and Python on your desktop PC.

You only need internet once for installation. After that, everything works offline.

-----------------------------------------

1. Install Visual Studio Code (VS Code)

-----------------------------------------

• Download VS Code from the official site.

• Install normally.

• After installation, VS Code works offline.

-----------------------------------------

2. Setup for C Language

-----------------------------------------

Step 1 — Install MinGW (GCC Compiler)

• Search "MinGW download" and install it once.

• During installation, select "gcc" components.

• Add MinGW bin folder to system PATH.

Step 2 — Install Extensions in VS Code

• C/C++ (Microsoft)

• Code Runner (optional)

Step 3 — Test C Code


Create a file: test.c

Write:

#include

int main() {

printf("Hello C");

return 0;

Run using GCC:

gcc test.c -o [Link]

./[Link]

-----------------------------------------

3. Setup for Python

-----------------------------------------

Step 1 — Install Python

• Download Python from [Link]

• Check "Add to PATH" during install

Step 2 — Install VS Code Extensions

• Python (Microsoft)

• Pylance

Step 3 — Test Python Code


Create a file: [Link]

Write:

print("Hello Python")

Run:

python [Link]

-----------------------------------------

4. Offline Workflow

-----------------------------------------

Once everything is installed:

• You can compile C programs offline

• You can run Python scripts offline

• VS Code works fully offline

This setup is permanent and requires no internet after installation.

-----------------------------------------

End of Guide

-----------------------------------------

You might also like