On Sat, Apr 14, 2018 at 1:57 AM, Jach Fong wrote:
> eryk sun at 2018/4/14 PM 05:27 wrote:
>
>> The simple types c_void_p, c_char_p, and c_wchar_p are pointers.
>> However, since they subclass _SimpleCData instead of _Pointer, they
>> inherit the behavior of simple types.
>
> The ctypes document sa
eryk sun at 2018/4/14 PM 05:27 wrote:
On Fri, Apr 13, 2018 at 8:44 AM, Jach Fong wrote:
After studying the example you explained in your previous post replied to
Gregory Ewing, I had noticed that until today I was totally misunderstand
the meaning of the c_char_p. I always think it "is" a poin
On Fri, Apr 13, 2018 at 8:44 AM, Jach Fong wrote:
>
> After studying the example you explained in your previous post replied to
> Gregory Ewing, I had noticed that until today I was totally misunderstand
> the meaning of the c_char_p. I always think it "is" a pointer, but actually
> it's just a ct
-Original Message-
From: Python-list On Behalf Of MRAB
Sent: Friday, April 13, 2018 12:05 PM
To: python-list@python.org
Subject: Re: Python regex pattern from array of hex chars
> Use re.escape:
>
> regex = re.compile('[^{}]+'.format(re.escape(''.join(c for c in
> character_class
Br
On 2018-04-13 18:28, Joseph L. Casale wrote:
I have an array of hex chars which designate required characters.
and one happens to be \x5C or "\". What foo is required to build the
pattern to exclude all but:
regex = re.compile('[^{}]+'.format(''.join(c for c in character_class)))
I would use th
I have an array of hex chars which designate required characters.
and one happens to be \x5C or "\". What foo is required to build the
pattern to exclude all but:
regex = re.compile('[^{}]+'.format(''.join(c for c in character_class)))
I would use that in a re.sub to collapse and replace all but
On Fri, 13 Apr 2018 12:48:55 +, ?? ?? wrote:
> Hello,
>
> Could you tell me how to import the installed modules ?
>
> I have successfully installed openpyxl,
How do you know it was successful?
What did you do to install it?
How many different Python installations do you have on your syst
On 13/04/18 14:48, ?? ?? wrote:
> Hello,
>
> Could you tell me how to import the installed modules ?
>
> I have successfully installed openpyxl, but
> When I executed ‘import openpyxl’,
> The following message is displayed:
> Traceback (most recent call last):
> File "", line 1, in
> impor
On 13/04/18 18:08, Daiyue Weng wrote:
> (the structure
> is attached as a png file).
No it's not. This is a text-only list.
(you know what, I'm sick of saying that)
>
> The execution is sequential, e.g. running script_1, then 2 then 3.
>
> After executing the 1st sequence (script_1 to 3), mast
Mark Lawrence on Wed, 11 Apr 2018 20:07:47
+0100 typed in comp.lang.python the following:
>
>> for totals of 2168 fetched and 4384 killed; that is, the group
>> is now 2/3 spam and the volume doesn't seem to be decreasing.
>> I don't understand why other groups gatewayed to Google Groups
>> aren'
Hello,
Could you tell me how to import the installed modules ?
I have successfully installed openpyxl, but
When I executed ‘import openpyxl’,
The following message is displayed:
Traceback (most recent call last):
File "", line 1, in
import openpyxl
ModuleNotFoundError: No module named 'ope
Hi, I have a master script that executes two sequences (lists) of child
scripts, i.e. script_1 to script_3, and script_4 to_script_6 (the structure
is attached as a png file).
The execution is sequential, e.g. running script_1, then 2 then 3.
After executing the 1st sequence (script_1 to 3), mast
eryk sun at 2018/4/13 PM 12:16 wrote:
On Fri, Apr 13, 2018 at 12:38 AM, Jach Fong wrote:
Gregory Ewing at 2018/4/13 上午 07:25 wrote:
To get around this, you may need to declare the return type
as POINTER(c_char) instead:
For a general character pointer that may also point to binary data,
13 matches
Mail list logo