Re: Venus / GuthVenus for iPhone, Nexus, Droid and Android Jelly Bean

2014-03-17 Thread Thrinaxodon
as Google Chrome accepts touch-pad or screen touch zooming with even somewhat better results of automatic image resampling, so as to keeping the image context reasonably clear or in focus. However, a regular photographic editing app or software solution like PhotoShop is still going

Re: Venus / GuthVenus for iPhone, Nexus, Droid and Android Jelly Bean

2014-03-17 Thread Brad Guth
offering a composite of 36 confirming radar scans per pixel, that can always be 100% verified from scratch). Using Ctrl+,+,+ gets most older PCs and even the basic Apple notebooks to quickly zoom in, whereas iPhone, Android and MS-W8 as well as Google Chrome accepts touch-pad or screen

Re: A question on modification of a list via a function invocation

2017-09-07 Thread Rustom Mody
— is another Remove all models and you have frank hopeless circularity > > > This does require that we agree on "same object", which as you point out is > (in > its full generality) a difficult thing to define. More than difficult, impossible in the fully abs

Re: Suggestion for a "data" object syntax

2018-05-08 Thread Steven D'Aprano
, 4)) >> >> instead of wasting vertical space; > > Wasting space you say? You economize paper for printing out? No. I arrange code in the best way I see fit, depending on the code. Sometimes that means I put things on a single line, so as to fit more lines into a sin

Re: How to multiply dictionary values with other values based on the dictionary's key?

2018-08-19 Thread giannis . dafnomilis
On Sunday, August 19, 2018 at 3:53:39 AM UTC+2, Steven D'Aprano wrote: > > Unless you edit your code with Photoshop, why do you think a JPEG is a > good idea? > > That discriminates against the blind and visually impaired, who can use > screen-readers with text but can'

Re: Remote/Pair-Programming in-the-cloud

2019-08-05 Thread Chris Angelico
s. > Also, there are scenarios when both (of the pair) might be contributing > by 'coding' concurrently, eg one writing tests and the other code, or > one writing one class and the other a second. (but you can debate if > that is "pair-programming") No, that's not pair pro

[issue37903] IDLE Shell sidebar.

2019-11-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: This feature may be fine or it may not. I haven't been able to apply the PR and get a working Python 3.9 with Tkinter support, nor have I seen the requested additional screen shots. Ideally, major changes in appearance or functionality should have

Re: Application window geometry specifier

2021-01-12 Thread Chris Angelico
eometry. Period. > > > > > > I have a very strong argument against it!! > > > > > > Imagine you are developing an application that need to communicate > > > with the database. > > > Also imagine this application will be used by millions of user

Re: Basic inheritance question

2008-01-16 Thread Bruno Desthuilliers
and this in VB and Java. Depends on the context, cf above !-) Most other languages 1) automatically assign the containing class' object s/containing class' object/current instance/ in a keyword (Java: this, VB: Me) behind the screen, That's not very far from what a Python method object does

The limitation of the Photon Hypothesis

2004-12-22 Thread bill
by them. It is therefore found to be untenable. Key words: uncertainty principle; Heisenberg's Gamma-Ray Microscope Experiment; thought experiment The History Of The Uncertainty Principle If one wants to be clear about what is meant by position of an object, for example of an electron

The limitation of the Photon Hypothesis

2005-01-07 Thread bill
that the uncertainty principle cannot be demonstrated by them. It is therefore found to be untenable. Key words: uncertainty principle; Heisenberg's Gamma-Ray Microscope Experiment; thought experiment The History Of The Uncertainty Principle If one wants to be clear about what is meant by position

Re: Opinions on KYLIX 3 (Delphi 4 Linux)

2005-07-29 Thread Adriaan Renting
that the whole GUI building approach of Delphi/Kylix (or other similar tools) is much chop. It encourages one, for instance, to just place elements on the screen in fixed positions that make no allowance for differing fonts, screen resolutions, etc. Java (my experience is with JBuilder) is much

Re: Basic inheritance question

2008-01-16 Thread Lie
and that makes it functionally the same as Me and this in VB and Java. Most other languages 1) automatically assign the containing class' object s/containing class' object/current instance/ in a keyword (Java: this, VB: Me) behind the screen, That's not very far from what a Python method

Re: Question on multiple Python users in one application

2016-10-06 Thread Loren Wilton
No idea as it's still not clear what you want to accomplish exactly. You are providing a lot of details, just not concrete ones that show how things are currently done and how you want to change that by adding Python to the mix. Hum, this could take a lot of pages of text to describe how

[issue35196] IDLE text squeezer is too aggressive and is slow

2018-11-09 Thread Raymond Hettinger
n logs several times per day. The slow printing makes students think that Python is slow, so I switch to the command-line to show that the output can be almost instant. The tooltips sometimes show the print() function tooltip no matter what is being editted and it persists on the screen as

Friday Finking: 'main-lines' are best kept short

2019-09-12 Thread DL Neil via Python-list
page-break where it suited us!). Then when we moved to time-share screens (80 characters by 24 lines), we thought that a good module-length should conform to screen-size. These days I have a large screen mounted in 'portrait mode', so on that basis I'm probably back to 50~60 lines (yes, these old eyes

Re: What variable type is returned from Open()?

2020-04-15 Thread DL Neil via Python-list
trongly-typed languages) is/are not the be-all-and-end-all, nor does it offer a 'silver bullet'! Before anyone asks: when I use "sentence_lengthPX" it produces howls of complaint from certain ('pythonic') colleagues - notice though, that its purpose is clear! My opinion/coding-habit

Re: Helping Windows first time users

2020-04-16 Thread Barry Scott
ways to operate successfully > and would only really be able to suggest what works for me. But I do feel > moved to offer my thoughts. > > The real solution is to more closely define the target audience plus the > Python precise skill attainment desired. > > Carefully describe

Re: Single line if statement with a continue

2022-12-17 Thread Thomas Passin
deprecated, ... That's not the point of using some consistent style. IMO, source code should be clear, compact, and easy for someone else to understand. That someone might be you six months from now. These objectives do not always align. Consistency helps reduce mental effort by using c

Re: Basic inheritance question

2008-01-20 Thread Lie
/Java programmer would frown upon the extra, unneeded garbage as they thought it was clear already that the variable refers to a class-level variable. C programmers surely have no opinion concerning C because it has no native classes. C-family, ok? Please stop taking my words to its letters

Re: Basic inheritance question

2008-01-21 Thread Bruno Desthuilliers
. A proficient VB/C/Java programmer would frown upon the extra, unneeded garbage as they thought it was clear already that the variable refers to a class-level variable. C programmers surely have no opinion concerning C because it has no native classes. C-family, ok? Well... I'm not sure what C

Re: Another Sets Problem

2009-12-29 Thread Steve Holden
'%s/option % (itm, itm) However, when I try that in my current script, the script fails. It throws no error, but rather just quits printing to the screen. Here's the code snippet: elif types[x][0:3] == 'set': for f in field: print 'td%s/td\n

Nested Looping SQL Querys

2006-09-20 Thread Fuzzydave
: return sql else: return '' The page code for the CGI file that genereates the tables #!/usr/bin/python # Creation Screen # MeDuSa - Marketing Data System # $Id: creation.cgi 54 2006-02-16 11:32:12Z [EMAIL PROTECTED] $ print 'Content-Type: text/html\n\n' import

[ python-Bugs-632323 ] Tkinter: BitmapImage vanishes if not stored in non-local var

2004-12-27 Thread SourceForge.net
. -- Comment By: L. Peter Deutsch (lpd) Date: 2002-12-07 16:57 Message: Logged In: YES user_id=8861 Sorry, my previous comment regarding garbage collection wasn't clear. Consider the following situation: object X refers to object Y

[ python-Bugs-632323 ] Tkinter: BitmapImage vanishes if not stored in non-local var

2005-01-27 Thread SourceForge.net
. Peter Deutsch (lpd) Date: 2002-12-07 11:57 Message: Logged In: YES user_id=8861 Sorry, my previous comment regarding garbage collection wasn't clear. Consider the following situation: object X refers to object Y and to an image, and object Y refers to object X. The image will not be freed until

[ python-Bugs-632323 ] Tkinter: BitmapImage vanishes if not stored in non-local var

2005-05-30 Thread SourceForge.net
regarding garbage collection wasn't clear. Consider the following situation: object X refers to object Y and to an image, and object Y refers to object X. The image will not be freed until the garbage collector frees objects X and Y. We worked through almost precisely this set of issues in Smalltalk

Re: OpenSource documentation problems

2005-09-02 Thread Paul Rubin
://www.gnu.org/software/emacs/manual/html_node/Bug-Criteria.html If after careful rereading of the manual you still do not understand what the command should do, that indicates a bug in the manual, which you should report. The manual's job is to make everything clear to people who

Re: MVC programming with python (newbie) - please help

2006-01-08 Thread has
? Because MVC is about creating a clear separation of concerns. Why? To help prevent program complexity spiralling out of control and burying you, the developer, under it. The bigger the program, the greater the number of components in that program. And the more connections exist between those

Re: MVC programming with python (newbie) - please help

2006-01-09 Thread has
? Because MVC is about creating a clear separation of concerns. Why? To help prevent program complexity spiralling out of control and burying you, the developer, under it. The bigger the program, the greater the number of components in that program. And the more connections exist between those

Re: MVC programming with python (newbie) - please help

2006-01-09 Thread has
? Because MVC is about creating a clear separation of concerns. Why? To help prevent program complexity spiralling out of control and burying you, the developer, under it. The bigger the program, the greater the number of components in that program. And the more connections exist between those

RE: [python-win32] NTService detecting if the Windows System is Idle

2005-06-13 Thread Hughes, Chad O
example is just a starting point. Do you fallow this? -Original Message- From: Fred Dixon [mailto:[EMAIL PROTECTED] Sent: Sunday, June 12, 2005 12:30 PM To: Hughes, Chad O Subject: Re: [python-win32] NTService detecting if the Windows System is Idle why not just run it when the screen

Re: cgitb performance issue

2008-05-14 Thread Ethan Furman
= [] filelist = [] if form: if form.has_key(name): clientname = form[name].value if form.has_key(email): clientemail = form[email].value if form.has_key(CSR): clientcsr = form[CSR].value csrs[frank]['html'] = '' # clear default

Re: read web page that requires javascript on client

2009-03-29 Thread lkcl
to include glib / gobject bindings, so that python can get at the DOM model, directly. you can use this to execute a web page - bear in mind that GTK apps do NOT have to be visible - you CAN run a GTK app WITHOUT actually putting up an on-screen GUI widget. in this way, you will be able to load

A curses-game I need help with.

2006-10-08 Thread Gasten
(), but the screen will refresh instantly. 'i' is standing for Interface or Instant message. if isinstance(msg, str): msg = [msg] # List'it! count = len(msg) for item in msg: if count 1: count -= 1 self.printMore

Re: Tkinter: The good, the bad, and the ugly!

2011-01-16 Thread rantingrick
will be lost to the user when this change happens! On the contrary, much will be gained. You're going to have the same basic capabilities as you have now in the stdlib with Tkinter HOWEVER, you can download all the feature rich goodies that only wx can offer. I'm not quite clear on what

Re: WxPython versus Tkinter.

2011-01-25 Thread Littlefield, Tyler
Wow! I, I, I, I... is there a sentence that doesn't talk about your self interests? It is clear you have been taking lessons from RR; the word I does not convey self interest, in fact, it is the best word suited to speaking of oppinions (which is all that these are), in the first person. Lets

Re: Critic my module

2013-07-27 Thread Devyn Collier Johnson
BASH. I seem to recall that BASH is an acronym, for Bourne Again SHell. I will be sure to create aliases. I make alias commands so that it is easier to guess or remember a command. For instance, a Python user my want to clear the shell's history, but can only remember one form of the command

Re: 10 sec poll - please reply!

2012-11-22 Thread Michael Herrmann
type(CTRL + 'a') type(Hello World!) One of the main goals of our automation product is that using it should feel like giving instructions to a human being looking over their shoulder at a screen. For this reason, it's very useful for us if the function names in our API are short

Re: 10 sec poll - please reply!

2012-11-23 Thread Michael Herrmann
to a human being looking over their shoulder at a screen. For this reason, it's very useful for us if the function names in our API are short, if possible without underscores, and close to the vocabulary you would use in an everyday conversation. We hope that by offering an API with this property

Re: Newbie question about text encoding

2015-02-26 Thread Rustom Mody
3.1 * Mahjong Tiles: Unicode 5.1 * Klingon: Not part of any current standard You should add emoticons, but not call them or the above 'gibberish'. Emoticons (or is it emoji) seems to have some (regional?) takeup?? Dunno… In any case I'd like to stay clear of political(izable) questions I

RE: How to install Python package from source on Windows

2017-05-30 Thread Deborah Swanson
2 do no get along well. I will be more > than happy to run any experiments and recreations you please > after I have Python 3.6 running well in Linux. But until then > I need to go on surviving with what I've got. > > I hope I am being perfectly clear now. But I certainly wasn't

wxPython 4.0.4

2019-01-07 Thread Robin Dunn
erroneously attempt to use long on Python3. (#898) * Include the MSVC runtime DLLs for Python 3.7 builds too. * Clear LIBPATH_PYEXT and LIB_PYEXT for linux builds too. (#904) * Added a dependency on the Pillow package since it's used in some wx.lib.agw modules. (PR #908) * Add flag to hide page

Re: Remote/Pair-Programming in-the-cloud

2019-08-05 Thread DL Neil
- Ran it - Went back to being 'me'/on the first m/c - reviewed the screen - and ran it (again) from there Identical! (will try a more realistic interchange, in due course) AWS Cloud9 appears to fulfil criteria to support our PUG Coding Evening (and as discussed during this thread): -

Re: Helping Windows first time users

2020-04-16 Thread Mike Dewhirst
ed to hide things from the user. Our new user might be very experienced in MS Office but knows nothing about the operating system. That means the installer needs to provide a desktop shortcut which delivers a pre-defined user experience and from which the user can emerge with clear understanding.

Re: How to limit *length* of PrettyPrinter

2020-07-23 Thread dn via Python-list
then make the list into a tuple or dictionary or whatever at the end? But how do I do that? > > It's not clear how I could handle /arbitrary/ objects... but let's start with the standard ones. This looks like fun! BTW why are we doing it: is it some sort of 'homework assignment' or ar

RE: Single line if statement with a continue

2022-12-17 Thread avi.e.gross
an be easier to read in one glance up to and including a bit murkier ones like var1 = (condition) ? 0 : 1 My view is that simple things that fit easily on a screen, and also held all at once in my mind, should be written fairly concisely. I do admit how much I can hold at once varies based on h

RE: Why doesn't Python (error msg) tell me WHAT the actual (arg) values are ?

2023-02-23 Thread avi.e.gross
then accidentally write code that contains: big_dic + forest_trees Would I like my error message consume all the paper in my city (or scroll my screen for a week) as it tells me a dict cannot be added to a forest and by the way, here is a repr of each of them showing the current (highly recursive

Re: Another Sets Problem

2009-12-29 Thread Victor Subervi
: [complete code snipped] TIA, beno Sorry, I don't intend to read all that code when the error you are reporting is in fact a clear demonstration that you need to further understand the principles of both Python and the web before you continue on your journey. Again, I know I'm really slow

Re: Another Sets Problem

2009-12-29 Thread Steve Holden
are reporting is in fact a clear demonstration that you need to further understand the principles of both Python and the web before you continue on your journey. Again, I know I'm really slow when it comes to this material. But I didn't start hacking (and it is hacking) Python

Re: WxPython versus Tkinter.

2011-01-25 Thread Octavian Rasnita
From: Littlefield, Tyler ty...@tysdomain.com Wow! I, I, I, I... is there a sentence that doesn't talk about your self interests? It is clear you have been taking lessons from RR; the word I does not convey self interest, in fact, it is the best word suited to speaking of oppinions (which

Re: WxPython versus Tkinter.

2011-01-26 Thread Octavian Rasnita
misunderstand me, thinking that I am angry, thinking that I want to force everyone to use a GUI lib, and I thought that my English may not be clear enough to make you understand what I want to say. But not supporting accessibility because the programmer *doesn't want this*, it is not a bug

Re: WxPython versus Tkinter.

2011-01-26 Thread Littlefield, Tyler
angry, thinking that I want to force everyone to use a GUI lib, and I thought that my English may not be clear enough to make you understand what I want to say. But not supporting accessibility because the programmer *doesn't want this*, it is not a bug, but discrimination. Don't you agree

Re: Are the critiques in "All the things I hate about Python" valid?

2018-02-17 Thread Chris Angelico
ot;must be between 11 and 15002, and must equal 1, modulo 2, and must equal 0, modulo 17". I'm not sure how often it would be of value, though, and it's pretty ugly. > Even if you can come up with unique, concise names for these types that > won't overwhelm the reader, it isn't clear

Re: Basic inheritance question

2008-01-21 Thread Lie
the containing class' object s/containing class' object/current instance/ in a keyword (Java: this, VB: Me) behind the screen, That's not very far from what a Python method object does - automatically assign the current instance to something. The difference is that Python uses functions

oldschool texter GUI with python, char repeating is not working great !

2019-01-17 Thread athanasios . kourpetis
.config(text = lineList[-1]) file = open("sensor_4.txt", 'r') #txt = file.read() lineList = file.readlines() file.close() top.Label5.config(text = lineList[-1]) file = open("compass.txt", 'r') #txt = file.read()

Re: Beazley 4E P.E.R, Page29: Unicode

2013-07-14 Thread Steven D'Aprano
accidentally stumbling across the basic facts right. No wonder it is confusing you, it confuses me too! :-) Encoding does not generate a character string, it generates bytes. So the person you are quoting is causing confusion when he talks about an encoded string, he should either make it clear he means

Re: retrieve / find out an image's dimensions

2007-06-16 Thread jigloo
is to return the screen size GIF_BEHAVIOR = 0 # def gifsize(stream): if GIF_BEHAVIOR 2: return (GIF, 0, 0, Out-of-range value for GIF_BEHAVIOR: %d % GIF_BEHAVIOR) # Skip over the identifying string, since we already know this is a GIF type = stream.read(6

Re: Behavior of the for-else construct

2022-03-04 Thread Avi Gross via Python-list
d changes are often counterbalanced by expecting to do more. A web page served may display a screen of text but to transmit it may include not just lots of padding in the HTML, but have all kinds of code such as in Java or JavaScript or lots of back and forth with the server to keep something li

Re: Behavior of the for-else construct

2022-03-04 Thread Om Joshi
> ignoring it for a decade or so. Everything seems to be coming up faster. My > view was that if something seems ten times as fast as it was, it also > probably is doing a hundred or ten thousand times as much to get that > result. The real speed changes are often cou

Re: Behavior of the for-else construct

2022-03-04 Thread Avi Gross via Python-list
Everything seems to be coming up faster. My > view was that if something seems ten times as fast as it was, it also > probably is doing a hundred or ten thousand times as much to get that > result.  The real speed changes are often counterbalanced by expecting to do > more. A web p

Re: Multi-dimensional list initialization

2012-11-07 Thread Andrew Robinson
) deleting 3) resizing Number (3) is the only non-redundant behavior the function provides. There is, perhaps, a very clear reason that I haven't discovered why the extra functionality in list multiplication would be bad; That reason is *not* because list multiplication is unable to solve all

[issue21884] turtle regression of issue #21823: uncaught exception on AMD64 Snow Leop 3.x buildbot

2014-06-30 Thread STINNER Victor
/buildbot/buildarea/3.x.murray-snowleopard/build/Lib/turtle.py, line 1024 in clear File /Users/buildbot/buildarea/3.x.murray-snowleopard/build/Lib/turtle.py, line 995 in __init__ File /Users/buildbot/buildarea/3.x.murray-snowleopard/build/Lib/turtle.py, line 3689 in __init__ File /Users

Code review

2014-11-04 Thread C Smith
[reallyreally,reallywinners] else: return [reallywinners] ## def turnscreen(listplayrs): os.system('cls' if os.name=='nt' else 'clear') raw_input(Turn the screen to %s and hit enter % listplayrs[0]) os.system('cls

Old Paranoia Game in Python

2005-01-10 Thread Sean P.Kane
(you saw a special about it on the Teela O\'Malley show), while the rest tear off your clothes and force you into the Ultraviolet uniform. The moment you are dressed they step clear and stand at attention. \Thank you for your cooperation, sir,\ says the steely eyed leader of the Vulture Squad

<    1   2   3   4   5