s which I don't have
but as my situation is unusual I'm not sure what I am missing. So, I'm
asking for help which is what libraries does python depend on on Linux?
Thanks in advance.
Cheers,
Neil
--
--
Neil Benn Msc
Director
Ziath Ltd
Phone :+44 (0)7508 107942
Website - h
ort on computer does not exist
Requested port on computer is broken and cannot send data
Command gets sent to scope, however some noise occurs in the line and
the scope receives data but not what you sent
as above but vice versa
Cheers,
Neil
--
Neil Benn
Senior Automation Engineer
Cenix BioScience
BioInnovations Zentrum
Tatzberg 47
D-01307
Dresden
Germany
Tel : +49 (0)351 4173 154
e-mail : [EMAIL PROTECTED]
Cenix Website : http://www.cenix-bioscience.com
--
http://mail.python.org/mailman/listinfo/python-list
self.fireNewMessage(strReceivedString)
except:
raise
finally:
self.__objLock.release()
PySerial wraps all the platform specific stuff you, so you should
really use that, it behaves fairly well - the only real problem is a
lack o
MSI out of silent mode is not an option, if your installer starts firing
up other windows (command prompt or otherwise) - it looks amateurish and
cheap.
Certainly installing python on a box for a developer or to
support/install an in-house app, the MSI is fine and preferable.
Cheer
namic languages
then you can use Jytjon, there is an unofficial port of Jython for
Personal Profile - I'm not sure how robust it is but you could take a
look at that.
Cheers,
Neil
--
Neil Benn
Senior Automation Engineer
Cenix BioScience
BioInnovations Zentrum
Tatzberg 46
D-01307
Dresden
Ger
://ant.apache.org/ant_in_anger.html
However anyone up for Maven?? This is a build tool with a different
philosophy than most others.
Cheers,
Neil
--
Neil Benn
Senior Automation Engineer
Cenix BioScience
BioInnovations Zentrum
Tatzberg 46
D-01307
Dresden
Germany
Tel : +49 (0)351 4173 154
k and look at using a different data representation.
Cheers,
Neil
--
Neil Benn
Senior Automation Engineer
Cenix BioScience
BioInnovations Zentrum
Tatzberg 46
D-01307
Dresden
Germany
Tel : +49 (0)351 4173 154
e-mail : [EMAIL PROTECTED]
Cenix Website : http://www.cenix-bioscience.com
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
Absolutley not, I have exactly the same problem and it is
really annoying. The logging handlers should be set from an external
config file and not explicitly in the code. I simply had to just live
with it, it's annoying but there is nothing you can do about it (short
of playing around with stdout but avoiding that is why you used logging
in the first place!).
Cheers,
Neil
--
Neil Benn
Senior Automation Engineer
Cenix BioScience
BioInnovations Zentrum
Tatzberg 46
D-01307
Dresden
Germany
Tel : +49 (0)351 4173 154
e-mail : [EMAIL PROTECTED]
Cenix Website : http://www.cenix-bioscience.com
--
http://mail.python.org/mailman/listinfo/python-list
Neil Benn wrote:
>Steve M wrote:
>
>
>
>>Well, apparently I fried my brain trying to sort this out. There is a
>>typo in my example code in the post but not in my real program. (I know
>>it is a no-no when asking help on c.l.py but I simplified some details
>
.
Instead of:
cmd = r'java -jar sforcedataloader.jar -Dsalesforce.config.dir=c:\config'
os.system(cmd)
use
cmd = r'java -Dsalesforce.config.dir=c:\\config -jar sforcedataloader.jar'
os.system(cmd)
Neil
--
Neil Benn
Senior Automation Engineer
Cenix BioScience
BioInnova
than is needed, IMHO, even my handy/mobile phone/cell phone can easily
cope with 1.8Mb!
Neil
--
Neil Benn
Senior Automation Engineer
Cenix BioScience
BioInnovations Zentrum
Tatzberg 47
D-01307
Dresden
Germany
Tel : +49 (0)351 4173 154
e-mail : [EMAIL PROTECTED]
Cenix Website : http://www.cenix-bioscience.com
--
http://mail.python.org/mailman/listinfo/python-list
addition, there is a registry setting you need to
delete which automagically adds to the python path - it's in
HKEY_CURRENT_USER and HKEY_LOCAL_MACHINE.
That's probably won't solve your problem but it's somethng to be
aware of anyways.
Neil
--
Neil Benn
Senior Automat
of dangerous features of
> languages, but more about the way of using imperative object-oriented
>languages in a non-object-oriented way.
>
>
well, in languages like C#, Java and eiffel - you shouldn't really be
doing that anyways. that is why they are poor choices for hobbies,
h
f I find
>repetitive tasks I can declare functions, but I won't go for a class
>immediately. Why do you think putting code into functions is not
>encapsulating?
>
>
>
>>While you could do all manner
>>of nasty hacks in C++ I worked with people who carefu
ave the server running in Apache.
To work in SVN with eclipse you will need an eclipse plugin :
http://subclipse.tigris.org/#subclipse
Neil
--
Neil Benn
Senior Automation Engineer
Cenix BioScience
BioInnovations Zentrum
Tatzberg 47
D-01307
Dresden
Germany
Tel : +49 (0)351 4173 154
e-
ing
release management easier. However this solution requires more work.
* You could copy the java method using zip files with a manifest in
the same way Java uses jar files - I say could because I havn't
done this but it is the way I distribute Java apps - nice and
clea
27;t in there, they are in the fifth
argument to the property method (I can manually do this using
sections but is there a tag I can use?)
Cheers for your help,
Neil
--
Neil Benn
Senior Automation Engineer
Cenix BioScience
BioInnovations Zentrum
Tatzberg 47
D-01307
Dresden
German
Obviously there are other variations on this than the Sun stuff but
enterprise dosn't mean 'very large companies' in this case.
Cheers,
Neil
--
Neil Benn
Senior Automation Engineer
Cenix BioScience
BioInnovations Zentrum
Tatzberg 47
D-01307
Dresden
Germany
Tel : +49 (0)351 4173 154
e-mail : [EMAIL PROTECTED]
Cenix Website : http://www.cenix-bioscience.com
--
http://mail.python.org/mailman/listinfo/python-list
you are on about you
access ports through the win32 API which is the 'driver' - you could
probably bypass this and start playing around with assembly code but
there's no point!!
Cheers,
Neil
--
Neil Benn
Senior Automation Engineer
Cenix BioScience
BioInnovations Zentrum
T
;d write a C extension to do the serial stuff, but I don't know a thing
>about Windows programming.
>
>Thanks!
>
>
>
>
I wouldn't bother as well - PySerial works fine for me, as I mentioned
the only thing I don;t like is no evetn firing when data is availabel
but
Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3',
'/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/plat-darwin',
'/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/plat-mac',
'/Library/Frameworks/Python.framework/Versions/2
nd the like - does anyone know where I can find this?
Cheers,
Neil
--
Neil Benn
Senior Automation Engineer
Cenix BioScience
BioInnovations Zentrum
Tatzberg 47
D-01307
Dresden
Germany
Tel : +49 (0)351 4173 154
e-mail : [EMAIL PROTECTED]
Cenix Website : http://www.cenix-bioscience.com
--
Steven D'Aprano wrote:
> On Mon, 11 Jul 2005 12:42:55 +0200, Neil Benn wrote:
>
>
>
>> Hello,
>>
>>I can't find the docs for __eq__ on a dict and I can't
>> find a description on what the eq does (strangely it does implement &g
not as far as I can see from these docs.
Neil
--
Neil Benn
Senior Automation Engineer
Cenix BioScience
BioInnovations Zentrum
Tatzberg 46
D-01307
Dresden
Germany
Tel : +49 (0)351 4173 154
e-mail : [EMAIL PROTECTED]
Cenix Website : http://www.cenix-bioscience.com
--
http://mail.python.org/mai
google is not my friend - I invited it out for a drink last
week and it stood me up :-).
Cheers,
Neil
--
Neil Benn
Senior Automation Engineer
Cenix BioScience
BioInnovations Zentrum
Tatzberg 46
D-01307
Dresden
Germany
Tel : +49 (0)351 4173 154
e-mail : [EMAIL PROTECTED]
Cenix Website :
:
Hello,
Guess he's talking about windows :
http://www.dropline.net/gtk/
You will already have a windowing toolkit on windows - mfc/win32.
BTW, I cheated and saw a windows related question from above also same
poster ;-)
Cheers,
Neil
--
Neil Benn
Senior Automation Engineer
Paul Rubin wrote:
Skip Montanaro <[EMAIL PROTECTED]> writes:
How about (untested):
import Queue
counter = Queue.Queue()
counter.put(0)
def f():
i = counter.get()
counter.put(i+1)
return i
Hmmm, that's a bit messier than I hoped for, but it looks sure to work
Neil Benn wrote:
Hello,
I'm writing a simple cgi script and want to be able to access
the filename in a FieldStorage file instance. I have successfully
manmaged to access the file as a 'file-like object' by using the
simple code of :
Sorry, split the filename on p
ect\tJob\tBarcode\tPlate set )
As you can see, when __str__ is called, the FieldStorage is
displaying the name of the client side file - so it knows what it is,
however when I call .filename on it, I get None. I don;t get what is
happening here - has anyone else seen this and/or knows what
re, I dunno?)
The GIL thing makes it easier to do threading with Python (there are
disadvantages to the GIL but I won't get into that here - if you're
interested read through the history on this group) but it's still
threading so beware!
Cheers,
Neil
--
Neil Benn
Senior Autom
--
Neil Benn
Senior Automation Engineer
Cenix BioScience
BioInnovations Zentrum
Tatzberg 46
D-01307
Dresden
Germany
Tel : +49 (0)351 4173 154
e-mail : [EMAIL PROTECTED]
Cenix Website : http://www.cenix-bioscience.com
--- Begin Message ---
Leeds, Mark wrote:
I have a string variable say “8023 “ and
Scott David Daniels wrote:
Kind of fun exercise (no good for British English).
what's American about it? If anything, it's more French than American ;-)
N
--
Neil Benn
Senior Automation Engineer
Cenix BioScience
BioInnovations Zentrum
Tatzberg 46
D-01307
Dresden
Germany
Tel : +49 (0)35
there isn't a JVM present on the system - common in windows boxes),
installing JRE is a minimal effort and can be done silently - you can
remove it the same way after if you wish but often Java installers are
used to install Java programs so you don't want to bother doing that.
Cheer
the Narrow:Width ratio if you're gonna try
and scan the barcode after printing it out - try and get hold of a
crappy scanner (I got stung by using a good scanner before in the past).
Cheers,
Neil
--
Neil Benn
Senior Automation Engineer
Cenix BioScience
BioInnovations Zentrum
Tatzberg 46
D-0130
ound inside the logging
package but I will put the cleaning up of the dict on a shutdown() call
as a feature request for logging.
Thanks for the comm.
Cheers,
Neil
--
Neil Benn
Senior Automation Engineer
Cenix BioScience
BioInnovations Zentrum
Tatzberg 46
D-01307
Dresden
Germany
Tel : +49 (0)35
Neil Benn wrote:
Hello,
I'm running a test and having issues with logging, if I call
logging.shutdown() and then want to start the logging going again then
I get a problem as if I call shutdown, I can't get the root logger
again, such as :
.
Previous code missed
in emit
.self.stream.seek(0, 2) #due to non-posix-compliant Windows feature
.ValueError: I/O operation on closed file
.>>>
This means that I any code that write or use, if it calls
logging.shutdown the logging is buggered for that process - is my
analysis correct?
Cheers,
Neil
-
march!
Save the Canvas!
Long live the ComboBox!!
Free the ScrollPane!!
Sorry in a funny mood.
Cheers,
Neil
--
Neil Benn
Senior Automation Engineer
Cenix BioScience
BioInnovations Zentrum
Tatzberg 46
D-01307
Dresden
Germany
Tel : +49 (0)351 4173 154
e-mail : [EMAIL PROTECTED]
Cenix Website :
which has require and ensure
clauses on every method (following Meyer's Programming by contract
philosophy).
Cheers,
Neil
--
Neil Benn
Senior Automation Engineer
Cenix BioScience
BioInnovations Zentrum
Tatzberg 46
D-01307
Dresden
Germany
Tel : +49 (0)351 4173 154
e-mail : [EMAIL PROTECTE
Davor wrote:
Is it possible to write purely procedural code in Python, or the OO
constructs in both language and supporting libraries have got so
embedded that it's impossible to avoid them? Also, is anyone aware of
any scripting language that could be considered as "Python minus OO
stuff"? (As you
--- Begin Message ---
Tim Golden wrote:
[Neil Benn]
| I'm running a program which is using
| shutil.copyfileobj on a Win2K Pro, python 2.3 box.
Just for (possible) reassurance, I've just
run the following code snippet on my Win2k
Python 2.3.4 box and it seemed to work
without
ed my code again and again and
I'm definatly not apeending this.
I'm also copying files across, in the same program but the source
and dest are binary - this doesn't have the same problem, the filenames
are not changed.
My question is - has anyone else seen this behaviou
s,etc) is unlikely to be pure python.
The advantage of putting it in a DB will show up later when you have
fast and powerful retrieval capability.
Cheers,
Neil
--
Neil Benn
Senior Automation Engineer
Cenix BioScience
BioInnovations Zentrum
Tatzberg 47
D-01307
Dresden
Germany
Tel : +49 (0)351 4
Neil Benn wrote:
engsol wrote:
Has anyone done a script that will rspond to the serial com port(s)
receive buffer interrupt, as opposed to polling and timeouts? Win2000
is the main interest right now.
Thanks
Norm B
Hello,
I came across this problem as when I first used PySerial, I
case we could
also say that threading in VB6 is even easier than python - I'll leave
you to guess why!!!
Cheers,
Neil
--
Neil Benn
Senior Automation Engineer
Cenix BioScience
BioInnovations Zentrum
Tatzberg 47
D-01307
Dresden
Germany
Tel : +49 (0)351 4173 154
e-mail : [EMAIL PROTECTED]
Ce
sam wrote:
Simon Brunning wrote:
On Wed, 12 Jan 2005 15:18:09 +0800, sam <[EMAIL PROTECTED]> wrote:
I m wondering which Excel module is good to be used by Python?
If you are on Windows, and you have Excel, then the Python for Windows
extensions[1] are all you need to drive Excel via COM. O'Reilly'
Baza wrote:
I'm looking for any books or on-line resources on game programming using
Python. Does anyone have any advice?
--
Computer says, 'no'
Like the end quote :
eh, eh, eeehh!!
--
Neil Benn
Senior Automation Engineer
Cenix BioScience
BioInnovations Zentrum
Tatz
Daniel Bickett wrote:
Oh, I'm sorry, that was my mistake. The example contained that error,
but my code does not.
Daniel Bickett
To be fair though - I would have expected the method to throw an error
rather than default to cwd.
Neil
--
Neil Benn
Senior Automation Engineer
Cenix BioSc
[EMAIL PROTECTED] wrote:
Friends - I have tried to do abolute positioning using gridbaglayout,
but am having no success in jython. One book I have been referencing
says that it only works with JPanels. Could someone post a snippet of
code that works for a button? I am so close so just a hint would
49 matches
Mail list logo