Python/C

10 posts Page 1 of 1
Contributors
User avatar
clanc789
Coding Guru
Coding Guru
Posts: 786
Joined: Tue Nov 02, 2010 4:45 pm

Python/C
clanc789
Hey there coders,

I was wondering, can I 'convert' or 'complite' a pythong file (.py) to something that every computer can read/execute without having python installed? If so, please help me out :D

EDIT: Another question: how do I compile C files, since I have tried it with the 2013 express but it does not quite work for me.

Kind regards,
Max
Last edited by clanc789 on Wed Jan 08, 2014 5:35 pm, edited 2 times in total.
Practice makes perfect!

VIP since: 6-10-2011
User avatar
XTechVB
VIP - Site Partner
VIP - Site Partner
Posts: 727
Joined: Thu May 20, 2010 10:32 am

Re: Python
XTechVB
something that every computer can read/execute without having python installed
That's like running a vb or c# application on a computer without the .Net Framework. As far as i know that's impossible in both cases.
You can find me on Facebook or on Skype mihai_92b
User avatar
clanc789
Coding Guru
Coding Guru
Posts: 786
Joined: Tue Nov 02, 2010 4:45 pm

Re: Python
clanc789
http://www.py2exe.org/index.cgi/Tutorial

This shows how to make a .exe of a .py file.

Ofcourse there are/will be limitations such as 'you need x.dll and y.dll' but tose DLLs are usually of the .NET Framework, which most PCs have.

EDIT: I forgot to tell that I cant get that one working on my PC, the py2exe.
Practice makes perfect!

VIP since: 6-10-2011
User avatar
XTechVB
VIP - Site Partner
VIP - Site Partner
Posts: 727
Joined: Thu May 20, 2010 10:32 am

Re: Python/C
XTechVB
clanc789 wrote:
http://www.py2exe.org/index.cgi/Tutorial

This shows how to make a .exe of a .py file.

Ofcourse there are/will be limitations such as 'you need x.dll and y.dll' but tose DLLs are usually of the .NET Framework, which most PCs have.

EDIT: I forgot to tell that I cant get that one working on my PC, the py2exe.
.NET Framework, which most PCs have.
NO they don't. The .Net Framework is an optional library which means you the user have to install it (usually it installs itself when you install Visual Studio). But since Windows 7 the .Net Framework comes with the Windows installation.
So if a user has Windows XP and never installed Visual Studio or just the .Net Framework library, NO .net based application is gonna work no matter how you convert it.
You can find me on Facebook or on Skype mihai_92b
User avatar
Shim
VIP - Donator
VIP - Donator
Posts: 882
Joined: Wed Dec 14, 2011 5:02 am

Re: Python/C
Shim
XTechVB wrote:
clanc789 wrote:
http://www.py2exe.org/index.cgi/Tutorial

This shows how to make a .exe of a .py file.

Ofcourse there are/will be limitations such as 'you need x.dll and y.dll' but tose DLLs are usually of the .NET Framework, which most PCs have.

EDIT: I forgot to tell that I cant get that one working on my PC, the py2exe.
.NET Framework, which most PCs have.
NO they don't. The .Net Framework is an optional library which means you the user have to install it (usually it installs itself when you install Visual Studio). But since Windows 7 the .Net Framework comes with the Windows installation.
So if a user has Windows XP and never installed Visual Studio or just the .Net Framework library, NO .net based application is gonna work no matter how you convert it.
When you install Windows 7 it doesn't come with the latest .Net Framework. I guest it comes with .Net 2.0.
Find my programs on Softpedia
User avatar
clanc789
Coding Guru
Coding Guru
Posts: 786
Joined: Tue Nov 02, 2010 4:45 pm

Re: Python/C
clanc789
Lets rephrase it: the computer I plan to use it on has .netframework and im not able to instal python, thus my question.
Practice makes perfect!

VIP since: 6-10-2011
User avatar
XTechVB
VIP - Site Partner
VIP - Site Partner
Posts: 727
Joined: Thu May 20, 2010 10:32 am

Re: Python/C
XTechVB
Sorry #clanc789 we got a bit off track, here THIS might be of some help.
You can find me on Facebook or on Skype mihai_92b
User avatar
clanc789
Coding Guru
Coding Guru
Posts: 786
Joined: Tue Nov 02, 2010 4:45 pm

Re: Python/C
clanc789
No problem #XTechVB :) I found out how to compile *.c files so that is solved now :D

As for your program suggestion: I tried that but I can not find how to install it correctly so that it works on windows 8.
Practice makes perfect!

VIP since: 6-10-2011
User avatar
clanc789
Coding Guru
Coding Guru
Posts: 786
Joined: Tue Nov 02, 2010 4:45 pm

Re: Python/C
clanc789
Found the solution: make a wrapper for it :D
Practice makes perfect!

VIP since: 6-10-2011
User avatar
XTechVB
VIP - Site Partner
VIP - Site Partner
Posts: 727
Joined: Thu May 20, 2010 10:32 am

Re: Python/C
XTechVB
clanc789 wrote:
Found the solution: make a wrapper for it :D
Well i guess that's the best solution. Even the .Net Framework is one massive wrapper around the original Windows libraries.
You can find me on Facebook or on Skype mihai_92b
10 posts Page 1 of 1
Return to “Help & Support”