OpenSUSE :: Python Development Pattern In 11.4?

Mar 17, 2011

In openSUSE 11.3 when I selected the Python Development pattern for install, it included everything needed for Python development. I installed openSUSE 11.4 yesterday from the full DVD ISO and selected the Python Development pattern, but all it installed is the patterns-openSUSE-devel_python meta package, which apparently doesn't include any other software. It didn't even install the python interpreter.

Of course I can easily install what I need manually, but the pattern is a handy one for quick installs that need Python. Is this pattern broken under 11.4 or am I missing something? I couldn't find anything about this behavior in the release notes, known 11.4 bug list on the forums, Google, etc.

View 7 Replies


ADVERTISEMENT

Programming :: Python With Web Development ?

Dec 17, 2010

I have decided to learn python as it seems to be powerful not just for web development (like php) but also a clean powerful language for other puposes.

Q: Can someone suggest a tutorial or book, on learning python (beginner to intermediate) which has as its focus for learning, web development?

In order of preference: 1. Comprehensive, 2. Online, 3. Free

View 2 Replies View Related

Programming :: Search A File For A Particular Pattern And If Pattern Found Replace The Line With New Text?

Feb 24, 2010

I want to search a file for a particular pattern and if pattern found replace the line with new text. i am using awk 'match($0,"pattern") != 0 {print $0} ' filename to check if the pattern exists.how do i get the line number of the pattern and delete that line and replace the line with my new text?

View 1 Replies View Related

Programming :: If Statement Pattern Search / End Of Pattern Special Character?

Apr 29, 2010

I have to enhance the behaviour of a backup script written in perl. I don't need to change it, what I need to do is to create a bash script that does some checks like file name and file size, execute the backup script then check if the backup files match the original files.Here's how I try to do it:

- read the files from the original files folder
- store them in an array
- search in the array the files that have a specific file extension
- store the file names that match the search pattern (I know the backup script skips some files so I can hardcode the search pattern)
- run the backup script
- read the files from the backup folder
- store them in an array
- compare the original files name and size stored in an array with those from the backup folder
- send a report email

View 3 Replies View Related

General :: Add (not Replacing) A Pattern Match With A Similar Pattern?

Aug 30, 2009

I'm writing a bash script to search html files, and when I find any occurrence of an img src tag like this:

<img src="123-picture-normal.jpg" alt="some random user entered text" border="0">

I want to add a second line below it that looks like:
<img src="123-picture-thumbnail.jpg" alt="some random user entered text" border="0">

All I need to do is duplicate the line but replace "normal" with "thumbnail"

Each file can have multiple img src tags with different numbered jpgs.

I have a feeling this is a job for sed, but I'm struggling with it. Any ideas?

View 2 Replies View Related

General :: Find Pattern After Specific Pattern

Oct 11, 2010

I want to go through a log file and find pattern1 and then a pattern2 only after pattern 1.So for example I want to know howManyRecords was in 13:30.I figured I grep for "start time for the job" and then only after that (and before the next occurence of that) grep for "howManyRecords". Is this a sane way?

View 1 Replies View Related

Software :: Replace Newline Pattern In File By Other Newline Pattern In A Shell Script?

Nov 22, 2010

I have several (vhdl) files containing a pattern with newline characters that I need to replace by another pattern that also contains newline characters.

I start with something like:

Code:

I want to replace it by something like:

Code:

(I need to paste some lines)

As I need to do this (very) often I want to use a shell script.

I tried:

1.

Code:

result:

Code:

2.

Code:

result:

File remains unchanged

3.

Code:

result:

Code:

4.

Code:

result:

Displays the unchanged testfile

How I can automate the pattern replacement?

Code:

View 9 Replies View Related

OpenSUSE :: LAMP Pattern Not Installing Anything?

Dec 23, 2010

When I try to install the pattern "lamp_server" with zypper on a fresh openSUSE 11.3 box I'm only getting the metapackage "patterns-openSUSE-lamp_server" installed, nothing else.Apache, MySQL, and PHP are all listed as "recommended" only.I know how to install the packages individually, and I know I can force matters with the "--recommended" flag. Unfortunately installing the recommended packages also wants to throw in apparmor and sw_management, neither of which I want right now.Am I overlooking something? The command I used:zypper install -t pattern lamp_serverMy main goal is to communicate this process to others, so I'd like to give them the option of the simpler pattern install.

View 5 Replies View Related

OpenSUSE :: Installing Development Packages?

Mar 23, 2010

I would like to install development tools / libs, such as gcc. But I haven't selected them during the opensuse 11.2 x64 installation, and when I use the yast2/software management to install programming packages, there are many items, and I don't know which should/should not be installed. Even when I select all to install, it seems many conflicts reported. So is there any easy way to install the development packages properly, without reinstalling the os?

View 1 Replies View Related

OpenSUSE :: Any Nice Web Development Application?

May 3, 2010

is there any nice web development application?

View 6 Replies View Related

OpenSUSE :: Recommendation For Database Development Software

Mar 17, 2010

Looking for a recommendation on database development software. I tried Openoffice Database. The program crashes frequently when establishing relationships. If the data types of the relationship disagree, the program crashes. Also, the screen for establishing relationships is too small. I will probably need about 40 tables, and the Openoffice relationship map can realistically handle only about 12.

Apparently Access is up to the task of the development. Ultimately, I want to convert the developed database into a LAMP Web application. Also, I'm thinking of jobbing out much of the development. Is their an equivalent Linux-based solution, or should I hold my nose and go ahead with Access and Windows?

View 8 Replies View Related

OpenSUSE :: Kernel Module Development Barked

Feb 27, 2011

It is bad enough that the kernel gods have basically required that the whole kernel source tree be installed and configured to compile even a simple module but they have made it so a module compiled on one kernel will not work on any other.

To make the situation worse much of the configuration needed to successfully compile a module has been left out of open suse11.3. If you want to replicate the problems may I suggest you attempt to compile the usb-skeleton.c driver example code that is included with each kernel. If it is the intent of the linux community to limit driver development to the professionals then congratulations.

View 9 Replies View Related

OpenSUSE :: Setup PHP / Apache / MySQL For Development?

Mar 16, 2011

On Windows and Mac it's as simple as downloading some WAMP and XAMP stack and clicking "install".

On OpenSUSE I'm trying to do it myself. I went into YaST and installed the "Web and LAMP Server" pattern.

Then I edited the default-server.conf file to point towards my website by changing the DocumentRoot and <Directory "blah blah"> lines.

Then I tried to start apache, but got the following error:

Code:
# apache2ctl restart
httpd2: Syntax error on line 188 of /etc/apache2/httpd.conf: Could not open configuration file /etc/apache2/sysconfig.d/include.conf: No such file or directory
So I just went into httpd.conf and commented out that line.

[Code].....

View 7 Replies View Related

OpenSUSE :: Installing Development Files Via YaST

Jun 12, 2011

I'm trying to install the development files via yast i.e. libkde4-devel and I keep libkde4-devel 4.2.80 requires libkde4 4.6.80. Ok I understand this I have libkde4 4.6.2 but no package for libkde4-devel 4.6.2. If I try to install libkde4 4.6.80 the conflicts just keep growing. What do you have to do to get libkde4-devel install on suse 11.4 (x64).

View 4 Replies View Related

OpenSUSE Install :: Where Is Package Group Development (kdevelop4)

Jan 15, 2010

I hunted down kdevelop4 through yast. I found it finally by entering "Integrated Development Environment" in the search text box, clicking "Description" only, and clicking Search. I'm backtracking now to figure out how to find it and other development tools/ide's quicker in the future.I clicked the Technical Data tab for kdevelop4 and in the details, "Package Group" shows "Development/Tools/IDE".In Yast, I then clicked on the "Package Groups" tab and searched on the left-hand side for "Development". But it's now there.

In OpenSuSE 10.3, when I viewed the Package Groups tree structure, there was a node, "Development" which contained kdevelop3. But I can't seem to find the "Development" Package Group in OpenSuSE 11.2.

View 4 Replies View Related

OpenSUSE :: Play With Some Development Builds Of Blender 2.5 That Require Libtiff4-devel?

Jul 10, 2010

I want to play with some development builds of blender 2.5 that require libtiff4-devel It doesn't appear to be available from the repos I have enabled, which is just what it took to get multimedia stuff working (packman, vlc)

View 1 Replies View Related

OpenSUSE :: Error: X Development Files Not Found. Wine Will Be Built Without X Support

Jun 16, 2011

i tried to install wine in SLED11 but i got this error : configure: error: X development files not found. Wine will be built without X support, which probably isn't what you want.You will need to install development packages of Xlib/Xfree86 at the very least. Use the --without-x option if you really want this.

View 8 Replies View Related

Programming :: Make Python Programs Run Without Entering The Command Python?

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

Programming :: Python - Get Text File Data Into An Array On Python?

Nov 30, 2009

I've already used line split stuff to transform my data into something like this in a text file:

Code:

['1', '1', '3', '20.7505207']
['2', '1', '3', '23.0488319']
['3', '1', '3', '-1.5768747']
['4', '1', '3', '-26.4772491']

[code]....

How can I get this on a python program so I can manipulate it as an array?

View 3 Replies View Related

General :: Get Apt-get To Install Python Packages For A Different Version Of Python?

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

Software :: Python 3 Want Situation For Python 2 And Become Stop?

Jul 17, 2010

Python 3 want situation for python 2?Python 2 become stop?

View 1 Replies View Related

CentOS 5 :: Yum - Python-devel / Python Dependency

Jan 7, 2011

yum dependency problem please? I am running Centos 5.5. I need to install python-devel, but when I do so I get:

[Code]....

View 2 Replies View Related

OpenSUSE :: Kde 4.5.1 Python Scripting Is Broken?

Sep 3, 2010

Kde 4.5.1 from 03/09/2010 2100h. python-sip is 4.10.xxx and 4.11.xxx is neded to let things work

python-kde4 and python-kdebase4 wont install

nothing provide python-sip - 4.11 needed by python-kde4-4.5.1.168.1-x86_64

View 2 Replies View Related

OpenSUSE :: SPE : Stani's Python Editor?

Aug 12, 2011

I am returning to Open suse after a while with Ubuntu ant i al loving it so far but i have one application I Need to be completely so the main page for this IDE states thatI took care of distributing it well on Linux by getting it in the major repositories (Debian, Ubuntu, Fedora, Arch, Suse, ...). however, when Search at software.opensuse.org: Download openSUSE 11.4 I can't locate it Rather i am beating my head against the wall I am hopeing a Member of these forums uses this IDE and can point me to a repo for it

View 5 Replies View Related

Programming :: Python 2.x - Represent The Same In Python 3.x

Mar 4, 2010

I have a function definition in a Python 2.x script which take a tuple as one of its arguments, but 2to3 has no answers nor any of my searching on how to represent the same in Python 3.x

Code:

def blah(self, (string1, string2))

View 4 Replies View Related

CentOS 5 :: Upgrade Python-2.4.3 To Python-2.5?

Mar 30, 2011

How can I upgrade python-2.4.3 to python-2.5?

View 1 Replies View Related

OpenSUSE :: Jack Audio Client Module For Python Like Pyjack?

Feb 7, 2010

Why is there no opensuse jack audio client module for python like pyjack.

View 2 Replies View Related

OpenSUSE Multimedia :: Cover Art Plugin Won't Load Because It Fails To Import Python-gstreamer

Jul 19, 2011

I've been using OpenSUSE 11.4 with GNOME for quite a while now and so far I've been a happy camper. This morning I decided to try GNOME 3 and the install went smoothly, with the only exception of rhytmbox(my music player of choice) not being available.Later I found rhythmbox for GNOME 3 in this repo: Index of /repositories/ GNOME:/ Apps/openSUSE_11.4+GNOME_STABLE_3.0.It works well but the Cover Art plugin won't load because it fails to import python-gstreamer.Should I report a bug against OpenSUSE 11.4 or maybe I am doing something wrong?

View 1 Replies View Related

Fedora :: Using Python 2.5 With Python 2.6 With F12?

Nov 30, 2009

Fedora 12 officially uses Python 2.6, good. But the Google AppEngine still goes by Python 2.5 and is showing import errors while i try to start the SDK. Here is the stack trace.

[URL]

View 3 Replies View Related

Ubuntu :: Python Interactive Session: "help()", Then "modules" Freezes Python?

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







Copyrights 2005-15 www.BigResource.com, All rights reserved