, May 28, 2013 at 1:25 PM, sparkle Plenty <
sparkle.plenty12481...@gmail.com> wrote:
> Python 3.3, Windows operating system:
>
> I am communicating with a device using a Python script and I am
> coding except clauses in my send and receive functions to handle a
> particular
Python 3.3, Windows operating system:
I am communicating with a device using a Python script and I am
coding except clauses in my send and receive functions to handle a
particular error. I can't find a WinError example, and I can't get the
syntax right. I have researched this and tried the follow
On Tue, Apr 30, 2013 at 2:13 PM, sparkle Plenty <
sparkle.plenty12481...@gmail.com> wrote:
>
>
> On Mon, Apr 29, 2013 at 11:27 AM, Oscar Benjamin <
> oscar.j.benja...@gmail.com> wrote:
>
>> On 29 April 2013 15:28, sparkle Plenty
>> wrote:
>> > Hi,
On Mon, Apr 29, 2013 at 11:27 AM, Oscar Benjamin wrote:
> On 29 April 2013 15:28, sparkle Plenty
> wrote:
> > Hi, I need some hints on where to start solving this problem.
> > I have to interpret a one-byte floating point number as a range between 0
> > and 240. This is
Hi, I need some hints on where to start solving this problem.
I have to interpret a one-byte floating point number as a range between 0
and 240. This is for a gui that controls an amplifier. I am getting a
value such as 0.8367 from a fader control, and my Python is interpreting it
as either a 0 o
On Wed, Apr 24, 2013 at 4:21 PM, Prasad, Ramit wrote:
> Thank you for not replying above, but please continue to CC the tutor list.
>
> sparkle Plenty wrote:
> >
> > On Wed, Apr 24, 2013 at 2:45 PM, Prasad, Ramit <
> ramit.pra...@jpmorgan.com> wrote:
> > P
most recent ones are:
TypeError: can't concat bytes to str
TypeError: Can't convert 'tuple' object to str implicitly
On Wed, Apr 24, 2013 at 1:30 PM, Prasad, Ramit wrote:
> sparkle Plenty wrote:
> > Sent: Wednesday, April 24, 2013 11:52 AM
> > To: Tutor@pytho
What is the best way to concatenate packed numeric data? I am building a
message to send to a device and it has a very specific header format and
variable length payload. Converting to string, concatenating, and then
converting back to numeric introduced errors. The tuple() function also
introdu