Re: Initial nose experience

2012-07-15 Thread python
er years of using unittest, what would you say are the pros and cons of nose? Thank you, Malcolm -- http://mail.python.org/mailman/listinfo/python-list

Re: Python and Outlook, sendinf an image in the body of email

2012-07-23 Thread python
> Problem is, this line is not understood: > > mail.BodyFormat = OlBodyFormat.olFormatHTML Try olBodyFormat (lower case 'o') Malcolm -- http://mail.python.org/mailman/listinfo/python-list

Re: Regex Question

2012-08-18 Thread python
Steven, Well done!!! Regards, Malcolm -- http://mail.python.org/mailman/listinfo/python-list

Re: Top-posting &c. (was Re: [ANNC] pybotwar-0.8)

2012-08-19 Thread python
gspot.in/2009/07/hard-drive-weight-increasing.html -- http://mail.python.org/mailman/listinfo/python-list

Re: VPS For Python

2012-08-26 Thread python
> I will really appreciate if someone type the address of any of the following > for use with python > 1>Webhost > 2>Shell Account > 3>VPS Check out webfaction.com - they provide great support for Python. Malcolm -- http://mail.python.org/mailman/listinfo/python-list

Re: [Python-Dev] [RELEASED] Python 3.3.0

2012-09-29 Thread python
> Agreed - this is a really nice release, thanks to all who put it together. +1 Thank you! Malcolm -- http://mail.python.org/mailman/listinfo/python-list

clicking on turtle

2012-11-06 Thread python
I have a problem with the standard "turtle" module. When a turtle has a custom shape of type "compound", it doesn't seem to respond to click events. No problem with polygon shapes. Running python 3.2.3, turtle version 1.1b on Windows

Re: speaking at PyCon

2012-01-30 Thread python
Years ago I did a presentation on Python and then launched a browser to give a tour of the Python website. When I went to enter the URL, I accidentally typed in python.com (which at the time was an adult website) vs. python.org. Talk about getting your audience's attention!! Malcolm BTW: Gr

Re: Comments wanted: Proposed change to install layout

2012-03-24 Thread python
Van, > ... harmonize the install layout for Python between platforms. > 1) the 'Scripts' directory would change to 'bin'; > 2) python.exe would move to the 'bin' directory; and > 3) the installer for Windows would get the optional ability to add this di

Re: Python-URL! - weekly Python news and links (Mar 31)

2012-04-02 Thread python
Thanks for all your hard work - I learned a lot by visiting the links you guys gathered over the years. Best regards, Malcolm -- http://mail.python.org/mailman/listinfo/python-list

Is there a better way to do this snippet?

2012-04-03 Thread python
ilman/listinfo/python-list

Re: Python and Tkinter by John E Grayson

2012-05-17 Thread python
> Mark Lutz' "Programming Python" has extensive coverage of Tkinter (it's a huge book and devotes several chapters to Tkinter), and has been updated at regular intervals, most recently in the last year or two; I've found it a very helpful reference and guide to

Re: Python and Tkinter by John E Grayson

2012-05-20 Thread python
er/ttk is bundled with Python meaning distribution is almost painless. 2. Tkinter/ttk are very light weight in terms of the size they add to a distribution. Malcolm -- http://mail.python.org/mailman/listinfo/python-list

DIR reports file timestamp and size, but os.path.getctime(), os.path.getsize() raise WindowsError [Error 5] Access is denied

2012-05-21 Thread python
tamps and file sizes for the above files. Background; 64-bit Windows 7; 32-bit Python 2.7.2 Any ideas on how I can retrieve timestamps and file sizes like DIR without raising exceptions? Thank you, Malcolm -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Card alternatives?

2011-06-11 Thread python
Luis, Not the OP, but thank you for passing on the CoffeeScript recommendation - looks very interesting!! http://jashkenas.github.com/coffee-script/ Regards, Malcolm -- http://mail.python.org/mailman/listinfo/python-list

SQL Server 2008R2 databases via Python 2.7 and Windows XP and higher

2011-06-17 Thread python
Looking for some real-world advice on what is the best way to access MS SQL Server 2008R2 databases via Python 2.7 running under Windows XP, Vista, and Windows 7 and Windows Server 2005 and 2008. Based on my research, here's my list of choices: mxODBC [1]http://www.egenix.com/products/p

Python 2.7.2 for Windows reports version as 2.7.0?

2011-06-17 Thread python
Just installed the 32-bit version Python 2.7.2 for Windows via the python-2.7.2.msi download. When I start Python via python.exe or Idle, the version info is reported as 2.7.0 vs. 2.7.2. Python 2.7 (r27:82525, Jul 4 2010, 09:01:59) [MSC v.1500 32 bit (Intel)] on win 32 Type "help",

Re: Python 2.7.2 for Windows reports version as 2.7.0?

2011-06-17 Thread python
Hi Benjamin, > The file info is seems correct but I just checked the MSI and it's reporting that it's 2.7.2. How exactly are you running python.exe and IDLE- are you calling the full path, just calling "python" and using whichever python version is first on your path, or ar

Re: Python 2.7.2 for Windows reports version as 2.7.0?

2011-06-18 Thread python
Benjamin, I tried uninstalling and re-installing Python 2.7.2 without success ... I kept getting the proper exe's, but when run, the Python version continued to be reported as 2.7.0. Finally I installed for current user only (vs. all users) - the installation now correctly reports my versi

Re: Python 2.7.2 for Windows reports version as 2.7.0?

2011-06-19 Thread python
Hi Mark, > The version info comes from the DLL - I wonder if the DLL being found is > somehow old? > > Make sure: > > >>> import sys > >>> win32api.GetModuleFileName(sys.dllhandle) > > Is the DLL you expect. After uninstalling and reinstalling for

Re: Mac OS X 10.6.6 and MacPyhton 2.6 idle doesn't work

2011-06-23 Thread python
Benjamin, > You'll have to install Tcl yourself. The 2.6 binaries were compiled against a newer version than Apple ships. Does this requirement apply to Python 2.7 or Python 3.2 for the Mac or is this requirement Python 2.6 specific? Thank you, Malcolm -- http://mail.python.org

Re: HOWTO: Parsing email using Python part1

2011-07-03 Thread python
Alain, > I have written an article about parsing email using Python. The article is at > http://blog.magiksys.net/Parsing-email-using-python-header and the full content is here. Very helpful - thank you! Regards, Malcolm -- http://mail.python.org/mailman/listinfo/python-list

Tips/lessons learned for writing a Python powered DSL?

2011-07-07 Thread python
Looking for tips and lessons learned (advice on what to do and not do) for writing a Python based DSL. Googling python dsl yields some wonderful content which I've just started to read. If there are specific articles or 3rd party libraries that you used to implement a DSL, I would appre

Re: Function docstring as a local variable

2011-07-10 Thread python
lcolm -- http://mail.python.org/mailman/listinfo/python-list

Re: Tabs -vs- Spaces: Tabs should have won.

2011-07-18 Thread python
com/logix_kosmos.html http://www.classiccmp.org/pipermail/cctech/2007-October/086682.html http://www.computerhistory.org/collections/accession/102621921 http://www.classiccmp.org/dunfield/ (scanned manual) -- http://mail.python.org/mailman/listinfo/python-list

Re: a little parsing challenge ☺

2011-07-21 Thread python
there are multiple unclosed braces at EOF, is the answer you're looking for the position of the first open brace that hasn't been closed out yet? Malcolm -- http://mail.python.org/mailman/listinfo/python-list

Re: Validating Entry in tkinter

2011-07-25 Thread python
Peter, How would your examples work with text being inserted or deleted via the clipboard? Is there anything special that would have to happen for changes to a widget's value as the result of one of these events? Thank you, Malcolm (not the OP) -- http://mail.python.org/mailman/listinfo/p

Re: NoneType and new instances

2011-07-30 Thread python
Hi Terry, > Ethan's proposal was accepted on python-ideas. In Python 3.3, the classes for > the singletons None, Ellipsis, and NotImplemented will be callables that > return the singleton. Thanks for sharing this news. Its motivating to see this type of feedback loop because

Re: WxPython and TK

2011-08-08 Thread python
Azrael, > Isn't it maybe time to throw out TK once and for all? Python is missing one > of the most important aspects of todays IT industry. GUI development native > library (I mean a serious one). Check out enhancements to Tk like Ttk included in Python 2.7 and 3.1 a

Re: Object Diffs

2011-08-08 Thread python
Croepha, You may find it simpler and sufficiently efficient to compress your objects in whatever format they exist (pickle, json, xml, etc) and send the compressed equivalents vs. trying to diff on side and reassemble on the other side. Malcolm -- http://mail.python.org/mailman/listinfo/python

Reusable ways to wrapping thread locking techniques

2011-08-15 Thread python
I'm reviewing a lot of code that has thread acquire and release locks scattered throughout the code base. Would a better technique be to use -- http://mail.python.org/mailman/listinfo/python-list

Re: Reusable ways to wrapping thread locking techniques

2011-08-15 Thread python
aking things too complicated? Am I reinventing the wheel by creating my own versions of above or are there off-the-shelf, debugged versions of above that one can use? Thank you, Malcolm -- http://mail.python.org/mailman/listinfo/python-list

Re: Interact with SQL Database using Python 2.4 or lower

2011-08-29 Thread python
> Personally, I'm a major fan of Webfaction -- from price to plans to what's > supported to actual effectiveness of their tech support. +1 Malcolm -- http://mail.python.org/mailman/listinfo/python-list

Re: Installing WebDAV server

2011-09-02 Thread python
Hi Fokke, Disclaimer: I have no experience with the Python WebDAV package you're using. But a thought: > In the config file it says: > "# main directory > directory = \Webdav" Perhaps you should qualify your directory path with a drive letter? I would try this 2 ways

Re: slightly OT -- LaTeX

2011-09-02 Thread python
Hi Alan, Thanks for sharing that link - very interesting! http://www.pytex.org/ Malcolm (former LaTeX/TeX user from early 90's) -- http://mail.python.org/mailman/listinfo/python-list

Re: Hello, and request for help with 'dynamic grids'

2011-09-05 Thread python
Hi Simon, > I am a applications developer - originally from Windows using primarily Visual Foxpro, although I am familiar with a variety of other xbase derivatives. Check out dabodev.com. Dabo is a Python framework created by former VFP developers. Highly recommended. Malcolm -- h

jQuery-like sliding container animations for Tkinter?

2011-02-26 Thread python
that Tkinter's pack and grid layout techniques will not be optimal for the above type of animations. Is there a Tkinter technique or underlying TCL technique that might support these type of effects? Thank you, Malcolm -- http://mail.python.org/mailman/listinfo/python-list

Re: [ANN]VTD-XML 2.10

2011-02-27 Thread python
Jimmy, How does VTD-XML compare to XML tools in the stdlib or to 3rd party alternatives like lxml? Thank you, Malcolm -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Tools for Visual Studio from Microsoft - Free & Open Source

2011-03-10 Thread python
ing) and MPI support to CPython using the latest Microsoft API's for large scale data and computing Regards, Malcolm -- http://mail.python.org/mailman/listinfo/python-list

Re: ttk styles

2011-03-17 Thread python
Peter, Sorry I can't be of much help, but I share the same interest as you. There may be some teaser info here although I can't claim to understand the technique. http://www.java2s.com/Open-Source/Python/3.1.2-Python/Demo/Demo/tkinter/ttk/notebook_closebtn.py.htm If you have

Re: Regex in if statement.

2011-03-20 Thread python
I agree with previous comments. There are plenty of good tutorials, I have sometimes found more useful for learning than the manuals. The manuals are good but I prefer examples. http://www.tutorialspoint.com/python/python_reg_expressions.htm http://www.awaretek.com/tutorials.html#regular Bill

Re: Proxy authentication required

2011-03-21 Thread python
ib.request.ProxyHandler({"http": "10.242.38.251:80", > > "username": "domain\username", "password": "password"}) > > Remember that backslash is used for string escapes in Python; so that > should be "domain\\username&quo

Re: Alphabetics respect to a given locale

2011-04-02 Thread python
Candide, Perhaps the Python Babel project has something that might help out? http://babel.edgewall.org/ If this works out for you can you share your learning with the rest of us? :) Thanks and good luck! Malcolm -- http://mail.python.org/mailman/listinfo/python-list

Light weight IDE like pywin for os x 10.6

2011-04-03 Thread python
I have looked a while for this answer. Sorry if it right before me. I have move from Windows to os x. The thing I miss most is pywin. I know you can purchase or download full IDE's for python or even use Eclipse. I really liked the ability to switch from interactive interpreter to e

Re: Light weight IDE like pywin for os x 10.6

2011-04-06 Thread python
On Apr 5, 1:26 pm, Detlev Offenbach wrote: > python wrote: > > I have looked a while for this answer.  Sorry if it right before me. > > > I have move from Windows toosx.  The thing I miss most is pywin. > > I know you can purchase or download fullIDE'sfor python

Re: Dictionary from String?

2011-05-09 Thread python
. > > > --greg > > building the dictionary as a string seems like a hacky thing to do and > you might want to reevaluate your methods. But if everything in the > dict is a literal, you can do ast.literal_eval. > > > > > > > > > > > -- > >http://mail

Re: Dictionary from String?

2011-05-09 Thread python
On May 9, 9:33 pm, python wrote: > On May 8, 12:43 pm, Benjamin Kaplan wrote: > > > > > > > > > > > On Sun, May 8, 2011 at 8:20 AM, Greg Lindstrom > > wrote: > > > Is it possible to create a dictionary from a string value?  Somet

Re: The worth of comments

2011-05-28 Thread python
Irmen, > I'm going to share this thread, and the funny slideshow about Uncomment your > code, with my team at work :-) We're not a Python shop so I'm probably the > only one reading this Same here! > but as usual there is a lot of wisdom going on in this new[

3rd party tree/outline data structure module?

2011-05-30 Thread python
rious ways including given a node, find its previous and next nodes including moving up and down branches to find the next logical node and the ability to quickly find an element by its unique id. Thank you, Malcolm -- http://mail.python.org/mailman/listinfo/python-list

Re: Is there a way to globally set the print function separator?

2017-10-09 Thread Python
gt; print(1,2,3) 123 -- https://mail.python.org/mailman/listinfo/python-list

Re: "help( pi )"

2017-11-17 Thread Python
objects is more fluid than in other languages... You don't have constants, so you can arbitrarily change any object's member values to anything, even to the point of adding new ones at your whim. This probably would make more sense for constants, if Python had them. But you don't re

ctypes help

2017-11-17 Thread Python
Hello Pythonistas, I'm starting to play with ctypes, as I'd like to provide Python interfaces to a C/C++ library I have. For now I'm just messing with a very simple piece of code to get things sorted out. I'm working with this example C++ library, which just

Re: "help( pi )"

2017-11-17 Thread Python
On Sat, Nov 18, 2017 at 10:47:55AM +1100, Chris Angelico wrote: > On Sat, Nov 18, 2017 at 10:34 AM, Python wrote: > > On Sat, Nov 18, 2017 at 09:50:29AM +1100, Chris Angelico wrote: > >> Perhaps what we want is not so much "attach docstrings to floats" but > >

Re: ctypes help

2017-11-17 Thread Python
On Sat, Nov 18, 2017 at 10:49:40AM +1100, Chris Angelico wrote: > On Sat, Nov 18, 2017 at 9:11 AM, Python wrote: > > Hello Pythonistas, > > > > I'm starting to play with ctypes, as I'd like to provide Python > > interfaces to a C/C++ library I have. For

Re: "help( pi )"

2017-11-17 Thread Python
On Sat, Nov 18, 2017 at 02:19:25PM +1100, Chris Angelico wrote: > On Sat, Nov 18, 2017 at 2:12 PM, Python wrote: > > On Sat, Nov 18, 2017 at 10:47:55AM +1100, Chris Angelico wrote: > >> On Sat, Nov 18, 2017 at 10:34 AM, Python wrote: > >> > On Sat, Nov 18, 2

Re: ctypes help

2017-11-18 Thread Python
Eryk, Thanks much for the excellent and highly detailed response! That made a lot of things clear. On Sat, Nov 18, 2017 at 10:56:27AM +, eryk sun wrote: > On Fri, Nov 17, 2017 at 10:11 PM, Python wrote: > > > > I'm starting to play with ctypes, as I'd like to prov

Re: urllib2 urlopen takes too much time

2017-12-03 Thread Python
my guess would be it is caching the DNS response and/or maintaining persistent connections to the server, whereas urllib isn't, though that's just a guess... I'm not familiar with the implementations of either. But again, a packet sniffer should show you exactly what's happening and who is being slow. -- https://mail.python.org/mailman/listinfo/python-list

Re: why won't slicing lists raise IndexError?

2017-12-06 Thread Python
On Tue, Dec 05, 2017 at 06:23:04PM -0800, Rick Johnson wrote: > [bunch of old, irrelevant context snipped] > > item = seq[n:n+1] > > if item: > > process(item) > > else: > > do_without_item() > > When Python follows a logic clause like a train s

Re: Please tell me how to execute python file in Ubuntu by double clicking on file. (Posting On Python-List Prohibited)

2017-12-06 Thread Python
erent for any two users, or even for the same user, given different application contexts. The latter is less true than it used to be, but still true nonetheless. Granted, this isn't a very useful answer, but it's the only one you can give that is certainly correct, without more context. -- https://mail.python.org/mailman/listinfo/python-list

Re: why won't slicing lists raise IndexError?

2017-12-06 Thread Python
t; if item: > process(item) > else: > pass > THIS IS FALSE. CALLING A FUNCTION IS NOT FUNCTIONALLY EQUIVALENT TO THE PASS STATEMENT. Therefore your entire premise is false, and the remainder of what you said is meaningless. -- https://mail.python.org/mailman/listinfo/python-list

Re: Please tell me how to execute python file in Ubuntu by double clicking on file. (Posting On Python-List Prohibited)

2017-12-07 Thread Python
On Thu, Dec 07, 2017 at 01:29:11PM +1100, Steve D'Aprano wrote: > On Thu, 7 Dec 2017 08:22 am, Python wrote: > >> > Linux doesn’t do “OS file associations”. > >> > >> Then how does my Linux box know that when I double-click on a text file, it > >>

Re: why won't slicing lists raise IndexError?

2017-12-07 Thread Python
Hi Rick! On Wed, Dec 06, 2017 at 04:05:42PM -0800, Rick Johnson wrote: > Python wrote: > > [...] > > > THIS IS FALSE. CALLING A FUNCTION > > What *FUNCTION*? In this snippet (which again, we agreed was an incomplete academic example): if item:

Re: why won't slicing lists raise IndexError?

2017-12-08 Thread Python
do_without_item() better. Ned is right, you just need to be ingored. -- https://mail.python.org/mailman/listinfo/python-list

Re: urllib2 urlopen takes too much time

2017-12-08 Thread Python
my guess would be it is caching the DNS response and/or maintaining persistent connections to the server, whereas urllib isn't, though that's just a guess... I'm not familiar with the implementations of either. But again, a packet sniffer should show you exactly what's happening and who is being slow. -- https://mail.python.org/mailman/listinfo/python-list

Re: Python homework

2017-12-11 Thread Python
do that if you use text keys (but not impossible--you could write a function that converts numbers to their text names). This is Python 2.7, but there's very little difference from the 3.x version: -=-=-=-=-=-=-=- #!/usr/bin/python import random def roll_die(times): sides = {1:0, 2:0, 3:

Re: Python Learning

2017-12-21 Thread Python
On Fri, Dec 15, 2017 at 04:51:09PM -0500, Bill wrote: > >I'm new to programming, can anyone guide me, how to start learning python > >programming language,...plz suggest some books also. > > > >Thanks all > > Are you sure you want to learn Python first? >

Re: How to make Python run as fast (or faster) than Julia

2018-02-22 Thread Python
> This version does only 37, giving a misleading impression. > > Not overly misleading; the point of it is to show how trivially easy > it is to memoize a function in Python. This does not appear to me at all to be the point of the article. The point of the article seems to be that th

Re: How to make Python run as fast (or faster) than Julia

2018-02-22 Thread Python
algorithm that is not optimal in pretty much any language, to a completely different one with a much improved order of complexity, optimized specifically for Python? The article author even points out that the Fibonacci sequence problem can be solved using the same technique as he used for his Python

Re: How to make Python run as fast (or faster) than Julia

2018-02-23 Thread Python
ams, that's true. But the Julia > >benchmarks are not practical programs; they are designed to compare > >the performance of various language features across a range of > >languages. > > If that were so, then the comparison should use the fastest *Python* > implementatio

Re: How to make Python run as fast (or faster) than Julia

2018-02-23 Thread Python
c. So there is almost no point in combining both in a > naive drastically inefficient algorithm and declaring that Python is > slower. I never said the benchmarks chosen were awesome... :-) What I'm saying is this: 1. Insistence that the most efficient python implementation of Fib

Re: How to make Python run as fast (or faster) than Julia

2018-02-23 Thread Python
On Sat, Feb 24, 2018 at 03:42:43AM +1100, Chris Angelico wrote: > >> If that were so, then the comparison should use the fastest *Python* > >> implementation. > > > > Doing that would completely fail to accomplish the task of comparing > > the performance of

Re: How to make Python run as fast (or faster) than Julia

2018-02-23 Thread Python
On Fri, Feb 23, 2018 at 06:14:22PM +, Steven D'Aprano wrote: > > I never said the benchmarks chosen were awesome... :-) What I'm saying > > is this: > > > > 1. Insistence that the most efficient python implementation of Fib > >completely misses th

Re: How to make Python run as fast (or faster) than Julia

2018-02-23 Thread Python
(and very little of anything else). Again, you can decide for yourself the suitability of the benchmark, but I don't think you can really claim it doesn't effectively test what it means to. -- https://mail.python.org/mailman/listinfo/python-list

Re: How to make Python run as fast (or faster) than Julia

2018-02-23 Thread Python
reading of their site was not exhaustive), but I can't see any way an informed reader could conclude any different purpose other than benchmarking recursion. -- https://mail.python.org/mailman/listinfo/python-list

Re: How to make Python run as fast (or faster) than Julia

2018-02-23 Thread Python
On Fri, Feb 23, 2018 at 01:41:17PM -0600, Python wrote: > On Sat, Feb 24, 2018 at 06:16:38AM +1100, Chris Angelico wrote: > > > It seems abundantly clear to me that testing recursion is the point of > > > writing a benchmark implementing recursion (and very little of > &g

Re: How to make Python run as fast (or faster) than Julia

2018-03-02 Thread Python
On Mon, Feb 26, 2018 at 09:57:06AM +, Steven D'Aprano wrote: > Besides, if you want Python with no GIL so you can run threaded code, why > aren't you using IronPython or Jython? But this is just another oversimplified argument. In the real world there rather often exist c

Re: How to make Python run as fast (or faster) than Julia

2018-03-05 Thread Python
On Sat, Mar 03, 2018 at 08:18:03AM +1100, Chris Angelico wrote: > > Python is often a preferred solution because it is often fantastic for > > rapid implementation and maintainability. The GIL's interference > > with threaded code performance has, for me at least, on sev

Re: bool and int

2023-01-25 Thread Python
On Wed, Jan 25, 2023 at 01:01:24PM +1100, Chris Angelico wrote: > On Wed, 25 Jan 2023 at 12:43, wrote: > > Python has a different philosophy than some other languages with strong > > typing. In some of those, you would not be allowed to add or multiply at > > random but

Re: evaluation question

2023-02-10 Thread Python
On Mon, Jan 30, 2023 at 09:41:03AM -, mutt...@dastardlyhq.com wrote: > >Because print() returns nothing (i.e., the statement x is None is True). > > I don't understand this. What was the point of the upheaval of converting > the print command in python 2 into a function

Re: evaluation question

2023-02-10 Thread Python
On Sat, Feb 11, 2023 at 08:30:22AM +1100, Chris Angelico wrote: > On Sat, 11 Feb 2023 at 07:36, Python wrote: > > You would do this instead: > > > > message = f"{username} has the occupation {job}." > > message_length = len(message) > >

Re: evaluation question

2023-02-10 Thread Python
On Fri, Feb 10, 2023 at 05:48:53PM -0500, Thomas Passin wrote: > On 2/10/2023 4:55 PM, Python wrote: > > However, Python's print() function is more analogous to C's printf(), > > which returns the number of characters converted for an entirely > > different reason..

Re: Application window geometry specifier

2021-01-13 Thread Python
e last thing I want to do is spend 15 minutes to relocate and reconfgure UI elements to where and how I like them before I can even start working on a media project (or whatever). -- https://mail.python.org/mailman/listinfo/python-list

Re: Application window geometry specifier

2021-01-13 Thread Python
to the notion that Gnome Gnows better than you do how you should run your apps, so when using Gnome all bets are off. -- https://mail.python.org/mailman/listinfo/python-list

Re: Application window geometry specifier

2021-01-13 Thread Python
On Thu, Jan 14, 2021 at 11:58:34AM +1100, Chris Angelico wrote: > On Thu, Jan 14, 2021 at 11:53 AM Python wrote: > Have you actually done any research by (a) asking people what they > actually prefer, and better still (b) silently watching over someone's > shoulder and seein

Re: Application window geometry specifier

2021-01-13 Thread Python
On Thu, Jan 14, 2021 at 12:27:19PM +1100, Chris Angelico wrote: > On Thu, Jan 14, 2021 at 12:11 PM Python wrote: > > > > On Tue, Jan 12, 2021 at 06:43:39PM -, Grant Edwards wrote: > > > And those X11 users will swear at you if you override their window > >

Re: Application window geometry specifier

2021-01-13 Thread Python
On Thu, Jan 14, 2021 at 03:02:05PM +1100, Chris Angelico wrote: > On Thu, Jan 14, 2021 at 2:43 PM Python wrote: > > > it is far FAR better to put control in the user's hands > > > > I love how you dismissed that the semantics I described gives MORE > > con

python documentation

2021-03-26 Thread python
llation step-by-step-guide video here: https://www.youtube.com/channel/UCOE8xqYS_2azFsFjBVEwVMg May I ask - how can I do that best? Thanks in advance and Best Regards Dominik -- https://mail.python.org/mailman/listinfo/python-list

Re: python documentation

2021-03-26 Thread python
nd is from 2015. Blythooon is still maintained and the last version is from February 2021. 2) winpython seems not to support Python 2.7.* anymore. Blythooon supports Python 2.7.18. 3) When using Anaconda Python you might not only have to respect the anaconda/miniconda licenses but also the t

Re: python documentation - addendum

2021-03-26 Thread python
t under "Other parties have re-packaged CPython" listed here: What makes it notable? ChrisA -- https://mail.python.org/mailman/listinfo/python-list

Re: python documentation

2021-03-26 Thread python
No, I am not encouraging, I am just offering the possibility. Python and its community once was not dogmatic. At least this was my impression when I started - after all Python originally had been designed to be multi paradigmatic. This spirit of freedom was one mayor reason for Python to grow

Re: python documentation

2021-03-26 Thread python
Chris, you seem to imply, that I have compiled said versions without reason and that the same would be possible on basis of Python 3 - which is simply not true. Maybe you are not enough acquainted with Qt and belonging libraries alike PyQtGraph. Maybe you are just not willing to see / accept

Re: python documentation

2021-03-27 Thread python
t free IDE for Python as well as C# yet, if you ask me:) and just parts of the backend with IronPython (which also is nice, although it just has access to a limited set of libraries). It worked fine, but I do not like mixing languages if not necessary as I deem that to be a software design weakn

Re: python documentation

2021-03-27 Thread python
You write, that "Everyone claims that it's easier to move to some other language rather than to migrate to Python 3". Thank you for sharing this remarkable information! On 2021-03-27 06:36, Chris Angelico wrote: On Sat, Mar 27, 2021 at 4:20 PM wrote: Chris, you seem t

Re: python documentation

2021-03-27 Thread python
You say: "The point is that there are those who use Python 2 and don't want to move to Python 3, claiming that it's easier to switch from Python 2 to some other language than from Python 2 to Python 3. That's what seems questionable." And I say, forcing people to do t

Re: Is there any way to make sense of these E-Mail subjects?

2021-12-24 Thread Python
hould be able to handle it. -- https://mail.python.org/mailman/listinfo/python-list

Re: Unpacking lists in a f string

2022-02-09 Thread Python
s it possible to achieve this with f strings or any other simple/efficient way? 'foo ' + ', '.join(f"{one} {two}" for one,two in zip(l1,l2)) + ' bar' -- https://mail.python.org/mailman/listinfo/python-list

Re: Why does not Python accept functions with no names?

2022-02-20 Thread Python
Abdur-Rahmaan Janhangeer wrote: Greetings list. Out of curiosity, why doesn't Python accept def (): return '---' () Where the function name is ''? For the same reason an empty sequence of characters cannot be a variable name. Do you know any language (or formal

Re: Why does not Python accept functions with no names?

2022-02-20 Thread Python
Barry wrote: On 20 Feb 2022, at 15:35, Abdur-Rahmaan Janhangeer wrote: Greetings list. Out of curiosity, why doesn't Python accept def (): return '---' () Where the function name is ''? Because there is no variable that is holding a ref to the code. So i

Re: basic question on loop & type casting / list/str/array

2022-03-16 Thread Python
Kiran Kumar wrote: Hi. Pls check on below poython 3.9.x code & suggest how can i keep the string intactst in 2nd loop... ? these are aws ec2 ids Don't loop through it then. -- https://mail.python.org/mailman/listinfo/python-list

Re: flask app convert sql query to python plotly

2022-04-02 Thread Python
= query_tickets_status['status'] labels_statut = query_tickets_status()['status'] -- https://mail.python.org/mailman/listinfo/python-list

  1   2   3   4   5   6   7   8   9   10   >