Recruiting for Python Developer - Perm

2012-05-22 Thread Python Recruiter
Can any one help? I am looking for a Senior Python Developer - Linux, AppScript, Adobe Illustrator - Bradford, Yorkshire - £45,000 Our marketing and design client is looking to recruit an experienced Python developer for a senior position within their expanding organisation. Working independentl

Re: Recruiting for Python Developer - Perm

2012-05-22 Thread Tim Golden
Someone will soon pop up and tell you that job ads are unwelcome on this list and that you should post to the Python Jobs board --> http://www.python.org/community/jobs/ However, the python-uk list is probably a better place for UK-focused jobs, as long as you have something which is definitely Py

Re: Recruiting for Python Developer - Perm

2012-05-22 Thread jkn
On May 22, 10:30 am, Python Recruiter wrote: > If any one can recommend, I will pay a £100 recom fee for any > successful placements. aHaHaHaHaHa... And what percentage will you be charging your client? 15 percent? 25 percent? Even if you were to offer 15% of your (say) 15% commission you shou

Re: Unexpected exception thrown in __del__

2012-05-22 Thread Jean-Michel Pichavant
Charles Hixson wrote: On 05/21/2012 08:29 AM, Charles Hixson wrote: message excerpt: flush: sql = insert or replace into persists (id, name, data, rdCnt, rdTim, wrCnt, wrTim, deprecation) values (?, ?, ?, ?, ?, ?, ?, ?) Exception TypeError: "'NoneType' object is not callable" in method Shelve2

Re: Advantages of logging vs. print()

2012-05-22 Thread Jean-Michel Pichavant
Giampaolo Rodolà wrote: Hi all, I'm currently working on 1.0.0 release of pyftpdlib module. This new release will introduce some backward incompatible changes in that certain APIs will no longer accept bytes but unicode. While I'm at it, as part of this breackage I was contemplating the possibili

Re: Recruiting for Python Developer - Perm

2012-05-22 Thread Kevin Walzer
On 5/22/12 5:30 AM, Python Recruiter wrote: Key skills required for this role are: 1. Python Development on Linux 2. Experienced Software Developer Desirable: 1. AppScript 2. Adobe Illustrator I'm in the U.S. so would not be applying for your position, but one thing your post neglects to ment

Re: Wish: Allow all log Handlers to accept the level argument

2012-05-22 Thread Jean-Michel Pichavant
Fayaz Yusuf Khan wrote: ***TRIVIAL ISSUE***, but this has been irking me for a while now. The main logging.Handler class' __init__ accepts a level argument while none of its children do. The poor minions seem to be stuck with the setLevel method which considerably lengthens the code. In short

Re: DIR reports file timestamp and size, but os.path.getctime(), os.path.getsize() raise WindowsError [Error 5] Access is denied

2012-05-22 Thread Emile van Sebille
On 5/21/2012 5:01 PM pyt...@bdurham.com said... Wondering if any of you have stumbled across the following behavior: Any ideas on how I can retrieve timestamps and file sizes like DIR without raising exceptions? Beyond the obvious trap the error and use the commands module to run DIR direct

Re: serial module

2012-05-22 Thread Albert van der Horst
In article , Ron Eggler wrote: >Hoi, > >I'm trying to connect to a serial port and always get the error >"serial.serialutil.SerialException: Port is already open." whcih is untrue. >I have no serial port open yet, my code looks like this: >#!/usr/bin/python >import time >import serial > ># config

Re: serial module

2012-05-22 Thread Grant Edwards
On 2012-05-22, Albert van der Horst wrote: >># configure the serial connections (the parameters differs on the device >># you are connecting to) >>ser = serial.Serial( >>port='/dev/ttyUSB0', >>baudrate=19200, >>parity=serial.PARITY_ODD, >>stopbits=serial.STOPBITS_T

Re: serial module

2012-05-22 Thread Grant Edwards
On 2012-05-18, Ron Eggler wrote: > I'm trying to connect to a serial port and always get the error > "serial.serialutil.SerialException: Port is already open." which is > untrue. It is true. > I have no serial port open yet, my code looks like this: > #!/usr/bin/python > import time > import se

Re: serial module

2012-05-22 Thread Grant Edwards
On 2012-05-19, Paul Simon wrote: > "Ron Eggler" wrote: >> [...] my code looks like this: >> #!/usr/bin/python [...] >>port='/dev/ttyUSB0', > Sounds like you may be using this on a Windows machine. I don't think so. :) -- Grant Edwards grant.b.edwardsYow! Hello

Re: How to hide console with Popen on Windows?

2012-05-22 Thread xliiv
On Tuesday, May 22, 2012 2:45:11 AM UTC+2, alex23 wrote: > On May 22, 3:00 am, xliiv wrote: > > Now I know that my 'solution' is not a solution and problem still bugs me. > > Any ideas how to deal with it? > > I haven't tried it but this thread talks about being able to use a > standard install o

Compiling debug Python 2.7 on Windows

2012-05-22 Thread Иван Громов
Hi, I'm trying to compile a debug version of Python 2.7 on Windows, but I've encountered some problems while creating a distribution.\ When I run PCbuild\python.exe setup.py bdist_wininst I get an error error: pyconfig.h: No such file or directory As far as I understand, I need to run something si

Re: serial module

2012-05-22 Thread Ron Eggler
Grant Edwards wrote: > On 2012-05-19, Paul Simon wrote: >> "Ron Eggler" wrote: > >>> [...] my code looks like this: > >>> #!/usr/bin/python > [...] >>>port='/dev/ttyUSB0', > >> Sounds like you may be using this on a Windows machine. > > I don't think so. :) Nope it's Linmux but nev

Re: serial module

2012-05-22 Thread John Nagle
On 5/22/2012 8:42 AM, Grant Edwards wrote: On 2012-05-22, Albert van der Horst wrote: It is anybody's guess what they do in USB. They do exactly what they're supposed to regardless of what sort of bus is used to connect the CPU and the UART (ISA, PCI, PCI-express, USB, Ethernet, etc.).

Re: serial module

2012-05-22 Thread Paul Rubin
John Nagle writes: >If a device is registered as /dev/ttyUSBnn, one would hope that > the Linux USB insertion event handler, which assigns that name, > determined that the device was a serial port emulator. Unfortunately, > the USB standard device classes > (http://www.usb.org/developers/defi

Re: Django: metaWeblog: dir() doesn't show methods

2012-05-22 Thread .
Thanks. -- http://mail.python.org/mailman/listinfo/python-list

Re: serial module

2012-05-22 Thread John Nagle
On 5/22/2012 2:07 PM, Paul Rubin wrote: John Nagle writes: If a device is registered as /dev/ttyUSBnn, one would hope that the Linux USB insertion event handler, which assigns that name, determined that the device was a serial port emulator. Unfortunately, the USB standard device classes (

Re: serial module

2012-05-22 Thread Grant Edwards
On 2012-05-22, John Nagle wrote: > On 5/22/2012 8:42 AM, Grant Edwards wrote: >> On 2012-05-22, Albert van der Horst wrote: > >>> It is anybody's guess what they do in USB. >> >> They do exactly what they're supposed to regardless of what sort of >> bus is used to connect the CPU and the UART (IS

Re: serial module

2012-05-22 Thread Grant Edwards
On 2012-05-22, Paul Rubin wrote: > John Nagle writes: >>If a device is registered as /dev/ttyUSBnn, one would hope that >> the Linux USB insertion event handler, which assigns that name, >> determined that the device was a serial port emulator. Unfortunately, >> the USB standard device class

Please use the Python Job Board for recruiting (was: Recruiting for Python Developer - Perm)

2012-05-22 Thread Ben Finney
Python Recruiter writes: > Can any one help? I am looking for a Senior Python Developer Yes, please use the Python Job Board for this purpose instead http://www.python.org/community/jobs/>. Good hunting! -- \ “Probably the earliest flyswatters were nothing more than some | `\sort

Re: Please use the Python Job Board for recruiting (was: Recruiting for Python Developer - Perm)

2012-05-22 Thread Dan Stromberg
On Tue, May 22, 2012 at 3:20 PM, Ben Finney wrote: > Python Recruiter writes: > > > Can any one help? I am looking for a Senior Python Developer > > Yes, please use the Python Job Board for this purpose instead > http://www.python.org/community/jobs/>. > > Good hunting! I find it more than a li

virtualenv and jython on Ubuntu 12.04

2012-05-22 Thread Gelonida N
Hi, I wanted to do some first experiments with Jython (which should now be able to run django apps) Thus I wanted to create a virtualenv setup for jython with following command: virtualenv -p jython --no-site-packages ~/mypy However this fails with following output: Running virtualenv with

Install python 2.6 and python 2.7 on Windows

2012-05-22 Thread Gelonida N
I'd like to install python 2.6 and 2.7 on Windows? In fact I have already 2.6 installed and would like to additionally install 2.7 When clicking on .py file I'd like to execute it with python 2.6 If I really wanted to run 2.7 I'd call the code with %SystemDrive%\Python27\Python program.py

install python 2.6 on Ubuntu 12.04

2012-05-22 Thread Gelonida N
Hi, On Ubuntu 12.04 python 2.7 is the default version I'd like to install python 2.6 parallel to 2.7 and create a virtualenv for it. The reason is, that I have to write some code, that will be executed under 2.6 and I want to be sure, that I don't accidentally write code, that would no more

Re: install python 2.6 on Ubuntu 12.04

2012-05-22 Thread Dan Stromberg
If the pythons you require are in synaptic (sudo to root and run synaptic), you probably can just use them. If not, then you, for each release, need to: 1) download a tarball using a browser or whatever 2) extract the tarball: tar xvfp foo.tar.bz2 3) cd into the newly created, top-level directory,

Re: Install python 2.6 and python 2.7 on Windows

2012-05-22 Thread Andrew Berg
On 5/22/2012 6:44 PM, Gelonida N wrote: > I'd like to install python 2.6 and 2.7 on Windows? > > > In fact I have already 2.6 installed and would like to additionally > install 2.7 > > > > When clicking on .py file I'd like to execute it with python 2.6 There is an checkbox for an option to

Re: install python 2.6 on Ubuntu 12.04

2012-05-22 Thread Benjamin Kaplan
On Tue, May 22, 2012 at 8:09 PM, Dan Stromberg wrote: > > If the pythons you require are in synaptic (sudo to root and run synaptic), > you probably can just use them. > > If not, then you, for each release, need to: > 1) download a tarball using a browser or whatever > 2) extract the tarball: tar

Re: install python 2.6 on Ubuntu 12.04

2012-05-22 Thread Sebastien Douche
On Wed, May 23, 2012 at 1:47 AM, Gelonida N wrote: > What would be the recommended way to install (compile) 2.6 on 12.04? Hi, I manage my own Python interpreters with Pythonbrew (I don't use the global Python): http://pypi.python.org/pypi/pythonbrew/ -- Sebastien Douche Twitter: @sdouche / G

Re: Compiling debug Python 2.7 on Windows

2012-05-22 Thread Mark Hammond
On 23/05/2012 2:42 AM, Иван Громов wrote: Hi, I'm trying to compile a debug version of Python 2.7 on Windows, but I've encountered some problems while creating a distribution.\ When I run PCbuild\python.exe setup.py bdist_wininst I get an error error: pyconfig.h: No such file or directory As far