I would like to understand what python needs to work on unix.
And to understand how i can make it smalest possible?
I dont understand at all setup.
I searched in python.org and in sources but it is not clear at all for me.
Can python run with a posix C compiler and minix or something like that ?
Thanks 4 1769
In article <40************ **********@news .easynet.fr>,
RosalieM <NO****@easycon nect.fr> wrote: I would like to understand what python needs to work on unix. And to understand how i can make it smalest possible? I dont understand at all setup.
I searched in python.org and in sources but it is not clear at all for me.
Can python run with a posix C compiler and minix or something like that ?
"Cameron Laird" <cl****@lairds. com> a écrit dans le message de
news:10******** *****@corp.supe rnews.com... In article <40************ **********@news .easynet.fr>, RosalieM <NO****@easycon nect.fr> wrote:I would like to understand what python needs to work on unix. And to understand how i can make it smalest possible? I dont understand at all setup.
I searched in python.org and in sources but it is not clear at all for
me. Can python run with a posix C compiler and minix or something like that ?
. . . There are probably simple answers to your questions. It might take a bit of conversation before we understand each other's language.
Most Unix host nowadays install with Python already present. Under MacOS and nearly all Linux distributions, for example, I can type at the command line, and receive responses: # python Python 2.3 (#1, Sep 13 2003, 00:49:11) [GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] on darwin Type "help", "copyright" , "credits" or "license" for more information. >>> 3 + 8.5 11.5 >>> print("Hello, world.")
Hello, world. Is that the sort of information you seek? If you prefer, fr.comp.lang.py thon is also available as a Usenet newsgroup. --
Cameron Laird <cl****@phaseit .net> Business: http://www.Phaseit.net
I used a lfs 4.0 to build my unix. But is is very fat. I can compile python
from there and play with "Hello World", but i dont uderstand how to choose
what i need and what i dont need to compile it and choose features that
python would be able to do.
For example, can i build python on a minix system?
Why socket module needs threads to compile ?
I search answers to this kind of questions.
Thanks.
In article <40************ **********@news .easynet.fr>,
RosalieM <NO****@easycon nect.fr> wrote:
"Cameron Laird" <cl****@lairds. com> a écrit dans le message de
news:10******** *****@corp.supe rnews.com... In article <40************ **********@news .easynet.fr>, RosalieM <NO****@easycon nect.fr> wrote:I would like to understand what python needs to work on unix. And to understand how i can make it smalest possible? I dont understand at all setup.
I searched in python.org and in sources but it is not clear at all for
me. Can python run with a posix C compiler and minix or something like that ?
. . . There are probably simple answers to your questions. It might take a bit of conversation before we understand each other's language.
Most Unix host nowadays install with Python already present. Under MacOS and nearly all Linux distributions, for example, I can type at the command line, and receive responses: # python Python 2.3 (#1, Sep 13 2003, 00:49:11) [GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] on darwin Type "help", "copyright" , "credits" or "license" for more information. >>> 3 + 8.5 11.5 >>> print("Hello, world.")
Hello, world. Is that the sort of information you seek? If you prefer, fr.comp.lang.py thon is also available as a Usenet newsgroup. --
Cameron Laird <cl****@phaseit .net> Business: http://www.Phaseit.net
I used a lfs 4.0 to build my unix. But is is very fat (250 M). I can compile
python
from there and play with "Hello World",
but i dont uderstand how to choose
what i need and what i dont need to compile python (library needed)
and how to choose features that python would be able to do
(for example if i dont inted to use some modules).
My questions are like :
For example, can i build python on a minix system?
Why socket module needs threads to compile ?
I search answers to this kind of questions.
You may right saying that it is possible that there is simple answers
and i may ununderstand some basic features of how system works
if so give me direction to search, because as i told i looked into python
site
for documentation about this and found nothing.
Thanks. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Gus Tabares |
last post by:
Hello all,
I'm looking to compile debug versions of python23.dll and python23.lib
using .NET. I done this successfully using MSVC++ but would like to
use .NET. Has anyone been successful in compiling Python using .NET? I
would be interested in the process and any problems/quirks you ran
into
|
by: Florian Lindner |
last post by:
Hello,
I want to compile that small python script:
bastet:/ # cat test.py
#!/usr/bin/python
import sys, os
username = os.getlogin()
print username
os.spawnv(os.P_WAIT, "/root/mailboxmgm.py", sys.argv)
|
by: Johnathan Doe |
last post by:
I've been thinking about what the issues would be in compiling
Python into native machine code, and since type information is
important in Python, it seems possible that Python code can
be compiled into native machine code (albeit with a lot of
extra effort).
For instance, type information is discovered when something is
assigned to a variable or an anonymous piece of data is used
in a program. Compiling Python bytecode into native...
|
by: Heuguette Bostic |
last post by:
I am attempting to compile Python 2-3.4 on Tru64 UNIX V4.0F. Whenever Iissue the make command, the following errors are output:
-pthread -ieee -std -Olimit 1500 -DNDEBUG -O -I. -I./Include -DPy_BUILD_CORE -c ./Modules/posixmodule.c -o Modules/posixmodule.o
cc: Warning: ./Modules/posixmodule.c, line 3007: "return" is an invalidpreprocessor directive, and is being ignored. (baddirective)
# return PyInt_FromLong((long)getpgrp(0));...
|
by: francisl |
last post by:
We have to build some script were I work to make a dynamic server inventory.
But, the project team, a windows crew, start it all in vbscript and on
mssql. Note, due to political reason, we can not use mysql or anyother
one that are not *authorize*, it's oracle or mssql. Now we have to make
it work also with our sun and HP unix server(plus one Linux).
So I propose to use python, and after they see my litle python/wxwindow
program, that...
| |
by: Han-Wen Nienhuys |
last post by:
Hello,
I have a small patch for Python SVN that makes it possible to
cross-compile python on Unix to various other Unix targets.
I have successfully built a binary for FreeBSD on Linux.
The patch is available at
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1597850&group_id=5470
|
by: Russ |
last post by:
Is it possible to compile python code into a library (on unix), then
link to it and call it from C/C++? If so, where can I learn how.
Thanks.
|
by: Gilles Ganault |
last post by:
Hello
I need to compile Python with the packages "socket,sys,time,os", but
I've never done it before, and would like confirmation that this will
work as planned:
======
make clean
../configure --with-socket --with-sys --with-time --with-os
make
|
by: Colin J. Williams |
last post by:
1.I have both 2.5 and 2.6 but both
appear, under Recent Projects, as
pcbuild. It would be helpful if the
Python Version could be indicated.
2.With 2.6, Python compiles and executes
OK but various packages are not
compiled, eg sqlite3.
3.Pythonw compiles OK but not sqlite3.
4.Mike Fletcher suggests an approach
(http://www.vrplumber.com/programming/mstoolkit/)
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |