Re: A smallish Tkinter question

2005-04-21 Thread Martin Franklin
ook at the after method of the Tk widget also google for Tkinter clock examples should get results Cheers, Martin. -- http://mail.python.org/mailman/listinfo/python-list

Re: How to prevent Tkinter frame resize?

2005-04-22 Thread Martin Franklin
if ev.height > h: cfg['height'] = h if ev.width > w: cfg['width'] = w if cfg: self.config(**cfg) this has no effect return "break" This may do what you want. Cheers Martin -- http://mail.python.org/mailman/listinfo/python-list

Re: tkinter text width

2005-04-26 Thread Martin Franklin
he option to do this when you create the instance of the text widget:- text = Text(root, wrap = "word") # word, char or none text.pack() Cheers Martin -- http://mail.python.org/mailman/listinfo/python-list

Re: Oh look, another language (ceylon)

2013-11-20 Thread Bob Martin
in 710625 20131119 091055 wxjmfa...@gmail.com wrote: >Le lundi 18 novembre 2013 14:31:33 UTC+1, Steven D'Aprano a =E9crit=A0: >> >> >> ... choose one of the three bad choices: ... >> >> >> >> * choose UTF-16 or UTF-8, and have O(n) primitive string operations (like= >=20 >> >> Haskell and, appar

wiimote IR tracking in python

2013-12-01 Thread martin koh
Hi all..may i know how to do the IR tracking by using wiimote? i did tried the source code from (http://ph-elec.com/archives/simple-python-wii-mote-test/) using command prompt but i can't compile successfully, i think is because i don't have any idea how to import the cwiid module. Can anyone p

Re: GUI:-please answer want to learn GUI programming in python , how should i proceed.

2013-12-20 Thread Martin Schöön
es to robustness :-) Now, let's leave this behind and spend time on Python -- something I with a formal programming education dating back to 1980 and F77 find fascinating. /Martin -- https://mail.python.org/mailman/listinfo/python-list

Re: GUI:-please answer want to learn GUI programming in python , how should i proceed.

2013-12-21 Thread Martin Schöön
Den 2013-12-20 skrev Mark Lawrence : > On 20/12/2013 17:52, Martin Schöön wrote: >> >> Coming from many years of SUN Solaris experience I may be a bit >> spoiled when it comes to robustness :-) >> > > You never had the pleasure of working on VMS then? :) >

Re: Time zones and why they change so damned often

2014-01-09 Thread Bob Martin
in 714232 20140109 120741 Alister wrote: >On Thu, 09 Jan 2014 07:17:25 +, Mark Lawrence wrote: > >> On 09/01/2014 04:14, Chris Angelico wrote: >>> On Thu, Jan 9, 2014 at 2:54 PM, Ben Finney >>> wrote: I'm approaching it with the goal of knowing better what I'm talking about when I a

Re: Time zones and why they change so damned often

2014-01-10 Thread Bob Martin
in 714281 20140110 090409 Alister wrote: >On Fri, 10 Jan 2014 07:31:11 +, Bob Martin wrote: > >> in 714232 20140109 120741 Alister wrote: >>>On Thu, 09 Jan 2014 07:17:25 +, Mark Lawrence wrote: >>> >>>> On 09/01/2014 04:14, Chris Angelico wrote:

Re: Code review?

2014-01-13 Thread Bob Martin
in 714500 20140113 233415 Chris Angelico wrote: >On Tue, Jan 14, 2014 at 7:43 AM, Steven D'Aprano wrote: >> On Tue, 14 Jan 2014 03:40:25 +1100, Chris Angelico wrote: >> >>> Incidentally, is there a reason you're using Python 2.6? You should be >>> able to upgrade at least to 2.7, and Flask ought

SiafOO?

2014-01-26 Thread Martin Schöön
Today I stumbled upon www.siafoo.net when looking for tutorials on reStructured Text today. It looks like it could be good place to hang out to pick up programming skills (I am not in the positions help others, yet), is it? /Martin -- https://mail.python.org/mailman/listinfo/python-list

[ANN] pyspread 0.2.6

2014-02-03 Thread Martin Manns
redo when there is nothing left to redo has undesired effects such as redoing an operation again. + Pyspread with wxPython 3.x instead of 2.8.x may be slow and buggy + On some (not all) Windows system lockup prevention does not work Enjoy Martin -- https://mail.python.org/mailman/listinfo

Post processing contour plot, how?

2016-01-14 Thread Martin Schöön
know how to do this? I have found one very manually involved way starting with saving the figure in svg format and the open that file in a text editor. /Martin -- https://mail.python.org/mailman/listinfo/python-list

Re: Post processing contour plot, how?

2016-01-16 Thread Martin Schöön
r algorithm. (I think) /Martin -- https://mail.python.org/mailman/listinfo/python-list

Copying void * string to

2016-02-10 Thread Martin Phillips
problem is with the line that sets the result variable. I need this to make a copy of the dynamically allocated string, not the pointer to it. Thanks in advance. Martin -- https://mail.python.org/mailman/listinfo/python-list

Re: working

2016-02-13 Thread Bob Martin
in 753638 20160212 185728 sohcahto...@gmail.com wrote: >On Friday, February 12, 2016 at 1:47:24 AM UTC-8, Mohammed Zakria wrote: >> hello >> i want to know the company that ican work as freelance python devloper > >There are some recruiters that read this mailing list and will send >unsolicited e-

Newbie suggestion: nice tutorial

2014-10-26 Thread Martin S
cancelled... So it was back to the internet - and this one seems pretty comprehensive and understandable: http://www.diveintopython3.net/ It doesn't cover the latest point version of Python (it's still Python 3), but I hope it doesn't matter much? Regards, Martin S -- https://

Re: Python Style Question

2014-10-29 Thread Martin Kemp
(json.loads(c)) except ValueError: pass else: values.add(c_int) > continue else: values.add(c_int) continue === > > Thanks, Anton. > > Your first example is perfectly fine and is EAFP Personally, I prefer to avoid nesting when it's not necessary. -

Re: Python Style Question

2014-10-29 Thread Martin Kemp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 29/10/2014 12:01, Rafael Romero Carmona wrote: > 2014-10-29 12:25 GMT+01:00 Martin Kemp : On > 29/10/2014 10:45, Anton wrote: >>>> Let's say I have an incoming list of values *l*. Every >>>> element of *l* can be

Re: Understanding "help" command description syntax - explanation needed

2014-11-07 Thread Bob Martin
in 730867 20141107 093651 c...@isbd.net wrote: >Darren Chen wrote: >> 在 >> 2014年11月5日星期三UTC+8下午8时17分11秒,larry@gmail.com写道: >> > On Wed, Nov 5, 2014 at 7:13 AM, Ivan Evstegneev >> > wrote: >> > > Firtst of all thanks for reply. >> > > >> > >>>brackets [] means

[ANN] pyspread 0.4

2014-12-15 Thread Martin Manns
is released under the GPL v3. Project website: http://manns.github.com/pyspread/ Download page: https://pypi.python.org/pypi/pyspread Enjoy Martin -- https://mail.python.org/mailman/listinfo/python-list

Re: What killed Smalltalk could kill Python

2015-01-24 Thread Bob Martin
in 734904 20150123 225104 Tim Daneliuk wrote: >On 01/21/2015 05:55 PM, Chris Angelico wrote: >> On Thu, Jan 22, 2015 at 10:37 AM, Tim Daneliuk wrote: >>> I find these kinds of discussions sort of silly. Once there is a critical >>> mass of installed base, no language EVER dies. >> >> Not sure ab

Re: What killed Smalltalk could kill Python

2015-01-24 Thread Bob Martin
in 734937 20150124 081658 Chris Angelico wrote: >On Sat, Jan 24, 2015 at 7:09 PM, Bob Martin wrote: >> http://www.oorexx.org/ >> >> I use ooRexx every day, on Linux mostly, but also available on Windows. > >So the question really is: Why that, as opposed to some other

Re: What killed Smalltalk could kill Python

2015-01-24 Thread Bob Martin
in 734949 20150124 113420 Gene Heskett wrote: >On Saturday 24 January 2015 03:09:51 Bob Martin did opine >And Gene did reply: >> in 734904 20150123 225104 Tim Daneliuk wrote: >> >On 01/21/2015 05:55 PM, Chris Angelico wrote: >> >> On Thu, Jan 22, 2015 at 10:37 A

Re: better and user friendly IDE recommended?

2014-02-13 Thread Martin Schöön
e out there using Emacs + Python + Orgmode like this? I might to need ask some questions :-) /Martin -- https://mail.python.org/mailman/listinfo/python-list

Re: Python(x,y) interferes with earlier Numpy installation

2014-02-13 Thread Martin Schöön
n(x,y) or there may be interference. /Martin -- https://mail.python.org/mailman/listinfo/python-list

Re: better and user friendly IDE recommended?

2014-02-14 Thread Martin Schöön
Den 2014-02-14 skrev Rustom Mody : > On Friday, February 14, 2014 2:57:13 AM UTC+5:30, Martin Schöön wrote: >> Den 2013-09-17 skrev rusi >> > On Wednesday, September 11, 2013 7:44:04 PM UTC+5:30, >> > mnishpsyched wrote: >> > Just saw this >> &g

Re: Functional programming

2014-03-03 Thread Bob Martin
in 718085 20140302 231409 musicdenotat...@gmail.com wrote: >If Python is not a fnctional language, then which programming paradigmis dom= >inant?= Labels are always misleading. -- https://mail.python.org/mailman/listinfo/python-list

Re: better and user friendly IDE recommended?

2014-03-09 Thread Martin Schöön
Den 2014-02-14 skrev Martin Schöön : > Den 2014-02-14 skrev Rustom Mody : >> On Friday, February 14, 2014 2:57:13 AM UTC+5:30, Martin Schöön wrote: >>> Den 2013-09-17 skrev rusi >>> > On Wednesday, September 11, 2013 7:44:04 PM UTC+5:30, >>> > mnishpsy

calling Python script from another Python script (Windows, multiple installation problem)

2014-03-26 Thread Martin Landa
pointers! Martin [1] http://www.virtualenv.org/en/latest/ [2] https://bitbucket.org/vinay.sajip/pylauncher -- https://mail.python.org/mailman/listinfo/python-list

Re: calling Python script from another Python script (Windows, multiple installation problem)

2014-03-26 Thread Martin Landa
the current approach, which > > you are solving in parallel? not really, I am just searching for a better solution based on virtualenv or something similar... Thanks, Martin -- https://mail.python.org/mailman/listinfo/python-list

Re: calling Python script from another Python script (Windows, multiple installation problem)

2014-03-26 Thread Martin Landa
Dne středa, 26. března 2014 13:29:47 UTC+1 Martin Landa napsal(a): > not really, I am just searching for a better solution based on virtualenv or > something similar... particularly I am using something like if sys.platform == "win32": # get full pat

Re: calling Python script from another Python script (Windows, multiple installation problem)

2014-03-26 Thread Martin Landa
Dne středa, 26. března 2014 13:54:02 UTC+1 Chris Angelico napsal(a): > On Wed, Mar 26, 2014 at 11:49 PM, Martin Landa wrote: > > > # get full path including file extension for scripts > > > fcmd = get_real_command(args[0]) this function returns

Re: Interleaved vs. top-posting

2014-04-11 Thread Bob Martin
in 720726 20140411 134419 Tim Chase wrote: >On 2014-04-11 13:59, Chris Angelico wrote: >> I have seen plenty of cultures where people are unaware of the value >> of interleaved/bottom posting, but so far, not one where anyone has >> actually required it. Not one. > >The only time I've seen top-pos

Re: Reading OpenOffice spreadsheet in Python?

2014-05-20 Thread Martin Manns
ents and formatting via xlrd. If you use Excel cell functions or VBA then you would have to migrate your code to Python. Martin -- https://mail.python.org/mailman/listinfo/python-list

Re: Hello and sorry for disturbing !

2014-05-26 Thread Bob Martin
in 722639 20140526 144904 Mark Lawrence wrote: >On 26/05/2014 10:27, Radu Ioan Barbos wrote: >> Greetings from Romania,sorry for my english,i just wanted to ask you if >> i need any other software/program beside the one software from the next >> pagehttps://www.python.org/downloads/ >>

Re: Python 3 is killing Python

2014-05-31 Thread Bob Martin
in 722929 20140601 035727 Steve Hayes wrote: >No, it's a bit like flying in a Boeing 747 rather than a Concorde. The latyer >may be later and more technically advanced and flew faster, but no one uses or >supports it. Actually, the Concorde preceded the 747, and wasn't as "technically advanced",

Re: Python 3 is killing Python

2014-06-01 Thread Bob Martin
in 722944 20140601 124133 Steve Hayes wrote: >On Sun, 01 Jun 2014 07:01:46 BST, Bob Martin wrote: > >>in 722929 20140601 035727 Steve Hayes wrote: >> >>>No, it's a bit like flying in a Boeing 747 rather than a Concorde. The latyer >>>may be later and

Re: Basic Python Query

2013-08-21 Thread Bob Martin
in 704175 20130822 010625 Ned Batchelder wrote: >This is a multi-part message in MIME format. Please post in plain text, not HTML. -- http://mail.python.org/mailman/listinfo/python-list

Can I trust downloading Python?

2013-09-07 Thread Aaron Martin
Hi, I am thinking about getting a software but it requires python, so that brought up a few questions. Is it safe do download python, and does it come with spam or advertisements? If it doesn't then should I get the latest version? I mostly want to know if it is safe to download, because most of th

[ANN] pyspread 0.2.5

2013-09-23 Thread Martin Manns
structure. + Sometimes, pressing redo when there is nothing left to redo has undesired effects such as redoing an operation again. Enjoy Martin -- https://mail.python.org/mailman/listinfo/python-list

Re: Help me with Python please (picture)

2013-09-29 Thread Bob Martin
in 706312 20130928 175017 Joel Goldstick wrote: >--047d7bf0f67adc8dbc04e7746532 >Content-Type: text/plain; charset=UTF-8 > Please don't post HTML. -- https://mail.python.org/mailman/listinfo/python-list

Re: Slicing with negative strides

2013-11-03 Thread Martin Manns
On 29 Oct 2013 05:22:00 GMT Steven D'Aprano wrote: > Does anyone here use slices (or range/xrange) with negative strides > other than -1? I have used negative strides for comparing discrete sequences e. g. for turbulence analysis, and I hope that my code will still run in Python

Re: PSF news - BBC launches MicroBit

2015-03-16 Thread Bob Martin
in 737966 20150315 161218 MRAB wrote: >On 2015-03-15 07:26, Dave Farrance wrote: >> Mark Lawrence wrote: >> >>>http://pyfound.blogspot.co.uk/2015/03/bbc-launches-microbit.html may be >>>of interest to some of you. >> >> "Python is one of the three languages that work with the device." >> >> That'

Root logger sanity

2015-03-19 Thread martin . spamer
The following code is challenging my sanity, in my understanding of the documentation this should pass, given that getLogger is supposed to return the root logger and the root logger should be called 'root'. https://docs.python.org/2/library/logging.html#logger-objects What am I missing? f

[ANN] pyspread 0.4.3

2015-06-01 Thread Martin Manns
. Pyspread is free software. It is released under the GPL v3. Project website: https://manns.github.io/pyspread/ Download page: https://pypi.python.org/pypi/pyspread Source code: https://github.com/manns/pyspread Enjoy Martin -- https://mail.python.org/mailman/listinfo/python-list

Next CodinGame online programming contest on June, 27 - Python available

2015-06-24 Thread Maria Martin
Hi everyone! On June 27th, "Code of the Rings", an online coding battle will launch. It's Free & open to all. You will have 24 hours to code and optimize your solution to a puzzle. What will be exciting and fun is that it will be VERY EASY to start and to get something that works, but comple

bottle app "crashes"

2015-07-06 Thread Martin S
to an idiot proof instruction on how to deploy a simple bottle application to a live server. /Martin S -- https://mail.python.org/mailman/listinfo/python-list

Re: bottle app "crashes"

2015-07-08 Thread Martin S
d by the application). > > Similar to other answers here, I do not know why your application > stops serving, but I have had success using waitress > (https://pypi.python.org/pypi/waitress) with bottle > (http://bottlepy.org/docs/dev/deployment.html#switching-the-server-backend).

Interactive, test-driven coding challenges (algorithms and data structures)

2015-07-13 Thread donne . martin
Repo: https://github.com/donnemartin/interactive-coding-challenges Shortlink: https://bit.ly/git-code Hi Everyone, I created a number of interactive, test-driven coding challenges. I will continue to add to the repo on a regular basis. I'm hoping you find it useful as a fun, hands-on way to l

how to

2015-07-29 Thread Martin Spasov
Hello, i have been learning python for the past year and i did a few projects. Now i want to step up my game a bit and i want to build a real estate app . Its not going to be commercially released, its just for learning. My idea is the following, the app can have 2 types of users - brokers that

How to rearrange array using Python?

2015-07-30 Thread Martin Schöön
used a random number generator to create wishes... The real problem involves some 80 kids. There are some more differences but let us leave them out for now. TIA /Martin -- https://mail.python.org/mailman/listinfo/python-list

Re: How to rearrange array using Python?

2015-07-31 Thread Martin Schöön
be interesting. > Please trim your quotes to the relevant minimum. > Indeed. /Martin -- https://mail.python.org/mailman/listinfo/python-list

Re: How to rearrange array using Python?

2015-07-31 Thread Martin Schöön
Den 2015-07-31 skrev Robin Koch : > Am 30.07.2015 um 22:31 schrieb Martin Schöön: > >> Scores to the right show how many wishes are fulfilled in each room > > Is it possible the is a mistake in the sum column on the third row? > Should the be a 1? Indeed. > >> The g

Re: How to rearrange array using Python?

2015-08-17 Thread Martin Schöön
Den 2015-07-31 skrev Martin Schöön : > Den 2015-07-31 skrev Thomas 'PointedEars' Lahn : >> Mark Lawrence wrote: >>> >>> I'm not absolutely certain but I think you're into what's known as a >>> constraint satisfaction problem, in which

Re: OFF-TOPIC Ben's sig monster quote [was Re: Parametrized Unit Tests]

2015-08-28 Thread Martin Skjöldebrand
On Fri, 2015-08-28 at 06:35 +, Nick Sarbicki wrote: > Well who would we fight if we were all friends with each other? That's what Paintball is for. /Martin S -- This address is for technical mail lists only.For all other matters, please use my main addressat the .org domain. -

Re: Strange location for a comma

2015-09-03 Thread Martin Komoň
In this case those are not tuples but rather arguments in a function call. The extra comma does not change the evaluation, my guess is that it is there for easier adding/removing arguments without having to care about trailing commas. Martin On 03/09/15 14:28, ast wrote: > > "ast&quo

Re: How to rearrange array using Python?

2015-10-20 Thread Martin Schöön
extreme so it is very easy for a human to place these nine persons in the three three-bed rooms such that all wishes are fulfilled. Python-constraint set up by me finds 27 solutions of which most place more than three persons in at least one room. Anyone into CSP willing to offer me a hint? /Martin

Re: How to rearrange array using Python?

2015-10-21 Thread Martin Schöön
return all(count <= ROOM_SIZE[room] > for room, count in counter.items()) > > problem.addConstraint(room_size_constraint) Bingo! Just what I needed but didn't know where to look for. Now I 'only' have to read https://docs.python.org/dev/library/collections.html#c

Re: OT: This Swift thing

2014-06-17 Thread Bob Martin
in 723903 20140617 121638 alister wrote: >On Tue, 17 Jun 2014 08:34:13 +1000, Chris Angelico wrote: > >> >> Partly that. But also, people want to know how long that will *really* >> last. For instance, 10 hours of battery life... doing what? Can I really >> hop on a plane for ten hours and write c

Newbie coding question

2014-06-26 Thread Martin S
e: hi Traceback (most recent call last): File "", line 1, in person = input('Enter your name: ') File "", line 1, in NameError: name 'hi' is not defined >>> I have no idea what I am doing wrong with this - it look correct to me. I'm

Re: Newbie coding question

2014-06-26 Thread Martin S
Ah, that was actually correct. Thanks ... /Martin S 2014-06-26 20:58 GMT+02:00 alister : > On Thu, 26 Jun 2014 20:53:35 +0200, Martin S wrote: > > > Hi, > > > > I've been following the tutorial here > > http://anh.cs.luc.edu/python/hands-on/3.1/handsonHtml/

Newbie coding question - format error

2014-06-29 Thread Martin S
/y,x%y) print(equations2) And obviously this works. But the question is: if I want to keep the results of {2} and {3} between the first instance (formatStr) and the second (formatStr2) how would I go about it? Apprently using {4} and {5} instead results in a index sequence error as in In

Re: Newbie coding question - format error

2014-06-29 Thread Martin S
Thanks for the input. The main thing was that On 29 Jun 2014, Terry Reedy wrote: >On 6/29/2014 3:06 AM, Martin S wrote: > >A couple of additional notes: > >> x=int(input('Enter an integer ')) >> y=int(input('Enter another integer ')) >> z

Re: Newbie coding question - format error

2014-06-29 Thread Martin S
Thanks for the input. The main thing was that the replacement fields were only valid for their local environment. /martin On 29 Jun 2014, Terry Reedy wrote: >On 6/29/2014 3:06 AM, Martin S wrote: > >A couple of additional notes: > >> x=int(input('Enter an integer &#

[ANN] pyspread 0.3.0

2014-07-09 Thread Martin Manns
not work Martin -- https://mail.python.org/mailman/listinfo/python-list

[ANN] pyspread 0.3.1

2014-07-12 Thread Martin Manns
+ Bugfix + Updated German localization + Updated Ukrainian localization Enjoy Martin -- https://mail.python.org/mailman/listinfo/python-list

Newbie: unexpected indenting error

2014-07-13 Thread Martin S
diff >=500: for [do stuff] elif rdiff >=410: for ... <== unexpected indent [do other stuff] What the...? What am I doing wrong? (hopefully the indents translate; else def, if/elif, for and [dostuff] are indented) /Martin S --

Re: Newbie: unexpected indenting error

2014-07-13 Thread Martin S
Thanks, the problem was apparently a mix of way to indent the code. It's confused the H out of the editor. Using standard indentation solved the error. 2014-07-13 9:28 GMT+02:00 Gary Herron : > On 07/13/2014 12:01 AM, Martin S wrote: >> >> While coding a rating calculator I

Re: Python 3 is killing Python

2014-07-14 Thread Martin S
Yes, we all know that Abu Ghraib, Guantanamo, school shootings and the lack of proper health care for all are the pinnacle of US culture. Or figments of the imagination of Baghdad Bob. Now, maybe return to Python? /martin On 15 Jul 2014, Rick Johnson wrote: >On Monday, July 14, 2014 9

Thanks for the help

2014-07-16 Thread Martin S
y CLI based. The tutorial I was following doesn't cover GUI or error correction so that will naturally be the next steps in completing the thing. Anyway, thanks for explaining the confusing points so far. Regards, Martin S -- https://mail.python.org/mailman/listinfo/python-list

Two more newbie questions

2014-07-18 Thread Martin S
quot;asdf" instead of a rating (like 2014) pretty much kills the little tool horribly. Again, pointers to relevant info appreciated. Maybe I've already seen it but didn't really understand the content ... =/ Regards, Martin S -- https://mail.python.org/mailman/listinfo/python-list

Re: OT: usenet reader software

2014-07-18 Thread Martin S
Is there a point to still use Usenet? Last time I checked noise overwhelmed signal by a factor of something close to 542. (Just curiou) /martin s On 18 Jul 2014, memilanuk wrote: >On 07/18/2014 02:45 PM, Sturla Molden wrote: >> memilanuk wrote: >> >>> Used leafnode

Re: OT: usenet reader software

2014-07-19 Thread Martin S
>From what I've seen so far it's more like your limited standard mail filtering >tool. IIRC when I used Usenet much gnus on Emacs had much more powerful capabilities. /martin s On 20 Jul 2014, Mark Lawrence wrote: On 19/07/2014 23:38, Sturla Molden wrote: < c...@isb

Re: OT: usenet reader software

2014-07-19 Thread Martin S
>From what I've seen so far it's more like your limited standard mail filtering >tool. IIRC when I used Usenet much gnus on Emacs had much more powerful capabilities. /martin s On 20 Jul 2014, Mark Lawrence wrote: >On 19/07/2014 23:38, Sturla Molden wrote: >> w

stripping (from item in list)

2014-07-20 Thread Martin S
hile all records in the remaining list now are valid, all also still have "\n" at the end. What did I miss here? Regards, Martin S -- https://mail.python.org/mailman/listinfo/python-list

Re: stripping (from item in list)

2014-07-20 Thread Martin S
Craps should have guessed that was the problem. Must have misunderstood the examples. But thanks =) And yes, definately should be able to build a better parser ... I want it to work first. /Martin S 2014-07-20 11:57 GMT+02:00 Chris Angelico : > On Sun, Jul 20, 2014 at 7:40 PM, Martin S wr

Re: OT: usenet reader software

2014-07-20 Thread Martin S
I'm trying gnus again, and immediately see the beauty of it. Actually Usenet is fast and commercial free, and easier to secure from prying NSA etc al (?) so maybe it will receive a general revival eventually. /martin s On 21 Jul 2014, Paul Rudin wrote: >Sturla Molden writes: >

Re: PyWart(2.7.8) IDLE is more buggy than "Joe's apartment"!

2014-07-21 Thread Martin S
s bleed and/or >> eyes pop out. > > In the versions of IDLE that I have here (2.7.3 and 3.2.3), both > prevent me from repeating step #3 multiple times. Not on 2.7.6 and 3.4 on Linux Mint either -- Regards, Martin S -- https://mail.python.org/mailman/listinfo/python-list

Re: OT: usenet reader software

2014-07-22 Thread Martin S
Aye I found a couple of groups that are still active. Most of it seems to be a digital ghost town though. A bit sad, I was once actively involved in setting up the se. * hierarchy. /martin s On 22 Jul 2014, Anssi Saari wrote: >Marko Rauhamaa writes: > >> Martin S : >> &g

one to many (passing variables)

2014-07-24 Thread Martin S
this data is passed as needed? Or is it a symptom of bad code? (* it's too hot (30 C + all week, and also this: https://imagizer.imageshack.us/v2/415x311q90/673/a9d1a5.jpg) -- Regards, Martin S -- https://mail.python.org/mailman/listinfo/python-list

Re: one to many (passing variables)

2014-07-24 Thread Martin S
Function A collects data and then calls function B with some, but also has data that should be passed to function C. But ofc if nested functions are allowed then that might solve the issue. I don't think I've seen nested functions mentioned in a tutorial I've been looking at.

Thanks

2014-07-24 Thread Martin S
basic and sometimes confused questions =). A long time ago, I did " a lot" of PHP hacking, working on a helpdesk system. (hmm, looking at the old project site now shows it has been forked -so apparently we did something right at one point) Anyway - thanks all so far! /Martin S -- Regards,

Re: .Net Like Gui Builder for Python?

2014-07-26 Thread Martin S
e Lazarus project, which builds on Delphi - so there is a point in integrating gui building in the RAD. /martin On 26 Jul 2014, TP wrote: On Fri, Jul 25, 2014 at 7:40 PM, Chris Angelico wrote: The OP asked for two things, which I'll separate because they're actually quite different

Re: .Net Like Gui Builder for Python?

2014-07-26 Thread Martin S
e Lazarus project, which builds on Delphi - so there is a point in integrating gui building in the RAD. /martin On 26 Jul 2014, TP wrote: >On Fri, Jul 25, 2014 at 7:40 PM, Chris Angelico >wrote: > >> The OP asked for two things, which I'll separate because they're &g

Re: .Net Like Gui Builder for Python?

2014-07-26 Thread Martin S
. > And it gets people coding, adding to existing software and thinking about how to improve stuff (their own or others) in the future. Also if you look at any newbie programmer software, it's flawed. But it wouldn't hurt making it easier creating flawed software. Better than less so

complete brain fart, it doesn't loop

2014-07-27 Thread Martin S
if res == '1': verbalres='win' elif res== '=': verbalres='draw' else: verbalres='loss' return "Long line with games" counter=counter+1 -- Regards, Martin S -- https://mail.python.org/mailman/listinfo/python-list

Re: complete brain fart, it doesn't loop

2014-07-27 Thread Martin S
Ah, thanks. Explains it all :) /martin On 27 Jul 2014, Peter Otten <__pete...@web.de> wrote: >Chris Angelico wrote: > >> On Mon, Jul 28, 2014 at 3:53 AM, Martin S >wrote: >>> I have this snippet in my web application. Question is why doesn't >the >

Re: complete brain fart, it doesn't loop

2014-07-27 Thread Martin S
I'm using Bottle as suggested earlier. And yes, I'm collecting results from a html table passed to the server for processing. /martin On 27 Jul 2014, Chris Angelico wrote: >On Mon, Jul 28, 2014 at 4:07 AM, Peter Otten <__pete...@web.de> wrote: >> By the way, Python

Re: complete brain fart, it doesn't loop

2014-07-28 Thread Martin S
That's neat. I was only aware of the return version. Anyway, got it working now, simplifying the code in the process. So all was not lost. /Martin S 2014-07-28 9:09 GMT+02:00 Peter Otten <__pete...@web.de>: > Chris Angelico wrote: > >> On Mon, Jul 28, 2014 at 4:07

SQLAlchemy tutorial

2014-08-03 Thread Martin S
chemy tutorials I've been looking at all produce various errors when following them (and pretty early on). Anyone got a suggestion for SQLAlchemy and Python 3.4 they can recommend? /Martin S -- Regards, Martin S -- https://mail.python.org/mailman/listinfo/python-list

Re: Python Programing for the Absoulte Beginner

2014-08-03 Thread Bob Martin
in 726123 20140803 090919 Steven D'Aprano wrote: >Steve Hayes wrote: > >> I've got too big an investment in books on Python 2, and there are no >> books available on Python 3 (I don't regard downloadable PDFs or other >> onlines stuff as "books"). > >I love Python 3, it's way better than Python 2

Re: newbee

2014-08-13 Thread Bob Martin
in 726715 20140813 103037 Chris Angelico wrote: >On Wed, Aug 13, 2014 at 9:57 AM, Frank Scafidi wrote: >> I just acquired a Raspberry Pi and want to program in Python. I was a PL/1 >> programmer back in the 60's & 70's and Python is similar. I am struggling >> with some very fundamental things th

Re: For using python ability, what should I do???

2014-08-17 Thread Martin Skjöldebrand
Sent from Blue Mail On 18 Aug 2014 07:06, at 07:06, Jm Cho wrote:\n>Hello~ I'm Korean, and I register this groups just now. >Thesedays, I'm studying Python 3.x version. I like Python. >i read a book, python for kids a playful introduction to programming, >it is very easy but very effective

Re: 'is not' or '!='

2014-08-19 Thread Martin S
+ '@sd') is 'asd@sd' > False >>>> ('asd' + '@sd') == 'asd@sd' > True Now you have managed to confuse this newbie: What would a valid "is-example" look like? Regards, Martin S -- https://mail.python.org/mailman/listinfo/python-list

[ANN] pyspread 0.3.3

2014-09-06 Thread Martin Manns
Martin -- https://mail.python.org/mailman/listinfo/python-list

Re: Thread-ID - how much could be?

2014-09-13 Thread Martin Skjöldebrand
Unfortunately we will never know 😢 Sent from Blue Mail On 12 Sep 2014 07:43, at 07:43, Chris Angelico wrote: >On Fri, Sep 12, 2014 at 1:41 PM, Cameron Simpson wrote: >> On 12Sep2014 11:29, Steven D'Aprano > >> wrote: >>> >>> [...]maxint. I know that some Linux >>> systems can have an uptime o

Re: Accessing matplotlib-users discussion group?

2011-09-16 Thread Martin Schöön
year ago and had no problems whatsoever. Could it be some anti-robot filter that's gotten overly picky? /Martin -- http://mail.python.org/mailman/listinfo/python-list

Re: Python as a replacement to PL/SQL

2011-10-24 Thread Martin Komoň
PostgreSQL supports PL/SQL, PL/TCL, PL/Python, PL/Perl and I've also seen PL/Java add on module. Martin On 10/24/2011 4:59 PM, Alec Taylor wrote: > Hmm... > > What else is there besides PL/Python (for any DB) in the context of > writing stored procedures in function? &g

Re: Convert DDL to ORM

2011-10-24 Thread Martin Komoň
classes. Contact me off-list for more details. Martin On 10/24/2011 6:30 PM, Alec Taylor wrote: > Good morning, > > I'm often generating DDLs from EER->Logical diagrams using tools such > as PowerDesigner and Oracle Data Modeller. > > I've recently come across an OR

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