On Jun 6, 2011, at 8:40 PM, Eric wrote:
> Hello,
>
> Is there a library or regex that can determine if a string is a fqdn
> (fully qualified domain name)? I'm writing a script that needs to add
> a defined domain to the end of a hostname if it isn't already a fqdn
> and doesn't contain the defin
On Jun 13, 2011, at 11:37 AM, Tim Johnson wrote:
> NOTE: I see much on google regarding unused local variables,
> however, doing a search for 'python _' hasn't proved fruitful.
Yes, Google's not good for searching punctuation. But 'python underscore dummy
OR unused' might work better.
> On a
On Jun 23, 2011, at 12:11 PM, Cathy James wrote:
> Dear All,
>
> I looked through this forum's archives, but I can't find a way to
> search for a topic through the archive. Am I missing something?
http://www.google.com/search?q=site%3Amail.python.org%2Fpipermail%2Fpython-list%2F+++banana
--
h
On Jun 24, 2011, at 10:55 AM, Ahmed, Shakir wrote:
> Hi,
>
>
>
> I am getting following error message while unziping a .zip file. Any
> help or idea is highly appreciated.
>
>
>
> Error message>>>
>
> Traceback (most recent call last):
>
> File "C:\Zip_Process\py\test2_new.py", line 15,
On Jul 5, 2011, at 4:02 AM, Laszlo Nagy wrote:
>def onPopupMenu(self,evt):
>menu = wx.Menu()
>for title,bitmap in self.getPopupMenuItems():
>item = wx.MenuItem(None,-1,title)
>if bitmap:
>item.SetBitmap(bitmap)
>menu.AppendIt
On Jul 5, 2011, at 3:32 PM, Laszlo Nagy wrote:
>
>> 1. Post a complete example that demonstrates the problem so that we don't
>> have to dummy up a wx app ourselves to try your code.
>
[code sample snipped]
>
> Under windows, this displays the icon for the popup menu item. Under GTK it
> d
On Jul 6, 2011, at 2:25 AM, Laszlo Nagy wrote:
>
>>> Under windows, this displays the icon for the popup menu item. Under GTK it
>>> doesn't and there is no error message, no exception.
>>
>> I get different results than you.
>>
>> Under Ubuntu 9.04 w with wx 2.8.9.1, when I right click I see
On Jul 15, 2011, at 7:53 AM, hackingKK wrote:
> Hello all.
> I am currently developing a python application which reads and writes some
> data to an xml file.
> I use the elementTree library for doing this.
> My simple question is that if I have some thing like & as in "kk & company "
> as orga
On Jul 31, 2011, at 4:04 PM, Thorsten Kampe wrote:
> * Andrew Berg (Sun, 31 Jul 2011 13:36:43 -0500)
>> On 2011.07.31 02:41 AM, Thorsten Kampe wrote:
>>> Another approach would be named tuples instead of dictionaries or
>>> flat SQL tables.
>> What would the advantage of that be?
>
> QueueItem.x
On Aug 5, 2011, at 4:10 PM, Tim Daneliuk wrote:
> On 8/5/2011 2:05 PM, Irmen de Jong said this:
>> On 05-08-11 19:53, Tim Daneliuk wrote:
>>> I have a task where I want to create pretty simple one page visual
>>> interfaces (Graphical or Text, but it needs to run across Windows,
>>> Cygwin, Linux
On Aug 5, 2011, at 6:20 PM, Tim Daneliuk wrote:
> On 8/5/2011 3:42 PM, Philip Semanchuk wrote:
>>
>> On Aug 5, 2011, at 4:10 PM, Tim Daneliuk wrote:
>>
>>> On 8/5/2011 2:05 PM, Irmen de Jong said this:
>>>> On 05-08-11 19:53, Tim Daneliuk wrote:
On Aug 7, 2011, at 8:26 PM, azrael wrote:
> Today I found a quote from Guido.
>
> wxPython is the best and most mature cross-platform GUI toolkit, given a
> number of constraints. The only reason wxPython isn't the standard Python GUI
> toolkit is that Tkinter was there first.
> -- Guido van R
On Aug 9, 2011, at 1:07 PM, Tim Arnold wrote:
> Hi, I'm having problems with an empty Queue using multiprocessing.
>
> The task:
> I have a bunch of chapters that I want to gather data on individually and
> then update a report database with the results.
> I'm using multiprocessing to do the da
On Aug 15, 2011, at 4:08 AM, Vipul Raheja wrote:
> Hi,
>
> I have wrapped a library from C++ to Python using SWIG. But I am facing
> problems while importing and using it in Python.
Hi Vipul,
Did you try asking about this on the SWIG mailing list?
bye
Philip
--
http://mail.python.org/mailma
On Aug 15, 2011, at 5:52 PM, Gerrat Rickert wrote:
> With surprising regularity, I see program postings (eg. on
> StackOverflow) from inexperienced Python users accidentally
> re-assigning built-in names.
>
>
>
> For example, they'll innocently call some variable, "list", and assign a
> list
On Aug 15, 2011, at 9:32 PM, Steven D'Aprano wrote:
> On Tue, 16 Aug 2011 08:15 am Chris Angelico wrote:
>
>> If you want a future directive that deals with it, I'd do it the other
>> way - from __future__ import mask_builtin_warning or something - so
>> the default remains as it currently is. B
On Aug 16, 2011, at 1:15 AM, Steven D'Aprano wrote:
> On Tue, 16 Aug 2011 01:23 pm Philip Semanchuk wrote:
>
>>
>> On Aug 15, 2011, at 9:32 PM, Steven D'Aprano wrote:
>>
>>> On Tue, 16 Aug 2011 08:15 am Chris Angelico wrote:
>>>
>>&g
On Aug 16, 2011, at 11:12 AM, Chris Angelico wrote:
> On Tue, Aug 16, 2011 at 3:13 PM, Philip Semanchuk
> wrote:
>
>> One need look no further than the standard library to see a strong
>> counterexample. grep through the Python source for " file =". I see
On Aug 16, 2011, at 11:41 AM, Ethan Furman wrote:
> Philip Semanchuk wrote:
>> On Aug 16, 2011, at 1:15 AM, Steven D'Aprano wrote:
>>> Protecting n00bs from their own errors is an admirable aim, but have you
>>> considered that warnings for something which may be
On Aug 16, 2011, at 12:19 PM, Ethan Furman wrote:
> Philip Semanchuk wrote:
>> On Aug 16, 2011, at 11:41 AM, Ethan Furman wrote:
>>> Philip Semanchuk wrote:
>>>> If we are to eschew warnings in
>>>> cases where they might be highlighting something harmle
On Aug 16, 2011, at 7:29 PM, Terry Reedy wrote:
> On 8/16/2011 1:15 PM, Gerrat Rickert wrote:
>
>> I think that best practices would suggest that one shouldn't use
>> variable
>> names that shadow builtins (except in specific, special circumstances),
>> so I don't really think this would be an a
On Aug 16, 2011, at 9:29 PM, Steven D'Aprano wrote:
> I have no objection to lint tools. But separation of concerns should apply:
> the Python compiler should just compile what I tell it to, the linter
> should warn me if I'm running with scissors.
This point (also made by Ethan) I can agree wit
On Aug 16, 2011, at 10:15 PM, Terry Reedy wrote:
> On 8/16/2011 8:18 PM, Philip Semanchuk wrote:
>
>> Hi Terry,
>> To generalize from your example, are you saying that there's a mild
>> admonition
> > against shadowing builtins with unrelated variable name
On Aug 18, 2011, at 8:58 AM, Jason Staudenmayer wrote:
> I really like this list as part of my learning tools but the amount of spam
> that I've been getting from it is CRAZY. Doesn't anything get scanned before
> it sent to the list?
This has been discussed on the list a number of times befor
On Aug 18, 2011, at 1:10 PM, Peter Pearson wrote:
> On Thu, 18 Aug 2011 12:15:59 -0400, gene heskett wrote:
> [snip]
>> What is wrong with the mailing list only approach?
>
> In the mailing-list approach, how do I search for prior discussions
> on a subject? (I'm not particularly opposed to th
On Aug 19, 2011, at 4:17 PM, Matty Sarro wrote:
> That's great - but do they program in python?
Please don't repost URLs sent by a spammer. Only Google truly knows how its
algorithm works, but the general consensus is that the more times Google sees a
link repeated, the more credibility the l
On Aug 25, 2011, at 9:24 AM, Sirisha wrote:
> Position Profile – Senior Data Warehouse Developer
As was mentioned on the list less than 24 hours ago, please don't post job
listings to this mailing list. Use the Python jobs board instead:
http://www.python.org/community/jobs/
--
http://mail.p
On Aug 27, 2011, at 12:56 PM, Josh English wrote:
> (This may be a shortened double post)
>
> I have a development version of a library in c:\dev\XmlDB\xmldb
>
> After testing the setup script I also have c:\python27\lib\site-packages\xmldb
>
> Now I'm continuing to develop it and simultaneous
On Aug 27, 2011, at 1:57 PM, Josh English wrote:
> Philip,
>
> Yes, the proper path should be c:\dev\XmlDB, which has the setup.py, xmldb
> subfolder, the docs subfolder, and example subfolder, and the other text
> files proscribed by the package development folder.
>
> I could only get it to
On Aug 27, 2011, at 4:14 PM, Terry Reedy wrote:
> On 8/27/2011 2:07 PM, Philip Semanchuk wrote:
>>
>> On Aug 27, 2011, at 1:57 PM, Josh English wrote:
>>
>>> Philip,
>>>
>>> Yes, the proper path should be c:\dev\XmlDB, which has the
>&g
On Aug 27, 2011, at 6:49 PM, Josh English wrote:
> When I run: os.listdir('c:\Python27\lib\site-packages') I get the contents in
> order, so the folders come before .pth files (as nothing comes before
> something.)
That's one definition of "in order". =)
> I would guess Python is using os.li
On Aug 28, 2011, at 9:30 PM, Ven wrote:
> Some system info before proceeding further:
>
> Platform: Mac OS X 10.7.1
> Python Version: ActiveState Python 2.7.1
> wxPython Version: [url=http://downloads.sourceforge.net/wxpython/
> wxPython2.9-osx-2.9.2.1-cocoa-py2.7.dmg]wxPython2.9-osx-cocoa-py2.7
On Aug 29, 2011, at 2:21 PM, William Gill wrote:
> I haven't done much with Python for a couple years, bouncing around between
> other languages and scripts as needs suggest, so I have some minor difficulty
> keeping Python functionality Python functionality in my head, but I can
> overcome th
Hi all,
I was reminded today (via Slashdot) of Python Tools for Visual Studio which was
discussed on this list back in March
(http://mail.python.org/pipermail/python-list/2011-March/1267662.html) and has
reached version 1.0. Is anyone here using it? Care to share pros & cons?
Here's the URL for
On Mar 2, 2011, at 9:21 AM, Stefan Behnel wrote:
> Claudiu Popa, 02.03.2011 14:51:
>> Hello Python-list,
>>
>>
>> I don't know how to call it, but the following Python 3.2 code seems to
>> raise a
>> FutureWarning.
>>
>> def func(root=None):
>> nonlocal arg
>> if root:
>>arg
On Mar 4, 2011, at 11:08 PM, Vincent Ren wrote:
> Hello, everyone, recently I am trying to learn python's
> multiprocessing, but
> I got confused as a beginner.
>
> If I run the code below:
>
> from multiprocessing import Pool
> import urllib2
> otasks = [
> 'http://www.php.net'
> 'http
On Mar 8, 2011, at 3:25 PM, Sheng wrote:
> This looks like a tornado problem, but trust me, it is almost all
> about the mechanism of multiprocessing module.
[snip]
> So the workflow is like this,
>
> get() --> fork a subprocess to process the query request in
> async_func() -> when async_fun
o use threads. A Queue object for threads
exists in the standard library too. You might find that useful.
HTH
Philip
>
> On Mar 8, 6:34 pm, Philip Semanchuk wrote:
>> On Mar 8, 2011, at 3:25 PM, Sheng wrote:
>>
>>> This looks like a tornado problem, but trus
On Mar 12, 2011, at 2:26 PM, s...@pobox.com wrote:
>
> I'm one of the SpamBayes developers and in a half-assed way try to keep
> track of SB dribbles on the net via a saved Google search. About a month
> ago I got a hit on an Ubuntu bug tracker about a SpamBayes bug. As it turns
> out, Ubuntu
On Mar 13, 2011, at 11:46 AM, Stefan Behnel wrote:
> Francesco Bochicchio, 13.03.2011 10:37:
>> On 13 Mar, 10:14, kuangye wrote:
>>> Hi, all. I need to generate other programming language source code
>>> from C++ source code for a project. To achieve this, the first step is
>>> to "understand" t
On Mar 15, 2011, at 11:58 AM, Danny Shevitz wrote:
> Howdy,
>
> I have run into an issue that I am not sure how to deal with, and would
> appreciate any insight anyone could offer.
>
> I am running on Mac OS X 10.5 and have a reasonably large tool chain including
> python, PyQt, Numpy... If I d
On Apr 4, 2011, at 4:20 PM, John Ladasky wrote:
> I have been playing with multiprocessing for a while now, and I have
> some familiarity with Pool. Apparently, arguments passed to a Pool
> subprocess must be able to be pickled.
Hi John,
multiprocessing's use of pickle is not limited to Pool.
On Apr 4, 2011, at 9:08 AM, Wiktor Adamski wrote:
> I have 2 threads in C code using python 2.5.2. First thread creates
> new interpreter (i need several interpreters but those 2 threads use
> only one) like that:
>
> PyEval_AcquireLock();
> threadState = Py_NewInterpreter();
> PyThreadState_Swa
On Apr 4, 2011, at 9:03 PM, Dan Stromberg wrote:
> On Mon, Apr 4, 2011 at 4:34 PM, Philip Semanchuk wrote:
>
>> So if you're going to use multiprocessing, you're going to use pickle, and
>> you need pickleable objects.
>>
>
> http://docs.python.org/li
On Apr 5, 2011, at 12:58 PM, John Ladasky wrote:
> Hi Philip,
>
> Thanks for the reply.
>
> On Apr 4, 4:34 pm, Philip Semanchuk wrote:
>> So if you're going to use multiprocessing, you're going to use pickle, and
>> you
>> need pickleable objects
On Apr 7, 2011, at 3:41 AM, John Ladasky wrote:
> Following up to my own post...
>
> On Apr 6, 11:40 pm, John Ladasky wrote:
>
>> What's up with that?
>
> Apparently, "what's up" is that I will need to implement a third
> method in my ndarray subclass -- namely, __reduce__.
>
> http://www.ma
On Apr 7, 2011, at 8:57 PM, Kerensa McElroy wrote:
>
> Hi,
>
> thanks for your response.
>
> I checked out multiprocessing.value, however from what I can make out, it
> works with object of only a very limited type. Is there a way to do this for
> more complex objects? (In reality, my object
On Apr 20, 2011, at 10:02 AM, wrote:
> Hello,
>
> I'm considering using os.rename or shutil for renaming
> files on OS X (Snow Leopard). However, I've read that
> shutil doesn't copy the resource fork or metadata for
> the files on OS X. I'm not sure about os.rename though.
> I need to
On Apr 25, 2011, at 11:28 PM, Gnarlodious wrote:
> I have an SQLite query that returns a list of tuples:
>
> [('0A',), ('1B',), ('2C',), ('3D',),...
>
> What is the most Pythonic way to loop through the list returning a
> list like this?:
>
> ['0A', '1B', '2C', '3D',...
This works for me -
On Apr 26, 2011, at 1:34 PM, Mihai Badoiu wrote:
> Already did. They suggested the python list, because the asm generated code
> is really correct and the problem might be with the python running on top.
Does the same timing in consistency appear when you use pure Python?
bye
Philip
>
> On
On Apr 27, 2011, at 2:26 PM, Mike wrote:
> I'm using ElementTree to parse an XML file, but it stops at the second record
> (id = 002), which contains a non-standard ascii character, ä. Here's the XML:
>
>
>
>
>
>
>
>
>
>
> The complaint offered up by the parser is
>
> Unexpected error
On May 6, 2011, at 5:57 PM, scattered wrote:
> On May 6, 2:36 am, Jabba Laci wrote:
>> Hi,
>>
>> If I want to check if a list is empty, which is the more pythonic way?
>>
>> li = []
>>
>> (1) if len(li) == 0:
>> ...
>> or
>> (2) if not li:
>> ...
>>
>> Thanks,
>>
>> Laszlo
>
> is there any
On May 25, 2011, at 2:17 PM, Jayme Proni Filho wrote:
> Helo guys,
>
> I'm building a local application for twitter for my brother's store. I'm in
> the beginning and I have some newbie problems, so:
>
> I create a table called tb_messages with int auto increment and varchar(140)
> fields;
> I
On Sep 18, 2011, at 11:55 AM, Alex van der Spek wrote:
> Why does this not work?
>
dat=[[1,2,3],[4,5,6]]
col=[('a','f4'),('b','f4'),('c','f4')]
arr=numpy.array(dat,dtype=col)
>
> Traceback (most recent call last):
> File "", line 1, in
> arr=numpy.array(dat,dtype=col)
> TypeEr
On Sep 23, 2011, at 7:44 AM, Yaşar Arabacı wrote:
> Hi,
>
> I'am trying to write a mass html downloader, and it processes files after it
> downloaded them. I have problems with encodings, and decodings. Sometimes I
> get UnicodeDecodeErrors, or
> I get half-pages in after processing part. Or mor
On Jan 10, 2009, at 9:26 AM, Duncan Booth wrote:
Gandalf wrote:
other languages like PHP or javascript as this if-else operator like
this
myVar = checking == 1? 'string': 'other string'
is this stuff exist in python?
See http://docs.python.org/reference/expressions.html#boolean-operati
On Jan 11, 2009, at 8:59 PM, James Mills wrote:
Hey all,
The following fails for me:
from urllib2 import urlopen
f = urlopen("http://groups.google.com/group/chromium-announce/feed/rss_v2_0_msgs.xml
")
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python2.6/urllib
On Jan 11, 2009, at 10:05 PM, James Mills wrote:
On Mon, Jan 12, 2009 at 12:58 PM, Philip Semanchuk > wrote:
On Jan 11, 2009, at 8:59 PM, James Mills wrote:
Hey all,
The following fails for me:
from urllib2 import urlopen
f =
urlopen("http://groups.google.com/group/chromium-annou
On Jan 12, 2009, at 6:48 PM, ajaksu wrote:
On Jan 11, 11:59 pm, "James Mills"
wrote:
Hey all,
The following fails for me:
from urllib2 import urlopen
f = urlopen("http://groups.google.com/group/chromium-announce/feed/rss_v2_0_msgs.xml
")
Traceback (most recent call last):
[...]
Any he
On Jan 13, 2009, at 1:22 AM, Steve Holden wrote:
Philip Semanchuk wrote:
On Jan 12, 2009, at 6:48 PM, ajaksu wrote:
On Jan 11, 11:59 pm, "James Mills"
wrote:
Hey all,
The following fails for me:
from urllib2 import urlopen
f =
urlopen("http://groups.google.com/group/ch
On Jan 13, 2009, at 11:25 AM, Laszlo Nagy wrote:
I would like to develop some module for Python for IPC. Socket
programming howto recommends that for local communication, and I
personally experienced problems with TCP (see my previous post:
"Slow network").
I was looking for semaphores a
On Jan 13, 2009, at 12:40 PM, Laszlo Nagy wrote:
The only reason to use shm over the sysv_ipc module is that shm
supports versions of Python < 2.5. I'm not developing shm any
further, so avoid using it if possible.
Hmm, we are using FreeBSD, Ubuntu and Windows. Unfortunately
- posix_ipc
On Jan 13, 2009, at 1:22 PM, Laszlo Nagy wrote:
- posix_ipc is broken under FreeBSD
A clarification: the module posix_ipc is *not* broken. It exposes
FreeBSD's implementation of POSIX IPC which has broken semaphores
(based on my experiments, anyway). The practical result for you is
t
On Jan 13, 2009, at 2:01 PM, Laszlo Nagy wrote:
I realize that lack of Windows support is a big minus for both of
these modules. As I said, any help getting either posix_ipc or
sysv_ipc working under Windows would be much appreciated. It sounds
like you have access to the platform and
On Jan 13, 2009, at 3:04 PM, Laszlo Nagy wrote:
I was suggesting getting posix_ipc or sysv_ipc to compile against a
compatibility library (Cygwin?) under Windows. It sounds like
you're proposing something totally different, no?
OK I see. But probably I do not want to use Cygwin because t
On Jan 13, 2009, at 4:31 PM, drobi...@gmail.com wrote:
On Jan 13, 2:37 pm, Philip Semanchuk wrote:
I was suggesting getting posix_ipc or sysv_ipc to compile against a
compatibility library (Cygwin?) under Windows. It sounds like you're
proposing something totally different, no?
It&
On Jan 13, 2009, at 6:41 PM, Mel wrote:
Philip Semanchuk wrote:
I'm working on message queue support, but the Sys V IPC API is a
headache and takes longer to code against than the POSIX API.
I hadn't found it that bad. I have a C extension I should perhaps
clean up
and m
On Jan 13, 2009, at 9:42 PM, ajaksu wrote:
On Jan 13, 1:33 am, Philip Semanchuk wrote:
I don't think I understand you clearly. Whether or not Google et al
whitelist the Python UA isn't a Python issue, is it?
Hi, sorry for taking so long to reply :)
I imagine it's so
On Jan 13, 2009, at 11:26 PM, drobi...@gmail.com wrote:
On Jan 13, 5:08 pm, Philip Semanchuk wrote:
On Jan 13, 2009, at 4:31 PM, drobi...@gmail.com wrote:
On Jan 13, 2:37 pm, Philip Semanchuk wrote:
I was suggesting getting posix_ipc or sysv_ipc to compile against a
compatibility library
On Jan 14, 2009, at 3:57 PM, koranthala wrote:
Hi,
I have a twisted based application based on Python 2.4.3. I also
have one thread in this application.
I found that my program crashes repeatedly after a random interval
(ranging from 10 min to 3 hr). When I say crash, it is not just that
On Jan 16, 2009, at 5:31 AM, shi dingan wrote:
void initexample() {
PyObject *m;
m = Py_InitModule("example", exampleMethods);
}
When I try to import examplemodule, I obtain the following message:
import examplemodule
Traceback (most recent call last):
File "", line 1, in ?
ImportError: d
On Jan 17, 2009, at 12:48 PM, Neha Gupta wrote:
Hey,
I only have little experience with web.py and psycopg2 and am running
into a weird problem, I'd appreciate any help I can get with debugging
it.
Hi Neha,
There's a lot of pieces involved here and your subject implies you've
isolated the
On Jan 19, 2009, at 3:12 AM, S.Selvam Siva wrote:
Hi all,
I am running a python script which parses nearly 22,000 html files
locally
stored using BeautifulSoup.
The problem is the memory usage linearly increases as the files are
being
parsed.
When the script has crossed parsing 200 files
On Jan 20, 2009, at 9:19 AM, srinivasan srinivas wrote:
Do parent process will have different file descriptor in it for each
subprocesses or paprent uses a single file descriptor for all?
I really want to know creation of each subprocess will occupy an
entry in parents'file descriptor table.
On Jan 21, 2009, at 10:52 AM, Dr Mephesto wrote:
Hi,
Im new to python, and OOP, and am trying to get a handle on list
comprehension.
Say I have a class Foo with a property called bar:
class Foo:
def __init__(self):
self.bar = random.randint(1,100)
and then I make a list of these ob
On Jan 21, 2009, at 11:52 AM, Lou Pecora wrote:
In article ,
Philip Semanchuk wrote:
Other answers have been good; to them I'll add the comment that list
comprehensions are for *constructing* lists, not manipulating the
elements thereof.
HTH
Philip
Well this seems to work just
On Jan 23, 2009, at 12:39 AM, Kay Schluehr wrote:
Whatever sufficiently sophisticated topic was the initially discussed
it ends all up in a request for removing reference counting and the
GIL.
Is this a variant of Godwin's Law for Python?
--
http://mail.python.org/mailman/listinfo/python-list
On Jan 24, 2009, at 8:06 PM, tgvaug...@gmail.com wrote:
Hi all,
Is anybody else having trouble accessing sites (including www, docs,
wiki) in the python.org tree, or is it just me? (Or just .au?)
No problem here in Durham, NC, USA.
--
http://mail.python.org/mailman/listinfo/python-list
On Jan 23, 2009, at 12:46 PM, jalanb3 wrote:
Hello the group,
I am wondering why doctests run slower the first time.
In the transcript below "try" is a script which finds and runs
doctests in the current directory. It also shows how long it takes to
run these tests.
I added a new test which s
On Jan 26, 2009, at 1:13 PM, gil.shi...@gmail.com wrote:
Hi All,
I'm running a program that is acting as a nice interface to sybase'
replication server. The program is using the cherrypy web service for
the GUI. The process is crashing every few days with no reason. In the
log I can see INFO a
On Jan 27, 2009, at 7:00 AM, gil.shi...@gmail.com wrote:
On Jan 26, 8:40 pm, Philip Semanchuk wrote:
On Jan 26, 2009, at 1:13 PM, gil.shi...@gmail.com wrote:
Hi All,
I'm running a program that is acting as a nice interface to sybase'
replication server. The program is using th
On Jan 27, 2009, at 10:34 AM, gil.shi...@gmail.com wrote:
On Jan 27, 2:10 pm, Tim Golden wrote:
gil.shi...@gmail.com wrote:
On Jan 26, 8:40 pm, Philip Semanchuk wrote:
On Jan 26, 2009, at 1:13 PM, gil.shi...@gmail.com wrote:
Hi All,
I'm running a program that is acting as a
On Jan 27, 2009, at 6:06 PM, joseph.a.mar...@gmail.com wrote:
Greetings! I've heard enough raving about Python, I'm going to see for
myself what all the praise is for!
I'm on a Mac. I use Netbeans for Java, PHP, and C if needed. Do you
even use an IDE for Python?
Some people do; I don't.
On Jan 27, 2009, at 7:44 PM, James Stroud wrote:
joseph.a.mar...@gmail.com wrote:
Greetings! I've heard enough raving about Python, I'm going to see
for
myself what all the praise is for!
I'm on a Mac. I use Netbeans for Java, PHP, and C if needed. Do you
even use an IDE for Python?
Any reco
On Jan 28, 2009, at 12:12 PM, gil.shi...@gmail.com wrote:
On Jan 27, 5:59 pm, Philip Semanchuk wrote:
On Jan 27, 2009, at 10:34 AM, gil.shi...@gmail.com wrote:
On Jan 27, 2:10 pm, Tim Golden wrote:
Then how are you interacting with Sybase?
I'm using python's functions to run
On Jan 28, 2009, at 2:14 PM, RGK wrote:
I'm writing a python app on a Mac (in Eclipse + PyDev w/ Python2.5 &
wxPython under OSX 10.4)
As I make program architecture decisions, it would be nice to be
able to profile the choices. Should I add that extra thread? Is
this big-assed xml obje
Hi all,
I'm trying call Python from inside of a C thread that's running in a
Python extension I've written and I am not having much luck. My C
thread function consists of simply this, and I get a segmentation
fault from Python:
void start_routine(union sigval foo) {
PyGILState_STATE gs
On Feb 3, 2009, at 12:51 PM, Victor Lin wrote:
It seems that my program can't call to Python's function from thread
directly, because there is Global Interpreter Lock. The python's GIL
is so complex, I have no idea how it works. I'm sorry, what I can do
is to ask. My question is. What should I
On Feb 3, 2009, at 11:37 PM, Victor Lin wrote:
It does not work. But however, thanks your help. I have tired so many
methods to do. But it
crash...crash..deadlock...deadlock..crash...crash... I have no any
tried success. I am going crazy. Could someone help me, thanks.
Hi Victor,
I have some
On Feb 9, 2009, at 12:02 PM, Aahz wrote:
[posted & e-mailed]
In article ,
Philip Semanchuk wrote:
I'm trying call Python from inside of a C thread that's running in a
Python extension I've written and I am not having much luck. My C
thread function consists of simpl
On Feb 9, 2009, at 2:35 PM, Christian Heimes wrote:
Philip Semanchuk wrote:
I didn't know there *was* such a thing. Thanks for the tip! For those
who might be interested, the list is here:
http://mail.python.org/mailman/listinfo/capi-sig
FYI, I got my code working and it is in the l
On Feb 9, 2009, at 10:26 PM, kpp9c wrote:
okay... for the life of me i do not see any Python Launcher.app and i
just installed OS X 10.5 (running 10.5.6 on intel) and i also
installed the dev kit.
Where the heck is this application?
Hi kp,
I don't seem to have any such beast on my syste
On Feb 10, 2009, at 7:29 AM, durumdara wrote:
Hi!
I wanna ask that have anyone some experience with email.msg and
smtplib?
The email message and smtp.send already have "sender/from" and
"recip/addr to".
Possible the smtp components does not uses the email tags if I not
define them only
On Feb 9, 2009, at 3:59 PM, Christian Heimes wrote:
Philip Semanchuk wrote:
Yes, that's accurate except for the word "forgot". To forget
something
one must first know it. =) I found the threading API documentation
difficult to follow, but I suppose that what I'm doing is
On Feb 10, 2009, at 11:49 AM, Benjamin Kaplan wrote:
On Tue, Feb 10, 2009 at 10:06 AM, Philip Semanchuk >wrote:
On Feb 9, 2009, at 10:26 PM, kpp9c wrote:
okay... for the life of me i do not see any Python Launcher.app and i
just installed OS X 10.5 (running 10.5.6 on intel) an
On Feb 12, 2009, at 3:04 PM, azrael wrote:
Why will Microsoft's products kick the ass of open source. Because
anyone does what he wants. Let's say There are 5 GUI libraries
competing against each other. Think about it what could these 5 teams
acomplish if they would work together. Or maybe a fr
On Feb 15, 2009, at 12:46 PM, pyt...@bdurham.com wrote:
What's the Pythonic way to determine if a string is a number? By
number I mean a valid integer or float.
try:
int(number)
is_an_int = True
except:
is_an_int = False
try:
float(number)
is_a_float = True
except:
is_a_fl
On Feb 15, 2009, at 1:27 PM, Christian Heimes wrote:
Philip Semanchuk schrieb:
On Feb 15, 2009, at 12:46 PM, pyt...@bdurham.com wrote:
What's the Pythonic way to determine if a string is a number? By
number I mean a valid integer or float.
try:
int(number)
is_an_int = True
e
On Feb 17, 2009, at 7:27 AM, 一首诗 wrote:
Hi all,
Recently I am studying some python ORM libraries, such as sqlalchemy.
These are very powerful technologies to handle database. But I think
my project are not complicated to enough to benefit from a complete
ORM system.
What I really want, is s
On Feb 17, 2009, at 10:18 AM, Barak, Ron wrote:
I have a wxPython application that builds an internal database from
a list of files and then displays various aspects of that data,
in response to user's requests.
I want to add a module that finds events in a set of log files
(LogManager).
T
1 - 100 of 387 matches
Mail list logo