maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   What is Python?? How do i get rid of it?? (https://talk.maemo.org/showthread.php?t=40970)

romanianusa 2010-01-17 01:32

What is Python?? How do i get rid of it??
 
And do i need it?? I am new to this. I notice when i go to xterminal and type df -h and see
/opt/pymaemo/usr/lib/python2.5 1.3G 32% used
/lib/python2.5
/pt/pymaemo/usr/share/pyshared 1.3G 32% used
..
..
ect..

I normally don't see these before when i type df -h?? What is this ....i am not a programmer...do i need this and how do i uninstall it??

Flandry 2010-01-17 01:34

Re: What is Python?? How do i get rid of it??
 
Did it occur to you to search for "python" before creating another thread?

youxing 2010-01-17 01:35

Re: What is Python?? How do i get rid of it??
 
Many apps you can download from the repositories are written using Python! So I'd really recommend you not to remove this!

vartanov 2010-01-17 01:36

Re: What is Python?? How do i get rid of it??
 
python is a big snake that lives in your device, it eats filesystem and dives nodes... but seriously, you need it trust me... google it.

romanianusa 2010-01-17 01:36

Re: What is Python?? How do i get rid of it??
 
Quote:

Originally Posted by Flandry (Post 477335)
Did it occur to you to search for "python" before creating another thread?

I did...i always do search for the topic i want to read....but found no help.

romanianusa 2010-01-17 01:37

Re: What is Python?? How do i get rid of it??
 
Quote:

Originally Posted by vartanov (Post 477338)
python is a big snake that lives in your device, it eats filesystem and dives nodes... but seriously, you need it trust me... google it.

I know it runs some sort of script or whatever...but the reason i question it is because all of sudden it appears in xterminal where before..it's not there when i type df -h.

vartanov 2010-01-17 01:43

Re: What is Python?? How do i get rid of it??
 
Quote:

Originally Posted by romanianusa (Post 477342)
I know it runs some sort of script or whatever...but the reason i question it is because all of sudden it appears in xterminal where before..it's not there when i type df -h.

what you see are mounts used for python, it is needed to run your apps. it probably appeared because you have installed something.

use
Quote:

df -h | grep root
to see only the root partition or replace root with anything you want to filter.

canabal 2010-01-17 01:43

Re: What is Python?? How do i get rid of it??
 
python is a programming language in the same way as c, c++ or anything like that.

attila77 2010-01-17 01:43

Re: What is Python?? How do i get rid of it??
 
Because previously it was not optified. Those binds you see in df show the python stuff is now on opt, so not using precious NAND space.

vartanov 2010-01-17 01:47

Re: What is Python?? How do i get rid of it??
 
Quote:

Originally Posted by attila77 (Post 477348)
Because previously it was not optified. Those binds you see in df show the python stuff is now on opt, so not using precious NAND space.

does the optify package create those nodes?

romanianusa 2010-01-17 01:55

Re: What is Python?? How do i get rid of it??
 
Quote:

Originally Posted by attila77 (Post 477348)
Because previously it was not optified. Those binds you see in df show the python stuff is now on opt, so not using precious NAND space.

Ok thanks. I know what happened now. I did optify to save space for the firmware update.

andree 2010-01-17 08:53

Re: What is Python?? How do i get rid of it??
 
Quote:

Originally Posted by vartanov (Post 477352)
does the optify package create those nodes?

PyOptify, to be precise... (if I recall correctly)

btw, those additional "disks" you see in df -h, are done using "mount --bind" (which is why they appear in mounts... symlinks don't "do that")

python really isn't a thing you'd want to remove - with some new apps it would reinstall anyway...

pycage 2010-01-17 09:48

Re: What is Python?? How do i get rid of it??
 
PyMaemo chose to use --bind mount for optification as the usual optification process turned out to not work too well in this case.
What you're seeing with df is the bind mount. It's harmless, just ignore it. :)

ndi 2010-01-17 19:04

Re: What is Python?? How do i get rid of it??
 
A link would help, maybe?


All times are GMT. The time now is 15:34.

vBulletin® Version 3.8.8