mentor training python Romania with certification

2016-08-16 Thread blue
Hi. I'm from Romania. I need to update my skils under python. I need to find one mentor ( class, training ) to obtain one certified under python language. Cătălin George Feștilă -- https://mail.python.org/mailman/listinfo/python-list

Re: PyQt5, OpenGL, where to start, minimal example code?

2016-10-02 Thread blue
You have here a PyQt5 Reference Guide http://pyqt.sourceforge.net/Docs/PyQt5/index.html Some example can be found here 4 and 5 http://codeprogress.com/python/libraries/pyqt/ Support for OpenGL http://pyqt.sourceforge.net/Docs/PyQt5/opengl.html told us: When compiled against Qt v5.1 or later, Py

Re: Adding colormaps?

2017-01-23 Thread blue
you have here a full example , for another version not significant changes: http://matplotlib.org/examples/color/colormaps_reference.html -- https://mail.python.org/mailman/listinfo/python-list

Re: function inclusion problem

2015-02-27 Thread blue
On Wednesday, February 11, 2015 at 1:38:12 AM UTC+2, vlya...@gmail.com wrote: > I defined function Fatalln in "mydef.py" and it works fine if i call it from > "mydef.py", but when i try to call it from "test.py" in the same folder: > import mydef > ... > Fatalln "my test" > i have NameError: name

Euler module under python 2.7 and 3.4 instalation...

2015-04-07 Thread blue
Dear friends . I want to install Euler module under python 2.7 and / or 3.4 version. I try pip and pip 3.4 but seam not working for me. I need some help with this . Thank you . Regards. -- https://mail.python.org/mailman/listinfo/python-list

Re: Which GUI?

2015-07-25 Thread blue
Hi . I tested all. Now I think the PySide can more. https://pyside.readthedocs.org/en/latest/ See also http://free-tutorials.org/pyside-introduction-part-001/ http://python-catalin.blogspot.ro/ -- https://mail.python.org/mailman/listinfo/python-list

Re: Hi

2015-07-25 Thread blue
... also you can have all python modules from : http://www.lfd.uci.edu/~gohlke/pythonlibs/ read this mini tutorial ( working also with python 2.7) : http://python-catalin.blogspot.ro/2014/10/windows-all-modules-for-python-34.html -- https://mail.python.org/mailman/listinfo/python-list

Re: how to decrypt encrypted text to a clear text

2017-06-07 Thread blue
Test again your chain programming way , because : >>> dir(RSA.importKey) ['__call__', '__class__', '__cmp__', '__delattr__', '__doc__', '__format__', '__func__', '__get__', '__getattribute__', '__hash__', '__init__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__self__', '__setattr__',

Re: programming by evolution?

2009-02-08 Thread blue indigo
@x@@x@| | |/ WW( ( ) )WW \/| |\| __\,,\ /,,/__ \||/ | | | (__Y__) /\/\/\/\/\/\/\/\//\/\\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ == (f'up

Re-launch of The Gadgets Forum

2008-05-08 Thread Blue Pikes
Re-launch of The Gadgets Forum Re-launch of "The Gadgets Forum - gadgets.pk" with new and stunning categories, now you can find latest news and reviews about the following: 1) Audio/Video Gadgets = MP3 Players, iPods, Speakers, Audio/Video Systems,

How to handle file uploads with http.server

2010-03-11 Thread Neil Blue
Hello, I have a basic http.server instance running (class HTTPHandler(http.server.BaseHTTPRequestHandler), with python 3.1, and I would like to upload files with multipart forms. def do_POST(self): ctype, pdict = cgi.parse_header(self.headers['Content-Type']) if ctype=='multipart/

RE: How to handle file uploads with http.server

2010-03-17 Thread Neil Blue
, Neil Blue escribió: > I have a basic http.server instance running (class > HTTPHandler(http.server.BaseHTTPRequestHandler), with python 3.1, and > I would like to upload files with multipart forms. > > def do_POST(self): > ctype, pdict = cgi.parse_header(self.hea

Software Engineer - Storage, Python, C++, Java

2012-02-26 Thread Blue Line Talent
Blue Line Talent is looking for a mid-level software engineer with experience in a combination of Python, C/C++ and/or Java. Experience developing middleware is helpful. The Engineer will join an exciting start-up environment in a newly established location. This is an outstanding opportunity

Software Engineer - Storage, Python, C++, Java - Broomfield, CO

2012-03-11 Thread Blue Line Talent
Blue Line Talent is looking for a mid-level software engineer with experience in a combination of Python, C/C++ and/or Java. Experience developing middleware is helpful. The Engineer will join an exciting start-up environment in a newly established location. This is an outstanding opportunity for

Re: complex numbers

2005-01-11 Thread Big and Blue
It's me wrote: > I am very happy that Python included *native* complex number support. And I have always been happy that FORTRAN supports them. I really like Python's notion of having just one data type: the duck. So have you considered using Python for your problem? --

Re: turn text lines into a list

2005-06-28 Thread Big and Blue
Gunnar Hjalmarsson wrote: > >> @corenames=qw( >> rb_basic_islamic >> sq1_pentagonTile >> sq_arc501Tile >> sq_arc503Tile >> ); > > > Impractical to mix code and data, isn't it? Obviously not impractical, given he did it quite easily and succinctly. > chomp( my @corenames = ); > > __DATA__

Advice for creating a web app

2006-03-11 Thread Jumping until blue
I'm confused ... and need some advice Here is what I want to do: I have a number of files, mostly text files formatted using Markdown syntax but also pdfs and other types of files, that are stored in a folder hierarchy and I want to develop a web application where I can brows, view and search the

Re: sizeof(struct timeval)

2006-03-13 Thread Big and Blue
Tony Houghton wrote: > > How safe would I be assuming that > > sizeof(struct timeval) == 2 * sizeof(long) > > is always true on Linux on different architectures? Based on what I was looking at today (well, yesterday now), you might be wrong. I do know that the size of a struct u

Re: sizeof(struct timeval)

2006-03-13 Thread Big and Blue
Big and Blue wrote: > Tony Houghton wrote: >> >> How safe would I be assuming that >> sizeof(struct timeval) == 2 * sizeof(long) >> >> is always true on Linux on different architectures? > >Based on what I was looking at today (well

Minimize Bandwidth

2007-06-08 Thread Robert Rawlins - Think Blue
Hello Chaps, I have a python application that hits a web service on a regular basis to post a string of CSV log data and I'm looking to minimize the amount of bandwidth that the application uses to send the log data. Is there any way to encode the string into base64 or something, that I can

Binary / SOAPpy

2007-06-08 Thread Robert Rawlins - Think Blue
Hello Guys, I have a WebService call which returns an array, the first element in that array is the binary for a zip file, however I'm having trouble writing that binary string into an actual file when it arrives, I've tried the following method. Result = call to the webservice that returns

Strange Thread Issue

2007-06-23 Thread Robert Rawlins - Think Blue
Hello Guys, I'm having an issue with a thread which I've not come across before and it has be baffled. The thread doesn't really do a lot, it simple contains a popen command to run something from cmd, now then i trigger the thread form my main application using the .start() method nothing happe

Zip File Woes

2007-06-27 Thread Robert Rawlins - Think Blue
Hello Guys, I'm having a MASSIVE headache today with zip files, I had it working a while ago but it all seems to have stopped in the past 30 minutes and I can't figure out why. I'm simply trying to write a function that will unzip a file, simple as that. I've currently got this code: Im

RE: Zip File Woes

2007-06-27 Thread Robert Rawlins - Think Blue
en them and still get the problems. Thanks guys, Rob From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Rawlins - Think Blue Sent: 27 June 2007 15:10 To: python-list@python.org Subject: Zip File Woes Hello Guys, I'm having a MASSIVE headache today with zip files

Threads Dying?

2007-06-28 Thread Robert Rawlins - Think Blue
Hello Guys, I've got an application that seems to be a little bit unstable and freezes quite a bit, and I'm suspecting it's something in one of my threads that's causing the problem, when does a thread die? And how can I be sure that its dyeing when its mean to be? Thanks guys, Rob --

XML Parsing Help,

2007-06-29 Thread Robert Rawlins - Think Blue
Hello Chaps, I'm looking for some help with XML parsing, I've been playing around with this over the past few days and the only solution I can come up with seems to be a little slow and also leaves what I think is a memory leak in my application, which causes all kinds of problems. I have

Application Crashing

2007-06-29 Thread Robert Rawlins - Think Blue
Hello Guys, I find my application is freezing/crashing every now and then and it becoming a bit of a frustration, so this morning I sat down to try and locate the problem. After doing some debugging I think I've found the line of code that causes my problem. Print 'Read Results' New = e.re

DatePart From String

2007-07-03 Thread Robert Rawlins - Think Blue
Hello Guys, I have a date/time as a string which looks like this: 2007-02-01 00:00:00 I'm trying to get my hands on the different date parts of that string in the following formats: Time Only: 00:00:00 Day As Number: 01 Month As Number: 02 Day As Word: Monday I've tried using the

RE: DatePart From String

2007-07-03 Thread Robert Rawlins - Think Blue
AIL PROTECTED] On Behalf Of Dave Sent: 03 July 2007 10:46 To: python-list@python.org Subject: Re: DatePart From String Robert Rawlins - Think Blue thinkbluemedia.co.uk> writes: > I’ve tried using the time.strptime() function without much success so > thought I’d come and ask your advi

POpen - Wait For Process To Complete

2007-07-03 Thread Robert Rawlins - Think Blue
Hello guys, Quite a simple one I'm hoping. I've got a process that I run using popen which writes to a file, I'm then going to read the file and parse its contents. However, getting the application to wait until the process is complete and finished writing before it reads and parses the file is

Which Python Version

2007-07-04 Thread Robert Rawlins - Think Blue
Hello Chaps, Is there a command I can run to confirm which version of python I'm running? Another thing I've always wondered, should i be running my applications using './MyFile.py' or 'Python MyFile.Py' what are the benefits of each method? One thing I have noticed is that when I used 'Pyt

Which Python Version

2007-07-04 Thread Robert Rawlins - Think Blue
Hello Chaps, Is there a command I can run to confirm which version of python I'm running? Another thing I've always wondered, should i be running my applications using './MyFile.py' or 'Python MyFile.Py' what are the benefits of each method? One thing I have noticed is that when I used 'Pyt

RE: Which Python Version

2007-07-04 Thread Robert Rawlins - Think Blue
riginal Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Golden Sent: 04 July 2007 11:36 Cc: python-list@python.org Subject: Re: Which Python Version Robert Rawlins - Think Blue wrote: > Is there a command I can run to confirm which version of python I'm running

Which Python Version

2007-07-04 Thread Robert Rawlins - Think Blue
Hello Chaps, Is there a command I can run to confirm which version of python I'm running? Another thing I've always wondered, should i be running my applications using './MyFile.py' or 'Python MyFile.Py' what are the benefits of each method? One thing I have noticed is that when I used 'Pyt

Which Python Version

2007-07-04 Thread Robert Rawlins - Think Blue
Hello Chaps, Is there a command I can run to confirm which version of python I'm running? Another thing I've always wondered, should i be running my applications using './MyFile.py' or 'Python MyFile.Py' what are the benefits of each method? One thing I have noticed is that when I used 'Pyt

Which Python Version

2007-07-04 Thread Robert Rawlins - Think Blue
Hello Chaps, Is there a command I can run to confirm which version of python I'm running? Another thing I've always wondered, should i be running my applications using './MyFile.py' or 'Python MyFile.Py' what are the benefits of each method? One thing I have noticed is that when I used 'Pyt

GObject and Python 2.5

2007-07-04 Thread Robert Rawlins - Think Blue
Hello Guys, Firstly I should apologise for all the mails that keep landing on the list, my SMTP server (supplied by my ISP) seems to be playing silly buggers and sending multiples. I've just installed Python 2.5 on my Debian system and I'm trying to run my application and I get 'ImportError

Parsing Help

2007-07-10 Thread Robert Rawlins - Think Blue
Hello Guys, I'm looking for some help building a function which can parse some XML for me using ElementTree. The document is of a very consistent format and I've copied an example of the document below.

Time A Script

2007-07-11 Thread Robert Rawlins - Think Blue
Hello Guys, What's the best way to time how long it takes a script to run, from top to bottom and then have it print that execution time at the end? Thanks guys, Rob -- http://mail.python.org/mailman/listinfo/python-list

Launch One Application From Another

2007-07-12 Thread Robert Rawlins - Think Blue
Hello Guys, I'm looking for the best method to launch one Python application from another? Is something like sub process going to be my best bet? Or is there something more specific for launching one python app from another? Thanks guys, Rob -- http://mail.python.org/mailman/listinfo/

RE: Dict Help

2007-07-15 Thread Robert Rawlins - Think Blue
Thanks Gabriel, That all works a charm, Iteration on this isn’t important for me so the SET will work much better I think, I had read about them before but have never used them, I'm glad to see it works so simply. Thanks, Rob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PRO

Access Object From 2 Applications or Fix Scheduler

2007-07-15 Thread Robert Rawlins - Think Blue
Hello Guys, I have two applications which I need to get talking and sharing an object, what's the best way to do this? Basically my first application parses an XML document into a bunch of lists and tuples etc, and I need to access the data in these lists and tuples from my second application.

RE: Access Object From 2 Applications or Fix Scheduler

2007-07-16 Thread Robert Rawlins - Think Blue
Guys, Rob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hendrik van Rooyen Sent: 16 July 2007 07:29 To: python-list@python.org Subject: Re: Access Object From 2 Applications or Fix Scheduler Robert Rawlins - Think Blue wrote: >Hello Guys, >

RE: Access Object From 2 Applications or Fix Scheduler

2007-07-16 Thread Robert Rawlins - Think Blue
heard of? Thanks, Rob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hendrik van Rooyen Sent: 16 July 2007 07:29 To: python-list@python.org Subject: Re: Access Object From 2 Applications or Fix Scheduler Robert Rawlins - Think Blue wrote: >Hello Guys,

RE: Dict Help

2007-07-17 Thread Robert Rawlins - Think Blue
briel, Rob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Rawlins - Think Blue Sent: 15 July 2007 20:47 To: 'Gabriel Genellina'; python-list@python.org Subject: RE: Dict Help Thanks Gabriel, That all works a charm, Iteration on this isn’t i

Subprocess Poll() to sport Application Crash

2007-07-18 Thread Robert Rawlins - Think Blue
Hello Guys, I have an application which launches a sub-process using the sub process/Popen module, which seems to work great. However on occasion the launched process will crash, it doesn't appear to full terminate though as when I run a 'top' command from the Linux system the process is still

Subprocess Poll

2007-07-18 Thread Robert Rawlins - Think Blue
Hello Guys, I have an application which launches a sub-process using the sub process/Popen module, which seems to work great. However on occasion the launched process will crash, it doesn't appear to full terminate though as when I run a 'top' command from the Linux system the process is still

Copy List

2007-07-18 Thread Robert Rawlins - Think Blue
Hello Guys, What's the best way to create a copy of a list? I've seen several method and I'm not sure what to use. This will be in a class and one method creates a list which I then want to move to the self scope, like so: __Init__(self): Self.myList = [] regenerateList

Log Memory Usage

2007-07-19 Thread Robert Rawlins - Think Blue
Hello Guys, I have an embedded application with a suspected memory leak which I'm trying to confirm. You see, the application seems to crash unexpectedly and when looking at the resource consumption after the crash system memory has crept up to nearly 100%. However this takes quite a long t

DateTime Differance

2007-07-20 Thread Robert Rawlins - Think Blue
Hello Guys, I've used the eGenix date time module to create two date time objects which I'm now looking to compare like so: If date 1 is more than 5 minutes older than date 2: Do something here... After reading through the egenix documentation I'm still a little confuse

Byte-Array to String

2007-04-19 Thread Robert Rawlins - Think Blue
Hello Guys, I have a byte array passed to me by dbus and I'm looking to convert it into a string? Is that possible? Sorry for seeming like a putts with these questions, I'm not used to all these complex data types :-D The byte array looks something like this when printed to screen. dbus

RE: Byte-Array to String

2007-04-19 Thread Robert Rawlins - Think Blue
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Golden Sent: 19 April 2007 15:54 Cc: python-list@python.org Subject: Re: Byte-Array to String Robert Rawlins - Think Blue wrote: > I have a byte array passed to me by dbus and I'm looking to convert it into > a string? Is that

RE: Byte-Array to String

2007-04-20 Thread Robert Rawlins - Think Blue
my syntax is pretty confused as I'm so new to the language. Like I say, there is only one element of the array I'm interested in, I just need to see them all before I know which it is. Thanks again Steve, Rob From: Steven Howe [mailto:[EMAIL PROTECTED] Sent: 19 April 2007 16:51

RE: Byte-Array to String

2007-04-20 Thread Robert Rawlins - Think Blue
From: Carsten Haese [mailto:[EMAIL PROTECTED] Sent: 20 April 2007 14:00 To: Robert Rawlins - Think Blue Cc: python-list@python.org Subject: RE: Byte-Array to String On Fri, 2007-04-20 at 09:51 +0100, Robert Rawlins - Think Blue wrote: > Morning Steve, > > > > That stuff looks mighty

Schedule Task

2007-04-21 Thread Robert Rawlins - Think Blue
Hello Guys, I've got a method in my app that I want to run every 20 minutes that the application it running, what's the best way of achieving this? At the moment I'm using this kind of method. import sched import time, sys scheduler = sched.scheduler(time.time, time.sleep) scheduler.e

Class Not Auto-Init On Import

2007-04-21 Thread Robert Rawlins - Think Blue
Hello Guys, >From my understanding of what I've read, the 'import' is meant to auto Init my class ready for me to access its methods, but it doesn't appear too, I'm having to init them myself before I can access them, like this. import LocationService Location = LocationService.Location

Styled Output

2007-04-21 Thread Robert Rawlins - Think Blue
Chaps, Hope you're all having a good weekend, I'm sure it'll only be the more 'hard core' of you reading this, anyone with any sanity would be out in the sunshine right now. I'm running a program of mine from Linux bash script and it currently outputs status messages to the command prompt,

Minidom Help

2007-04-24 Thread Robert Rawlins - Think Blue
Hello guys, Not got much experience with working with minidom, but I'm looking to parse this XML and retrieve the 'name' value from the xml. Think Blue 0x1002 1 I've got as far as parsing the XML using self.doc = xml.dom.minidom.parse(self.filepath)

If Dict Contains a particular key

2007-04-24 Thread Robert Rawlins - Think Blue
Hello Guys, I'm Looking to build a quick if/else statement that checks a dictionary for a key like follows. If myDict contains ThisKey: Do this... Else Do that... Thats the best way of doing this? Thanks, Rob -- http://mail.python.org/mailman

RE: If Dict Contains a particular key

2007-04-25 Thread Robert Rawlins - Think Blue
a particular key On Apr 24, 2007, at 12:28 PM, Robert Rawlins - Think Blue wrote: Hello Guys, I'm Looking to build a quick if/else statement that checks a dictionary for a key like follows. If myDict contains ThisKey: Do this... Else Do

If Dict Contains...

2007-04-25 Thread Robert Rawlins - Think Blue
Hello Guys, Looking to build a quick if/else statement that checks a dictionary for a key like follows. If myDict contains ThisKey: Do this... Else Do that... Thats the best way of doing this? Thanks, Rob -- http://mail.python.org/mailman/lis

popen2 results

2007-04-25 Thread Robert Rawlins - Think Blue
Hello guys, I've recently ported my application from bash to python, however there are still a few bash line utilities I -have- to use in the application as there isn't any alternative available to me. In the old days of bash I would have grep'd the output from these commands to determine the o

Now()

2007-04-25 Thread Robert Rawlins - Think Blue
Hello Guys, I'm using the following function 'str (now)' to place a date time stamp into a log file, which works fine, however it writes the stamp like this. 2007-04-25 11:06:53.873029 But I need to expel those extra decimal places as they're causing problems with the application that p

Scheduler Module Help

2007-04-26 Thread Robert Rawlins - Think Blue
Hello Guys, I'm using the sched module to create a set of functions that run every 10 or 20 minutes whilst the application is running, however it would seem that the moment I run scheduler.run() it prevents any other operations in my application from running, its sits dormant until it runs the

Re-ocurring Events

2007-04-26 Thread Robert Rawlins - Think Blue
Hello Chaps, A bit more of a complex one this time, and I thought I'd get your opinions on the best way to achieve this. Basically I'm looking for a way to describe a re-occurring event, like a calendar event or appointment I guess. I'm likely to use an XML file for the definition of the events

RE:: Re-ocurring Events

2007-04-27 Thread Robert Rawlins - Think Blue
Thank you guys for your suggestions. I've been having a look at that launchd stuff from apple but couldn’t really see how that applies to my requirements. I've been putting some serious thought into how this should work as its essentially the final part of the puzzle for my application, I'll have

RE: : Re-ocurring Events

2007-04-27 Thread Robert Rawlins - Think Blue
CTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Rawlins - Think Blue Sent: 27 April 2007 08:24 To: python-list@python.org Subject: RE:: Re-ocurring Events Thank you guys for your suggestions. I've been having a look at that launchd stuff from apple but couldn’t really see how that applies

RE: Re-ocurring Events

2007-04-27 Thread Robert Rawlins - Think Blue
Original Message- From: Laurent Pointal [mailto:[EMAIL PROTECTED] Sent: 27 April 2007 09:49 To: Robert Rawlins - Think Blue Subject: Re: Re-ocurring Events Robert Rawlins - Think Blue a écrit : > Thank you guys for your suggestions. > > I've been having a look at that launchd st

RE: Re-ocurring Events

2007-04-27 Thread Robert Rawlins - Think Blue
s, Rob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Rawlins - Think Blue Sent: 27 April 2007 09:55 To: 'Laurent Pointal' Cc: python-list@python.org Subject: RE: Re-ocurring Events Thanks for getting back to me Laurent. I've now made s

RE: what python technology for my app?

2007-04-27 Thread Robert Rawlins - Think Blue
Just thought I'd make a little suggestion about this, I don’t know how strict you want to be with the web development side of things, but I'm a web developer by trade and have recently started using python for my non-web type applications. If you're looking for a web based server side solution, th

RE: Re-ocurring Events

2007-04-27 Thread Robert Rawlins - Think Blue
: python-list@python.org Subject: Re: Re-ocurring Events Robert Rawlins - Think Blue napisał(a): > and I need to do and conditional that ensures start is before today's > date/time and end is after today's date/time. > > The string looks like: '2007-01-01 00:00:00'

RE: what python technology for my app?

2007-04-27 Thread Robert Rawlins - Think Blue
obert Rawlins - Think Blue a écrit : > Just thought I'd make a little suggestion about this, I don’t know how > strict you want to be with the web development side of things, but I'm a web > developer by trade and have recently started using python for my non-web > type applicati

Dict Copy & Compare

2007-04-30 Thread Robert Rawlins - Think Blue
Hello Guys, I'm looking for a little advice on dicts, firstly I need to learn how to copy a dict, I suppose I could just something like. Self.newdict = self.olddict But I fear that this only creates a reference rather than an actual copy, this means that as soon as I clear out the old o

RE: Dict Copy & Compare

2007-04-30 Thread Robert Rawlins - Think Blue
pril 2007 09:41 Cc: python-list@python.org Subject: Re: Dict Copy & Compare Robert Rawlins - Think Blue wrote: > I'm looking for a little advice on dicts, firstly I need to learn how to > copy a dict, I suppose I could just something like. > Self.newdict = self.olddict > But I fe

RE: Dict Copy & Compare

2007-04-30 Thread Robert Rawlins - Think Blue
ssage- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Golden Sent: 30 April 2007 10:15 Cc: python-list@python.org Subject: Re: Dict Copy & Compare Robert Rawlins - Think Blue wrote: > I have two dicts, one named 'this' and the other named 'that'. &

RE: Dict Copy & Compare

2007-04-30 Thread Robert Rawlins - Think Blue
om: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Golden Sent: 30 April 2007 11:27 Cc: python-list@python.org Subject: Re: Dict Copy & Compare Robert Rawlins - Think Blue wrote: > Hello Tim, > > Sorry, that 'value' was a slip up on my part, we're just

RE: Dict Copy & Compare

2007-04-30 Thread Robert Rawlins - Think Blue
1 over and done with :-D Thanks, Rob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Golden Sent: 30 April 2007 12:54 Cc: python-list@python.org Subject: Re: Dict Copy & Compare Robert Rawlins - Think Blue wrote: > On[e] quick question, how ca

Killing Threads

2007-05-01 Thread Robert Rawlins - Think Blue
Hello Guys, I've got an application which I've fearfully placed a couple of threads into however when these threads are running it seems as if I try and quite the application from the bash prompt it just seems to freeze the SSH client. I've also seen that if I have my app running in the backgro

RE: test

2007-05-01 Thread Robert Rawlins - Think Blue
Test response :-D -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ray Sent: 02 May 2007 04:05 To: python-list@python.org Subject: test test only -- http://mail.python.org/mailman/listinfo/python-list -- http://mail.python.org/mailman/listinfo/python-li

Dynamic File Name Open()

2007-05-01 Thread Robert Rawlins - Think Blue
Chaps, I'm trying to open a file using open() but the name of the file is created dynamically as a variable, but also has part of a static path. For instance, the file may be called 'dave' and will always be in '/my/files/here/'. Now I've tried a few combinations of getting this to work, su

RE: Killing Threads

2007-05-02 Thread Robert Rawlins - Think Blue
Thanks for this Diez and Tim, I'll take a look into this today, sorry for not posting any code fragments, its not so much a fragment as it is a bloody great big monster :-D Rob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Diez B. Roggisch Sent: 02 May

Spotting Crashed Application

2007-05-09 Thread Robert Rawlins - Think Blue
Hello Guys, I've got an application that I've written, and it sits in an embedded system, from time to time the application will crash, I'm not quite sure what's causing this, but as we test it more and more we'll grasp a better understanding and fix the issues. However, until then I need a

Code Explanation

2007-05-17 Thread Robert Rawlins - Think Blue
Hello Guys, I'm currently working on a non-python project, and I'm trying to overcome a task of parsing a text file into a database and/or xml file. I've managed to find a parser example written in python, and I'm hoping to deconstruct the code methodology a bit so I can write it in another lan

App Leaving 'sh ' Everywhere

2007-05-18 Thread Robert Rawlins - Think Blue
Hello Guys, I've got an application that seems to leave 'sh ' in my os processes list. I'm running it on Debian, albeit a stripped down embedded version. I'm not sure what the cause of this is, My application starts several threads and also uses popen2.popen3() to run a few CMD commands. An

SOAPpy My Class

2007-05-21 Thread Robert Rawlins - Think Blue
Hello Chaps, I've used SOAPpy in its very basic form for consuming web services on my web server, but I'm now looking to publish a web service from my application. Basically I'm looking to create a public 'proxy' of an object I have in the application. The idea being that my application will be

Restart Linux System

2007-05-22 Thread Robert Rawlins - Think Blue
Hello Guys, I'm looking to restart a Linux system from my python application. What's the best way to achieve this, is there something in the OS module? Thanks, Rob -- http://mail.python.org/mailman/listinfo/python-list

Shared Memory Space - Accross Apps & Network

2007-05-22 Thread Robert Rawlins - Think Blue
Hello Guys, I've got an application that runs on an embedded system, the application uses a whole bunch or dicts and other data types to store state and other important information. I'm looking to build a small network of these embedded systems, and I'd love to have them all share the same

File Handling & TRY/EXCEPT

2007-08-03 Thread Robert Rawlins - Think Blue
Hello Guys, I'm looking for some advice on how best to handle file read/write errors with try/except as i'm a little vague on this, I have a small memory leak in my app and I'm starting to think its generated by my log file write. For an example of the function look below. def addApp

RE: File Handling & TRY/EXCEPT

2007-08-03 Thread Robert Rawlins - Think Blue
gust 2007 14:20 To: python-list@python.org Subject: Re: File Handling & TRY/EXCEPT Robert Rawlins - Think Blue wrote: > Hello Guys, > > > > I'm looking for some advice on how best to handle file read/write errors > with try/except as i'm a little vague on this, I

RE: Replacing _xmlplus.dom.minidom with xml.dom.minidom

2007-08-03 Thread Robert Rawlins - Think Blue
Just as a heads up, minidom is pretty inefficient and difficult to work with too. On someone else's advice I switched over to ElementTree and have been really pleased with the results, its much simpler to work with and more efficient too. Rob -Original Message- From: [EMAIL PROTECTED] [m

Devloper Wanted For Debugging / Optimizing

2007-08-03 Thread Robert Rawlins - Think Blue
Hello Chaps, I've been writing (with your help) a small application over the past couple of months but I'm really struggling to iron out all of the creases and its seems to spring a few memory leaks that I'm unable to find and plug. It's only a small app, around 500 lines of code I would guess,

Launching App

2007-08-09 Thread Robert Rawlins - Think Blue
Hello Guys, I'm looking for the best method to launch my python app when my Linux system boots up. At the moment I just have an entry like this in my rc.local file: CD /myfolder/anotherfolder ./myapp.py Is this the best way to do this? Or is there a better way? I feel like a bit of a d

SOAP Webservices and Python

2007-04-11 Thread Robert Rawlins - Think Blue
Hello Chaps, I'm pretty new to the world of Python, but I'm slowly getting my head around things, and on today's agenda I'm looking at consuming SOAP web services. I've got an Adobe ColdFusion application which I've written that publishes the web service that I'm looking to consume, but I'm at

Writing XML Logs

2007-04-11 Thread Robert Rawlins - Think Blue
Hello Chaps, I'm trying to write an application that will log to an XML file, that'll be later parsed by another application. The proposed log file will look something like this, listing different event elements and then a record for each time that event occurs.

SOAPPY Install Issues

2007-04-11 Thread Robert Rawlins - Think Blue
Hi Guys, I've been trying hopelessly -ALL- afternoon to get python-xml and python-soappy working nicely, but for the -LIFE- of me I keep running into the same brick wall over and over. I'm running Debian and I've installed the latest stable builds of Python, Python-XML and Python-SOAPPY alo

Binary To File

2007-04-12 Thread Robert Rawlins - Think Blue
Hello Guys, Is there an easy way to take binary data and build it into a file? Generally this will be BLOB data drawn from a database, the data will be for jpg images, I want to take the blob data and build it into a physical .jpg file. Is there a simple function for doing this in python? L

Arrays, Got Me Confused

2007-04-13 Thread Robert Rawlins - Think Blue
Hello Guys, I'm struggling to get my head into arrays in python, I've used them plenty in other languages but I'm struggling to find any decent documentation for them in python. I'm looking to build a list of network MAC address's into an array, which will probably be used for logging and firew

RE: Arrays, Got Me Confused

2007-04-13 Thread Robert Rawlins - Think Blue
: 13 April 2007 13:27 Cc: [EMAIL PROTECTED] Subject: Re: Arrays, Got Me Confused Michael Bentley wrote: > > On Apr 13, 2007, at 7:04 AM, Robert Rawlins - Think Blue wrote: >> #!/usr/bin/python >> >> # Filename: Firewall.py >> class Firewall: >>def __ini

RE: Arrays, Got Me Confused

2007-04-13 Thread Robert Rawlins - Think Blue
olden Sent: 13 April 2007 14:03 Cc: [EMAIL PROTECTED] Subject: Re: Arrays, Got Me Confused Robert Rawlins - Think Blue wrote: > Hello Guys, > > Wider fragments of code don't really exists at this moment in time :-D this > is just a bit of a 'tester' class for me to get

Class Dependancy Injection

2007-04-13 Thread Robert Rawlins - Think Blue
Hey again guys, I'm looking to get an answer about dependency injection in python classes, what is the best way to deal with this? For instance, in my application I have a configuration bean which contains all the applications configuration information. Now in one of other classes I need ac

  1   2   >