> package_name/
> package_pre.py - contains globals for the package
> component_a.py- a useful-sized collection of functionality
> component_b.py- another
> component_c.py- another
> package_post.py - stuff that relies on the prior stuff
> __init__.py
www.OutpatientSurgicare.com/video/
Outpatient Doctors Surgery Center is committed to offering the
healthcare the community needs. We offer patients a meaningful
alternative to traditional surgery. This state-of-the-art outpatient
surgery center, located in the heart of Orange County, at 10900 Warne
I wanted to have a heap of custom objects, and in different heaps I
wanted to have the weights for my elements differently. So, I modified
the heapq module to accept key arguments also.
The untested code is here. Please let me know if you find any bug or
if there is an easy way to do this.
-
Sure
Hi,
i am using red hat enterprise 4. It has python 2.3 installed. What is
the best way to upgrade to python 2.4?
I think one way is to compile python 2.4 from the source, but I can't
remove the old one since when i do 'rpm -e python', i get error like
'failed dependencies'.
Thank you for any ide
I'm a python newbie and would like to develop a tiny application to
schedule a document to open in a text processor and ask a question.
I'd like to be able to give it multiple time:question pairs such as
(monday 1:00pm : "Please enter your completed tasks for the morning?).
It could just open a dia
Is there any way to get the functionality of the %config RPM directive
using python distutils?
http://www.rpm.org/max-rpm/s1-rpm-inside-files-list-directives.html
%config /etc/foonly
This will save the current file as fooonly.rpmsave if the file is
different from the one in the package, so users
On Mar 8, 9:02 pm, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
> In <[EMAIL PROTECTED]>,
>
> [EMAIL PROTECTED] wrote:
> > I wanted to have a heap of custom objects, and in different heaps I
> > wanted to have the weights for my elements differen
Hi Everyone,
I'm considering about generating some Python Bindings for C++
libraries. What are considered the best tools for doing something like
this? I know that there are SWIG, SIP, Boost.Python, and GCC_XML.
Thanks!
--
http://mail.python.org/mailman/listinfo/python-list
Here's my situation, would you folks be so kind as to reccomend an
approach?
I have a small Python CGI script running as an intranet app. One of
the things the script needs to do is allow users to save invoices.
This is a process that takes about 60 seconds once the user submits
the order from th
On Mar 9, 3:25 pm, "abcd" <[EMAIL PROTECTED]> wrote:
> probably a Thread.
But a thread leaves the script running until the thread exits, right?
So the webpage would just keep saying "loading" at the bottom I think.
-Greg
--
http://mail.python.org/mailman/listinfo/python-list
On Mar 9, 3:45 pm, "abcd" <[EMAIL PROTECTED]> wrote:
> > But a thread leaves the script running until the thread exits, right?
> > So the webpage would just keep saying "loading" at the bottom I think.
>
> > -Greg
>
> give it a shot. if you spa
On Mar 9, 4:57 pm, "Terry Reedy" <[EMAIL PROTECTED]> wrote:
> <[EMAIL PROTECTED]> wrote in message
>
> news:[EMAIL PROTECTED]
> Can you tell the page to auto-refresh itself every 15 seconds or so? I
> have seen this as a user but don't know if it is sp
On Mar 9, 4:57 pm, "Terry Reedy" <[EMAIL PROTECTED]> wrote:
> <[EMAIL PROTECTED]> wrote in message
>
> news:[EMAIL PROTECTED]
> | On Mar 9, 3:25 pm, "abcd" <[EMAIL PROTECTED]> wrote:
> Can you tell the page to auto-refresh itself every 15 s
On Mar 6, 12:27 pm, Paul Rubin <http://[EMAIL PROTECTED]> wrote:
> "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes:
> > Sure I can grab the aforementioned URL's contents but what about the
> > NEW contents in the NEW popup window that appears AFTER you pr
Is there a python whois interface? I googled and tried rwhois.py but
it doesnt work at all.
thanks
mark
>>> a=rwhois.DomainRecord('google.com')
>>> a.chooseserver()
Traceback (most recent call last):
File "", line 1, in ?
File "rwhois.py", line 270, in chooseserver
tmp=self._whois()
File
Brian Blais wrote:
> Hello,
>
> I was wondering what the approximate minimum age to learn python is. Has
> anyone had
> experience teaching middle school students, or elementary school students
> Python?
> What brought this up for me is thinking about starting a Lego robots group in
> a local
>
Hi,
I am trying to setup Apache with Trac which uses mod_python. I get the
following error:
assert have_pysqlite > 0
And I have verify this via command line as well, that seem no
problem.
# python
Python 2.3.4 (#1, Feb 2 2005, 11:44:49)
[GCC 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)] on linux2
T
On Mar 10, 3:17?pm, "Frank" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> does anyone know how one can test if, e.g., a dictionary 'name' has a
> key called 'name_key'?
>
> This would be possible:
>
> keys_of_names = names.keys()
> L =
David Cramer wrote:
> If you had an application that you were about to begin development on
> which you wanted to be cross platform (at least Mac and Windows),
> would you suggest using c++ and Python?
I'd strongly consider a pure python solution (I'd choose wxpython),
but if I needed to code back
On Mar 11, 1:02 pm, Bruno Desthuilliers
<[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] a écrit :
>
>
>
> > Hi,
>
> > I am trying to setup Apache with Trac which uses mod_python. I get the
> > following error:
>
> > assert have_pysqlite > 0
>
How to modify the source of a python file inside a python egg file?
I can see the file by unzipping it, but how can I package it back as a
python egg file after my modification.
Thank you.
--
http://mail.python.org/mailman/listinfo/python-list
Hi
Are there any hotmail / aim / yahoo addressbook importer in python?
thanks
mark
--
http://mail.python.org/mailman/listinfo/python-list
On Mar 12, 7:32 am, "imx" <[EMAIL PROTECTED]> wrote:
> I wonder whether python can be used to simulate a real user to do the
> following:
> 1) open a web site in a browser;
> 2) printscreen, so to copy the current active window image to
> clipboard;
> 3) save t
On Mar 11, 11:49 pm, "John Machin" <[EMAIL PROTECTED]> wrote:
> On Mar 12, 3:19 pm, [EMAIL PROTECTED] (Alex Martelli) wrote:
>
> > Paul McGuire <[EMAIL PROTECTED]> wrote:
> > > will be. For instance, when working with data from 0 to 100 and
>
On Mar 13, 2:16 am, Steven D'Aprano <[EMAIL PROTECTED]>
wrote:
> I'd be interested in hearing people's stories of Eureka moments in Python,
> moments where you suddenly realise that some task which seemed like it
> would be hard work was easy with Python.
>
##
Mark Bryan Yu" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm trying to make a Audio CD ripper using python.
>
> is there a way (library, module, etc) to detect when a CD was inserted
> or ejected?
--
http://mail.python.org/mailman/listinfo/python-list
How extract the visible numerical data from this Microsoft financial
web site?
http://tinyurl.com/yw2w4h
If you simply download the HTML file you'll see the data is *not*
embedded in it but loaded from some other file.
Surely if I can see the data in my browser I can grab it somehow right
in a P
> The reason I want to do simulation but not just crawling is : we have
> to check many web pages' front page to see whether it conform to our
> visual standard, e.g, it should put a search box on the top part of
> the page. It's tedious for human work. So I want to 'crawl and save
> the visual pre
Hi all.
I have a problem with some code :(
---
hint = raw_input("\nAre you stuck? y/n: ")
hint = hint.lower()
while (hint != 'n') or (hint != 'y'):
hint = raw_input("Please specify a valid choice: ")
-
so everytime I run the program, and
On Mar 13, 10:43 pm, Paul Rubin <http://[EMAIL PROTECTED]> wrote:
> "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes:
> > while (hint != 'n') or (hint != 'y'):
> > hint = raw_input("Please specify a valid choice: ")
>
> >
On Mar 13, 10:50 pm, Larry Bates <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > Hi all.
>
> > I have a problem with some code :(
>
> > ---
>
> > hint = raw_input("\nAre you stuck? y/n: ")
> > hint = hint.lower(
Hi,
I am using fipy for solving an ODE on python.
I am getting an error in the line: "from fipy.meshes.grid1D import
Grid1D", which says:
ImportError: No module named fipy.meshes.grid1D
Importing only fipy also gives a similar error.
I have Python2.4.4, numpy, matplotlib and fipy installed on my
It should be possible to enumerate all sets of five numbers which sum
to 50 and randomly select one of them.
Cheers,
-T
--
http://mail.python.org/mailman/listinfo/python-list
On Mar 14, 9:02 am, "imx" <[EMAIL PROTECTED]> wrote:
> Cool, but does it mean that I will need .net to run the code?
Yep - runtime is free though as is IronPython. For my program the
license is BSD.
Cheers,
Davy
--
http://mail.python.org/mailman/listinfo/python-list
On Mar 13, 5:34 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Hi all.
>
> I have a problem with some code :(
>
> ---
>
> hint = raw_input("\nAre you stuck? y/n: ")
> hint = hint.lower()
>
> while (hint != 'n') or (h
On Mar 14, 10:57 am, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
> In <[EMAIL PROTECTED]>, Laurent Pointal wrote:
>
> > Steve Holden a écrit :
> >> Regular expressions aren't really needed here. Untested code follows:
>
> >> for l
On Mar 14, 9:56 pm, [EMAIL PROTECTED] wrote:
> Hello,
>
> I have a script that launches a sequence of other programs, some GUI,
> some console. I'd like the console programs to launch in their own
> console window, instead of all of them sharing the script's console.
>
The Python Cookbook is still relevant, and is excellent. I have used
it to improve the quality of my solutions to several complex problems.
It helps to explain many of the more advanced tricks to Python
development.
-T
--
http://mail.python.org/mailman/listinfo/python-list
Alex Martelli wrote:
> tereglow <[EMAIL PROTECTED]> wrote:
>...
> > server using the /proc FS. For example, in order to obtain the amount
> > of physical memory on the server, I would do the following in shell:
> >
> > grep ^MemTotal /proc/meminfo | awk
You should take a look at matplotlib (http://
matplotlib.sourceforge.net/). It's possible to integrate the graphic
display into a python application, as well as writing files and
display them in a browser.
Bernhard
--
http://mail.python.org/mailman/listinfo/python-list
Marc 'BlackJack' Rintsch wrote:
> In <[EMAIL PROTECTED]>, dmitrey wrote:
>
> > Thank you in advance,
>
> For what? Hint: Don't "hide" the question in the subject line.
>
> I don't know MATLAB's `persistent` but I know that `
On Jan 29, 7:12 pm, "Pappy" <[EMAIL PROTECTED]> wrote:
> SHORT VERSION:PythonFile B changes sys.stdout to a file so all 'prints' are
> written
> to the file. Pythonfile A launchespythonfile B with os.popen("./B
> 2>&^1 >dev/null &").
Hi,
I'm trying to use MySQL Python module on Cygwin. Since there is no
binary package, I compiled MySQL C client library and Python module
(http://sourceforge.net/projects/mysql-python) manually.
But when I was trying to load MySQLdb module, following errors
happened.
>>> import MySQLdb
Traceba
Jason,
On 3/16/07, Jason Tishler <[EMAIL PROTECTED]> wrote:
> The following is a WAG...
>
> Does the MySQL Python module contain shared extension modules (i.e.,
> DLLs)? If so, are they executable? If not, then make them so (i.e.,
> chmod +x).
I did:
% unzip MySQL_foo_
I'm trying to use a script that I originally wrote on a Mac Classic
machine and have moved to a Windows XP machine.
I can open the script and edit the thing, but when I try to run it in
I get:
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Python25\lib\lib-tk\Tkinter.p
International ECCOMAS Thematic Conference VipIMAGE 2007 - I ECCOMAS
THEMATIC
CONFERENCE ON COMPUTATIONAL VISION AND MEDICAL IMAGE PROCESSING
17-19th
October 2007, FEUP, Porto, Portugal
http://www.fe.up.pt/VIPIMAGE
We would appreciate if you could distribute this information by your
colleagues and
object. What gets me
is the massive red herring this error is. I wasn't doing anything
with ntpath in the script. The script selectively extracts
information from an XML file, that's all.
Thanks,
Josh
On Mar 17, 2:30 am, "John Machin" <[EMAIL PROTECTED]> wrote:
>
&g
Hi,
I use os.system() to execute a system command in python.
Can you please tell me how can I parse (in python) the output of the
os.system() ?
Thank you.
--
http://mail.python.org/mailman/listinfo/python-list
On Mar 15, 5:45 pm, "Paul Boddie" <[EMAIL PROTECTED]> wrote:
>
> I can't remember exactly how I solved this within anXML/XSLT-heavy
> Java-based framework,
I just put a single space between:
and then it kept the XML container-style as opposed to single-ta
The first thing I look at when examining a module is how often it is
updated. Unfortunately, the entries there dont show this. Eg:
http://www.python.org/pypi/PySimpleXML/1.0
Second, it seems that tagging is more popular than the hierarchical
browsing method currently offered by Cheese Shop. Are
Hi
I need to process a really huge text file (4GB) and this is what i
need to do. It takes for ever to complete this. I read some where that
"list comprehension" can fast up things. Can you point out how to do
it in this case?
thanks a lot!
f = open('file.txt','r')
for line in f:
db[line.
On 3/18/07, Daniel Nogradi <[EMAIL PROTECTED]> wrote:
> > I need to process a really huge text file (4GB) and this is what i
> > "list comprehension" can fast up things. Can you point out how to do
> > f = open('file.txt','r')
> > fo
On 3/18/07, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
> In <[EMAIL PROTECTED]>, Daniel Nogradi
> wrote:
>
> >> f = open('file.txt','r')
> >> for line in f:
> >> db[line.split(' ')[0]] = lin
On 18 Mar 2007 19:01:27 -0700, George Sakkis <[EMAIL PROTECTED]> wrote:
> On Mar 18, 12:11 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> > I need to process a really huge text file (4GB) and this is what i
> > need to do. It takes for ever to complete t
On 3/18/07, Alex Martelli <[EMAIL PROTECTED]> wrote:
> George Sakkis <[EMAIL PROTECTED]> wrote:
> > On Mar 18, 12:11 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> > > I need to process a really huge text file (4GB) and this is what i
> >
I've just noticed that I can't seem to use keyword arguments for
xml-rpc requests even though the protocol itself encodes parameter
names, types, and values when it sends the xml across the network.
This becomes a bit problematic for me because I want to store some XML-
RPC method dispatch sign
Diez,
Yes thanx - that (structs) is indeed where my confusion lies... :)
Alas, ordered parameters it is.
On Mar 19, 5:44 am, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
> I don't see[1] the possibility to pass keyword arguments via XMLRPC. Where
> did you get th
I have a program that generates a number of files that will be
packaged into a tarball. Can I stream the content into TarFile without
first writing them out to the file system? All add(), addfile() and
gettarinfo() seems to assume there is a file in the disk. But for me I
seems inefficient to write
Thanks. It almost works. The problem is I don't know the size of the
file until it has finished streaming. It looks like the tar file
format need the file size written at the beginning :(
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
how can I do
* for each sub-directory of the current directory
* tar that to a tar file
* remove that sub-directory
--
http://mail.python.org/mailman/listinfo/python-list
I have the following code which list out all the files/directories
under the current directory.
But how can I find out if 'f' is a directory?
for f in os.listdir("."):
// how can I check if 'f' a directory?
--
http://mail.python.org/mailman/listinfo/python-list
When constructing a particularly long and complicated command to be
sent to the shell, I usually do something like this, to make the
command as easy as possible to follow:
commands.getoutput(
'mycommand -S %d -T %d ' % (s_switch, t_switch) +
'-f1 %s -f2 %s ' % (filename1, filenam
-
(Apologies for cross-posting)
International ECCOMAS Thematic Conference VipIMAGE 2007 - I ECCOMAS
THEMATIC
CONFERENCE ON COMPUTATIONAL VISION AND MEDICAL I
Hi,
In my python scripts, I create thread likes this:
// for example threadCount is 10
for j in range(int(threadCount)):
t = MyThread()
t.start()
// wait all the threads are done
doSomething()
My question is how can i tell when all the threads ar
Hi there. So I have a challenge in the Python book I am using (python
programming for the absolute beginner) that tells me to improve a
function, so that it can be called with a step value, and I havn't
been able to find out yet what's meant by a step value, but i'll keep
looking of course. I'd jus
OK...
I've been told that Both Fortran and Python are easy to read, and are
quite useful in creating scientific apps for the number crunching, but
then Python is a tad slower than Fortran because of its a high level
language nature, so what are the advantages of using Python for
creating number cru
On Mar 26, 2:42 pm, Jean-Paul Calderone <[EMAIL PROTECTED]> wrote:
> On 26 Mar 2007 06:20:32 -0700, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> >OK...
> >I've been told that Both Fortran and Python are easy to read, and are
>
> Python is h
On 26 Mar, 15:06, stef <[EMAIL PROTECTED]> wrote:
> >> You can get the speed of fortran in Python by using libraries like
> >> Numeric without losing the readability of Python.
>
> > Can you back this up with some source??
> > Chris
>
> Is this r
On 26 Mar, 17:59, "Erik Johnson" <[EMAIL PROTECTED]> wrote:
> <[EMAIL PROTECTED]> wrote in message
>
> news:[EMAIL PROTECTED]
>
> > OK...
> > I've been told that Both Fortran and Python are easy to read, and are
> > quite useful in creati
On Mar 26, 6:06 pm, "Chris Lasher" <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I have a simple script:
>
> ---
> #!/usr/bin/envpython
>
> a = 1
> b = 2
>
> c = a + b
>
> print c
> ---
>
> I launch said script withpdb:
>
> python
Hi
i am trying to implement the following:
I want to be able to press a button, perform a task and return a
value.
my button is named button1 and I used glade to build the gui.
so, something like this should work
application=gtk.glade.XML('app.glade','app')
bt=app.get_widget('button1
I believe that just deleting the folders should work
Dick Moores wrote:
> At 03:37 AM 3/27/2007, [EMAIL PROTECTED] wrote:
> >On Mar 27, 11:39 am, "alain" <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > >
> > > Could someone tell me how to uninsta
Oups a small mistake:
bt=application.get_widget('button1')
[EMAIL PROTECTED] wrote:
> Hi
>
>
> i am trying to implement the following:
>
> I want to be able to press a button, perform a task and return a
> value.
>
> my button is named button1 and
On Mar 27, 10:33 am, "Clement" <[EMAIL PROTECTED]> wrote:
> I am newbie to Python.. i want to know something..
>
> can i place an object in disk instead of placing in Main Memory...?
>
> If possible, can you please explain with some scripts...?
>
>
I read the document here about exception handling in python:
http://www.diveintopython.org/file_handling/index.html
Can you please tell me how can I catch all exception in python?
like this in Java:
try {
} catch (Throwable t) {
...
}
--
http://mail.python.org/mailman/listinfo/python-lis
Hello, I have a two large files that I need to read in records from
and compare in a pairwise fashion: Memory is an issue, so I want to
use a generator to get each record one at a time. However, doing the
comparisons with nested for loops, the inner generator will run out of
items. How can I restar
I want to parse this XML file:
filename
Hello
filename2
Hello2
This XML will be in a file called filecreate.xml
As you might have guessed, I want to create files from this XML file
contents, so how can I do this?
What modules should I use? What options do I have? Where can I find
Hi
How can I find out the modal value in an array. That is the value
which occurs maximum time in the sequence ..
e.g. if my array has values like [2,3,2,2,2,4,2,2] definitely the
maximum time 2 occurs in the array. so this function should be able to
return 2 as a result ..
So is there any fun
On Mar 27, 9:13 pm, "Chris Lasher" <[EMAIL PROTECTED]> wrote:
> On Mar 27, 6:18 pm, "Silfheed" <[EMAIL PROTECTED]> wrote:
>
> > Heyas
>
> > So we have the following situation: we have a testee.py that we want
> > to automatically test o
On Mar 28, 6:05 pm, "Chris Lasher" <[EMAIL PROTECTED]> wrote:
> I have submitted this as a bug via SourceForge:
> <https://sourceforge.net/tracker/?
> func=detail&atid=105470&aid=1689458&group_id=5470>
> or if munged
> <http://tinyurl.com/2nwxsf
Does anyone know if Python gettext module or something else in Python
can "manage" po/mo files - list all strings from po/mo, show
untranslated, fuzzy strings ? I need something like that for a
"translations manager" :)
--
http://mail.python.org/mailman/listinfo/python-list
I'm looking for a simple method to delete a folder after 72 "Business
hours" (saturday/sunday doesnt count) since its creation. Note that
This is on a linux system and I realize that it will be the last
modified time. These files wont be modified since their creation.
Im very confused on how to wo
On Mar 28, 5:36 pm, Jarek Zgoda <[EMAIL PROTECTED]> wrote:
> Carl Friedrich Bolz napisa³(a):
>
> > Welcome to the PyPy 1.0 release - a milestone integrating the results
> > of four years of research, engineering, management and sprinting
> > efforts, concluding the 28
I am trying to get the content of a web site like this:
But my question is how can I do a 'GET' request without putting the '/
index.html''
h = httplib.HTTP('www.yahoo.com')
# it takes 2 arguments here, but I don't know if the site has
'/index.html' , how can I leave this out?
On Mar 29, 2:34 pm, [EMAIL PROTECTED] wrote:
> On Mar 29, 2:18 pm, "[EMAIL PROTECTED]"
>
>
>
> <[EMAIL PROTECTED]> wrote:
> > I am trying to get the content of a web site like this:
> > But my question is how can I do a 'GET' reque
On Mar 29, 12:02 pm, [EMAIL PROTECTED] wrote:
> Alex> I'm looking for a simple method to delete a folder after 72
> Alex> "Business hours" (saturday/sunday doesnt count) since its
> Alex> creation. Note that This is on a linux system and I realize tha
How can I parse a remote XML file with Python?
And what will I be able to do with this XML file in Python?
Sorry if this is a noob-ish question.
--
http://mail.python.org/mailman/listinfo/python-list
Hello all
I am looking for an object oriented database with interffaces for
python. Either open source or commercial.
I am looking for a Database not a object persistence system. I would
like to be able to execute queries outside from the aplication. If
posible wih OQL ( object query language )
On Mar 30, 1:26 am, stef <[EMAIL PROTECTED]> wrote:
> hello,
>
> is there a Python library for easy reading and writing windows ini-files ?
>
> thanks,
> Stef Mientki
Maybe check this out?
http://www.voidspace.org.uk/python/configobj.html
--
http://mail.python.org/mailman/listinfo/python-list
On Mar 30, 5:56 pm, Laurent Pointal <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] a écrit :
>
> > How can I parse a remote XML file with Python?
> > And what will I be able to do with this XML file in Python?
>
> > Sorry if this is a noob-ish question.
>
>
I have the following code to load a url (address).
When I have a url like this,
http://www.testcom.co.uk/dev_12345/www.cnn.com
i get an error "Failed to open http://www.testcom.co.uk/dev_12345/www.cnn.com";.
Is there something wrong with my URL? or something wrong with my code?
Thank you for an
Hey Everyone,
I am trying to get PIL to open some EPS files I have (Photoshop EPS,
whatever the difference is). I'm trying to use PIL to do this, but
when I run it, the following happens:
>>> from PIL import Image, ImageOps
>>> Image.open('/flora.eps')
Traceback (most recent call last):
File ""
i have installed wxpython v2.6 for python 2.4
my python installation is at d:\python24
the statement "import wx" works perfectly
but when i use "import images", it says that there is no module, but
i know for a fact that there is.
can anyone help?
--
- --- -- -
Hi,
I have the following regular expression.
It works when 'data' contains the pattern and I see 'match2' get print
out.
But when 'data' does not contain pattern, it just hangs at
're.findall'
pattern = re.compile("(.*)http://mail.python.org/mailman/listinfo/python-list
On Apr 1, 5:23 am, [EMAIL PROTECTED] wrote:
> On Apr 1, 6:12 am, "[EMAIL PROTECTED]"
>
> <[EMAIL PROTECTED]> wrote:
> > But when 'data' does not contain pattern, it just hangs at
> > 're.findall'
>
> > pattern = re.compile("
Hi,
how can i compare a string which is non null and empty?
i look thru the string methods here, but cant find one which does it?
http://docs.python.org/lib/string-methods.html#string-methods
In java,I do this:
if (str != null) && (!str.equals(""))
how can i do that in python?
--
http
On 2 avr, 11:23, Ben <[EMAIL PROTECTED]> wrote:
> I'm looking for a web application framework with a good interface to
> PostgreSQL.
>
> The app I'm developing is relatively simple, but I'm new to coding, so it
> needs to be easy.
>
> What I'm making
On Apr 1, 12:01 pm, "Méta-MCI" <[EMAIL PROTECTED]>
wrote:
> .eps ==> vector ; not bitmap
I was under the impression that .eps could be opened with PIL (and by
the way, their contents are actually raster (but with a work path
which shouldn't be displayed an
On Apr 3, 5:43 am, "Basilisk96" <[EMAIL PROTECTED]> wrote:
> Thanks for the help, guys.
> Dictionaries to the rescue!
>
> Steven, it's certainly true that runtime creation of attributes does
> not fit well here. At some point, an application needs to come out of
Hi,
unfortunately I don't have a solution. However, if you're not forced
to use Python2.2 and Numeric you should use Numpy (the successor for
both, Numeric and Numarray). Numpy requires Python2.3, though.
Bernhard
On Apr 3, 7:32 am, "ZMY" <[EMAIL PROTECTED]> wrote:
&
3101 - 3200 of 4914 matches
Mail list logo