Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8885991
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T21:26:54+00:00 2026-06-14T21:26:54+00:00

Suppose i have a main.py for a calculator application. I used different .py files

  • 0

Suppose i have a main.py for a calculator application. I used different .py files for different function like(add.py for adding, mul.py for multiplication) and all these files are imported in main.py. When I click main.py it executes successfully and do all function like adding, mul, etc. What i want to do is to make a executable file for main.py so that i can run it in the computer that doesnot have a python installed or any of that module(add.py,..) exist in the hard drive. Is that possible??
THANKS FOR THE HELP

Finally I got the solution. PyInstaller works well in my case and it is easy to use too. Thank you for your help. (:

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T21:26:55+00:00Added an answer on June 14, 2026 at 9:26 pm

    It is impossible to have an independent executable that runs on any OS, that’s why Python is an interpreted language. What you can do is compile the Python scripts into an executable on each OS you want it to run on, using pyinstaller, so you are have a bunch of different independent programs for different OSs all built on the same Python script.

    Pyinstaller has a advantage over py2exe because its easier to compile all the scripts into one file, instead of one directory.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Suppose I have two tables Main and Other like the following: Main +----------+-----------------------------------+ |
Suppose I have an object file ( source.o ) without function main . a
Suppose that in the main I have a function a : a(c); and c
Suppose I have an arbitrary set of files included in the Main App Bundle.
How to use subdomain like user.test.com in IIS 7. Suppose we have main domain
Suppose I have the following templates: .../main.vm .../sections/footer.vm Suppose main.vm looks like this: Hello
Suppose I have a main Widget, which is used to view some objects. The
suppose I have following test/ Main.py test/one/ One.py test1.txt test/two/ Two.py test2.txt What I
Suppose I have a Javascript file function js_main(args){ /* some code */ var x
Suppose I have the following senario: Trunk is my main development line where programmers

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.