General :: Finding Difficult To Understand The Methods Of Xml Modules In Python?
Apr 15, 2011
python can get anylink or any tutorials which is having few basic eg. and could help as a guide too. bcaz whatever now i have like "byte of python" which i feel difficult bcaz it lack in having eg. for modules of xml.so please help me by providing any better options
View 1 Replies
ADVERTISEMENT
May 12, 2014
I work with python and I use emacs as my IDE tool. I have been running Debian Squeeze (6.0.9) for some time now with emacs 23.2.1 and ecb 2.32. I am able to access my python methods in the ecb-methods window with no problems. However I recently upgraded my desktop to Debian Wheezy (7.5) running emacs 23.4.1 and ecb 2.40 but I have lost access to the methods in the ecb-methods window. The window is just empty while the others (directories, sources and history) are all populated. I have a second laptop which I decided to upgrade to Debian Jessie, however Jessie recommends emacs 23.4.1 which is running with ecb 2.40 also. The result is the same as on Wheezy.
I have used the ecb menus and googled for a solution or even just a mention that such a problem exists but have come up with nothing. Either I have a unique situation here or am doing something really dumb.
I would like to upgrade to Wheezy or Jessie but I need access to methods in the ecb methods window. How to keep my upgrade and see the methods in the methods window of the ecb system ....
View 0 Replies
View Related
Apr 28, 2010
Recently I have compiled python 2.6.5 on ubuntu "hardy" 8.04. The script was as simple as it could be:
Code:
./configure --enable-shared
make
[code]....
View 2 Replies
View Related
Jan 14, 2010
I am trying to build a Python module (pyfits) but I get the following error:
# python setup.py install
/home/steve/src/pyfits-2.2.2/stsci_distutils_hack.py:239: DeprecationWarning: os.popen3 is deprecated. Use the subprocess module.
[code]....
View 2 Replies
View Related
Jan 22, 2011
The whole day was more or less spent reinstalling a basic Gnome Ubuntu system. Everything went swimmingly until I started with the XBMC part of the installation. After wrestling with PPAs and apt-get for hours I finally got it installed, but then it all turned awkward in a hurry. It simply refused to start up. I clicked the icon and nothing happened for a good few seconds. The screen then flickered black for an instant, but after that nothing. I started from a terminal and it showed an error message saying it couldn't import Python's os and shutil modules. I found that mighty strange since both modules are part of the Python Standard Library.
Finally, in a bizarre twist, it turns out this doesn't seem to be a XBMC problem, suddenly apt-get started complaining too. TL,DR: I (nor the system) can't import any Standard Library modules in Python in Ubuntu! Is this a path problem? Or have I actually managed to uninstall some vital python packages, if so which ones? I am running Ubuntu 10.10, but I don't think this is necessarily a Ubuntu specific problem. Here are some dumps to show the error messages: (I forgot to copy the XBMC error message, but it looked exactly the same as these below, i.e., it couldn't import the os module) First from apt-get:
Code:
tv@tv:/usr/lib$ sudo apt-get autoremove
[sudo] password for tv:
Reading package lists... Done
Building dependency tree
[code]....
View 1 Replies
View Related
Jan 4, 2011
I am trying to import some Python modules into Ubuntu 10.10 (PySCeS and PyDSTool). If I download the modules and extract them into a directoy in my home directory, open that directory in terminal, and then import them into python (>>>import module_x) then it loads fine. However, if I am outside of the directories then it always returns an error saying the module is not found. I have tried putting the modules into usr/local/lib/python2.6/site-packages or dist-packages and usr/shared/pyshared etc but it never sees any of my modules. It also does this with modules installed from the repository. They are always "not found" but if placed manually in the working directory they are.
View 2 Replies
View Related
Jan 12, 2011
This problem has to do with Python's interactive help (To get to the interactive help, just type help() at any interactive session). I like to browse all my installed Python modules, to see if I can find something that would be useful for my hobby programming projects. However, recently, typing modules (which is the command to list all installed modules) freezes the interactive session.
View 1 Replies
View Related
Jun 9, 2011
I'm update Python , but founde problem root@server [~]# yum update There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: No module named yum
Please install a package which provides this module, or verify that the module is installed correctly.It's possible that the above module doesn't match the current version of Python, which is: 2.6.7 (r267:88850, Jun 7 2011, 12:25:26) [GCC 4.1.2 20080704 (Red Hat 4.1.2-50)] If you cannot solve this problem yourself, please go to the yum faq at: [URL]...
View 10 Replies
View Related
Jan 18, 2011
I am looking for a vps that I can run my own kernel and install modules in.
View 2 Replies
View Related
Mar 6, 2011
I want set up VPN on my VPS but when i try to turn on tun/tap i see:
:/lib/modules# modprobe tun
FATAL: Could not load /lib/modules/2.6.18-194.17.1.el5.028stab070.7PAE/modules.dep: No such file or directory
os : debian 5
(folder lib/modules is empty)
View 1 Replies
View Related
May 11, 2010
I've been trying to load my pcmcia network card driver "xirc2ps_cs" at startup with no success. I have added "modprobe xirc2ps_cs" to the rc.modules file but it doesn't load at startup. Curiously, though, if I execute rc.modules AFTER the machine has booted it will load the modules just fine. Just not during the boot up process. Thinking that hotstart might have been causing problems I've disabled hotstart (chmod -x) temporarilly to remove it from the picture, but there was no change.
View 5 Replies
View Related
Mar 16, 2010
How safe is a chroot if it is locked down? how difficult is building a secure chroot? Does anyone know of any working tutorials for setting up a secure chroot? i only need it to run two applications, a torrent client and a VPN client. I'm hoping to set one up on Ubuntu Karmic. also, I found this, under 'section 4' he gave no write permissions to any non root user, can this be extended upon? which directories do limited users require write access to? what else would you consider essential to security inside a chroot?
View 1 Replies
View Related
Oct 27, 2010
in ubuntu 10.10, I have installed python 2.7. I would like to use apt-get to install packages to this version of python but I haven't been able to figure out howThings I have tried without success:changing the symlink at /usr/bin/python to point to /usr/bin/python2.7 - even after doing this apt-get still installs stuff to python2.6.Set up python2.7 as the primary alternative using update-alternatives - doesn't work
View 3 Replies
View Related
Apr 28, 2011
In the beginning there is MBR. MBR looks for the active partition and tranfers control to the VBR of the active partition. MBR is where grub may be installed. which allows the user to choose an OS(a VBR) I am not sure what the program in the VBR does,but it manages to loads the OS. What am I trying to do: Backup. I ma tired of losign my partitions my bootloaders. I want to backup them all! partitions/MBR /VBR everything short of creating an disk image.
My questions:
1. say the ubuntu partition is formatted, will grub still load? if not is there a bootloader that would?am I making sense? i hope so...
2. what exactly does the VBR contain ?
2. How do I go about backing up? The mbr and the partiton table are backed up with a simple dd command. Then what else needs to be backed ? VBR's of every partition?
View 5 Replies
View Related
Aug 9, 2011
I have taken putty session of a server from two separate machines namely HOST1(3 sessions) and HOST2(1 Session) . However w command says there are 5 users
Code:
# w
09:29:36 up 34 days, 15:48, 5 users, load average: 0.62, 4.33, 8.16
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
root pts/17 HOST1 09:18 4:26 0.01s 0.01s -bash
root pts/18 HOST1 09:27 1:21 0.00s 0.00s -bash
root pts/21 HOST2 09:29 0.00s 0.00s 0.00s w
root pts/20 HOST1 09:29 1:39 0.00s 0.00s -bash
View 3 Replies
View Related
Jul 22, 2010
Recently, my fraternity decided to use our LAN to stream media to our various bars, lounges and ballroom. Some of our playback devices, including an iPhone and a laptop, broke during a party, which is why we decided to have portable devices replaced with sturdy, interchangable and fixed hardware.
As this is going to cost some money and effort, we had better make a fully thought-through plan, which I am in charge of. Still, having never organized a project of any measurable magnitude, I would rather have this plan commented on here.
So far, I am planning to buy one central PC (2GHz, 512 MB RAM) acting as a server, and four identical PCs (1GHz, 256 MB RAM) acting as clients. The former would a) provide local files, stored an an external encrypted hard drive, and b) act as a NFS and SMB client to private systems in the same LAN to incorporate (and forward) data stored on those (as to provide one central point to change the configuration for their use). Futhermore, it would host /etc, /usr and /home of the individual clients to provide that at all times, the same software and drivers are used on all of them. The clients then would mount /etc, /usr and /home from the server, alongside with the both the directories on its external HDD and the ones it had itself mounted from other PCs. Each of them would have to be able to play back music, video files and terrestrial TV from a USB stick, with at most two of them doing so at a time.
Is this a realistic scenario? I so, would you have any recommendations for changes and could you point out pitfalls? The whole lot would have to be rather secure, as usually, there are lots of people coming and going, and we don't want our private data corrupted. If not, where did I go wrong? How would you yourself build a system like that?
And last, what software would you use? Is there a window manager which would be able to act solely as a means to display the three icons needed for TV, video, and music, and make it impossible to tamper with the system? And what programs would you use for playback to ensure maximum performance?
P.S.: Not that I'd suspect so, but is there a german lawyer present? Provided the individual files we play are in our legal posession, this is a legal scenario, isn't it? There would only be friends and other frats present at any public display.
View 3 Replies
View Related
Feb 13, 2010
In Windows environment when I used Borlan for C/C++ compilation, I was used to find the the scope/definitions of the methods/classes by pressing
Code:
ctrl + F1
when the cursor was hovering on that method/class. How can I find the scopes/definitions in the GNU/Linux?
Code:
//atoi.cc
#include <iostream>
main(int argc, char* argv[]) {
float var_float = atof(argv[0]);
[Code]....
View 5 Replies
View Related
May 20, 2011
My computer acts strange - sometimes reboots spontanousely, sometimes does not want to boot. When I isse command "mcelog", I receive such info:
[Code]..
How can I read and understand it? Could somebody point me to some documentation?
View 1 Replies
View Related
Nov 20, 2010
Are there any tricks/sites/methods to use the linux man command in a more convenient way? I love commands in terminal but for some strange reason I preferred to type man in firefox then in the terminal. The output is so long and I have to scroll forever to find what I need. Also the lack of example is a headache.
View 4 Replies
View Related
Feb 26, 2011
I have following in cpuinfo:
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
[code]....
View 2 Replies
View Related
Apr 30, 2010
Does anyone know or have a book on the advanced uses of kickstart and its deployment methods? I have a challenge and its to: Write a report with a full and detailed analysis of the two methods,(remote installation methods of linux and windows) their differences, and a comparison of features and performance.
I am also going to have two servers (one Windows one Linux)thay deploy a virtual network of VMs with different scopes and policies. What can i really do to go beyond the scopes and policies?
View 1 Replies
View Related
Dec 5, 2010
I have no RAID experience on Linux, so I've found dozen of information on the net about software raids, hardware raids and fake raids. Now situation is not clear to me at all. I'm considering to buy one of these cards to run on my Ubuntu server (currently 9.04, but will be upgraded to 10.10):
1. Promise FastTrak TX2300. I believe this is fake raid as it has some RAID bios. It handles SATA II cards and has PCI interface (what is important to me because I don't have PCI-X or PCI-e).
2. Promise SATA 300 TX2 Plus. I believe this could be a software raid because it has no built in raid support at all.
So I don't need to install my system on future raid system I just want to add those disks as storage mirror to my existing system. So what card is better (I believe both are supported on current ubuntu)? Is card better with built in raid which has some settings in BIOS ? What will be setup of the card? I mean should I use any BIOS RAID options or I should disable BIOS raid and use linux dmraid? In that case maybe better choice is card without any RAID in bios ?
Sorry if question is too beginner, but I'm lost with all the information. The main thing I want to know if I should use BIOS raid featured to use fakeraid or I should disable it anyway.
View 8 Replies
View Related
Jul 10, 2011
I've just installed Maxima and wxmaxima. I've learned how to do simple math equations (3x+7=16) but I can't figure out to do slightly more difficult equations. Specifically, I can't figure out what's wrong with how I input this equation:
Code:
solve (7^(-4*x) = 2^(1+3*x), x);
I've tried incrementally building the equation (starting with 7^(x) = 2, then moving to 7^(-4*x) = 2, etc.)but when I introduce the second x, I get a blank output. I have no idea what to do.
View 4 Replies
View Related
Sep 29, 2010
I've seen Flash come up quite a bit in these forums as a target for many complaints for users. I was wondering what exactly is the issue with Flash including the 64bit support, the sound issues etc. Why is such a widely adopted web app having such a difficult time?
View 7 Replies
View Related
Apr 10, 2010
The US-International layout in K/Ubuntu seems to be extremely irritating and difficult to use. I'm wondering if I could find some help here. One thing is if a dead key doesn't work (typing in ' + t for example) it will produce nothing in Ubuntu, as opposed to windows producing 't. I must add a space after almost every apostrophe or quotation mark, which is becoming extremely difficult, tedious, irritating and unnecessary. Also the dead keys that are available are ridiculous. The dead keys I am used to and want are:
' + [letter] = ����� � �
" + [letter] = ����� �
` + [letter] = ���� �
~ + [letter] = � � �
^ + [letter] = ���� �
Which allows one to simultaneously and smoothly type English, Dutch and German but could (to a lesser extent) be used for French. What I get:
[Code]...
Which makes 's (ś) painful, as well as the many uses for apostrophes in dutch like m'n and 'k (producing mń and ḱ respectively) etc. Considering this layout is widely used and is pretty much the de facto layout in The Netherlands whose primary languages would be Dutch and English (and some German), why has it become so difficult to use? Also, how do I fix it?
View 9 Replies
View Related
Apr 2, 2010
I come here every two or three years, when I have some troubles with my graphic card. Indeed, once again. Since last Tuesday, I experience some system freeze. Since yesterday, I must run on low graphic mode. As there has not been any X.org or driver update, I suspect that my graphic card is running down. But I do not know how to diagnose this.
My configuration:
-- Dell Latitude D820 laptop;
-- processor Intel Core 2 Duo T7200 (2.0GHz 667MHz FSB);
-- bi-canal 2x1024Mo DDR2-SDRAM 533MHz memory;
-- graphic card NVIDIA Quadro NVS 110M 256MB;
-- 15.4" WSXGGA+ (1680 x 1050) LCD screen;
-- 100Go SATA (7200 TPM)) hard-drive;
-- 8x DVD +/- RW burner;
-- battery 9 cells 85 WHr LI-ION;
-- Bluetooth card for Latitude;
-- Intel PRO/Wireless 3945 802.11a/g;
-- Ubuntu Linux 9.04 Jaunty Jackalope desktop 64 bits real-time kernel.
Some commands results:
Code:
$ lspci | grep -i vga
01:00.0 VGA compatible controller: nVidia Corporation G72M [Quadro NVS 110M/GeForce Go 7300] (rev a1) .....
View 4 Replies
View Related
Jul 9, 2010
I am facing some problems in font rendering issue for Urdu (South Asian language). Actually the alphabets are being displayed as, for example, "a p p l e" instead of "apple" - if you see this website, probably you will see the gaps in alphabets are making them difficult to read.
I have installed at least 10 different Urdu fonts but still no help, then I tried adding:
MOZ_DISABLE_PANGO="0" to /etc/environment but it also did not helped.
I am using OpenSuse 11.2, Firefox 3.5.10
View 7 Replies
View Related
Apr 14, 2011
Tonight I installed ubuntu 10.10 (32 bit) on an external usb harddrive with a dvd I burned and I used my older desktop. I disconnected all internal and external drives first so everything had to be put on the usb drive I selected (only option available). I used the option to load extra software, use the entire hard drive, and let the software do it's thing. I basically had no options where to put things and it didn't have much choice.
When I boot the usb drive on my laptop (win 7 64 bit) by telling the bios to boot to it first... I get an error: modprobe: FATAL Could not load /lib/modules 2.6.35-22 generic modules No such file or directory. This message appears twice and then it does boot into ubuntu and seems to work fine. I'm new to this OS so that is an uneducated guess but the things I have done seem to be working. So exactly what is this error referring too? Is there a way to fix the problem or do I just ignore it.
View 9 Replies
View Related
Apr 6, 2011
I am here looking for some abstract and easy to understand resource for "Exokerel" CONCEPT of Computer Operating Systems.[URL] seems some what more complex then expected [URL]
View 1 Replies
View Related
Mar 22, 2009
I want to be able to do
sudo ./program.py
instead of always having to do
sudo python program.py
What do I need to change?
View 5 Replies
View Related