ANNOUNCING
eGenix.com mxODBC
Python ODBC Database Interface
Version 3.2.0
mxODBC is our commercially supported Python extension providing
On 27Aug2012 13:41, bruceg113...@gmail.com wrote:
| When using the database on my C Drive, Sqlite performance is great! (<1S)
| When using the database on a network, Sqlite performance is terrible! (17S)
Let me first echo everyone saying not to use SQLite on a network file.
| I like your idea
Il giorno lunedì 27 agosto 2012 12:59:02 UTC+2, mikcec82 ha scritto:
> Hallo,
>
>
>
> I have an html file on my pc and I want to read it to extract some text.
>
> Can you help on which libs I have to use and how can I do it?
>
>
>
> thank you so much.
>
>
>
> Michele
Thank you to all.
H
On Tue, 28 Aug 2012 03:09:11 -0700 (PDT), mikcec82
wrote:
f = open(fileorig, 'r')
nomefile = f.read()
for x in nomefile:
if '' in nomefile:
print 'NOK'
else :
print 'OK'
You don't need the for loop. Just do:
nomefile = f.read()
if '' in nomefile:
print('
Il giorno lunedì 27 agosto 2012 12:59:02 UTC+2, mikcec82 ha scritto:
> Hallo,
>
>
>
> I have an html file on my pc and I want to read it to extract some text.
>
> Can you help on which libs I have to use and how can I do it?
>
>
>
> thank you so much.
>
>
>
> Michele
Hi Oscar,
I tried as
mikcec82 wrote:
> Il giorno lunedì 27 agosto 2012 12:59:02 UTC+2, mikcec82 ha scritto:
>> Hallo,
>>
>>
>>
>> I have an html file on my pc and I want to read it to extract some text.
>>
>> Can you help on which libs I have to use and how can I do it?
>>
>>
>>
>> thank you so much.
>>
>>
>>
On Tuesday, August 28, 2012 4:27:48 AM UTC-4, Cameron Simpson wrote:
> On 27Aug2012 13:41, bruceg113...@gmail.com wrote:
>
> | When using the database on my C Drive, Sqlite performance is great! (<1S)
>
> | When using the database on a network, Sqlite performance is terrible! (17S)
>
>
>
>
ctypes works as I would expect with python2.7.3.
However, when I upgrade to python3.2.3 things don't seem to work right. Look
below for details.
I am not sure where I am going wrong.
Shared Library
==
#include
#include
extern "C"
{
int main();
uint32_t myfunction (char **);
In <18eb8025-7545-4d10-9e76-2e41deaad...@googlegroups.com> Rolf
writes:
> uint32_t myfunction (char ** _mydata)
> {
>char mydata[16];
>strcpy(mydata, "Hello Dude!");
>*_mydata = mydata;
>return 0;
> }
mydata is an auto variable, which goes out of scope when myfunction()
exits
On 28/08/2012 22:35, Rolf wrote:
ctypes works as I would expect with python2.7.3.
However, when I upgrade to python3.2.3 things don't seem to work right. Look
below for details.
I am not sure where I am going wrong.
Shared Library
==
#include
#include
extern "C"
{
int main(
On Tue, Aug 21, 2012 at 6:55 PM, Pedro Larroy
wrote:
> Hi
>
> Anyone knows if it's possible to use protobuffers with pypy? Seems
> there isn't much info on the web about this.
So, in my experience, the easiest way to confirm if something works
with PyPy (when you can't find proper bibliography
Try incrementing the variable cursor.arraysize a lot.
Pedro.
On Tue, Aug 28, 2012 at 11:20 PM, Dennis Lee Bieber
wrote:
> On Tue, 28 Aug 2012 10:25:35 -0700 (PDT), bruceg113...@gmail.com
> declaimed the following in gmane.comp.python.general:
>
>>
>> Doesn't the last paragraph imply that SQLite
This is what I have to reproduce the challenge I am having below:
import csv
import struct
data = []
for Node in csv.reader(file('s_data.xls')):
data.append(list((file('s_data.xls'
data = struct.unpack('!B4HH', data)
print "s_data.csv: ", data
I tries so many format
On Saturday, 25 August 2012 20:16:54 UTC+1, MRAB wrote:
> On 25/08/2012 19:34, 9bizy wrote:
>
> > I am trying to unpack values from sensor data I am retrieving through
>
> > a serial cable, but I get errors while using struct.unpack, how can I
>
> > use struct.unpack to unload the data in a rea
On 28/08/2012 23:35, 9bizy wrote:
On Saturday, 25 August 2012 20:16:54 UTC+1, MRAB wrote:
On 25/08/2012 19:34, 9bizy wrote:
> I am trying to unpack values from sensor data I am retrieving through
> a serial cable, but I get errors while using struct.unpack, how can I
> use struct.unpack to u
On 28/08/2012 23:34, 9bizy wrote:
This is what I have to reproduce the challenge I am having below:
import csv
import struct
data = []
for Node in csv.reader(file('s_data.xls')):
That tries to read the file as CSV, but, judging from the extension,
it's in Excel's format. You don't even use
On Tuesday, 28 August 2012 23:49:54 UTC+1, MRAB wrote:
> On 28/08/2012 23:34, 9bizy wrote:
>
> > This is what I have to reproduce the challenge I am having below:
>
> >
>
> >
>
> > import csv
>
> > import struct
>
> >
>
> >
>
> > data = []
>
> >
>
> > for Node in csv.reader(file('s_data.
* Dennis Lee Bieber [120828 07:11]:
> On Mon, 27 Aug 2012 15:43:59 -0800, Tim Johnson
> declaimed the following in gmane.comp.python.general:
>
> > * Benjamin Kaplan [120827 15:20]:
> > > The popen* functions are deprecated. You should use the subprocess module
> > > instead.
> > No, I'm stuc
On 29/08/2012 00:01, 9bizy wrote:> On Tuesday, 28 August 2012 23:49:54
UTC+1, MRAB wrote:
>> On 28/08/2012 23:34, 9bizy wrote:
>> > This is what I have to reproduce the challenge I am having below:
>> >
>> > import csv
>> > import struct
>> >
>> > data = []
>> >
>> > for Node in csv.reader(file(
On Wednesday, 29 August 2012 00:36:40 UTC+1, MRAB wrote:
> On 29/08/2012 00:01, 9bizy wrote:> On Tuesday, 28 August 2012 23:49:54
>
> UTC+1, MRAB wrote:
>
> >> On 28/08/2012 23:34, 9bizy wrote:
>
> >> > This is what I have to reproduce the challenge I am having below:
>
> >> >
>
> >> >
So I'm trying to get as low level as I can with my Dymo label printer, and this
method described the PDF
http://sites.dymo.com/Documents/LW450_Series_Technical_Reference.pdf seems to
be it.
I'm unfamiliar with dealing with the USB interface and would greatly appreciate
it if someone could tell
On Sun, Aug 26, 2012 at 9:54 PM, Steven D'Aprano <
steve+comp.lang.pyt...@pearwood.info> wrote:
> Yes, you read the subject line right -- Python 1.5. Yes, I am nuts ;)
>
> (I like having old versions of Python around for testing historical
> behaviour.)
>
> On Debian squeeze, when I try to build P
hi,
i just tried xlrd-0.8.0 so as to be able to read xlsx files only to discover:
NotImplementedError: formatting_info=True not yet implemented
there's a post from 2009 stating that the current intention is to not
support formatting_info:
https://groups.google.com/forum/?fromgroups=#!topic/
On Aug 28, 4:57 am, Neil Hodgson wrote:
> wxjmfa...@gmail.com:
>
> > Go "has" the integers int32 and int64. A rune ensure
> > the usage of int32. "Text libs" use runes. Go has only
> > bytes and runes.
>
> Go's text libraries use UTF-8 encoded byte strings. Not arrays of
> runes. See, for exa
Hi,
I recommend the use of the module PyUSB in sourceforge:
http://pyusb.sourceforge.net/
Also take a look to the tutorial :
http://pyusb.sourceforge.net/docs/1.0/tutorial.html
as far as I can remember, you'll need to first find the device based on the
idvendor / idproduct (provided in the pdf).
On 8/28/2012 8:54 PM, Dennis Lee Bieber wrote:
2) does the printer appear as a serial port by the OS? Or as a
printer device?
The OP posted the link to the manual.
If your not going to at least look it over, .
USB Printer Interface
The LabelWriter 450 series printers al
On Wed, Aug 29, 2012 at 12:42 PM, rusi wrote:
> Clearly there are 3 string-engines in the python 3 world:
> - 3.2 narrow
> - 3.2 wide
> - 3.3 (flexible)
>
> How difficult would it be to giving the choice of string engine as a
> command-line flag?
> This would avoid the nuisance of having two binar
On 7/23/2012 1:10 PM, Dennis Lee Bieber wrote:
On Mon, 23 Jul 2012 16:42:51 +0200, Henrik Faber
declaimed the following in gmane.comp.python.general:
If that was written by my coworkers, I'd strangle them.
My first real assignment, 31 years ago, was porting an application
to CDC MP-
On Tue, Aug 28, 2012 at 8:42 PM, rusi wrote:
> In summary:
> 1. The problem is not on jmf's computer
> 2. It is not windows-only
> 3. It is not directly related to latin-1 encodable or not
>
> The only question which is not yet clear is this:
> Given a typical string operation that is complexity O
On Aug 29, 1:03 pm, hamilton wrote:
> The OP posted the link to the manual.
> If your not going to at least look it over, .
Speaking for myself, I _don't_ go out of my way to read extra material
to help someone with a problem here. If it's worth mentioning, mention
it in the question.
--
On 8/28/2012 11:04 PM, alex23 wrote:
On Aug 29, 1:03 pm, hamilton wrote:
The OP posted the link to the manual.
If your not going to at least look it over, .
Speaking for myself, I _don't_ go out of my way to read extra material
But, you will give advice that has no value.
Anything
Hi developers,
who develops programs with geodetic functionality like world-wide coordinate
transformations or distance calculations, can use geodetic functions of my
GeoDLL. The Dynamic Link Library can easily be used with most of the modern
programming languages like C, C++, C#, Basic, Delphi
Hi Fred.
Do you know about proj4? proj4 is opensource library that does the
coordinate transformations side of geospatial for many many already tested
projects.
Does your libraries do anything that proj4 does not?
On Wed, Aug 29, 2012 at 2:51 AM, Fred wrote:
> Hi developers,
>
> who develops p
"Adam W." wrote:
>
>So I'm trying to get as low level as I can with my Dymo label printer,
>and this method described the PDF
>http://sites.dymo.com/Documents/LW450_Series_Technical_Reference.pdf
>seems to be it.
>
>I'm unfamiliar with dealing with the USB interface and would greatly
>appreciat
34 matches
Mail list logo