Δημοσιεύτηκε: 24 Μαρ 2011, 01:24
από medigeek
xaris2335 έγραψε:Το θέμα είναι ότι δεν ξέρω τι έχουν ;

Αρχίζεις με uname. Μετά: http://mattiasgeniar.be/2008/10/05/how- ... n-version/

...ή αν έχει python:
Κώδικας: Επιλογή όλων
python -V; python -c 'import platform; print(platform.dist())'


έγραψε:$ python -V; python -c 'import platform; print(platform.dist())'
Python 2.6.6
('Ubuntu', '10.10', 'maverick')

Θα πρέπει να δουλέψει σε όλες τις διανομές με python 2.3 και άνω (μέχρι python 2.6/2.7)