Re: test-ignore

2024-02-15 Thread Tony Oliver via Python-list
On Thursday 15 February 2024 at 21:16:22 UTC, E.D.G. wrote: > Test - ignore February 15, 2024 > > Test post to see if my Newsgroup post program is working. Aim your test messages at alt.test, please. -- https://mail.python.org/mailman/listinfo/python-list

Imports and dot-notation

2023-08-09 Thread Oliver Schinagl via Python-list
Dear list, First a disclaimer, I am a python novice ;) so apologies beforehand for any incorrect terms and use thereof :) I have a question about the preferred/pythonic way dealing with imports. But let me start by giving a little bit of an example (which lead me to this question). Lookin

Re: Single line if statement with a continue

2022-12-18 Thread Tony Oliver
On Saturday, 17 December 2022 at 23:58:11 UTC, avi.e...@gmail.com wrote: > Is something sort of taboo when using something like a computer language to > write a program? With what else would you write a program? -- https://mail.python.org/mailman/listinfo/python-list

Re: Selenium py3.8+ DepreciationWarnings - where to find doc to update code?

2021-10-13 Thread Tony Oliver
On Wednesday, 13 October 2021 at 16:16:46 UTC+1, jkk wrote: > Selenium 3.141+ > python 3.8+ > ubuntu 20.04 or windows 10 > > I'm trying to upgrade code from py3.6+ to py3.8+ and I'm getting several > DepreciationWarnings. > > Can someone point me to where I can find the documentation that

Re: Understanding the working mechanis of python unary arithmetic operators.

2021-10-02 Thread Tony Oliver
On Saturday, 2 October 2021 at 13:48:39 UTC+1, hongy...@gmail.com wrote: > On Saturday, October 2, 2021 at 4:59:54 PM UTC+8, ju...@diegidio.name wrote: > > On Saturday, 2 October 2021 at 10:34:27 UTC+2, hongy...@gmail.com wrote: > > > See the following testings: > > > > > > In [24]: a=3.1415926

Re: How to create an Excel app that runs Python?

2020-03-24 Thread oliver
, and used win32com from python to finally inject the data into Excel and get it to generate charts and tables that could be used by stakeholders without access to python. Oliver Schoenborn || Cloud Application Engineer, Owner || Sentian Cloud Computing Inc. || Ottawa, ON, Canada || +1-613-552

Re: Would you be interested in this Python open source project?

2019-10-12 Thread oliver
There are tons of projects that need help, I recommend that instead of re-inventing the wheel as there are enough choices out there re cicd and very likely you will find that your goal of 10/90 is unrealistic. Have a look at codetriage.com, and github has a feature that allows you to search for pr

Re: Your IDE's?

2019-03-25 Thread oliver
Been using IDEs for 30 years (turbopascal anyone?): by far, PyCharm (used for 5 years so far). Then VS Code (one year). I still use both. Vs Code is faster to load, uses less mem and has a simplicity about it that is appealing. BUT vscode has similar speed to pycharm once started (actually might e

Re: Multiprocessing vs subprocess

2019-03-13 Thread oliver
With multiprocessing you can take advantage of multi-core processing as it launches a separate python interpreter process and communicates with it via shared memory (at least on windows). The big advantage of multiprocessing module is that the interaction between processes is much richer than subpr

Re: the python name

2019-01-02 Thread Ben Oliver
On 18-12-31 22:39:04, pritanshsahs...@gmail.com wrote: why did you kept this name? i want to know the history behind this and the name of this snake python. It's named after Monty Python [0]. [0] https://docs.python.org/3/tutorial/appetite.html signature.asc Description: PGP signature -- ht

Re: How to host python micro-services on windows machine?

2018-12-10 Thread oliver
Mon., Dec. 10, 2018, 07:17 oliver, wrote: > There are a few options in https://stackoverflow.com/q/7629813/869951, > esp the third answer. > > On Mon., Dec. 10, 2018, 02:41 , wrote: > >> I am developing some micro-services in python. I want to host that >> micro-servi

Re: How to host python micro-services on windows machine?

2018-12-10 Thread oliver
uld I use for Windows ? Please help > -- > https://mail.python.org/mailman/listinfo/python-list > -- Oliver Schoenborn || Cloud Application Engineer, Owner || Sentian Software Engineering || Ottawa, ON, Canada || +1-613-552-4466 (mobile) || @schollii2 (Twitter) || schoenborno (Skype)

Re: Python in the news

2018-07-25 Thread oliver
> Rich > > -- > https://mail.python.org/mailman/listinfo/python-list > -- Oliver Schoenborn || Cloud Application Engineer, Owner || Sentian Software Engineering || Ottawa, ON, Canada || +1-613-552-4466 (mobile) || @schollii2 (Twitter) || schoenborno (Skype) || LinkedIn <

Re: Simple graphic library for beginners

2018-01-10 Thread oliver
ial, with reasonable costs, perfect for learning/startup then eventually (if that's the goal medium or long term) distribute/sell. Oliver On Wed, 10 Jan 2018 at 10:46 bartc wrote: > On 10/01/2018 14:55, Antoon Pardon wrote: > > On 10-01-18 13:40, Jan Erik Moström wrote: >

Re: [OT] Python and Excel

2017-12-18 Thread oliver
nguage to > Excel > > https://www.bleepingcomputer.com/news/microsoft/microsoft-considers-adding-python-as-an-official-scripting-language-to-excel/ > -- > https://mail.python.org/mailman/listinfo/python-list > -- Oliver My StackOverflow contributions My CodeProject articles My Github p

Re: Python GUI application embedding a web browser - Options?

2017-10-10 Thread oliver
full-featured it is, how robust, etc. I have used PyQt for several years in production grade project and it is very solid and well documented and easy to program with and easy to write tests for. Oliver On Mon, 9 Oct 2017 at 12:59 fpp wrote: > Paul Moore said : > > > On 9 Octo

Re: A question on modification of a list via a function invocation

2017-08-14 Thread oliver
- > >> > >> def test(alist): > >>alist=[3,6,9] > >>return > >> > >> def test1(alist): > >>alist[0],alist[1],alist[2]=3,6,9 > >>return > >> > >> def test2(alist): > >>

Re: Proposed new syntax

2017-08-10 Thread oliver
3, 4, 5] > > > How about these? > > > > [x + y for x in (0, 1, 2, 999, 3, 4) while x < 5 for y in (100, 200)] > > [100, 200, 101, 201, 102, 202] > > > > [x + y for x in (0, 1, 2, 999, 3, 4) if x < 5 for y in (100, 200)] > > [100, 200, 101, 201, 10

Re: Question

2017-07-31 Thread oliver
ath" command will include the Python folder. So when you type "python ch3.py" the shell will see a python.exe in Python folder and run it and all will work! Oliver > > > > > > Sonja Williams > -- > https://mail.python.org/mailman/listinfo/python-list > -- Oliver My StackOverflow contributions My CodeProject articles My Github projects My SourceForget.net projects -- https://mail.python.org/mailman/listinfo/python-list

Re: Scala considering significant indentation like Python

2017-05-22 Thread oliver
fan (but also a C++ and Java fan) and I agree with > Scala creator, sometimes the readability is complicated. So, more often > than I would like to, I end up missing the braces :-O > > > -- > Cholo Lennon > Bs.As. > ARG > -- > https://mail.python.org/mailman/listinfo/py

Re: type hinting backward compatibility with python 3.0 to 3.4

2017-05-21 Thread oliver
e used as a > type and a class > that cannot be used as a type would be to require some sort of dunder > method be > defined on the type class. At first I was thinking `__type__`, but then I > remembered that's > already in use. maybe something as simple as `__hint__`. > > That or only allow classes that inherit from `type` to be used in type > annotations. > > I'm just spit balling ideas here. > -- > https://mail.python.org/mailman/listinfo/python-list > -- Oliver My StackOverflow contributions My CodeProject articles My Github projects My SourceForget.net projects -- https://mail.python.org/mailman/listinfo/python-list

Re: type hinting backward compatibility with python 3.0 to 3.4

2017-05-19 Thread oliver
largh") > print("Fred") > func() > print("Eggs") > > What should be printed, and in what order? > > Actually, Python does violate least-surprise in one area here. There's > one message that gets printed "out of order" compared

Re: TypeVar single constraint not allowed, why?

2017-05-04 Thread oliver
ss references itself in an annotation: we should not have to resort to a string to express this, very clunky and hacky. > -- > Greg > -- > https://mail.python.org/mailman/listinfo/python-list > -- Oliver My StackOverflow contributions My CodeProject articles My Github projects My SourceForget.net projects -- https://mail.python.org/mailman/listinfo/python-list

TypeVar single constraint not allowed, why?

2017-05-02 Thread oliver
her than an instance of a type, and returns a type. -- Oliver My StackOverflow contributions My CodeProject articles My Github projects My SourceForget.net projects -- https://mail.python.org/mailman/listinfo/python-list

Re: Announcement: TLSv1.2 will become mandatory in the future for Python.org Sites

2017-01-13 Thread oliver
ficate: [SSL: CERTIF LED] certificate verify failed (_ssl.c:645) - skipping Could not find a version that satisfies the requirement nose (from versions: ) No matching distribution found for nose C:\...>pip install nose --trusted-host pypi.python.org Collecting nose Downloading nose-1.3.7-py

Re-raised exceptions in 2.7.3 -- stack trace missing

2012-05-14 Thread Oliver Beattie
k. Bit perplexing, any idea what could cause this? —Oliver -- http://mail.python.org/mailman/listinfo/python-list

question on installing python 2.7.2 and tcl 8.5.10 on WinXP

2011-10-02 Thread Lynn Oliver
Hello, I'm having problems building tcl/tk and python on Windows XP so that both are installed correctly. 1. ActivePython 2.7.2.5 works fine on my system but may be implicated in recent R6034 runtime errors from users. 2. Python.org 2.7.2 msi binaries install fine, but produce a "tcl wasn't i

TypeError: object.__init__() takes no parameters

2011-09-08 Thread Oliver
Hello together, let me be honest with you, I am a poor programmer who can only do Perl. I tried to code a program in Perl, but found that another guy already finished this job in Python. Unlucky for me, this guy is now CEO of a company, not really interested in supporting his old code. If I want

Re: Pipe in the "return" statement

2011-07-25 Thread Oliver Bestwalter
are both returning numbers and those are combined with a bitwise OR. Combining b0001 with b0010 results in 0011 for example, you can see this very often done in C Code to set and check flags. Here is a gentle introduction: http://www.codeproject.com/KB/tips/Binary_Guide.aspxhttp://www.codeproject.com/KB/tips/Binary_Guide.aspx Cheers Oliver -- http://mail.python.org/mailman/listinfo/python-list

Embedded python issue with gtk

2010-11-10 Thread Oliver Marks
I have already emailed about this issue, but have still not got any where. I have reduced the plugin down to its bare minimum it simple loads the the python interpreter and imports gtk library. If i do this outside the embedded python it imports and i can use the gtk library, so why does it not w

embedding python ImportError: libpyglib PyExc_ImportError

2010-10-28 Thread Oliver Marks
Hi i am a new member on this list and thought if some people may be able to enlighten me to the error below ? I am running 64 bit ubuntu 10.10 and python 2.6 in case there are know issues with this setup, basically i am embedding python inside a c application i managed to get this to work i can c

requirements in writing an email/rss/usenet client?

2010-08-08 Thread George Oliver
hi, I'd like to know what to consider when writing an email/rss/usenet client. Apologies for such a broad question, but I've never attempted a project of this scope and I'm currently feeling out the requirements. My target is something like a gui-based mutt (I use a Windows OS btw), with influenc

string.Template question

2010-04-05 Thread Wells Oliver
Can you use dicts with string.Template? e.g. a structure like: game = { 'home': {'team': row['home_team_full'], 'score': row['home_score'], 'record': '0-0', 'pitcher': { 'id': home_pitcher.attrib['id'], 'name': home_pitcher.attrib['last_name'], 'wins': hom

looking for Python live code reloading IDEs

2010-01-22 Thread George Oliver
hi, I'm wondering if there are any Python programming environments that enable live code reloading, for example something like the Scheme- based impromptu (but also meant for any kind of Python program, not just audio/visual generation). Currently I do this directly in my editor (for game developm

Re: Newsgroup for beginners

2009-11-16 Thread George Oliver
On Nov 16, 8:35 am, Terry Reedy wrote: > mrholtsr wrote: > > Is there a Python newsgroup for those who are strictly beginners at > > programming and python? > > gmane.comp.python.tutor, which I believe mirrors the tutor-list There also is a beginner's forum at python-forum.org: http://www.python

Ordering of dict keys & values

2009-08-03 Thread Wells Oliver
on the value being in the same index as its corresponding key? -- Wells Oliver we...@submute.net -- http://mail.python.org/mailman/listinfo/python-list

Sorting dict by value w/ operator.itemgetter- using key name?

2009-07-30 Thread Wells Oliver
is email. Any tips? -- Wells Oliver we...@submute.net -- http://mail.python.org/mailman/listinfo/python-list

RPY2 examples?

2009-07-22 Thread Wells Oliver
I am trying to find examples using RPY2 to render R graphs to PNG/PDF/etc. The only things I can find use rpy 1.x. Any references? Thanks! -- Wells Oliver we...@submute.net -- http://mail.python.org/mailman/listinfo/python-list

Question regarding style/design..

2009-07-17 Thread Wells Oliver
scope such that the preference shifts from the former to the latter? I understand the use of the __name__ == 'main' convention for building unit tests, but I'm mixed on using it in scripts/small applications. Thanks for any thoughts! -- Wells Oliver we...@submute.net -- http://mail.python.org/mailman/listinfo/python-list

interactive fiction in Python?

2009-07-15 Thread George Oliver
hi, I'm just curious who might be working on interactive fiction modules in the style of Inform or TADS for Python. I've seen a few threads on this list [1] (among many that mention IF tangentially), and there are old projects like PUB and PAWS. There are some newer potential projects such as Curve

Re: MySQLdb and ordering of column names in list returned by keys() w/ a DictCursor

2009-07-02 Thread Wells Oliver
I can suss out. Any ideas? Thanks! >> >> (cursor being a MySQLdb.cursors.DictCursor object.) >> > > My guess is you're experiencing the fact that dicts are unordered by nature > which allows it to return in any order it likes (usually per the internal > representation/storage). > > -tkc > > > > -- Wells Oliver we...@submute.net -- http://mail.python.org/mailman/listinfo/python-list

MySQLdb and ordering of column names in list returned by keys() w/ a DictCursor

2009-07-02 Thread Wells Oliver
x27;, 'ER'] Neither alphabetical nor the order in which they were specified in the query nor... any seeming order I can suss out. Any ideas? Thanks! (cursor being a MySQLdb.cursors.DictCursor object.) -- Wells Oliver we...@submute.net -- http://mail.python.org/mailman/listinfo/python-list

n00b confusion re: local variable referenced before assignment error

2009-06-19 Thread Wells Oliver
h is the "file.write(handler.read())" line.. What gives? -- Wells Oliver we...@submute.net -- http://mail.python.org/mailman/listinfo/python-list

A question on scope...

2009-06-18 Thread Wells Oliver
In writing out python classes, it seems the 'self' is optional, meaning that inside a class method, "self.foo = bar" has the same effect as "foo = bar". Is this right? If so, it seems a little odd- what's the rationale? Or am I mistaken? -- Well

Re: call function of class instance with no assigned name?

2009-05-06 Thread George Oliver
On May 6, 3:07 pm, Carl Banks wrote: > I'm going to guess that you want the keyboardHandler to call method of > commandHandler. There's no reason for commandHandler to be a handler > at all then: keyboardHandler is already handling it. Thanks Carl, you've got it right and your following exampl

Re: call function of class instance with no assigned name?

2009-05-05 Thread George Oliver
Thanks for the suggestions so far. I've taken the advice to keep things simple so currently I'm just creating one instance of the commandHandler and assigning it a name with command = commandHandler (). This makes it easy to call it from any of the other handlers, and I think this will work for wha

Re: call function of class instance with no assigned name?

2009-05-05 Thread George Oliver
On May 5, 11:59 am, Dave Angel wrote: > 1) forget about getattr() unless you have hundreds of methods in your > map. The real question is why you need two maps. What good is the > "command string" doing you? Why not just map the keyvalues directly > into function objects? Thanks for the repl

Re: call function of class instance with no assigned name?

2009-05-05 Thread George Oliver
On May 5, 9:01 am, Chris Rebert wrote: > On Tue, May 5, 2009 at 8:52 AM, George Oliver > wrote: > > I create instances of these classes in a list attached to a third, > > 'brain' class. > > You could exploit Python's dynamism by using the getattr() fu

call function of class instance with no assigned name?

2009-05-05 Thread George Oliver
hi, I'm a Python beginner with a basic question. I'm writing a game where I have keyboard input handling defined in one class, and command execution defined in another class. The keyboard handler class contains a dictionary that maps a key to a command string (like 'h': 'left') and the command hand

Re: Python Query: Related to locking a resource in a multithreaded environment

2008-08-19 Thread Nils Oliver Kröger
--- > > -- > http://mail.python.org/mailman/listinfo/python-list -BEGIN PGP SIGNATURE----- iD8DBQFIqxfCzvGJy8WEGTcRApe+AJ9MNqWI9FOsJIKuTKxy8ZNSGYTy2gCdHtGc clDPMMAPRoIxsBvVm4ygi6U= =vIPW -END PGP SIGNATURE- begin:vcard fn;quoted-printable:Nils Oliver Kr=C3=B6ger n;quoted-printable:Kr=C3=B6ger;Nils Oliver email;internet:[EMAIL PROTECTED] version:2.1 end:vcard -- http://mail.python.org/mailman/listinfo/python-list

sending input to an embedded application

2008-07-12 Thread George Oliver
hi, I'm a novice programmer trying to better define a hobby project I'm thinking of. What I would like to do is take a program and embed it or put it within a Python-run GUI, using the GUI just to capture and send input to the application, and display the ouput. Specifically I want to use a Pytho

Re: 2D online multiplayer framework?

2008-06-28 Thread George Oliver
On Jun 28, 9:04 am, Gary Herron <[EMAIL PROTECTED]> wrote: > > Pyglet is my favorite: http://www.pyglet.org/ > > Twisted might be fine for the "online multiplayer" parts, but really if > you want a 2D/3D real-time game, start with a game framework. > > Gary Herron Thanks Cédric and Gary for the s

2D online multiplayer framework?

2008-06-28 Thread George Oliver
I'm looking for a framework to support a 2D online real-time multiplayer game (rugby league football with a lo-fi pixel look). The GameProgramming page at the Python wiki had some suggestions but so far nothing looks that promising, does anyone have some recommendations? It would be ideal to play

Re: Learning Python in a group

2008-06-22 Thread George Oliver
On Jun 22, 3:43 am, "Jonathan Roberts" <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm looking to learn Python (as my first programming language) and I'm > pretty sure I'd be more successful doing this with a group of other > people. hi Jon, I'm in the same situation as you and think a co-op method o

Re: Exception or not

2008-03-03 Thread Nils Oliver Kröger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I don't think it is a good pattern because you are kind of mixing exceptions with return codes which makes the code a lot less readable later on. I personally would strongly opt for return codes in this case as one would intuitively expect a f

Re: Cant run application as ./myapp.py

2008-03-03 Thread Nils Oliver Kröger
s I have other applications which > run just fine using the ./somthing.py syntax. Is there any reason why > this doesn’t work? > > > > Cheers, > > > > Robert > -BEGIN PGP SIGNATURE- iD8DBQFHzALBzvGJy8WEGTcRAtE8AJ4jGFTjZ8G8ayZM2AUcLcArnF5d1QCdH0gj

Re: Custom class to a dictionary?

2008-01-26 Thread Oliver Beattie
On Jan 26, 12:01 pm, Steven D'Aprano <[EMAIL PROTECTED] cybersource.com.au> wrote: > On Sat, 26 Jan 2008 03:35:18 -0800, Oliver Beattie wrote: > > Just wondering if it is possible to pass a custom class instance > > instance to dict() by way of using methods

Custom class to a dictionary?

2008-01-26 Thread Oliver Beattie
Just wondering if it is possible to pass a custom class instance instance to dict() by way of using methods like you can for iterators (__iter__, __getitem__ etc.) I see there is no __dict__ -- is there anything else I can use to achieve this? Kind Regards, Oliver -- http://mail.python.org

Re: Class destruction

2007-08-22 Thread Nils Oliver Kröger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robert Dailey schrieb: > Hi, > > I'm wondering where the most appropriate location is to cleanup class > objects. For example, i have a file handle as an instance attribute in one > of my classes and I need to call f.close() on it when the class objec

Re: Threads and racing conditions

2007-08-22 Thread Nils Oliver Kröger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Flavio Preto schrieb: > Hi, > > I have a doubt. Supose that i have the minimun class below: > > class db: > def __init__(self): > self.db = {} > def read(self, key): > return self.db[key] > def write(self, key, value): >

Re: Python is removing my quotes!

2007-08-21 Thread Nils Oliver Kröger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robert Dailey schrieb: > Thank you for your response. The back slashes work! It's a bit annoying; but > I have Microsoft to thank for that. It's not Microsoft, you would experience the same problems under any Unix I know of. At least the bash treats q

Re: How to optimise this code?

2007-08-21 Thread Nils Oliver Kröger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David N Montgomery schrieb: > class testCase: > def __init__(self, tc): > if tc == 1:self.testCase1() > if tc == 2:self.testCase2() > if tc == 3:self.testCase3() > if tc == 4:self.testCase4() > if tc == 5:sel

Re: Cancelling events on a COM Object

2007-08-18 Thread Oliver Nelson
Roger, I tried modifying my code so that I have def OnBeforeClick(self, Button, Shift, X, Y, Cancel): print "click" Cancel = True return Cancel But this doesn't seem to have changed anything. Am I doing this wrong? OLIVER Roger Upole wrote: > O

Re: Canceling events on COM Objects in python

2007-08-18 Thread Oliver Nelson
nly a different model than the standard wx event system... OLIVER [EMAIL PROTECTED] wrote: > On Aug 17, 11:54 pm, Oliver Nelson <[EMAIL PROTECTED]> wrote: >> I have MapPoint working in Python, and I'm trying to cancel events on >> the map, but I can't seem to make that happ

Canceling events on COM objects

2007-08-18 Thread Oliver Nelson
just fine, but I can't seem to figure out how to cancel the event so that mappoint doesn't do its stuff with it...I've tried setting Cancel based on the mappoint specs, but it doesn't seem to get sent back anywhere... Any ideas please? Thanx, OLIVER -- http://mail.python.org/mailman/listinfo/python-list

Re: Cancelling events on a COM Object

2007-08-17 Thread Oliver Nelson
James, I was getting an error everytime so I thought I had a setup problem... Sorry everybody... OLIVER James Stroud wrote: > Oliver, wait a while before you panic about your post not getting through! > > James > -- http://mail.python.org/mailman/listinfo/python-list

Cancelling events on a COM Object

2007-08-16 Thread Oliver Nelson
just fine, but I can't seem to figure out how to cancel the event so that mappoint doesn't do its stuff with it...I've tried setting Cancel based on the mappoint specs, but it doesn't seem to get sent back anywhere... Any ideas please? Thanx, OLIVER -- http://mail.python.org/mailman/listinfo/python-list

Events in Com Object for Python

2007-08-16 Thread Oliver Nelson
just fine, but I can't seem to figure out how to cancel the event so that mappoint doesn't do its stuff with it...I've tried setting Cancel based on the mappoint specs, but it doesn't seem to get sent back anywhere... Any ideas please? Thanx, OLIVER -- http://mail.python.org/mailman/listinfo/python-list

Canceling events from COM Objects

2007-08-16 Thread Oliver Nelson
just fine, but I can't seem to figure out how to cancel the event so that mappoint doesn't do its stuff with it...I've tried setting Cancel based on the mappoint specs, but it doesn't seem to get sent back anywhere... Any ideas please? Thanx, OLIVER -- http://mail.python.org/mailman/listinfo/python-list

Canceling events from COM Objects

2007-08-16 Thread Oliver Nelson
just fine, but I can't seem to figure out how to cancel the event so that mappoint doesn't do its stuff with it...I've tried setting Cancel based on the mappoint specs, but it doesn't seem to get sent back anywhere... Any ideas please? Thanx, OLIVER -- http://mail.python.org/mailman/listinfo/python-list

Canceling events from COM objects

2007-08-16 Thread Oliver Nelson
just fine, but I can't seem to figure out how to cancel the event so that mappoint doesn't do its stuff with it...I've tried setting Cancel based on the mappoint specs, but it doesn't seem to get sent back anywhere... Any ideas please? Thanx, OLIVER -- http://mail.python.org/mailman/listinfo/python-list

RE: I need a crack for pyext1.2.5 plugin

2007-02-18 Thread Oliver Sosa Cano
alternative... Thanks (sorry my english) On Feb 18, 8:07 pm, "Oliver Sosa Cano" <[EMAIL PROTECTED]> wrote: > Hi pythoneros. I'm a cuban guy interested in python and I need the crack of an Eclipse plugin: pyext 1.2.5 > > Thanks very much > > cheers >

I need a crack for pyext1.2.5 plugin

2007-02-18 Thread Oliver Sosa Cano
Hi pythoneros. I'm a cuban guy interested in python and I need the crack of an Eclipse plugin: pyext 1.2.5 Thanks very much cheers Oliver Sosa -- http://mail.python.org/mailman/listinfo/python-list

Re: pdf to text

2007-01-25 Thread Nils Oliver Kröger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 have a look at the pdflib (www.pdflib.com). Their Text Extraction Toolkit might be what you are looking for, though I'm not sure whether you can use it detached from the pdflib itself. hth Nils tubby schrieb: > I know this question comes up a lot, s

Re: what is wrong with my code?

2006-12-21 Thread Nils Oliver Kröger
Hi, this is the line that breaks your code: def progressTable(progress_table, action, task, pid=len(progress_table) your parameter progress_table is known inside the function, not inside its definition. So "pid=len(progress_table)" won't do. If you really think that it is possible that pid is

Re: calling a class instance of function

2006-12-21 Thread Nils Oliver Kröger
Hi, Methods i.e functions bound to a class instance (or object) the self argument in their definition: [code] class pid: def add(self, toadd): pass #or some sensible code [/code] If you want to define a method without that implicit self argument you'll have to make this method a st

Re: Re: Ctypes and freeing memory

2006-10-06 Thread Oliver Andrich
rience I am now in heaven. :) Sadly, I can't provide my team members an equal solution in the Java world, cause one of them starts to hate me for assigning him on another JNI job in our project. Best regards, Oliver -- Oliver Andrich <[EMAIL PROTECTED]> --- http://roughbook.de/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Re: Ctypes and freeing memory

2006-10-03 Thread Oliver Andrich
memory, and the returned string isn't helpful either. :) > If it doesn't, then you can use a more literal translation of the C > code, and use a c_void_p instead, using ctypes.string_at(description) > to get a string out of the buffer. This works and is a great tip! Thanks a lo

Re: Python to use a non open source bug tracker?

2006-10-03 Thread Oliver Andrich
influence this recommondation. Step up as an admin for Roundup. :) Best regards, Oliver -- Oliver Andrich <[EMAIL PROTECTED]> --- http://roughbook.de/ -- http://mail.python.org/mailman/listinfo/python-list

Ctypes and freeing memory

2006-10-03 Thread Oliver Andrich
have to think about a different solution? Best regards, Oliver -- Oliver Andrich <[EMAIL PROTECTED]> --- http://roughbook.de/ -- http://mail.python.org/mailman/listinfo/python-list

Re: PyXML not supported, what to use next?

2006-10-02 Thread Oliver Andrich
y nice choice. And it is also our "backup" choice, when lxml is not available on a system. Best regards,Oliver-- Oliver Andrich <[EMAIL PROTECTED]> --- http://roughbook.de/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Re: ctypes question about call by reference

2006-09-24 Thread Oliver Andrich
brary, and is not documented in the public interface. Thanks and Regards, Oliver. -- Oliver Andrich <[EMAIL PROTECTED]> --- http://roughbook.de/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Re: ctypes question about call by reference

2006-09-24 Thread Oliver Andrich
On 9/24/06, Lawrence Oluyede <[EMAIL PROTECTED]> wrote: > Oliver Andrich <[EMAIL PROTECTED]> wrote: > > - ExceptionType is an enum > > - MagickWand is somewhat strange, but so far it works fine without any > > type mangling. > > > > How would I wrap

ctypes question about call by reference

2006-09-24 Thread Oliver Andrich
) - ExceptionType is an enum - MagickWand is somewhat strange, but so far it works fine without any type mangling. How would I wrap this thing using ctypes? Can anybody help me with that? Best regards, Oliver -- Oliver Andrich <[EMAIL PROTECTED]> --- http://roughbook.de/ --

Question about decorators (with context?)

2006-09-24 Thread Oliver Andrich
think of a solution, where I have to do something like that. @my_funky_decorator(wand=) def read_image(self, filename): pass So, I like to ask, if someone could enlighten me how to implement the easy decorator I mentioned in my first "example". Thanks and best regards, Oliver --

Re: Letting a Python application phone home

2006-07-15 Thread Nils Oliver Kröger
Am Freitag, 14. Juli 2006 15:26 schrieb Dieter Vanderelst: This is surely possible. You need to define a protocol for the communication between client and server. As you are planning to send data over the internet you should build it on top of tcp. Look at the python module "socket" resp. "Sock

Re: languages with full unicode support

2006-07-02 Thread Oliver Bandel
Matthias Blume wrote: > Tin Gherdanarra <[EMAIL PROTECTED]> writes: > > >>Oliver Bandel wrote: >> >>>こんいちわ Xah-Lee san ;-) >> >>Uhm, I'd guess that Xah is Chinese. Be careful >>with such things in real life; Koreans might >>beat

Re: languages with full unicode support

2006-06-26 Thread Oliver Wong
"Oliver Bandel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Xah Lee wrote: > >> >> As far as i know, Java and JavaScript are languages with full, complete >> unicode support. That is, they allow names to be defined using unicode.

Re: languages with full unicode support

2006-06-25 Thread Oliver Bandel
this also. But I only have read some papers about Plan-9 and did not developed on it Only a try to have a different view on it. If someone knows more, please let us know :) Ciao, Oliver -- http://mail.python.org/mailman/listinfo/python-list

Re: Tabs versus Spaces in Source Code

2006-05-23 Thread Oliver Wong
;handwriting recognition" input method, or the "speech recognition" input method to insert english text. There are other input methods for the Asian languages (e.g. Chinese, Japanese, etc.) - Oliver -- http://mail.python.org/mailman/listinfo/python-list

Re: Tabs versus Spaces in Source Code

2006-05-18 Thread Oliver Bandel
, but typing needs some time. But it's good, because when ready with typing your email, it's not necessary to go to sports after work. So your boss can insist that you longer stay at work. Ciao, Oliver ;-) -- http://mail.python.org/mailman/listinfo/python-list

Re: Tabs versus Spaces in Source Code

2006-05-16 Thread Oliver Bandel
wing experience on how to handle this in true life (different editors/systems/languages...) I saw, that converting the "so fine tabs" was annoying. The only thing that always worked were spaces. Tab: nice idea but makes programming an annoyance. Ciao, Oliver -- http://mail.python.org/mailman/listinfo/python-list

Re: Tabs versus Spaces in Source Code

2006-05-16 Thread Oliver Bandel
known as “religious war” — > a heated fight over trivia. In this essay, i like to explain what is > the situation behind it, and which is proper. > > Simply put, tabs is proper, and spaces are improper. [...] I fullheartedly disagree :) So, no "essay" on this is necessary to r

Tomcat authentication from python

2006-01-15 Thread Michael Oliver
.     Highly Cohesive and Loosely Coupled   Mike Oliver CTO

Python Client accessing Tomcat

2006-01-14 Thread Michael Oliver
Loosely Coupled   Mike Oliver CTO Alarius Systems LLC 6800 E. Lake Mead Blvd Apt 1096 Las Vegas, NV 89156

Tomcat username and password2

2006-01-13 Thread Michael Oliver
print 'service unavailable' else: print 'unknown error: ' else: print 'success' for line in f: print line, [Mike Oliver>>] this returns 'not authorized' no matter what I put in for 'realm' or 'hos

httplib or urllib2 tomcat username and password

2006-01-13 Thread Michael Oliver
:8080/slide/ Thanks. Highly Cohesive and Loosely Coupled Mike Oliver CTO Alarius Systems LLC 6800 E. Lake Mead Blvd Apt 1096 Las Vegas, NV 89156 [EMAIL PROTECTED] http://www.alariussystems.com/ tel: fax: mobile: (702)953-8949 (702)974-0341 (518)378

Re: Object-Relational Mapping API for Python

2005-11-01 Thread Oliver Andrich
Hi, if you enjoyed Hibernate or got intrigued by it, go and look into SQLOject (http://www.sqlobject.org/). And you will be less intrigued by Hibernate, but will start to really like SQLObject. :) Best regards, Oliver -- Oliver Andrich <[EMAIL PROTECTED]> --- http://roughbook.de/ --

Re: How to separate directory list and file list?

2005-10-23 Thread Oliver Andrich
t is the best solution, but it looks nice. :) path = "/home/test" files = [fn for fn in os.listdir(path) if os.path.isfile(os.path.join(path, fn))] This gives you just the list of files in a given directory. Best regards, Oliver -- Oliver Andrich <[EMAIL PROTECTED]> --- http://roughbook.de/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Question about inheritance...

2005-10-22 Thread Oliver Andrich
tc...? even there would exist a way to accomplish that, I would suggest to rethink your class hierachy. Such requirements can show serious design problems. Best regards, Oliver -- Oliver Andrich <[EMAIL PROTECTED]> --- http://roughbook.de/ -- http://mail.python.org/mailman/listinfo/python-list

  1   2   >