Re: Organisation of python classes and their methods

2012-11-02 Thread Martin Hewitson
On 2, Nov, 2012, at 06:24 PM, Paul Rubin wrote: > Martin Hewitson writes: >> Well, here we disagree. Suppose I have a class which encapsulates >> time-series data. Below is a list of the absolute minimum methods one >> would have to process that data. ... >> &

Re: Obnoxious postings from Google Groups

2012-11-03 Thread Bob Martin
in 684220 20121102 093654 Jamie Paul Griffin wrote: >/ ru...@yahoo.com wrote on Thu 1.Nov'12 at 15:08:26 -0700 / > >> On 11/01/2012 03:55 AM, Jamie Paul Griffin wrote: >> > Anybody serious about programming should be using a form of >> > UNIX/Linux if you ask me. It's inconceivable that these sys

[ANN] pyspread 0.2.3

2013-01-14 Thread Martin Manns
* Image display in cells * Localization in German, Dutch, Danish and Ukrainian (partly finished) * Dependency to PyMe, rpy and gmpy removed for easier packaging * New dependencies matplotlib, python-gnupg * New example files * Various bug fixes Enjoy Martin -- http://mail.python.org

Re: security quirk

2013-01-30 Thread Martin Musatov
On Jan 29, 8:55 pm, RichD wrote: > I read Wall Street Journal, and occasionally check 00commentBegin 01comment 02commentEnd 03 04 (); Open

Re: Algorithms in Python

2012-01-25 Thread Martin Schöön
On 2012-01-25, Chetan Harjani wrote: > Thanks Alec for the link. U know I wanted to read this book by Simon > Singh -> The Code Book, I hear its good. > It indeed is. I only remember one error, an error every Scandinavian would have spotted. His book on Fermat's theorem is even

Re: datetime module and timezone

2012-02-10 Thread Bob Martin
in 671891 20120210 212545 Olive wrote: >In the datetime module, it has support for a notion of timezone but is >it possible to use one of the available timezone (I am on Linux). Linux >has a notion of timezone (in my distribution, they are stored >in /usr/share/zoneinfo). I would like to be able 1

[semi OT]: Smartphones and Python?

2012-02-15 Thread Martin Schöön
level that has turned out to be useful at work. /Martin -- http://mail.python.org/mailman/listinfo/python-list

[ANN] pyspread 0.2.1

2012-03-13 Thread Martin Manns
addressing with mouse changed to + Enjoy Martin -- http://mail.python.org/mailman/listinfo/python-list

Learning new APIs/classes (beginner question)

2012-04-06 Thread Martin Jones
ven't been able to pull up anything approaching comprehensive documentation on each class/method. Can anyone experienced advise on how they would usually go about learning to use third party APIs/classes like these? With thanks, Martin -- http://mail.python.org/mailman/listinfo/python-list

Re: Learning new APIs/classes (beginner question)

2012-04-07 Thread Martin Jones
; > I feel your pain. > Thanks Steven, I suspected this might be the case, but wasn't sure if I was missing something obvious. Maybe I'll start on a different project using better-documented or just the build-in libraries. Many thanks, Martin. -- http://mail.python.org/mailman/listinfo/python-list

Re: usenet reading

2012-06-03 Thread Martin Schöön
; euros per year and filters out spam pretty effectively. I've > been happy using it with the slrn news reader for about 4 years. > Same here. /Martin -- http://mail.python.org/mailman/listinfo/python-list

Aw: How to import data from MySQL db into excel sheet

2011-06-02 Thread Martin Brochhaus
Why do you need to do this with python? Why not output the SQL data as a .cvs and open that file in Excel. The user can then adjust column widths as he likes. If it has to be done programatically, you might want to start your journey here: http://www.python-excel.org/ Best regards, Martin

Aw: Python newbie here! No module named settings

2011-06-02 Thread Martin Brochhaus
me with a zip-file containing some more files (such as __init__.py and settings.py)? Best regards, Martin -- http://mail.python.org/mailman/listinfo/python-list

Programming tips :-)

2011-07-07 Thread Martin Schöön
I just found the following url in my archives at work and thought you might enjoy it: http://thc.org/root/phun/unmaintain.html /Martin -- http://mail.python.org/mailman/listinfo/python-list

Re: Please code review.

2011-08-02 Thread Martin Gracik
On Tue, Aug 2, 2011 at 1:45 PM, Karim wrote: > > Hello, > > I need a generator to create the cellname in a excell (using pyuno) > document to assign value to > the correct cell. The following code does this but do you have some > optimizations > on it, for instance to get the alphabetic chars ins

Re: Help with regular expression in python

2011-08-18 Thread Martin Komoň
You don't seem to account for the whitespace between the floats. Try > '([-+]?(\d+(\.\d*)?|\.\d+)([eE][-+]?\d+)?\s+){32}' (just added \s+). Martin On 8/18/2011 9:49 PM, Matt Funk wrote: > Hi, > i am sorry if this doesn't quite match the subject of the list. If so

I am confused by

2011-09-07 Thread Martin Rixham
Hi all I would appreciate some help understanding something. Basically I am confused by the following: >>> a = [[0, 0], [0, 0]] >>> b = list(a) >>> b[0][0] = 1 >>> a [[1, 0], [0, 0]] I expected the last line to be [[0, 0], [0, 0]] I hope that's clear e

Re: parsing a file for analysis

2011-02-26 Thread Martin Gregorie
wk processes a text file line by line, automatically splitting each line into an array of words. It uses regexes to recognise lines and trigger actions on them. For example, building a list of visitors: assume there's a line containing "username logged on", you could build a list

Re: Purely historic question: VT200 text graphic programming

2011-03-10 Thread Martin Gregorie
cessor world too, together with assorted clones. In addition, many other terminals had a VT-100 emulation mode. IIRC all the Wyse terminals had that. -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/python-list

Re: Purely historic question: VT200 text graphic programming

2011-03-11 Thread Martin Gregorie
s. The eight bit was reserved for error correct. Remember > this was a serial 'printer' console language. It need updating as much > as the QWERTY keyboard does. > > Sometime after 1975, graphical glyphs were added, using the eighth bit. > Some VT models supported the ext

Re: Purely historic question: VT200 text graphic programming

2011-03-11 Thread Martin Gregorie
On Fri, 11 Mar 2011 11:52:13 +, Jorgen Grahn wrote: > On Thu, 2011-03-10, Martin Gregorie wrote: >> On Thu, 10 Mar 2011 20:31:11 +, Grant Edwards wrote: >> >>> You tricked me by saying only DEC VAX/VMS programmers would know what >>> it was. In fact,

Re: Purely historic question: VT200 text graphic programming

2011-03-11 Thread Martin Gregorie
with some extensions. > I got that wrong: ANSI defined the VT-100 control codes. See above. -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/python-list

Re: Purely historic question: VT200 text graphic programming

2011-03-11 Thread Martin Gregorie
On Fri, 11 Mar 2011 19:32:53 +, Grant Edwards wrote: > On 2011-03-11, Martin Gregorie wrote: > >> BTW, there was no such thing as a VT-200 - there was a VT-220 text >> terminal (which I think the OP was remembering) and the VT-240 and 241 >> terminals, which were to

Re: Purely historic question: VT200 text graphic programming

2011-03-12 Thread Martin Gregorie
ot;There is no VT200 as such; the VT220 is a text terminal, while the VT240 and VT241 are graphics terminals, supporting Digital’s ReGIS graphics and Tektronix vector graphics." which I read to mean that a 240/241 wouldn't accept the same command set as the 220. -- martin@ | Martin Gr

Re: Purely historic question: VT200 text graphic programming

2011-03-12 Thread Martin Gregorie
lowed programs to control the display by emitting escape codes - without it the DOS screen was treated as a glass teletype. -- martin@ | Martin Gregorie gregorie. | Essex, UK org | -- http://mail.python.org/mailman/listinfo/python-list

Re: [OT] Free software versus software idea patents

2011-04-08 Thread Bob Martin
in 654905 20110408 171055 Ethan Furman wrote: >Westley Mart�nez wrote: >> On Fri, 2011-04-08 at 01:41 -0500, harrismh777 wrote: >>> >>> Freedom isn't free... you have to fight for it... always. >> >> Why should a business listen to you? You're not gonna buy any software >> anyways. >> > >From a

Re: [OT] Free software versus software idea patents

2011-04-14 Thread Martin Gregorie
ly set out to do. Judging from stories over the years of lost code (the Win98 New Year problem) and the general slackness of their project management, its equally possible its simply the result of out of control, anarchic and undocumented software development. -- martin@ | Martin Greg

Re: [OT] Free software versus software idea patents

2011-04-14 Thread Martin Gregorie
On Fri, 15 Apr 2011 08:01:42 +1000, Chris Angelico wrote: > On Fri, Apr 15, 2011 at 7:36 AM, Martin Gregorie > wrote: >> I think the only real evil is to set out to make a non-standards- >> compliant server and then design client software that seeks to lock in >> people

Re: [OT] Free software versus software idea patents

2011-04-14 Thread Martin Gregorie
On Thu, 14 Apr 2011 15:23:01 -0700, Westley Martínez wrote: > On Fri, 2011-04-15 at 08:01 +1000, Chris Angelico wrote: >> On Fri, Apr 15, 2011 at 7:36 AM, Martin Gregorie >> wrote: >> > I think the only real evil is to set out to make a non-standards- >> > compli

Re: [OT] VCS tools (was "Development tools and practices for Pythonistas")

2011-04-28 Thread Martin Schöön
boss really) since I have not seen it mentioned here: http://code.google.com/p/gource/ (I have zero experience of gource so there is no point in asking me questions) /Martin -- http://mail.python.org/mailman/listinfo/python-list

Re: [OT] VCS tools

2011-04-29 Thread Martin Schöön
On 2011-04-28, Ben Finney wrote: > Martin Schöön writes: > >> This has been a pretty informative thread so far. Please keep it coming. >> I am a hardware development guy and do very little software development. >> I have been vaguely aware of tools for version control

Re: Development tools and practices for Pythonistas

2011-04-30 Thread Martin Schöön
aar/Fossil crowd? Any one of those ruled out and then why? /Martin -- http://mail.python.org/mailman/listinfo/python-list

Re: [OT] VCS for non-text (was Development tools and practices for Pythonistas)

2011-05-01 Thread Martin Schöön
On 2011-04-30, Tim Chase wrote: > On 04/30/2011 04:15 AM, Martin Schöön wrote: >> You guys are very code focused, which is natural given where we are. >> >> Having absorbed what I have seen here, looked a little at Mercurial, >> read a little on the webs of Fossil

Re: Something is rotten in Denmark...

2011-05-31 Thread Martin Manns
ight", "credits" or "license" for more information. >>> fs=[] >>> fs = [(lambda n: i + n) for i in range(10)] >>> [fs[i](1) for i in range(10)] [10, 10, 10, 10, 10, 10, 10, 10, 10, 10] Is this fixed automatically by 2to3? Martin -- http://mail.python.org/mailman/listinfo/python-list

Re: Something is rotten in Denmark...

2011-05-31 Thread Martin Manns
f i is limited to the list comprehension, not global. I read about the scope change. However, list comprehension scope being global still feels "right" for me because I am still using Python 2. I feel that I should start worrying more about future migration issues. Cheers Martin

Repairing Python installation?

2017-10-28 Thread Martin Schöön
installs with Debian distro installs of Python packages lead to conflicts or other problems? TIA, /Martin -- https://mail.python.org/mailman/listinfo/python-list

Re: Repairing Python installation?

2017-10-29 Thread Martin Schöön
Den 2017-10-28 skrev Karsten Hilbert : > On Sat, Oct 28, 2017 at 08:41:34PM +0000, Martin Schöön wrote: > >> It seems something is amiss with my Python 2.7 installation. Revisiting >> Nikola (static web site generator written in Python) for the first time >> in sever

Re: Repairing Python installation?

2017-10-29 Thread Martin Schöön
Den 2017-10-28 skrev Percival John Hackworth : > On 28-Oct-2017, Martin Schöön wrote > (in article ): > >> It seems something is amiss with my Python 2.7 installation. Revisiting >> Nikola (static web site generator written in Python) for the first time >> in se

Re: Repairing Python installation?

2017-10-29 Thread Martin Schöön
Den 2017-10-29 skrev Chris Warrick : > On 28 October 2017 at 22:41, Martin Schöön wrote: >> >> Could mixing pip installs with Debian distro installs of Python >> packages lead to conflicts or other problems? > > Yes, it does, you should avoid that at all cost. The best

Re: Repairing Python installation?

2017-10-29 Thread Martin Schöön
Den 2017-10-29 skrev Chris Warrick : > On 29 October 2017 at 18:11, Martin Schöön wrote: >> I have installed Python 3 virtualenv and Nikola according to those >> instructions. I now have a working Nikola but I sure don't know what >> I am doing :-) How do I get ba

Pros and cons of Python sources?

2017-11-25 Thread Martin Schöön
g the ones I haven't mentioned? Completeness, currency, bugs... /Martin -- https://mail.python.org/mailman/listinfo/python-list

Re: Pros and cons of Python sources?

2017-11-26 Thread Martin Schöön
le to install packages with pip unless I did sudo pip. Follow-up question: Is there a way to find out which packages were installed using pip and which are from Debian's repo? pip list seems to list everything. /Martin -- https://mail.python.org/mailman/listinfo/python-list

Re: Pros and cons of Python sources?

2017-11-27 Thread Martin Schöön
l everything that looks, smells and tastes like Python 2.7 and then re-install? /Martin -- https://mail.python.org/mailman/listinfo/python-list

Re: Pros and cons of Python sources?

2017-11-28 Thread Martin Schöön
unning Python scripts has worked without issues so far. /Martin -- https://mail.python.org/mailman/listinfo/python-list

Re: Pros and cons of Python sources?

2017-11-29 Thread Martin Schöön
Den 2017-11-28 skrev Cameron Simpson : > On 28Nov2017 21:23, Martin Schöön wrote: >>The reason I think all is not well is the fact that pip list no only >>results in a list of packages but at the end of the list (which does >>not look complete) there is a bunch of error mess

Re: Pros and cons of Python sources?

2017-12-02 Thread Martin Schöön
Den 2017-11-29 skrev Martin Schöön : > Den 2017-11-28 skrev Cameron Simpson : >> On 28Nov2017 21:23, Martin Schöön wrote: >>>The reason I think all is not well is the fact that pip list no only >>>results in a list of packages but at the end of the list (which does >

Re: Linux/Windows GUI programming: GUI-fy a CLI using pyInstaller

2018-01-06 Thread Bob Martin
in 788357 20180105 132921 Kevin Walzer wrote: >On 1/1/18 11:45 AM, X. wrote: >> Ulli Horlacher: >>> I have to transfer a python 2.7 CLI programm into one with a (simple) GUI. >>> The program must run on Linux and Windows and must be compilable with >>> pyinstall, because I have to ship a standalon

Re: Adding colormaps?

2018-02-11 Thread Martin Schöön
does not seem to be available. /Martin -- https://mail.python.org/mailman/listinfo/python-list

Mayavi website?

2018-02-17 Thread Martin Schöön
Anyone else having problems with interacting with http://code.enthought.com/pages/mayavi-project.html ? All I can see is the front page. Clicking on anything in that page results in nothing or 404. I have tried several browsers. /Martin -- https://mail.python.org/mailman/listinfo/python-list

Re: Mayavi website?

2018-02-18 Thread Martin Schöön
Den 2018-02-17 skrev Martin Schöön : > Anyone else having problems with interacting with > http://code.enthought.com/pages/mayavi-project.html > ? > Later yesterday I found this: http://docs.enthought.com/mayavi/mayavi/ and it works without a hitch. /Martin -- https://mail.python

Re: Automatic Gain Control in Python?

2022-05-29 Thread Martin Schöön
d in looking up a standard called EBU R128. Start with youtube and you find lectures/demos. Python connection; There is a Python package called ffmpeg-normalize which contains an implementation of EBU R128. AFAIK it works on files, not streaming audio. /Martin -- https://mail.python.org/mailman/listinfo/python-list

Problem with Matplotlib example

2023-04-13 Thread Martin Schöön
ld dive into the documentation myself but I hope some kind soul here will help out. As far as I know I have an up-to-date matplotlib installed. Pip has nothing more modern to offer me. TIA /Martin -- https://mail.python.org/mailman/listinfo/python-list

Re: Problem with Matplotlib example

2023-04-14 Thread Martin Schöön
Den 2023-04-13 skrev MRAB : > On 2023-04-13 19:41, Martin Schöön wrote: >> Anyone had success running this example? >> https://tinyurl.com/yhhyc9r >> >> As far as I know I have an up-to-date matplotlib installed. Pip has >> nothing more modern to offer me. >

Jupyter notebooks to A4 (again)

2021-01-24 Thread Martin Schöön
) not very clever internet search yielded nothing helpful. Any ideas? /Martin -- https://mail.python.org/mailman/listinfo/python-list

Re: Jupyter notebooks to A4 (again)

2021-01-28 Thread Martin Schöön
Den 2021-01-28 skrev Pieter van Oostrum : > Martin Schöön writes: > >> Hello all, >> >> Some years ago I asked about exporting notebooks to pdf in >> A4 rather than US Letter. I got help, rather detailed >> instructions from you in general and Piet von Oostrum

Re: Jupyter notebooks to A4 (again)

2021-01-28 Thread Martin Schöön
Den 2021-01-25 skrev tommy yama : > Hi Martin, > > I noticed that i did use the same , > formats are mentioned in git already. > > https://github.com/jupyter/nbconvert > Are you telling me there are instruction for how to get A4paper format there? I have looked around but.

installation issues

2021-02-09 Thread Martin Lopez
Hello, My name is Martin Lopez. I just downloaded Python 3.9.1 (64 bit) Setup. After I install the program then try to run it, with no success. I've uninstalled all previous versions and reinstalled them, but it does not seem to help. Can you please assist? Thank you, --

Python 3.9. 1 not working

2021-02-09 Thread Martin Lopez
Where do I inquire about installation support? -- https://mail.python.org/mailman/listinfo/python-list

Re: The sqlite3 timestamp conversion between unixepoch and localtime

2021-09-03 Thread Bob Martin
On 2 Sep 2021 at 20:25:27, Alan Gauld wrote: > On 02/09/2021 20:11, MRAB wrote: > >>> In one of them (I can't recall which is which) they change on the 4th >>> weekend of October/March in the other they change on the last weekend. >>> >>> >> In the EU (and UK) it's the last Sunday in March/October

Re: walrus with a twist :+

2021-10-29 Thread Bob Martin
On 28 Oct 2021 at 18:52:26, "Avi Gross" wrote: > > Ages ago, IBM used a different encoding than ASCII called EBCDIC (Extended > Binary Coded Decimal Interchange Code ) which let them use all 8 bits and > thus add additional symbols. =B1 =A6 =AC IBM started using EBCDIC with System 360 and it is

Re: Alternatives to Jupyter Notebook

2021-11-14 Thread Martin Schöön
tried it myself and do not know how well it works. /Martin -- https://mail.python.org/mailman/listinfo/python-list

Re: Alternatives to Jupyter Notebook

2021-11-16 Thread Martin Schöön
Den 2021-11-15 skrev Loris Bennett : > Martin Schöön writes: > >> Den 2021-10-20 skrev Shaozhong SHI : >>> >>> My Jupyter notebook becomes unresponsive in browsers. >>> >> Odd, I never had any problems like that. I use Firefox on Linux. >> >&

Saving/exporting plots from Jupyter-labs?

2022-02-14 Thread Martin Schöön
do save image as. In Jupyter-lab that does not work and so far I have not been able to figure out how to do it. Yes, I have looked in the documentation. 2) Why is Jupyter-labs hooking up to Google-analytics? TIA, /Martin -- https://mail.python.org/mailman/listinfo/python-list

Re: Saving/exporting plots from Jupyter-labs?

2022-02-15 Thread Martin Schöön
Den 2022-02-15 skrev Reto : > On Mon, Feb 14, 2022 at 08:54:01PM +0000, Martin Schöön wrote: >> 1) In notebooks I can save a plot by right-clicking on it and do >> save image as. In Jupyter-lab that does not work and so far I >> have not been able to figure out how to do i

Re: Saving/exporting plots from Jupyter-labs?

2022-02-21 Thread Martin Schöön
Den 2022-02-14 skrev Martin Schöön : > > Now I am trying out Jupyter-labs. I like it. I have two head- > scratchers for now: > > 2) Why is Jupyter-labs hooking up to Google-analytics? Now I can answer this one myself. In a tab I had been working my way through a Holoviews tutoria

Re: How do I make a video animation with transparent background?

2016-08-10 Thread Martin Schöön
Den 2016-08-10 skrev Christian Gollwitzer : > Am 09.08.16 um 14:44 schrieb Martin Schöön: >> Using this example: >> http://matplotlib.org/examples/animation/moviewriter.html >> and this tutorial: >> https://www.youtube.com/watch?v=h0F5X4b7jug >> I have covered a

Re: How do I make a video animation with transparent background?

2016-08-14 Thread Martin Schöön
Den 2016-08-10 skrev Lawrence D’Oliveiro : > On Thursday, August 11, 2016 at 9:34:33 AM UTC+12, Martin Schöön wrote: >> Next on my TODO list is to look into the color composition idea. I >> have already looked this tutorial: >> https://youtu.be/sZzmksnzrX0 > > If the

Re: Raw Data from Website

2016-08-24 Thread Bob Martin
in 764257 20160823 081439 Steven D'Aprano wrote: >On Tuesday 23 August 2016 10:28, adam.j.k...@gmail.com wrote: > >> Hi, >> >> I am hoping someone is able to help me. >> >> Is there a way to pull as much raw data from a website as possible. The >> webpage that I am looking for is as follows: >> >

Re: How to convert 'ö' to 'oe' or 'o' (or other similar things) in a string?

2016-09-17 Thread Martin Schöön
'funny' letters in your name your are not a threat in the eyes of TSA in Arizona. Sorry for wasting the bandwidth. /Martin -- https://mail.python.org/mailman/listinfo/python-list

Re: How to convert 'ö' to 'oe' or 'o' (or other similar things) in a string?

2016-09-18 Thread Martin Schöön
Den 2016-09-17 skrev Marko Rauhamaa : > Martin Schöön : >> Related anecdote from Phoenix AZ. By now you have noticed my family >> name: Schöön. On airline tickets and boarding passes in the U.S. it >> gets spelled Schoeoen. > > Do Swedes do that German thing, too? I

Another å, ä, ö question

2016-09-19 Thread Martin Schöön
emacs instead using C-c C-c to execute. Noting happens so I try to run the program from command line and find that now Python can't stand my å, ä and ö. I am puzzled: With Geany there is no problem but outside Geany I am punished by Python for using Swedish. Any ideas? /Martin --

Re: Another å, ä, ö question

2016-09-20 Thread Martin Schöön
Den 2016-09-19 skrev Christian Gollwitzer : > Am 19.09.16 um 22:21 schrieb Martin Schöön: >> I am studying some of these tutorials: >> https://pythonprogramming.net/matplotlib-intro-tutorial/ >> >> I am recreating the code and I use my native Swedish for comments, >&g

Re: Another å, ä, ö question

2016-09-20 Thread Martin Schöön
Den 2016-09-19 skrev Lawrence D’Oliveiro : > On Tuesday, September 20, 2016 at 8:21:25 AM UTC+12, Martin Schöön wrote: >> But -- now I tested using emacs instead using C-c C-c to execute. >> Noting happens so I try to run the program from command line and >> find that now Py

Re: Another å, ä, ö question

2016-09-21 Thread Martin Schöön
Den 2016-09-20 skrev Chris Angelico : > On Wed, Sep 21, 2016 at 6:21 AM, Martin Schöön > wrote: >> Den 2016-09-19 skrev Lawrence D’Oliveiro : >>> On Tuesday, September 20, 2016 at 8:21:25 AM UTC+12, Martin Schöön wrote: >>>> But -- now I tested using emacs

Re: Another å, ä, ö question

2016-09-21 Thread Martin Schöön
Den 2016-09-20 skrev Peter Otten <__pete...@web.de>: > Martin Schöön wrote: > >> Den 2016-09-19 skrev Christian Gollwitzer : >>> Am 19.09.16 um 22:21 schrieb Martin Schöön: >>>> I am studying some of these tutorials: >>>> https://pythonprogrammi

Re: Another å, ä, ö question

2016-09-22 Thread Martin Schöön
Den 2016-09-22 skrev Peter Otten <__pete...@web.de>: > Martin Schöön wrote: >> >> I am not sure I answer your questions since I am not quite sure I >> understand it but here goes: The complete file is UTF-8 encoded as >> that is how Geany is set up to create new

Re: How to convert 'ö' to 'oe' or 'o' (or other similar things) in a string?

2016-09-25 Thread Martin Schöön
tMedien/Basiselemente/Schriften/schriften_node.html?__site=SG > HTTP Status 404 Die Seite konnte leider nicht gefunden werden. :-( Manually poking around I still arrive at: https://styleguide.bundesregierung.de/Webs/SG/DE/PrintMedien/Basiselemente/Schriften/schriften_node.html?__site=SG Strange. /Martin -

Re: Lawrence D'Oliveiro

2016-09-30 Thread Bob Martin
in 765690 20160930 181552 Ethan Furman wrote: >Lawrence D'Oliveiro is banned from Python List until the new year. > >If his posts show up somewhere else (e.g. Usenet), please ignore them. If you >must respond to him p >lease trim out his text so the rest of us don't have to deal with him. > >--

Re: Lawrence D'Oliveiro

2016-10-02 Thread Bob Martin
in 765736 20161001 072941 Paul Rubin wrote: >Chris Angelico writes: >>> Why can't you block "PEDOFILO"? >> I've no idea who you're talking about > >That's the weird Italian spam that the newsgroup has been getting for a >while. I've been wondering for a while if anyone knows what the story >is,

Free Python e-books from O'Reilly

2016-10-10 Thread Martin Schöön
http://www.oreilly.com/programming/free/ Any of these good enough to bother getting? Yes, I know, they are for no pay but if not worth reading still a waste of time and memory space. /Martin -- https://mail.python.org/mailman/listinfo/python-list

Re: Call a shell command from Python

2016-11-05 Thread Bob Martin
in 767198 20161104 142132 Thomas 'PointedEars' Lahn wrote: >Ben Finney wrote: > >> Note that ‘sudo’ is specifically designed to be invoked interactively, > >Nonsense. > >> seeking to verify that the current user has credentials to run the >> command. > >NOPASSWD is not the default in sudoers(5

python package: financial_life

2016-11-17 Thread martin . pyka
simulations can be defined. https://github.com/MartinPyka/financial_life I hope, this package is helpful for some of you. Best, Martin -- https://mail.python.org/mailman/listinfo/python-list

Re: Guido? Where are you?

2016-11-21 Thread Bob Martin
in 767657 20161121 041134 Thomas 'PointedEars' Lahn wrote: >Tristan B. Kildaire wrote: > >> Is Guido active on this newsgroup. > >That is not even a question. > >> Sorry for the off-topic ness. > >There is no excuse for (such) stupidity. Stop posting then. > >

new python package: financial_life

2016-11-22 Thread Martin Pyka
more realistic scenarios - extend the code by controller functions (e.g. for modeling tax payments) I wrote it to analyse my own financial plans. Maybe, this package is also helpful for some of you. Best, Martin -- https://mail.python.org/mailman/listinfo/python-list

Re: UTF-8 Encoding Error

2016-12-24 Thread Grady Martin
On 2016年12月22日 22時38分, subhabangal...@gmail.com wrote: I am getting the error: UnicodeDecodeError: 'utf8' codec can't decode byte 0x96 in position 15: invalid start byte The following is a reflex of mine, whenever I encounter Python 2 Unicode errors: import sys reload(sys) sys.setdefaultencod

Adding colormaps?

2017-01-18 Thread Martin Schöön
repo. /Martin -- https://mail.python.org/mailman/listinfo/python-list

Re: Adding colormaps?

2017-01-21 Thread Martin Schöön
Den 2017-01-21 skrev Gilmeh Serda : > On Wed, 18 Jan 2017 21:41:34 +0000, Martin Schöön wrote: > >> What I would like to do is to add the perceptually uniform sequential >> colormaps introduced in version 1.5.something. I would like to do this >> without breaking m

Re: Adding colormaps?

2017-01-23 Thread Martin Schöön
#x27;t find any of those new colormaps. /Martin -- https://mail.python.org/mailman/listinfo/python-list

Re: How coding in Python is bad for you

2017-01-23 Thread Bob Martin
in 770207 20170124 005601 Chris Angelico wrote: >REXX has even less structure than Python - it doesn't even have >functions, just labels, so you can actually have two functions that >share a common tail. And yes, you can abuse that horrendously to >create unreadable code. Is REXX a bad language b

Re: How coding in Python is bad for you

2017-01-24 Thread Bob Martin
in 770220 20170124 070853 Chris Angelico wrote: >On Tue, Jan 24, 2017 at 6:00 PM, Bob Martin wrote: >> in 770207 20170124 005601 Chris Angelico wrote: >> >>>REXX has even less structure than Python - it doesn't even have >>>functions, just labels, so yo

Re: RE: What are your opinions on .NET Core vs Python?

2017-01-30 Thread Bob Martin
in 770457 20170131 011814 "Joseph L. Casale" wrote: >> C# hardly seems any better than Java to me as far as a language goes. > >Which sounds pretty good to me, they are both high performance, mature >and rich languages. > >> Being forced into working with classes even when they are not >> appropri

Re: Issue with python365.chm on window 7

2018-04-23 Thread Bob Martin
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 go to. > >But I downloaded .chm versio

Re: Meaning of abbreviated terms

2018-05-10 Thread Bob Martin
in 793605 20180511 044309 T Berger wrote: >On Saturday, May 5, 2018 at 6:45:46 PM UTC-4, MRAB wrote: >> On 2018-05-05 17:57, T Berger wrote: >> > What does the "p" in "plist" stand for? >> > Is there a python glossary that spells out the meanings of abbreviated >> > terms? >> > >> "plist" is "pro

Re: Meaning of abbreviated terms

2018-05-11 Thread Bob Martin
in 793617 20180511 072806 Steven D'Aprano wrote: >On Fri, 11 May 2018 07:20:36 +0000, Bob Martin wrote: > >> in 793605 20180511 044309 T Berger wrote: >>>On Saturday, May 5, 2018 at 6:45:46 PM UTC-4, MRAB wrote: >>>> On 2018-05-05 17:57, T Berger wrote: >

Re: Guido van Rossum resigns as Python leader

2018-07-13 Thread Bob Martin
in 796624 20180714 064331 Gregory Ewing wrote: >Larry Martell wrote: >> And while we're talking about the Dutch, why is the country called >> Holland, but then also The Netherlands, but the people are Dutch? > >And Germany is called Deutchland? The real question is why do English speakers refer t

Fumbling with emacs + elpy + flake8

2018-09-13 Thread Martin Schöön
appreciated. /Martin PS Debian on both computers. -- https://mail.python.org/mailman/listinfo/python-list

Re: Fumbling with emacs + elpy + flake8

2018-09-15 Thread Martin Schöön
Den 2018-09-13 skrev Brian Oney : > Hi Martin, > > I have messed around alot with the myriad emacs configurations out > there. I found spacemacs and threw out my crappy but beloved .emacs > config. I have looked back, but will stay put. http://spacemacs.org/ > Thanks Brian bu

Re: Fumbling with emacs + elpy + flake8

2018-09-15 Thread Martin Schöön
flake8 > Toni, your advice did not work out-of-the-box but it put me on the right track. When I revert to installing flake8 from Debian's repo it works. Strange as I have not done it like that on my primary computer. Both Debian installations but a generation apart. Case close

Re: Program to find Primes of the form prime(n+2) * prime(n+1) - prime(n) +- 1.

2018-10-02 Thread Martin Musatov
I am drafting a sequence for OEIS. I was told Python was most accesible for beginners. On Tue, Oct 2, 2018, 4:48 PM Bob Gailer wrote: > On Oct 2, 2018 4:59 PM, "Musatov" wrote: > > > > Primes of the form prime(n+2) * prime(n+1) - prime(n) +- 1. > > DATA > > > > 31, 71, 73, 137, 211, 3

Pyscripter Issues

2016-03-31 Thread Simon Martin
Hi I have been having issues trying to run python 3.5.1 and pyscripter 2.6. Giving the error message that it cannot initialize python. I have tried to re-install multiple versions of both python and pyscripter to no avail. Any advice? Thanks Simon Sent from Mail for Windows 10 -- https://m

<    1   2   3   4   5   6   7   8   9   10   >