From python-uk@python.org Mon Aug 4 08:37:38 2003 From: python-uk@python.org (Katrina) Date: Mon, 04 Aug 2003 00:37:38 -0700 Subject: [python-uk] Take a Fantasy Cruise with Me! Message-ID: Hi again, it's me Katrina from Ecstasea Yacht Charter. Just wanted to say thanks for pre-registering with us and we wanted to let you know that we are now up and running! I can't wait to see you on deck with me and my girlfriends! In case you don't remember how to reach me, you can go to the website below to make discreet reservations... We'll have a great time! xoxo- Katrina http://EcstaseaYachtCharter.com From phil.hornby at accutest.co.uk Thu Aug 14 13:11:49 2003 From: phil.hornby at accutest.co.uk (Phil Hornby) Date: Thu Aug 14 07:15:19 2003 Subject: [python-uk] Is there life out there? Message-ID: Just wondering if the Python UK mailing list is active? -- Phil Hornby Accutest Ltd. mailto::phil.hornby@accutest.co.uk From seb at jamkit.com Thu Aug 14 13:29:28 2003 From: seb at jamkit.com (seb bacon) Date: Thu Aug 14 07:30:07 2003 Subject: [python-uk] Is there life out there? In-Reply-To: References: Message-ID: <3F3B7298.6070406@jamkit.com> Phil Hornby wrote: > Just wondering if the Python UK mailing list is active? I seems pretty dormant to me... ;-) Wouldn't mind having another london pub meet-up at some point though. seb From matt at pollenation.net Thu Aug 14 13:47:40 2003 From: matt at pollenation.net (Matt Goodall) Date: Thu Aug 14 07:36:20 2003 Subject: [python-uk] Is there life out there? In-Reply-To: References: Message-ID: <3F3B76DC.2080503@pollenation.net> Phil Hornby wrote: >Just wondering if the Python UK mailing list is active? > Sadly, no it's not very active. Have a look at the archives. I haven't been subscribed to this list long. Is there a good reason why it's so inactive? Have many of the subscribers (81 of us) stopped using Python or is there just not that much to talk about that is specific to the UK? Cheers, Matt -- Matt Goodall, Pollenation Internet Ltd w: http://www.pollenationinternet.com e: matt@pollenation.net From phil.hornby at accutest.co.uk Thu Aug 14 13:38:41 2003 From: phil.hornby at accutest.co.uk (Phil Hornby) Date: Thu Aug 14 07:42:10 2003 Subject: [python-uk] Is there life out there? In-Reply-To: <3F3B7298.6070406@jamkit.com> Message-ID: I would much prefer a manchester/sheffield based one...London is much too far south...;) -----Original Message----- From: python-uk-bounces@python.org [mailto:python-uk-bounces@python.org]On Behalf Of seb bacon Sent: 14 August 2003 12:29 To: UK Python Users Subject: Re: [python-uk] Is there life out there? Phil Hornby wrote: > Just wondering if the Python UK mailing list is active? I seems pretty dormant to me... ;-) Wouldn't mind having another london pub meet-up at some point though. seb _______________________________________________ python-uk mailing list python-uk@python.org http://mail.python.org/mailman/listinfo/python-uk From Marek.Isalski at smuht.nwest.nhs.uk Thu Aug 14 13:42:06 2003 From: Marek.Isalski at smuht.nwest.nhs.uk (Marek Isalski) Date: Thu Aug 14 07:43:34 2003 Subject: [python-uk] Is there life out there? Message-ID: > Have many of the subscribers (81 of us) stopped using > Python or is there just not that much to talk about that is specific to > the UK? I think we're just on a very long lunch-break... Regards, Maz From Marek.Isalski at smuht.nwest.nhs.uk Thu Aug 14 13:49:49 2003 From: Marek.Isalski at smuht.nwest.nhs.uk (Marek Isalski) Date: Thu Aug 14 07:51:18 2003 Subject: [python-uk] Is there life out there? Message-ID: >>> phil.hornby@accutest.co.uk 14/08/2003 12:38:41 >>> > I would much prefer a manchester/sheffield based one...London is much too > far south...;) That makes two of us, though I am do sometimes frequent clubs in London...! Maz From phil.hornby at accutest.co.uk Thu Aug 14 13:54:16 2003 From: phil.hornby at accutest.co.uk (Phil Hornby) Date: Thu Aug 14 07:57:45 2003 Subject: [python-uk] I guess I just quadruples the activity... Message-ID: Well from the sounds of it my little query just hugely increased the usage of this mailing list....we could always try and keep it going.... What sort of things are you using Python for? I have only started using Python 6-9 months ago. Another guy at my company has been using it for a few years. My initial exposure was through WinCVS, then the Tasking Compiler for the C167 (as they have embedded Python so you can write your own scripts to extend the EDE). I moved on from those things to start writing extensions and embedding Python. The 2 systems we have developed are 1) An end of line tester; and 2) a logging/simulation system for the automotive industry. My company is very interested in carrying on using the technology as they can see the flexibility and capabilities, even thought we seem to be using it for totally different things to everyone else....;) Are most people out there in the UK using Python for web based systems or Linux/Unix based apps? -- Phil Hornby Accutest Ltd. (01457) 891121 mailto::phil.hornby@accutest.co.uk From kevinmcd at linuxsolutions.demon.co.uk Thu Aug 14 13:59:04 2003 From: kevinmcd at linuxsolutions.demon.co.uk (Kevin McDermott) Date: Thu Aug 14 07:59:42 2003 Subject: [python-uk] Is there life out there? References: Message-ID: <006501c3625b$7586a450$3001a8c0@kevin3101> ----- Original Message ----- From: "Phil Hornby" To: "UK Python Users" Sent: Thursday, August 14, 2003 12:38 PM Subject: RE: [python-uk] Is there life out there? > I would much prefer a manchester/sheffield based one...London is much too > far south...;) > Too far south? I'll give you too far south, from here in Edinburgh ;) Kevin From phil.hornby at accutest.co.uk Thu Aug 14 13:57:26 2003 From: phil.hornby at accutest.co.uk (Phil Hornby) Date: Thu Aug 14 08:00:57 2003 Subject: [python-uk] Is there life out there? In-Reply-To: <006501c3625b$7586a450$3001a8c0@kevin3101> Message-ID: Poor you that is TOO far North!! :p -----Original Message----- From: python-uk-bounces@python.org [mailto:python-uk-bounces@python.org]On Behalf Of Kevin McDermott Sent: 14 August 2003 12:59 To: UK Python Users Subject: Re: [python-uk] Is there life out there? ----- Original Message ----- From: "Phil Hornby" To: "UK Python Users" Sent: Thursday, August 14, 2003 12:38 PM Subject: RE: [python-uk] Is there life out there? > I would much prefer a manchester/sheffield based one...London is much too > far south...;) > Too far south? I'll give you too far south, from here in Edinburgh ;) Kevin _______________________________________________ python-uk mailing list python-uk@python.org http://mail.python.org/mailman/listinfo/python-uk From phil.hornby at accutest.co.uk Thu Aug 14 13:59:37 2003 From: phil.hornby at accutest.co.uk (Phil Hornby) Date: Thu Aug 14 08:03:06 2003 Subject: [python-uk] FW: To all UK Python Users Message-ID: Not sure how many of you subscribe to the main python list...i know I am starting to get sick of being so swamped.... But here is something you might be interested in....thought it might be worth posting to here too...as someone else suggested it might be better to continue the thread in here... -----Original Message----- From: python-list-admin@python.org [mailto:python-list-admin@python.org]On Behalf Of BadJake Sent: 14 August 2003 09:45 To: python-list@python.org Subject: To all UK Python Users Hi I have noticed that there does not seem to be a Python User Group anywhere in the UK. Therefore, I would like to put that to rights. I am willing to donate space on one of my web servers if there is sufficient interest. If anybody is interested in joining with me to set up a UK Python User Group please contact me at john@rygannon.com Best Regards John Dean -- http://mail.python.org/mailman/listinfo/python-list -- http://mail.python.org/mailman/listinfo/python-list From jon+python-uk at unequivocal.co.uk Thu Aug 14 14:03:37 2003 From: jon+python-uk at unequivocal.co.uk (Jon Ribbens) Date: Thu Aug 14 08:03:40 2003 Subject: [python-uk] Is there life out there? In-Reply-To: <3F3B76DC.2080503@pollenation.net> References: <3F3B76DC.2080503@pollenation.net> Message-ID: <20030814120337.GB26951@snowy.squish.net> Matt Goodall wrote: > I haven't been subscribed to this list long. Is there a good reason why > it's so inactive? Have many of the subscribers (81 of us) stopped using > Python or is there just not that much to talk about that is specific to > the UK? Not much that's specific to the UK I presume. (Use jonpy! http://jonpy.sf.net/ Support your British python web programming system ;-) ) From matt at pollenation.net Thu Aug 14 14:18:22 2003 From: matt at pollenation.net (Matt Goodall) Date: Thu Aug 14 08:07:01 2003 Subject: [python-uk] Is there life out there? In-Reply-To: References: Message-ID: <3F3B7E0E.2070103@pollenation.net> Phil Hornby wrote: >Poor you that is TOO far North!! :p > How does Leeds sound then? It's bang in the middle of everyone and just happens to be where I'm based ;-). >>I would much prefer a manchester/sheffield based one...London is much too >>far south...;) >> >> >Too far south? > >I'll give you too far south, from here in Edinburgh ;) > >Kevin > -- Matt Goodall, Pollenation Internet Ltd w: http://www.pollenationinternet.com e: matt@pollenation.net From mwh at python.net Thu Aug 14 13:41:04 2003 From: mwh at python.net (Michael Hudson) Date: Thu Aug 14 08:09:14 2003 Subject: [python-uk] Re: Is there life out there? References: <3F3B76DC.2080503@pollenation.net> Message-ID: <2my8xwpiun.fsf@starship.python.net> Matt Goodall writes: > Phil Hornby wrote: > >>Just wondering if the Python UK mailing list is active? >> > Sadly, no it's not very active. Have a look at the archives. > > I haven't been subscribed to this list long. Is there a good reason > why it's so inactive? Have many of the subscribers (81 of us) stopped > using Python or is there just not that much to talk about that is > specific to the UK? I'm just lurking :-) Any Pythoneers out here in Bristol? Cheers, mwh -- MAN: How can I tell that the past isn't a fiction designed to account for the discrepancy between my immediate physical sensations and my state of mind? -- The Hitch-Hikers Guide to the Galaxy, Episode 12 From Marek.Isalski at smuht.nwest.nhs.uk Thu Aug 14 14:25:47 2003 From: Marek.Isalski at smuht.nwest.nhs.uk (Marek Isalski) Date: Thu Aug 14 08:26:41 2003 Subject: [python-uk] I guess I just quadruples the activity... Message-ID: >>> phil.hornby@accutest.co.uk 14/08/2003 12:54:16 >>> > What sort of things are you using Python for? It's good to keep talking... I've been using Python for a number of years, starting at University (we were taught Java) and through two jobs now. Currently I work for the NHS heading up some localised software development. The biggest project to date has been a backup snapshot of our PAS (Patient Administration System) -- our live one is hosted off-site with redundant connectivity et cetera. But sometimes, even HP get things wrong and we're without our database of almost 3.0 million patients' details (1.5 million are active), casenote tracking information (about 6 million entries for 4.5 million sets of casenotes -- some of these have been "merged" and some are for "inactive" patients i.e. moved out of the local area). Nightly, a Win32 box copies the data from Oracle/AIX in the live PAS to our Firebird/Linux database box. (Win32 because I haven't got a working compiled Oracle DB module for Linux, and it's not seen as worth my time to move it all onto the one box). Database is sitting pretty at about 9 gigs. Python CGI scripts on Apache/Linux provide access to the appropriate staff so they can look up (but not re-enter/edit) relevant information. Oddly, staff seem to prefer the web UI compared to the telnet-onto-a-unix-box that is what they get with real PAS (not had comparison made with the previous backup system where you go read microfiches in the basement that is our medical records' department). Regards, Maz From matt at pollenation.net Thu Aug 14 14:40:33 2003 From: matt at pollenation.net (Matt Goodall) Date: Thu Aug 14 08:29:14 2003 Subject: [python-uk] I guess I just quadruples the activity... In-Reply-To: References: Message-ID: <3F3B8341.5020708@pollenation.net> Phil Hornby wrote: >What sort of things are you using Python for? > Anything I can, it's difficult to use anything else once you start. >I have only started using Python 6-9 months ago. > Life story time ... started using Python about 4 or 5 yours ago although it was Zope stuff then. Discovered the true pleasure of coding in Python, moved job and then didn't get the chance to do much more with it. I was stuck in a J2EE world for years although, fortunately, a colleague was also a keen Python user so we paired up to play the role of the annoying bloke in the corner who keeps saying, "well, if this were Python ...". Got the chance to use Zope again 2 years ago and more recently decided to do "raw" web development in Python, having got really annoyed with PHP once too often. >Are most people out there in the UK using Python for web based systems or >Linux/Unix based apps? > Mostly web right now but I keep thinking about apps I would like on Linux and I would definitely write those in Python too if I had the time to right them at all. Cheers, Matt -- Matt Goodall, Pollenation Internet Ltd w: http://www.pollenationinternet.com e: matt@pollenation.net From drtimcouper at yahoo.co.uk Thu Aug 14 14:39:23 2003 From: drtimcouper at yahoo.co.uk (=?iso-8859-1?q?Tim=20Couper?=) Date: Thu Aug 14 08:39:56 2003 Subject: Regional Meetings (was Re: [python-uk] Is there life out there?) In-Reply-To: <3F3B7E0E.2070103@pollenation.net> Message-ID: <20030814123923.60502.qmail@web60003.mail.yahoo.com> The UK is a big place - regional informal pub/office meetings might work well - the former certainly have when there's something going on in London (like planning a UK conference). If there's interest in an event in Lancs/Yorks, why not have a get-together in one of Sheffield/Leeds/Manchester? Likewise, for those in the Scots Lowlands, at least, Edinburgh and Glasgow folks could meet up? And the West Country ... and Wales ... and anywhere else I haven't mentioned, that I might offend - apologies in advance :-) So I'll stick my neck out: Any volunteers willing to host such events ([eg suggest a pub/office, time (and be there) :-) - maybe plan for Sept as hols, etc just now] please step e-forward). Then others please respond as to whether they can make it :-) And if just "hanging out" and "getting acquainted" isn't a sufficient incentive for folk to come, why not arrange for some to give a 5 minute "lightning talk" about what they're doing with Python/Jython, and the current set of insoluble opportunities that they're facing ... I'd be up for coming to a Lancs/Yorks and Edin meetings in Sept/Oct .. so there's a threat! Please feel free to ignore all such organising suggestions ... :-) Just trying to help ... Tim --- Matt Goodall wrote: > Phil Hornby wrote: > > >Poor you that is TOO far North!! :p > > > How does Leeds sound then? It's bang in the middle > of everyone and just > happens to be where I'm based ;-). > > >>I would much prefer a manchester/sheffield based > one...London is much too > >>far south...;) > >> > >> > >Too far south? > > > >I'll give you too far south, from here in Edinburgh > ;) > > > >Kevin > > > -- > Matt Goodall, Pollenation Internet Ltd > w: http://www.pollenationinternet.com > e: matt@pollenation.net > > > > _______________________________________________ > python-uk mailing list > python-uk@python.org > http://mail.python.org/mailman/listinfo/python-uk __________________________________________________ Yahoo! Plus - For a better Internet experience http://uk.promotions.yahoo.com/yplus/yoffer.html From chrisw at nipltd.com Thu Aug 14 14:50:54 2003 From: chrisw at nipltd.com (Chris Withers) Date: Thu Aug 14 08:50:58 2003 Subject: [python-uk] FW: To all UK Python Users In-Reply-To: References: Message-ID: <3F3B85AE.9020009@nipltd.com> Phil Hornby wrote: > I have noticed that there does not seem to be a Python User Group anywhere > in the UK. Therefore, I would like to put that to rights. I am willing to > donate space on one of my web servers if there is sufficient interest. If > anybody is interested in joining with me to set up a UK Python User Group > please contact me at john@rygannon.com Hmmm, we actually set up some Zope-based space for Python UK quite a while ago. I think Andy Robinson was driving things forward at that stage. Sadly, no-one ever took advantage of it :-( It's still there though: http://pythonuk.personalzope.nipltd.net/ cheers, Chris From alansalmoni at yahoo.co.uk Thu Aug 14 14:50:56 2003 From: alansalmoni at yahoo.co.uk (=?iso-8859-1?q?Alan=20James=20Salmoni?=) Date: Thu Aug 14 08:51:08 2003 Subject: [python-uk] Re: python-uk Digest, Vol 1, Issue 79 In-Reply-To: Message-ID: <20030814125056.81898.qmail@web60004.mail.yahoo.com> >Are most people out there in the UK using Python for web based systems or >Linux/Unix based apps? I'm using Python mostly at University for some statistical analysis / data preparation stuff, but also for writing cool scripts that saves me so much time in my research. What would take me weeks by hand now takes a few hours, and that includes writing everything from scratch. And the best bit? After a few months of neglect, I can go back to the code and understand what it does! I have to use Windows NT at work, but at home I rely on Linux (mainly) with Win98. I also use Python for a couple of OS applications that I've knocked up (statistics and web browsing behaviour tracking, which isn't actually a web based system). Just out of curiosity, does anyone on this list get paid for writing open source software? I'm also curious as to how many people have jobs that pay for Pythoneering specifically as opposed to those who use it for fun or because it's a good tool that makes our lives easier. Maybe this list is so quite because Python is so good? We can actually finish our work and get on with the important things in life like getting down the pub with our friends and having a life instead of being stuck in an office all day and night? btw -- I found a Python job on the Reed website -- not sure if everyone knows about it, but here's the URL: http://www.reed.co.uk/cgi-bin/JobDetails.asp?JobID=2327094&BackURL=search%5Fresults%2Easp%3FSearch%3DYES%26Search%5FID%3D%26JobSector%3D%26County%3D%26SalRange%3D%253A%26SearchType%3DSimple%26JobType%3D%26BranchRef%3D%26JobID%3D%26Order%5FBy%3D%26Occupation%3Dpython%26Page%3D2&SearchType=Simple Alan. ===== Alan James Salmoni SalStat Statistics http://salstat.sunsite.dk __________________________________________________ Yahoo! Plus - For a better Internet experience http://uk.promotions.yahoo.com/yplus/yoffer.html From Marek.Isalski at smuht.nwest.nhs.uk Thu Aug 14 14:55:57 2003 From: Marek.Isalski at smuht.nwest.nhs.uk (Marek Isalski) Date: Thu Aug 14 08:57:07 2003 Subject: Regional Meetings (was Re: [python-uk] Is there life out there?) Message-ID: >>> drtimcouper@yahoo.co.uk 14/08/2003 01:39:23 >>> > So I'll stick my neck out: Any volunteers willing to > host such events ([eg suggest a pub/office, time (and > be there) :-) - maybe plan for Sept as hols, etc just > now] please step e-forward). Then others please > respond as to whether they can make it :-) Not wanting to stick my neck out too much, but I'm currently helping organise a different kind of geek-meet in Manchester. Oddly, coders-meets are often centered around the Lass o'Gowrie in Manchester City Centre (real ale, own brewery, small pub). Highly recommended venue close to the train station: http://www.beerintheevening.com/pubs/show.shtml/1144/ But you'll have to be warned: it's close to UMIST so it can be a bit of a student-pub around weekday lunchtimes starting from mid-September -- cheap and quite pallatable food. Regards, Maz From drtimcouper at yahoo.co.uk Thu Aug 14 15:17:44 2003 From: drtimcouper at yahoo.co.uk (=?iso-8859-1?q?Tim=20Couper?=) Date: Thu Aug 14 09:18:25 2003 Subject: [python-uk] MS Oracle database driver In-Reply-To: Message-ID: <20030814131744.70982.qmail@web60005.mail.yahoo.com> Marek You mention the absence of oracle driver on MS. mxODBC is a robust driver which I use on MS (although you're much better using it, or DCOracle2) on *nix. Download the base and commercial packages, set up an ODBC connection in windows and you're off - and your code essentially works on any platform. Tim --- Marek Isalski wrote: > >>> phil.hornby@accutest.co.uk 14/08/2003 12:54:16 > >>> > > What sort of things are you using Python for? > > It's good to keep talking... > > I've been using Python for a number of years, > starting at University (we were taught Java) and > through two jobs now. Currently I work for the NHS > heading up some localised software development. > > The biggest project to date has been a backup > snapshot of our PAS (Patient Administration System) > -- our live one is hosted off-site with redundant > connectivity et cetera. But sometimes, even HP get > things wrong and we're without our database of > almost 3.0 million patients' details (1.5 million > are active), casenote tracking information (about 6 > million entries for 4.5 million sets of casenotes -- > some of these have been "merged" and some are for > "inactive" patients i.e. moved out of the local > area). > > Nightly, a Win32 box copies the data from Oracle/AIX > in the live PAS to our Firebird/Linux database box. > (Win32 because I haven't got a working compiled > Oracle DB module for Linux, and it's not seen as > worth my time to move it all onto the one box). > Database is sitting pretty at about 9 gigs. > > Python CGI scripts on Apache/Linux provide access to > the appropriate staff so they can look up (but not > re-enter/edit) relevant information. Oddly, staff > seem to prefer the web UI compared to the > telnet-onto-a-unix-box that is what they get with > real PAS (not had comparison made with the previous > backup system where you go read microfiches in the > basement that is our medical records' department). > > Regards, > Maz > > > _______________________________________________ > python-uk mailing list > python-uk@python.org > http://mail.python.org/mailman/listinfo/python-uk __________________________________________________ Yahoo! Plus - For a better Internet experience http://uk.promotions.yahoo.com/yplus/yoffer.html From phil.hornby at accutest.co.uk Thu Aug 14 15:16:56 2003 From: phil.hornby at accutest.co.uk (Phil Hornby) Date: Thu Aug 14 09:20:31 2003 Subject: [python-uk] RE: Regional Meetings In-Reply-To: <20030814123923.60502.qmail@web60003.mail.yahoo.com> Message-ID: Well I might be interested in trying to organise something....but not for a month or so...as have my hols coming up...and then the mrs has lots of things she has volunteered me for so need to do them.... Plus have to make sure you are all freaks....;) Please note the missing NOT, as meeting normal people would be boring.... Just to see if there would be any point in trying it...how many people are there that could/would like to make it to a meets/greets session in a pub in the Manch/Sheff/Leeds area?? -- Phil Hornby Accutest Ltd. (01457) 891121 mailto::phil.hornby@accutest.co.uk -----Original Message----- From: python-uk-bounces@python.org [mailto:python-uk-bounces@python.org]On Behalf Of Tim Couper Sent: 14 August 2003 13:39 To: UK Python Users Subject: Regional Meetings (was Re: [python-uk] Is there life out there?) The UK is a big place - regional informal pub/office meetings might work well - the former certainly have when there's something going on in London (like planning a UK conference). If there's interest in an event in Lancs/Yorks, why not have a get-together in one of Sheffield/Leeds/Manchester? Likewise, for those in the Scots Lowlands, at least, Edinburgh and Glasgow folks could meet up? And the West Country ... and Wales ... and anywhere else I haven't mentioned, that I might offend - apologies in advance :-) So I'll stick my neck out: Any volunteers willing to host such events ([eg suggest a pub/office, time (and be there) :-) - maybe plan for Sept as hols, etc just now] please step e-forward). Then others please respond as to whether they can make it :-) And if just "hanging out" and "getting acquainted" isn't a sufficient incentive for folk to come, why not arrange for some to give a 5 minute "lightning talk" about what they're doing with Python/Jython, and the current set of insoluble opportunities that they're facing ... I'd be up for coming to a Lancs/Yorks and Edin meetings in Sept/Oct .. so there's a threat! Please feel free to ignore all such organising suggestions ... :-) Just trying to help ... Tim --- Matt Goodall wrote: > Phil Hornby wrote: > > >Poor you that is TOO far North!! :p > > > How does Leeds sound then? It's bang in the middle > of everyone and just > happens to be where I'm based ;-). > > >>I would much prefer a manchester/sheffield based > one...London is much too > >>far south...;) > >> > >> > >Too far south? > > > >I'll give you too far south, from here in Edinburgh > ;) > > > >Kevin > > > -- > Matt Goodall, Pollenation Internet Ltd > w: http://www.pollenationinternet.com > e: matt@pollenation.net > > > > _______________________________________________ > python-uk mailing list > python-uk@python.org > http://mail.python.org/mailman/listinfo/python-uk __________________________________________________ Yahoo! Plus - For a better Internet experience http://uk.promotions.yahoo.com/yplus/yoffer.html _______________________________________________ python-uk mailing list python-uk@python.org http://mail.python.org/mailman/listinfo/python-uk From matt at pollenation.net Thu Aug 14 16:15:59 2003 From: matt at pollenation.net (Matt Goodall) Date: Thu Aug 14 10:04:38 2003 Subject: [python-uk] RE: Regional Meetings In-Reply-To: References: Message-ID: <3F3B999F.3070706@pollenation.net> Phil Hornby wrote: >Just to see if there would be any point in trying it...how many people are >there that could/would like to make it to a meets/greets session in a pub in >the Manch/Sheff/Leeds area?? > Yeah, could be interesting but I probably won't be "allowed out" until October (baby arriving very soon). -- Matt Goodall, Pollenation Internet Ltd w: http://www.pollenationinternet.com e: matt@pollenation.net From flax07 at devinet.org.uk Thu Aug 14 17:40:19 2003 From: flax07 at devinet.org.uk (Ryan Northey) Date: Thu Aug 14 12:40:20 2003 Subject: [python-uk] re: regional meetings (Bristol) Message-ID: <1060879216.31399.62.camel@saraswati> hi all, ive been developing a couple of projects in python - mostly using twisted. I'm in the Bristol area - itd be great to meet up with any other pythoneers - time willing. The Farm pub in St Werburghs might be a nice place if the weathers still nice. If anyone in the west country is interested please get in touch, cheers ryan. From fbarton at ntlworld.com Thu Aug 14 22:05:11 2003 From: fbarton at ntlworld.com (Francis Barton) Date: Thu Aug 14 17:05:12 2003 Subject: [python-uk] re: regional meetings (Bristol) In-Reply-To: <1060879216.31399.62.camel@saraswati> References: <1060879216.31399.62.camel@saraswati> Message-ID: <1060895083.742.8.camel@cheltenhamymca.claranet.co.uk> On Thu, 2003-08-14 at 17:40, Ryan Northey wrote: > I'm in the Bristol area - itd be great to meet up with any other > pythoneers - time willing. > Hi, I'm in Stroud, Gloucs. Member of local Linux User Group. Python newbie, IT amateur, haven't time to keep up with comp.os.lang.python or whatever, was hoping Py-UK list would be lower-volume replacement. Nice to see it in action for a change. Would be up for a SW area meet if I can get a spouse permit. Francis. From phil.hornby at accutest.co.uk Fri Aug 15 09:52:17 2003 From: phil.hornby at accutest.co.uk (Phil Hornby) Date: Fri Aug 15 03:55:50 2003 Subject: [python-uk] RE: Regional meetings Message-ID: Sounding like there are quite a few pythoneers down in the SW....my latest Python system(s) is/are down that way at the moment....in sunny devon...well i assume they are anyway...that is where the test house the customer is using is located so I assume they are still there... Anyone else out there doing much in the way of Python Extensions/Embedding? As that is my main area of interest so wouldn't mind swapping notes with anyone who has done some... -- Phil Hornby Accutest Ltd. (01457) 891121 mailto::phil.hornby@accutest.co.uk From dr.midgley at homefieldsurgery.nhs.uk Fri Aug 15 09:58:39 2003 From: dr.midgley at homefieldsurgery.nhs.uk (Dr Adrian Midgley (In the Office)) Date: Fri Aug 15 04:49:08 2003 Subject: [python-uk] RE: Regional meetings In-Reply-To: Message-ID: <3F3CA0BF.17453.242C6E90@localhost> I'm in Exeter. I use Python a little for scripting and am getting to understand it. I think it is a very good candidate as a common scripting language for medical systems, in which I am interested. Several of the Open SOurce medical systems are writtten in it as well. www.oshca.org www.defoam.net -- Dr A K Midgley http://www.homefieldsurgery.nhs.uk http://www.defoam.net/ 01392 214151 Homefield Surgery Heavitree Exeter 01392 214151 From mwh at python.net Fri Aug 15 12:37:28 2003 From: mwh at python.net (Michael Hudson) Date: Fri Aug 15 06:37:37 2003 Subject: [python-uk] Re: Regional meetings References: Message-ID: <2mbrurp5p3.fsf@starship.python.net> "Phil Hornby" writes: > Anyone else out there doing much in the way of Python Extensions/Embedding? Well, I've written a fair pile of C for the Python core, which is fairly similar to extending Python... I steer clear of embedding, though. I also wrote the first version of http://www.python.org/doc/current/ext/defining-new-types.html > As that is my main area of interest so wouldn't mind swapping notes with > anyone who has done some... What kind of notes? Find a bit of the Python core that does more or less what you want, copy it and change it so it does exactly what you want :-) Well, there's a bit more to it than that, sometimes. Cheers, mwh -- All parts should go together without forcing. You must remember that the parts you are reassembling were disassembled by you. Therefore, if you can't get them together again, there must be a reason. By all means, do not use a hammer. -- IBM maintenance manual, 1925 From chris at psychofx.com Fri Aug 15 12:38:02 2003 From: chris at psychofx.com (Chris Miles) Date: Fri Aug 15 06:41:24 2003 Subject: [python-uk] Is there life out there? In-Reply-To: References: Message-ID: <3F3CB80A.9000202@psychofx.com> If someone wants to organise another London Pub Python meetup, I'll do my best to attend. btw, does anyone else use this meetup service? http://python.meetup.com/ I vote for a London venue most times, but there are never enough people so the meetings get cancelled. Cheers CM -- Chris Miles http://chrismiles.info/ From matt at pollenation.net Fri Aug 15 11:47:34 2003 From: matt at pollenation.net (Matt Goodall) Date: Fri Aug 15 06:47:35 2003 Subject: [python-uk] Is there life out there? In-Reply-To: <3F3CB80A.9000202@psychofx.com> References: <3F3CB80A.9000202@psychofx.com> Message-ID: <1060944478.23554.6.camel@localhost> On Fri, 2003-08-15 at 11:38, Chris Miles wrote: > btw, does anyone else use this meetup service? > http://python.meetup.com/ I joined the Leeds one to see how many other people had subscribed. The answer was 1 ... after I'd subscribed ;-). - Matt -- Matt Goodall, Pollenation Internet Ltd w: http://www.pollenation.net e: matt@pollenation.net From duncan at rcp.co.uk Fri Aug 15 12:47:07 2003 From: duncan at rcp.co.uk (Duncan Booth) Date: Fri Aug 15 06:49:08 2003 Subject: [python-uk] RE: Regional meetings In-Reply-To: Message-ID: <3F3CC83B.5162.14439708@localhost> > Anyone else out there doing much in the way of Python Extensions/Embedding? > As that is my main area of interest so wouldn't mind swapping notes with > anyone who has done some... Have you read my paper at http://dales.rmplc.co.uk/Duncan/accu/integratingpython.html If you are embedding as well as extending, and so long as you are talking C rather than C++, I would definitely suggest you look at Pyrex. This topic was recently discussed on clp, and Alex Martelli made some very useful comments why he would prefer SWIG, see http://groups.google.co.uk/groups?threadm=HLPYa.55839%24cl3.1723365%40 news2.tin.it -- Duncan Booth duncan@rcp.co.uk int month(char *p){return(124864/((p[0]+p[1]- p[2]&0x1f)+1)%12)["\5\x8\3" "\6\7\xb\1\x9\xa\2\0\4"];} // Who said my code was obscure? http://dales.rmplc.co.uk/Duncan From chris at psychofx.com Fri Aug 15 12:49:05 2003 From: chris at psychofx.com (Chris Miles) Date: Fri Aug 15 06:52:30 2003 Subject: [python-uk] Re: Regional meetings In-Reply-To: <2mbrurp5p3.fsf@starship.python.net> References: <2mbrurp5p3.fsf@starship.python.net> Message-ID: <3F3CBAA1.2050407@psychofx.com> My biggest Python project has kept me busy in my spare time for about 5 years now. It is a system monitoring tool that I (and many others) use in production environments. The best feature I like about it is that the monitoring 'rules' are just Python expressions that are evaluated on the fly, so you can make quite complex rules if you need to. If anyone is in need of better monitoring, or just monitoring done the Python way, take a look. http://eddie-tool.net/ Cheers CM -- Chris Miles http://chrismiles.info/ From phil.hornby at accutest.co.uk Fri Aug 15 13:06:14 2003 From: phil.hornby at accutest.co.uk (Phil Hornby) Date: Fri Aug 15 07:09:46 2003 Subject: [python-uk] Extending Python - Asynchronous Callbacks In-Reply-To: <2mbrurp5p3.fsf@starship.python.net> Message-ID: Me and another guy have done some stuff with Asynchronos callbacks from another thread...took a bit of playing to get it to work...We had several instances of long uptimes but after, sometimes, 3 days you would have a clash...the joys of concurrency... Ended up with something like this, which seems to work: PyObject *resultobj ; long result ; PyEval_RestoreThread(this->pPythonCBThreadState); // pretend that we're the callback python thread PyObject *pValue=NULL; #ifdef NDEBUG fprintf(stdout, "[Callback]: called\n"); #endif // check that python object is callable if (this->pCallbackFunc && PyCallable_Check(this->pCallbackFunc)) { // Do callback to Python pValue = PyObject_CallObject(this->pCallbackFunc,pArgs); // check return if (pValue != NULL) { if (PyInt_Check(pValue)) { #ifdef NDEBUG fprintf(stdout, "[Callback]: call returned: %ld\n", PyInt_AsLong(pValue)); #endif result = NOTIF_STATUS_OK; } else if (PyFloat_Check(pValue)) { #ifdef NDEBUG fprintf(stdout, "[Callback]: call returned: %f\n", PyFloat_AsDouble(pValue)); #endif result = NOTIF_STATUS_OK; } else if (PyString_Check(pValue)) { #ifdef NDEBUG fprintf(stdout, "[Callback]: call returned: %s\n", PyString_AsString(pValue)); #endif result = NOTIF_STATUS_OK; } else { #ifdef NDEBUG fprintf(stderr, "[Callback][Warning]: invalid return type, not int, float or string\n"); #endif result = NOTIF_STATUS_WARN; } Py_DECREF(pValue); } else { // Python callback error #ifdef _DEBUG fprintf(stderr,"[Callback][Error]:"); PyErr_Print(); fprintf(stderr,"[Callback][Error]: call failed\n"); #endif result = NOTIF_STATUS_ERR; } // if } else { // Callback function has been corrupted (or not properly initialised) #ifdef NDEBUG PyErr_Print(); fprintf(stderr, "[Callback][Error]: callback function invalid\n"); #endif result = NOTIF_STATUS_ERR; } // if resultobj = PyInt_FromLong((long)result) ; Wondered if anyone else has done anything like this...and if so if their solution was similar? Or if they have a better way of doing it.... -- Phil Hornby Accutest Ltd. (01457) 891121 mailto::phil.hornby@accutest.co.uk -----Original Message----- From: python-uk-bounces@python.org [mailto:python-uk-bounces@python.org]On Behalf Of Michael Hudson Sent: 15 August 2003 11:37 To: python-uk@python.org Subject: [python-uk] Re: Regional meetings "Phil Hornby" writes: > Anyone else out there doing much in the way of Python Extensions/Embedding? Well, I've written a fair pile of C for the Python core, which is fairly similar to extending Python... I steer clear of embedding, though. I also wrote the first version of http://www.python.org/doc/current/ext/defining-new-types.html > As that is my main area of interest so wouldn't mind swapping notes with > anyone who has done some... What kind of notes? Find a bit of the Python core that does more or less what you want, copy it and change it so it does exactly what you want :-) Well, there's a bit more to it than that, sometimes. Cheers, mwh -- All parts should go together without forcing. You must remember that the parts you are reassembling were disassembled by you. Therefore, if you can't get them together again, there must be a reason. By all means, do not use a hammer. -- IBM maintenance manual, 1925 _______________________________________________ python-uk mailing list python-uk@python.org http://mail.python.org/mailman/listinfo/python-uk From duncan at grisby.org Fri Aug 15 13:27:34 2003 From: duncan at grisby.org (Duncan Grisby) Date: Fri Aug 15 07:27:39 2003 Subject: [python-uk] Extending Python - Asynchronous Callbacks In-Reply-To: Message from "Phil Hornby" of "Fri, 15 Aug 2003 12:06:14 BST." Message-ID: <200308151127.h7FBRYV21576@grisby.dyndns.org> On Friday 15 August, "Phil Hornby" wrote: > Me and another guy have done some stuff with Asynchronos callbacks from > another thread...took a bit of playing to get it to work...We had several > instances of long uptimes but after, sometimes, 3 days you would have a > clash...the joys of concurrency... [...] > PyEval_RestoreThread(this->pPythonCBThreadState); // pretend that we're > the callback python thread That will break on debug versions of Python 2.3, since it asserts that a thread state always lives with the same thread. I wrote some code in omniORBpy that maintains a cache of thread states for callbacks, and copes with Python 2.3's new GIL access functions. You can see the code from SourceForge's CVS. Apologies for the ridiculously long URLs... http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/omniorb/omniORBpy/modules/Attic/pyThreadCache.h?rev=1.1.2.2&only_with_tag=omnipy2_develop&content-type=text/vnd.viewcvs-markup http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/omniorb/omniORBpy/modules/Attic/pyThreadCache.cc?rev=1.1.2.5&only_with_tag=omnipy2_develop&content-type=text/vnd.viewcvs-markup Cheers, Duncan. -- -- Duncan Grisby -- -- duncan@grisby.org -- -- http://www.grisby.org -- From phil.hornby at accutest.co.uk Fri Aug 15 13:59:54 2003 From: phil.hornby at accutest.co.uk (Phil Hornby) Date: Fri Aug 15 08:03:26 2003 Subject: [python-uk] Extending Python - Asynchronous Callbacks In-Reply-To: <200308151127.h7FBRYV21576@grisby.dyndns.org> Message-ID: Not played with Python 2.3...still working with 2.2. But are you basically staying I should have a Thread State per Thread, as opposed to how I actually have it...with a Thread State per Callback? Just to point out the version you are looking at seems to work....we have had uptimes in the of 2 weeks+, then the system shutsdown due to other valid reasons. Initially we tried 'stealing' the main python threads Thread State and forcing a function call...nasty I know but it seemed to work...for about 37 hours, problem we were looking for 2000 hours of uptime! We also moved onto using things like thread safe lists etc. within the script. I will have to give my code a try with 2.3 to see if it fails monumentally...:> Thanks for the hint though...will hopefully be able to do something along the same lines... the main difference I can see at first glance is that you lock and unlock, I assume the thread context and also restore the old one...I probably should have done that too...sloppy on my part.... I am trying to build a generic callback class (yeah c++) that I can use within modules as I have several uses for this functionality. Just a thought anyone played with Boost.Python? As that is another thing on my list... Anyway I know I am swamping the UK list, relatively...but it is far less to peruse than the main Python List which is drowning my mail box... -----Original Message----- From: python-uk-bounces@python.org [mailto:python-uk-bounces@python.org]On Behalf Of Duncan Grisby Sent: 15 August 2003 12:28 To: UK Python Users Subject: Re: [python-uk] Extending Python - Asynchronous Callbacks On Friday 15 August, "Phil Hornby" wrote: > Me and another guy have done some stuff with Asynchronos callbacks from > another thread...took a bit of playing to get it to work...We had several > instances of long uptimes but after, sometimes, 3 days you would have a > clash...the joys of concurrency... [...] > PyEval_RestoreThread(this->pPythonCBThreadState); // pretend that we're > the callback python thread That will break on debug versions of Python 2.3, since it asserts that a thread state always lives with the same thread. I wrote some code in omniORBpy that maintains a cache of thread states for callbacks, and copes with Python 2.3's new GIL access functions. You can see the code from SourceForge's CVS. Apologies for the ridiculously long URLs... http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/omniorb/omniORBpy/modules/Att ic/pyThreadCache.h?rev=1.1.2.2&only_with_tag=omnipy2_develop&content-type=te xt/vnd.viewcvs-markup http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/omniorb/omniORBpy/modules/Att ic/pyThreadCache.cc?rev=1.1.2.5&only_with_tag=omnipy2_develop&content-type=t ext/vnd.viewcvs-markup Cheers, Duncan. -- -- Duncan Grisby -- -- duncan@grisby.org -- -- http://www.grisby.org -- _______________________________________________ python-uk mailing list python-uk@python.org http://mail.python.org/mailman/listinfo/python-uk From andy47 at halfcooked.com Fri Aug 15 14:12:10 2003 From: andy47 at halfcooked.com (Andy Todd) Date: Fri Aug 15 08:14:16 2003 Subject: [python-uk] Is there life out there? In-Reply-To: <3F3CB80A.9000202@psychofx.com> References: <3F3CB80A.9000202@psychofx.com> Message-ID: <3F3CCE1A.5030907@halfcooked.com> Chris Miles wrote: > If someone wants to organise another London Pub Python meetup, > I'll do my best to attend. > > btw, does anyone else use this meetup service? > http://python.meetup.com/ > I'd say its probably about as many people as use http://www.brunningonline.net/simon/python/boozeup.cgi > I vote for a London venue most times, but there are never enough > people so the meetings get cancelled. > > Cheers > CM > Although I may be able to winkle a pass-out for the next one as it is nearly a month away. Regards, Andy -- -------------------------------------------------------------------------------- From the desk of Andrew J Todd esq - http://www.halfcooked.com/ From duncan at grisby.org Fri Aug 15 15:01:44 2003 From: duncan at grisby.org (Duncan Grisby) Date: Fri Aug 15 09:01:51 2003 Subject: [python-uk] Extending Python - Asynchronous Callbacks In-Reply-To: Message from "Phil Hornby" of "Fri, 15 Aug 2003 12:59:54 BST." Message-ID: <200308151301.h7FD1jF22199@grisby.dyndns.org> On Friday 15 August, "Phil Hornby" wrote: > Not played with Python 2.3...still working with 2.2. But are you basically > staying I should have a Thread State per Thread, as opposed to how I > actually have it...with a Thread State per Callback? Yes. Furthermore, you have to always use the same thread state per thread, at least for threads that Python started in the first place. > I will have to give my code a try with 2.3 to see if it fails > monumentally...:> I expect it will work fine unless you try it with a debug version, since the new check is only activated when debugging. Cheers, Duncan. -- -- Duncan Grisby -- -- duncan@grisby.org -- -- http://www.grisby.org -- From phil.hornby at accutest.co.uk Fri Aug 15 15:11:17 2003 From: phil.hornby at accutest.co.uk (Phil Hornby) Date: Fri Aug 15 09:14:52 2003 Subject: [python-uk] Extending Python - Asynchronous Callbacks In-Reply-To: <200308151301.h7FD1jF22199@grisby.dyndns.org> Message-ID: >On Friday 15 August, "Phil Hornby" wrote: >> Not played with Python 2.3...still working with 2.2. But are you basically >> staying I should have a Thread State per Thread, as opposed to how I >> actually have it...with a Thread State per Callback? >Yes. Furthermore, you have to always use the same thread state per >thread, at least for threads that Python started in the first place. Aha...that might be a big difference...whilst Python does technically start the thread, it is not a Python Thread as such. Not sure if that makes a difference... >> I will have to give my code a try with 2.3 to see if it fails >> monumentally...:> >I expect it will work fine unless you try it with a debug version, >since the new check is only activated when debugging. Okay that's fine then...but I suppose I should fix it.... Anyway thanks for the help Phil From chris at psychofx.com Mon Aug 18 12:05:15 2003 From: chris at psychofx.com (Chris Miles) Date: Mon Aug 18 06:08:40 2003 Subject: [python-uk] Guido van Rossum changing jobs again Message-ID: <3F40A4DB.4010209@psychofx.com> Good interview with the man himself. http://www.onlamp.com/pub/a/python/2003/08/14/gvr_interview.html Cheers CM -- Chris Miles http://chrismiles.info/ From iscan at tallysolutions.com Fri Aug 29 04:53:17 2003 From: iscan at tallysolutions.com (iscan@tallysolutions.com) Date: Thu Aug 28 18:25:57 2003 Subject: [python-uk] Virus Alert Message-ID: <200308282223.h7SMNH129046@tallysolutions.com> The mail message (file: your_details.pif) you sent to sales@parvathi.tallysolutions.com contains a virus. This message is being sent to you from tallysolutions.com. From michael at millenniumshakespeare.com Fri Aug 29 20:40:33 2003 From: michael at millenniumshakespeare.com (Michael) Date: Fri Aug 29 22:40:39 2003 Subject: [python-uk] Millennium Shakespeare for Children Message-ID: <28uvjav6xkuxthkirq115fqfbnuadr> An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/python-uk/attachments/20030829/b3318c71/attachment.htm From michael at millenniumshakespeare.com Fri Aug 29 21:44:37 2003 From: michael at millenniumshakespeare.com (Michael) Date: Fri Aug 29 23:44:22 2003 Subject: [python-uk] Millennium Shakespeare for Children Message-ID: An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/python-uk/attachments/20030829/14d288e2/attachment.htm From michael at millenniumshakespeare.com Sat Aug 30 10:04:21 2003 From: michael at millenniumshakespeare.com (Michael) Date: Sat Aug 30 12:04:23 2003 Subject: [python-uk] Millennium Shakespeare for Children Message-ID: <1mg$kdzhu6emjwjyexyt3las92ea9m> An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/python-uk/attachments/20030830/7261a911/attachment.htm