Re: PIL : How to write array to image ???

2009-10-04 Thread Mart.
On Oct 4, 9:47 am, Martin wrote: > On Oct 3, 11:56 pm, Peter Otten <__pete...@web.de> wrote: > > > > > > > Martin wrote: > > > Dear group > > > > I'm trying to use PIL to write an array (a NumPy array to be exact) to > > > an image. > > > Peace of cake, but it comes out looking strange. > > > > I

Re: PIL : How to write array to image ???

2009-10-05 Thread Mart.
On Oct 5, 5:14 pm, Martin wrote: > On Oct 4, 10:16 pm, "Mart." wrote: > > > > > > > On Oct 4, 9:47 am, Martin wrote: > > > > On Oct 3, 11:56 pm, Peter Otten <__pete...@web.de> wrote: > > > > > Martin wrote: > > > >

Re: Help with arrays

2009-08-25 Thread Mart.
On Aug 25, 11:50 pm, Stephen Fairchild wrote: > Philip Semanchuk wrote: > > > On Aug 25, 2009, at 6:14 PM, Gleb Belov wrote: > > >> Hello! I'm working on an exercise wherein I have to write a Guess The > >> Number game, but it's the computer who's guessing MY number. I can get > >> it to work, but

Re: Help with arrays

2009-08-26 Thread Mart.
On Aug 26, 3:02 am, Dave Angel wrote: > Stephen Fairchild wrote: > > Philip Semanchuk wrote: > > >> On Aug 25, 2009, at 6:14 PM, Gleb Belov wrote: > > >>> Hello! I'm working on an exercise wherein I have to write a Guess The > >>> Number game, but it's the computer who's guessing MY number. I can

Re: regexp help

2009-08-27 Thread Mart.
On Aug 27, 7:15 pm, Bakes wrote: > If I were using the code: > > (?P[0-9]+) > > to get an integer between 0 and 9, how would I allow it to register > negative integers as well? -? -- http://mail.python.org/mailman/listinfo/python-list

Re: Extracting patterns after matching a regex

2009-09-08 Thread Mart.
On Sep 8, 2:15 pm, MRAB wrote: > Martin wrote: > > Hi, > > > I need to extract a string after a matching a regular expression. For > > example I have the string... > > > s = "FTPHOST: e4ftl01u.ecs.nasa.gov" > > > and once I match "FTPHOST" I would like to extract > > "e4ftl01u.ecs.nasa.gov". I am

Re: Extracting patterns after matching a regex

2009-09-08 Thread Mart.
On Sep 8, 2:21 pm, "Mark Tolonen" wrote: > "Martin" wrote in message > > news:5941d8f1-27c0-47d9-8221-d21f07200...@j39g2000yqh.googlegroups.com... > > > > > Hi, > > > I need to extract a string after a matching a regular expression. For > > example I have the string... > > > s = "FTPHOST: e4ftl01

Re: Extracting patterns after matching a regex

2009-09-08 Thread Mart.
On Sep 8, 2:16 pm, "Andreas Tawn" wrote: > > Hi, > > > I need to extract a string after a matching a regular expression. For > > example I have the string... > > > s = "FTPHOST: e4ftl01u.ecs.nasa.gov" > > > and once I match "FTPHOST" I would like to extract > > "e4ftl01u.ecs.nasa.gov". I am not su

Re: Extracting patterns after matching a regex

2009-09-08 Thread Mart.
On Sep 8, 3:53 pm, MRAB wrote: > Mart. wrote: > > On Sep 8, 3:14 pm, "Andreas Tawn" wrote: > >>>>> Hi, > >>>>> I need to extract a string after a matching a regular expression. For > >>>>> example I have the string... >

Re: Extracting patterns after matching a regex

2009-09-08 Thread Mart.
On Sep 8, 3:14 pm, "Andreas Tawn" wrote: > > > > Hi, > > > > > I need to extract a string after a matching a regular expression. For > > > > example I have the string... > > > > > s = "FTPHOST: e4ftl01u.ecs.nasa.gov" > > > > > and once I match "FTPHOST" I would like to extract > > > > "e4ftl01u.ec

Re: Extracting patterns after matching a regex

2009-09-08 Thread Mart.
On Sep 8, 4:33 pm, MRAB wrote: > Mart. wrote: > > On Sep 8, 3:53 pm, MRAB wrote: > >> Mart. wrote: > >>> On Sep 8, 3:14 pm, "Andreas Tawn" wrote: > >>>>>>> Hi, > >>>>>>> I need to extract a string after

Re: Extracting patterns after matching a regex

2009-09-08 Thread Mart.
On Sep 8, 3:21 pm, nn wrote: > On Sep 8, 9:55 am, "Mart." wrote: > > > > > On Sep 8, 2:16 pm, "Andreas Tawn" wrote: > > > > > Hi, > > > > > I need to extract a string after a matching a regular expression. For > > >

Re: Extracting patterns after matching a regex

2009-09-09 Thread Mart.
On Sep 8, 4:33 pm, MRAB wrote: > Mart. wrote: > > On Sep 8, 3:53 pm, MRAB wrote: > >> Mart. wrote: > >>> On Sep 8, 3:14 pm, "Andreas Tawn" wrote: > >>>>>>> Hi, > >>>>>>> I need to extract a string after

Re: Extracting patterns after matching a regex

2009-09-11 Thread Mart.
On Sep 9, 4:58 pm, Al Fansome wrote: > Mart. wrote: > > On Sep 8, 4:33 pm, MRAB wrote: > >>Mart. wrote: > >>> On Sep 8, 3:53 pm, MRAB wrote: > >>>>Mart. wrote: > >>>>> On Sep 8, 3:14 pm, "Andreas Tawn" wrote: > >

Re: Mapping in python? Transforming shapefile so that basemap can read them?

2009-09-11 Thread Mart.
On Sep 11, 7:22 pm, C Barr Leigh wrote: > I'm trying to get started with plotting maps in python. I need to read > "shape files" (.shp) and make maps. There seem to be many efforts but > none is complete? I'm looking for suggestions and troubleshooting. > > The basemap package is obviously at an i

Re: looking for a script that automaticly logs into hotmail

2009-09-11 Thread Mart.
On Sep 11, 10:31 pm, mmoalem wrote: > hi there all - trying to find a script wich will log into an hotmail > account - that is for the reason that after a certain amount of > inactivity time a hotmail account is expired and to prevent that from > happening accidentaly a script wich i can schedule

Unofficial PyBitmessage port to run with Python3 and PyQt5

2024-09-05 Thread 711 Spooky Mart via Python-list
reports or comments are welcome. I'm using it on Devuan GNU+Linux Daedalus which is mostly compatible to Debian GNU/Linux bookworm except systemd utilizations. All dependencies are installed from Devuan (Debian) packages. ─┏┓──┏━━┓───┏━━┓──Spooky Mart Channel ─┗━━┓─┃──┗┓─┃──

PyBitmessage is not dead. Ignore the FUD.

2024-09-05 Thread 711 Spooky Mart via Python-list
sh scripts, build scripts and documentation looking for errors or points of improvement. ─┏┓──┏━━┓───┏━━┓── Spooky Mart Channel ─┗━━┓─┃──┗┓─┃───┗┓─┃──[chan] 711 ┃─┃──┏┛─┗┓──┏┛─┗┓─always open | stay spooky ┗━┛──┗━━━┛──┗━━━┛─https://bitm

Python3 Fork of BMWrapper

2024-09-05 Thread 711 Spooky Mart via Python-list
mited form. Attached images are included, base64 encoded, in an img tag. Incoming messages are likewise parsed to reconstruct a email, with attachment. This works...most of the time, and I’ve tried to make it fail gracefully when something goes wrong. ─┏┓──┏━━┓───┏━━┓──

BitChan (python project)

2024-09-05 Thread 711 Spooky Mart via Python-list
n, BitChan cannot be moderated by its developers, the government, or any other entity. Indeed, there is no way to disconnect BitChan from the internet, and as long as people are still running Bitmessage, BitChan is completely untouchable. ─┏┓──┏━━┓───┏━━┓── Spooky Ma