Python/C
10 posts
Page 1 of 1
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
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
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

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
VIP since: 6-10-2011
something that every computer can read/execute without having python installedThat'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
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.
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
VIP since: 6-10-2011
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
XTechVB wrote:When you install Windows 7 it doesn't come with the latest .Net Framework. I guest it comes with .Net 2.0.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.
Find my programs on Softpedia
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
VIP since: 6-10-2011
No problem #XTechVB
I found out how to compile *.c files so that is solved now 
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.


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
VIP since: 6-10-2011
Found the solution: make a wrapper for it 

Practice makes perfect!
VIP since: 6-10-2011
VIP since: 6-10-2011
clanc789 wrote:Found the solution: make a wrapper for itWell 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
Copyright Information
Copyright © Codenstuff.com 2020 - 2023