in 793268 20180423 223830 "Brian Gibbemeyer" wrote:
>From: Brian Gibbemeyer/Detroit/IBM
>To: python-list@python.org, d...@python.org
>Date: 04/23/2018 03:35 PM
>Subject:Issue with python365.chm on window 7
>
>
>Not sure which email this should
On Tuesday, April 24, 2018 at 4:13:17 AM UTC+5:30, MRAB wrote:
> On 2018-04-23 22:11, Hac4u wrote:
> > On Tuesday, April 24, 2018 at 12:54:43 AM UTC+5:30, MRAB wrote:
> >> On 2018-04-23 18:24, Hac4u wrote:
> >> > I have a raw data of size nearly 10GB. I would like to find a text
> >> > string and
On 2018-04-23 22:11, Hac4u wrote:
On Tuesday, April 24, 2018 at 12:54:43 AM UTC+5:30, MRAB wrote:
On 2018-04-23 18:24, Hac4u wrote:
> I have a raw data of size nearly 10GB. I would like to find a text string and
print the memory address at which it is stored.
>
> This is my code
>
> import os
On 4/23/2018 5:38 PM, Brian Gibbemeyer wrote:
From: Brian Gibbemeyer/Detroit/IBM
Not sure which email this should go to.
This is a good place to start.
But I downloaded .chm version of the Python guide and found that it is not
working in windows 7
How did you download it?
How did you t
From: Brian Gibbemeyer/Detroit/IBM
To: python-list@python.org, d...@python.org
Date: 04/23/2018 03:35 PM
Subject:Issue with python365.chm on window 7
Not sure which email this should go to.
But I downloaded .chm version of the Python guide and found that it is not
working in win
On Tuesday, April 24, 2018 at 12:54:43 AM UTC+5:30, MRAB wrote:
> On 2018-04-23 18:24, Hac4u wrote:
> > I have a raw data of size nearly 10GB. I would like to find a text string
> > and print the memory address at which it is stored.
> >
> > This is my code
> >
> > import os
> > import re
> > fi
On Tuesday, April 24, 2018 at 1:28:07 AM UTC+5:30, Paul Rubin wrote:
> Hac4u writes:
> > I have a raw data of size nearly 10GB. I would like to find a text
> > string and print the memory address at which it is stored.
>
> The simplest way is probably to mmap the file and use mmap.find:
>
> http
On 23/04/2018 21:45, Stefan Ram wrote:
MRAB writes:
offset += search_length
Or, offset += 1, to also find overlaps of that kind:
file = "eee"
word = "ee"
. The above word "ee" occurs at position 0 and 1 in the file.
My attempt:
#include
#include
int main( void )
{ FILE * const
On 2018-04-23, Hac4u wrote:
> I have a raw data of size nearly 10GB. I would like to find a text
> string and print the memory address at which it is stored.
The first thing I would try is to map the file into memory as a string
(Pythonb 2) or bytearray (Python 3), and then search it using the
f
On 2018-04-23 18:24, Hac4u wrote:
I have a raw data of size nearly 10GB. I would like to find a text string and
print the memory address at which it is stored.
This is my code
import os
import re
filename="filename.dmp"
read_data=2**24
searchtext="bd:mongo:"
he=searchtext.encode('hex')
with op
On Monday, April 23, 2018 at 11:01:39 PM UTC+5:30, Chris Angelico wrote:
> On Tue, Apr 24, 2018 at 3:24 AM, Hac4u wrote:
> > I have a raw data of size nearly 10GB. I would like to find a text string
> > and print the memory address at which it is stored.
> >
> > This is my code
> >
> > import os
On Tue, Apr 24, 2018 at 3:24 AM, Hac4u wrote:
> I have a raw data of size nearly 10GB. I would like to find a text string and
> print the memory address at which it is stored.
>
> This is my code
>
> import os
> import re
> filename="filename.dmp"
> read_data=2**24
> searchtext="bd:mongo:"
> he=s
I have a raw data of size nearly 10GB. I would like to find a text string and
print the memory address at which it is stored.
This is my code
import os
import re
filename="filename.dmp"
read_data=2**24
searchtext="bd:mongo:"
he=searchtext.encode('hex')
with open(filename, 'rb') as f:
while T
I wanted to write mkdocs plugins, so I read the docs (well, at least part of
them) and I wrote a very simple, very basic plugin.
I called it "Hello dolly", because when I wrote it I was inspired by the (once
built-in) WordPress plugin of the same name that teached me the basic of plugin
writing
14 matches
Mail list logo