On 09/24/2017 09:56 AM, Dennis Lee Bieber wrote:
> "Binding" itself tends to be Python specific terminology
Not so. How it's used in Python terminology is fairly closely aligned
with how the word was used in my programming language theory class at
uni, where it was defined in mathematical t
On 09/25/2017 06:38 PM, Kryptxy via Python-list wrote:
> Is there any way that the GUI program is opened, and immediately the
> control returns to calling program, instead of keeping the terminal
> busy?
Yes. This is a classic situation where you want to first fork() the
process, then exec() the n
On 10/05/2017 06:08 PM, bartc wrote:
> then it stinks. You wouldn't think much of a shell prompt that literally
> showed nothing at all instead of something like:
Indeed many programs do go to extra effort to detect if the connecting
stream is an interactive device (a tty), and if so they do emit
On 10/05/2017 10:38 PM, Dan Sommers wrote:
> On Thu, 05 Oct 2017 19:14:33 -0600, Michael Torrie wrote:
>
>> It all depends on what the command's purpose is for, and how it's
>> designed to be chained with other commands (cat for example).
>
> They're almos
On 10/06/2017 07:24 AM, bartc wrote:
> On 06/10/2017 14:11, Peter J. Holzer wrote:
>> I regularly use at least cat, wc and od this way (plus a few of my own
>> utilities like utf8dump). I'm sure I've used sort this way, too, though
>> rather rarely. I usually don't type the input but paste it in,
>
On 10/08/2017 02:46 PM, Xristos Xristoou wrote:
> Τη Κυριακή, 8 Οκτωβρίου 2017 - 10:48:38 μ.μ. UTC+3, ο χρήστης Richard Damon
> έγραψε:
>> It sounds like the fundamental problem is that you are doing the
>> calculation in the web page handler. This means that the browser will be
>> stuck in the
I have tried multiple versions, 32 & 64 bit. Same problem.
"This app can't run on your PC. To find a version for your PC, check with
the software publisher."
--
https://mail.python.org/mailman/listinfo/python-list
On 10/10/2017 10:09 AM, Vail, Rick wrote:
> I have a script for Cisco devices that will do configuration or any CLI
> command. What I would like to do is print the output to my terminal(windows)
> and to a file. I can come up with stdout parameters
> To print to a file but not to the screen and
:python-list-bounces+mcuddehe=strategicga@python.org] On Behalf
Of Thomas Jollans
Sent: Wednesday, October 11, 2017 3:30 AM
To: python-list@python.org
Subject: Re: Unable to run pip in Windows 10
On 2017-10-10 22:37, Michael Cuddehe wrote:
> I have tried multiple versions, 32 & 64 bit. Same
On 10/11/2017 08:46 AM, Michael Cuddehe wrote:
> - What exactly did you install?
>>> Latest install: Python 3.5.4 (v3.5.4:3f56838, Aug 8 2017, 02:17:05) [MSC
> v.1900 64 bit (AMD64)] on win32
^^^
So your OS is 32 bit? If so, you can't run 64-bit s
Thank you!!!
What finally worked.> py -m pip install pyperclip
-Original Message-
From: Terry Reedy [mailto:tjre...@udel.edu]
Sent: Wednesday, October 11, 2017 1:00 PM
To: python-list@python.org
Subject: Re: Unable to run pip in Windows 10
On 10/11/2017 10:46 AM, Michael Cudd
On 10/15/2017 08:50 PM, Andrew Z wrote:
> Gents,
> how do i get this group in a newsreader? The digest i'm getting is not
> workable for me - i can't reply , can only read the replies from the
> members of the group. Or. maybe, it shouldn't be a news reader
> please advise..
>
> P.S. Oh the c
On 10/16/2017 08:52 AM, Paul Moore wrote:
> For that situation, reading mailing lists as mails in gmail is the
> best option I've been able to find (not ideal, but adequate).
> Paul
Gmail's web interface is completely broken as far as mailing lists are
concerned. Conversation view in no way is ad
On 10/16/2017 11:21 AM, bartc wrote:
> del x effectively removes it from the namespace so trying to use it on
> line 4 generates the same 'undefined' error.
>
> However, the byte-code still needs to be aware of x: at the time when
> line 1 is executed, the byte-code for line 3 already exists and
On 10/26/2017 09:04 AM, Davide Dalmasso wrote:
> Dear all,
> I'm trying to read a txt file with read_table but in the file there are some
> string that contain the € symbol and the procedure returns me an error.
> I tried with encoding='utf-8' but the problem is still there:
> pd.read_table('filen
On 11/03/2017 11:44 AM, Jon Ribbens wrote:
> And that's leading you into confusion, as you've demonstrated.
And indeed I've been led into considerable confusion about the else:
clause over the years. Every time I need to use it, I run a python shell
and try it out to remind myself how it works. H
On 11/03/2017 07:09 PM, Steve D'Aprano wrote:
> On Sat, 4 Nov 2017 06:15 am, Michael Torrie wrote:
>
>> In fact if you have no break you may as well drop the
>> else entirely, because the block will always execute.
>
> That's incorrect. There are multiple way
On 11/03/2017 09:06 PM, Chris Angelico wrote:
> On Sat, Nov 4, 2017 at 1:57 PM, Michael Torrie wrote:
>> On 11/03/2017 07:09 PM, Steve D'Aprano wrote:
>>> On Sat, 4 Nov 2017 06:15 am, Michael Torrie wrote:
>>>
>>>> In fact if you have no break you may
On 11/08/2017 11:29 AM, Chris Angelico wrote:
> If that's true, then it's not possible for software to be
> "opinionated" either, because that definitely implies something human.
> And it's illogical to say "Windows is feeling cranky today" when
> something inexplicably fails. Nor should you talk a
On 11/09/2017 09:33 AM, Chris Angelico wrote:
> On Fri, Nov 10, 2017 at 2:14 AM, Rurpy via Python-list
> wrote:
>> On 11/08/2017 11:29 AM, Chris Angelico wrote:
>>> [...]
>>> Please, Jon, accept that we were not deliberately trying
>>> to put you down. Steve, if you can clearly state your position
On 11/15/2017 11:16 PM, Saeed Baig wrote:
> - Do you guys think it would be a good idea? Why or why not? Do you
> think there’s a better way to do it? I’d like to know what others
> think about this idea before making any formal submission.
Except for forcing it to be read-only, there's absolutely
Your thoughts on scope are interesting, if unorthodox. There is a
problem with your deleting names after use, which is why we rarely
delete names. The problem is that deleting a name does not not
necessarily or immediately destroy an object. This can lead to great
confusion for programmers comin
On 11/21/2017 07:50 AM, Ethan Furman wrote:
> Everyone else, please do not quote Stefan's messages as they may then
> end up on the mailing list possibly violating his copyright.
The good news is, at least, that quoting his messages with attribution
is certainly fair use in all jurisdictions I'm a
On 11/25/2017 02:20 AM, Martin Schöön wrote:
> Some time ago I was advised that having a Python installation
> based on several sources (pip and Debian's repos in my case)
> is not a good idea. I need to tidy up my installation and I
> don't know what to opt for and what to opt out.
>
> What are t
On 11/25/2017 06:00 AM, bartc wrote:
> And there's a quite lot left of the rest of the program to worry about too!
>
> If you add 'window()' at the end of the program, then it seems to run on
> Python 3. I'd play around with it first before thinking up strategies
> for testing it.
Actually, no.
On 11/26/2017 07:11 AM, bartc wrote:
>> You may argue that testing doesn't matter for his small game, written
>> for his own education and amusement. The fact is that software in
>> general is of abysmal quality across the boards, and promoting a habit
>> of unit testing is good, even for trivial,
On 11/26/2017 08:39 AM, bartc wrote:
> The problem was traced to two lines that were in the wrong order (in the
> original program). I can't see how unit tests can have helped in any way
> at all, and it would probably have taken much longer.
What makes you think that? Surely other decoders wer
On 11/25/2017 12:58 PM, namenobodywa...@gmail.com wrote:
> the idea is that there should be exactly one object posinf (positive
> infinity) that compares as strictly greater than any number ever considered,
> and exactly one object neginf that compares as strictly less; as the code
> stands now
Marking this message as off topic, since it has nothing much to do with
Python and Python programming. In fact this whole thread should have
been started on a Docker-specific forum, mailing list, or USENET group.
To the original poster: you should visit the Docker web site and access
the community
On 12/04/2017 04:49 AM, Thomas Jollans wrote:
> On 2017-12-04 10:48, dhananjaysingh091...@gmail.com wrote:
>> Respected Sir/Mam,
>> I am Dhananjay Singh,Student of IIIT Manipur. Sir/Mam when i am
>> double click in python program (Dhananjay.py),it is opening in Text Editor
>> by Default i
On 12/09/2017 08:01 PM, Chris Angelico wrote:
> Been a long time since I had an Ubuntu, but is it really the case that
> you can't install Ubuntu without a GUI?
Of course not. Ubuntu is used in headless server situations all the time.
--
https://mail.python.org/mailman/listinfo/python-list
On 12/11/2017 07:27 AM, Dennis Lee Bieber wrote:
> On Sun, 10 Dec 2017 16:05:37 -0800 (PST), Lauren Porter
> declaimed the following:
>
>> Hello all! I've been trying to create a game in Python Processing
Seems like most of the
object-oriented+programming
)
It's a huge read and not a great book if you just want to get started
right away, but I've found it to be very helpful in explaining the
nuances of the language. I'm interested to see what other people find
useful.
Thanks,
Michael
On 12/15/2017 6:
On 01/05/2018 10:56 AM, Kim of K. wrote:
> wow!
Yup that's what I said when I read your ramblings.
> even you are defensive about publishing non-working garbage.
Absolutely. You have absolutely no right to make demands of any of the
folks who toss their half-baked personal projects up on source
On 01/10/2018 09:16 AM, oliver wrote:
> Pyqt without hesitation.
Except that people are forgetting the OP is not asking about a GUI
library. The subject line reads "Simple graphic[s] library for
beginners." He just wants a simple graphics drawing library for
beginners. Create a canvas of a certa
On 01/10/2018 10:22 AM, Igor Korot wrote:
> Hi,
> wxPython/Phoenix.
> It can do everything you need and more
But the OP isn't looking for a full-blown GUI toolkit. I went back and
re-read his post to be sure I wasn't misunderstanding. Therefore I
don't think the suggestion to use wxPython o
On 01/10/2018 01:13 PM, bartc wrote:
> I couldn't see anything obviously simple there. A lot seems to do with
> interaction which is always much more complicated than just drawing stuff.
Yes the link didn't have the simple examples I hoped for. How's this:
-
import py
On 01/11/2018 06:38 AM, bartc wrote:
> Although I can't run it because 'pygame' is not available. I think
> installing this library is likely to be a bigger obstacle than
> programming any graphics!
>
> (If I try and download it as a ready-built library for Windows, it has a
> range of .msi fil
On 01/11/2018 11:48 PM, Jan Erik Moström wrote:
> On 10 Jan 2018, at 13:40, Jan Erik Moström wrote:
>
>> I'm looking for a really easy to use graphic library. The target users
>> are teachers who have never programmed before and is taking a first
>> (and possible last) programming course.
>
> T
On 02/05/2018 07:53 AM, Денис Олегович wrote:
> I tried to install python 3.5 and python 3.6, but the same mistake
> interrupt process
> "Windows 7 Service Pack 1 applicable updates are required" Log file
> attached. I tried to install some updates for Windows, but unsuccessully,
> may be I don' t
On 02/17/2018 06:31 PM, bartc wrote:
> It could well do all that. But it surely cannot need 18,000 lines' worth
> to do it; that much should be obvious to anyone. And in fact, for
> building with MS's Visual Studio, it doesn't use that file at all, but
> something smaller. (Although the MS build
On 02/18/2018 05:45 AM, Anders Wegge Keller wrote:
> På Sun, 18 Feb 2018 07:34:03 -0500
> Richard Damon skrev:
>
>> Python is much stronger typed than PHP, because in PHP you can do things
>> like 1 + '2' and get 3, as string values will naturally convert
>> themselves to numbers, Python won't
On 03/02/2018 08:36 AM, Paul Moore wrote:
> On 2 March 2018 at 15:09, wrote:
>> We must be discussing a different RAII. That is the raison d'etre of RAII:
>> RAII directly addresses this problem in an exception-safe way that does not
>> burden the resource user at all.
>
> RAII works in C++ (w
On 03/02/2018 04:15 PM, jlada...@itu.edu wrote:
> Python's standard library has (to take three examples) threads,
> processes, and datetime functions. Meanwhile, PyQt has QThread,
> QProcess, and QDateTime.
>
> Does this redundancy exist for C++ programmers who are programming Qt
> directly, and
On 03/03/2018 09:02 AM, ooom...@gmail.com wrote:
> I can assure you that RAII does what it says on the tin and is relied on in
> many critical systems to release resources robustly ... given the
> pre-requisite deterministic destruction.
Sure but did you read what Paul Moore wrote? He said RAI
On 5/17/22 05:20, o1bigtenor wrote:
> What can I do to correct this self-inflicted problem?
Those are always the fun ones. Reminds me of when I was first learning
Linux using Red Hat Linux 5.0 or 5.1. This was long before nice
dependency-solving tools like apt. I wanted to install and run
StarO
On 5/12/22 11:59, De ongekruisigde wrote:
> On 2022-05-12, Mats Wichmann wrote:
>> On 5/12/22 10:25, Dan Stromberg wrote:
>>> Hi folks.
>>>
>>> I heard there's a Windows-like "py" command for Linux (and Mac?).
>>>
>>> I'm finally getting to porting a particular project's Python 2.7 code to
>>> 3.x
On 5/21/22 06:19, o1bigtenor wrote:
> more useful - - - - well - - - - I don't have to wonder why 'linux' is
> used as much
> by the general populace as it is. The community likes to destroy
> itself - - - it
> is a pity - - - - the community has so much to offer.
As far as community goes, the Lin
On 8/8/22 19:26, Guilherme Campos wrote:
> Hello folks,
>
> trying to connect to MYSQL it appears the error msg below:
> InterfaceError: 2003: Can't connect to MySQL server on 'localhost:3306'
> (111 Connection refused)
> [image: conexao.png]
> How can i fix that.?
MySQL can listen on a local uni
On 8/26/22 14:37, gene heskett wrote:
> Greetings all;
>
> Its now become obvious that 3.10 has broken some things. I can't build
> linuxcnc with it. And
> Octoprint has quit talking to 3d printers, now pronterface won't buy it,
> can't find a 4.0.7
> version of wxPython with it sitting there st
>Well, the value is productivity. No need to save puzzles "what this
>hanging else belongs to?"
if you get to the point where it's hard to tell which else lines up with
which if or for statement, I would suggest breaking things out into
well-named helper functions rather than worrying over orderin
On 10/11/22 22:00, Paulo da Silva wrote:
> Hi!
>
> The simple question: How do I find the full path of a shell command
> (linux), i.e. how do I obtain the corresponding of, for example,
> "type rm" in command line?
>
> The reason:
> I have python program that launches a detached rm. It works pre
On 10/14/22 16:25, DFS wrote:
> -
> this does a str() conversion in the loop
> -
> for i in range(cells.count()):
>if text == str(ID):
> break
>
>
> ---
On 10/28/22 21:31, DFS wrote:
> I found one person that said they did it but their syntax didn't work.
> But it doesn't throw an error either.
>
> model.setData(model.index(tblRow, col), font, Qt.FontRole)
I wouldn't expect that to work but it's understandable why it didn't
throw an error. setD
Python doesn't care what an expression returns.
You've written an expression that returns the value of the 'clear' function
that is bound to that particular list.
The interpreter doesn't know or care if accessing that 'clear' attribute on
the class returns a function or for some reason triggers a
On 12/17/22 15:45, Anne wrote:
>I tried several times to install and use python for youtube views with Tor
>using Youtube tutorials but I keep getting error after error. Please help
>me.
>regards Dimpho
Given the lack of any information in your post, I can only assume you're
trying
On 1/1/23 22:27, Ramya M wrote:
> This is from JNN College of Engineering, Shimoga. we are facing some
> problems while using python. Please can you resolve this issue.
Without any further information on your part, we can only guess at what
the problems might be. Crystal ball says that Thomas' su
On 1/3/23 11:45, Keith Thompson wrote:
> MRAB writes:
> [...]
>> The purpose of stderr is to display status messages, logging and error
>> messages, even user prompts, and not mess up the program's actual
>> output. This is important on a *nix system where you might be piping
>> the output of one
On 1/18/23 14:42, Dan Kolis wrote:
>
>> I don't think you've described this. I don't know what you mean here.
>
> When I trace it in VSCode the imports seem like they endlessly suspend
> scanning and go to other ones over and over. Like "Whats this doing ?"
>
Nothing to worry about there. Pyt
On 1/18/23 18:01, Dan Kolis wrote:
> Hangs after maybe between 4 and 50 screen rewrites. sometimes CTRL C under
> Ubuntu starts it up again. Click go rewrites al the fonts the thing can find
> in a few windows Repeated.
>
Not sure what you mean by "screen rewrites."
I ran your test program
On 1/22/23 11:44, Stefan Ram wrote:
> Jach Feng writes:
>> e:\Works\Python>py infix2postfix.py "-4^2+5.3*abs(-2-1)/2"
>
> Well, it's a nice exercise! But I only made it work for the
> specific example given. I have not tested whether it always
> works.
Haha. Yes a nice exercise, but has n
On 1/23/23 18:58, Jach Feng wrote:
> More pathonic, but don't work. The '--' must be at index 1:-)
I'm very confused. Why are you even using argparse, since if you put --
at index 1 then argparse wont't do any argument parsing at all. If all
you want is the expression on the command line, just a
On 1/25/23 19:50, Jach Feng wrote:
> To me, argparse has been just a tool which I can use in a CLI app.
argparse is just a tool for dealing with command-line *flags*, which are
common in command-line tools. argparse interprets the command line as a
bunch of flags because that's what it's designe
On 2/10/23 14:10, Marco Sulla wrote:
> I was banned from the mailing list and Discuss forum for a very long time.
> Too much IMHO, but I paid my dues.
>
> Now this is my state in the forum:
> - I never posted something unrespectful in the last months
> - I have a limitation of three posts per thre
On 2/14/23 00:09, Stephen Tucker wrote:
> I have two questions:
> 1. Is there a straightforward explanation for this or is it a bug?
To you 1/3 may be an exact fraction, and the definition of raising a
number to that power means a cube root which also has an exact answer,
but to the computer, 1/3 i
On 2/17/23 03:27, Stephen Tucker wrote:
> Thanks, one and all, for your reponses.
>
> This is a hugely controversial claim, I know, but I would consider this
> behaviour to be a serious deficiency in the IEEE standard.
No matter how you do it, there are always tradeoffs and inaccuracies
moving fr
On 2/17/23 15:03, Grant Edwards wrote:
> Every fall, the groups were again full of a new crop of people who had
> just discovered all sorts of bugs in the way
> implemented floating point, and pointing them to a nicely written
> document that explained it never did any good.
But to be fair, Goldb
On 2/20/23 20:36, Hen Hanna wrote:
> For a while, i've been curious about a [Tuple Comprehension]
I've never heard of a "Tuple comprehension." No such thing exists as
far as I know.
> So finally i tried it, and the result was a bit surprising...
>
>
> X= [ x for x in range(10) ]
> X= (
On 2/20/23 18:06, Hen Hanna wrote:
> is [comprehension] the right word???
>
> i swear i never heard the word before
> getting into Python a few years ago.
Seems as though the term was borrowed from formal mathematics set theory.
A simple search reveals that the term "list comprehen
On 2/20/23 18:01, Hen Hanna wrote:
> is Comp.Lang.Python very active
Fairly. Apparently the cool kids are using the Python Discourse forum.
> why is a linear search thru a Tuple slower
> (than thru a (corresponding) List ) ???
I cannot say, unfortunately.
On 2/23/23 01:08, Hen Hanna wrote:
> Python VM is seeing an "int" object (123) (and telling me that) ...
> so it should be easy to print that "int" object
> What does Python VMknow ? and when does it know it ?
It knows there is an object and its name and type. It knows this from
t
I wanted to provide an example that your claimed atomicity is simply wrong,
but I found there is something different in the 3.10+ cpython
implementations.
I've tested the code at the bottom of this message using a few docker
python images, and it appears there is a difference starting in 3.10.0
p
1 (vv)
is effectively locked/atomic on post-3.10 interpreters, though this is
neither portable nor guaranteed to stay that way into the future
On Sun, Feb 26, 2023 at 10:19 PM Michael Speer wrote:
> I wanted to provide an example that your claimed atomicity is simply
> wrong, but I found there is
I've been putting off sending this message for days, but the list noise
level is now to the point that it has to be said.
Often it is better to contact someone directly and privately rather than
publicly embarrass them by calling them out. You've made it clear,
however, that publicly calling you o
On 2/27/23 09:17, Grant Edwards wrote:
> On 2023-02-27, Michael Torrie wrote:
>
>> I've been putting off sending this message for days, but the list noise
>> level is now to the point that it has to be said.
>
> Ah, I've finially realized why some of those thre
On 4/1/23 15:33, Thomas Passin wrote:
> OTOH, Qt isn't free for commercial use and the OP seems to be
> speculating on coming up with a product to sell at some point.
Careful. That's not actually true, even though the marketing team at Qt
lets people believe it is. Qt is licensed under the LGPL,
On 4/2/23 05:09, Dietmar Schwertberger wrote:
> I also did evaluate all the GUI builder from time to time between
> 2000 and 2016 to find one that I could recommend to colleagues,
> but could not find one. Then I started contributing to wxGlade
> and I can say that since a few years it's as easy ag
On 4/1/23 09:37, Eryk Sun wrote:
> Here are a few of the GUI toolkit libraries in common use:
>
> * tkinter (Tk)
> * PyQt (Qt)
> * PySide (Qt)
> * wxPython (wxWidgets)
> * PyGObject (GTK)
>
> tkinter is included in Python's standard library.
Another good one is Kivy. Especia
On 2023-04-02 9:09 a.m., Dietmar Schwertberger wrote:
> That's what I hated with Qt Designer: it does not output Python code
> but a .ui file.
> This was the point where I could not recommend it to anyone.
Well the thing is you don't need to generate Python code at all. Qt
provides a UI loader
On 2023-04-02 9:09 a.m., Dietmar Schwertberger wrote:
>> I've tried wxGlade but never could get into it, or wxWidgets in general.
>
> Which version? Up to 0.7.2 I agree.
Been a long time. I was initially turned off by the event handling
system of wx compared to the signals and slots of Gtk and Qt
On 4/11/23 11:48, Oscar Benjamin wrote:
> You can hardly blame a lot of people for doing this. A seb search for
> "download python" gives this as the first hit:
> https://www.python.org/downloads/
Very true, but it points to the difference between how people install
Python on Windows compared to L
On 4/21/23 15:57, Barry wrote:
> Maybe this, recently lwn.net article, https://textual.textualize.io/
> I was planning to check it out.
Textual definitely looks slick and modern. And with a modern terminal
emulator it works quite well and is responsive. I'd definitely consider
it for a TUI.
But
On 4/24/23 08:04, Grant Edwards wrote:
> Is putty running on Windows a "modern terminal emulator" in this
> context? After observing some of the local IT types work, I suspect
> that will be a common use-case for the app I'm working on.
Yes, Putty qualifies as a "modern terminal emulator." It su
On 1/19/21 10:40 PM, Mladen Gogala via Python-list wrote:
> I generally advise
> using Cygwin and installing the Cygwin version of Python. Your OS will
> look like a POSIX compatible system, and you will be able to use Unix/
> Linux tools like bash, less. vi, awk, grep and alike. You will also be
On 1/26/21 8:37 PM, C W wrote:
> I have a naive question. How do I use traceback or trace the stack? In
> particular, I'm using VS Code with Python interactive console.
Show us the traceback here and we can help you interpret it. Copy and
paste it from the VS Code console.
> Say, I want to print
On 1/26/21 8:30 PM, Grant Edwards wrote:
> Me too (MS in CSci), but I can't remember the last time I used a
> debugger.
I use a debugger frequency in C++, and sometimes C. Even running a
debugger on an attached device like an Arduino is sometimes very useful.
Good debuggers let you do things lik
On 1/26/21 10:19 PM, C W wrote:
> Traceback (most recent call last):
>File "/Users/Mike/Documents/Mike/main.py", line 95, in
> main()
>File "/Users/Mike/Documents/Mike/main.py", line 86, in main
> args = get_feed()
>File "/Users/Mike/DocumentsMike/main.py", line 32, in get_
On 1/27/21 11:42 AM, C W wrote:
> For learning purposes, here's the files:
> https://www.dropbox.com/sh/a3iy40rcvib4uvj/AAADmlM2i6NquWC1SV0nZfnDa?dl=0
>
> Yes, you are correct about "employee" and "person" discrepancies. For now,
> the list comprehension is where I get stuck.
>
> I'd like to know
On 1/30/21 2:58 PM, Philipp Daher via Python-list wrote:
> Dear Python-Team,
>
> I have just repaired python after running my program which imports pyautogui,
> closing and reopening it and then getting this: ModuleNotFoundError: No
> module named „pyautogui“. Repairing didn’t work and I still g
On 2/16/21 10:58 AM, Ben Bacarisse wrote:
> Attempts at a universal compiler stalled in the 1980s (though there may
> have been some new developments since I stopped looking) because
> expressing the semantics of different languages is so very hard. In
> fact, much of the interest in pursuing the
On 3/23/21 5:19 AM, Paul Edwards wrote:
> Thanks for the tip. I don't actually need it to be
> light. I just need it to be C90-compliant.
I guess the point with MicroPython is that since it can build on all
sorts of microcontrollers, a) it has a simpler build system and b) it is
definitely statica
On 3/25/21 1:14 AM, Loris Bennett wrote:
> Does any one have a better approach?
Not as such. Running a command and parsing its output is a relatively
common task. Years ago I wrote my own simple python wrapper function
that would make it easier to run a program with arguments, and capture
its out
On 3/27/21 1:02 PM, pyt...@blackward.eu wrote:
> 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
On 3/28/21 12:28 PM, Michael Torrie wrote:
> You want to use an obsolete version of Python and an obsolete version of
> Qt. That's totally fine! But why are you angry when people, who are
> strictly volunteers, are unable to help much here other than to strongly
> recommend you
On 3/28/21 12:33 PM, Quentin Bock wrote:
> Is it possible to create a firewall inside python and then run that instead
> of the windows defender firewall? If so how would that work or how would
> that be made?
Probably not. The firewall is part of the kernel since it works
directly with the netwo
On 4/10/21 8:52 AM, cseb...@gmail.com wrote:
>
>> Is it even possible to be secure in that way? This is, by definition,
>> a MITM, and in order to be useful, it *will* have to decrypt
>> everything. So if someone compromises the monitor, they get
>> everything.
>
> Chris
>
> I hear all your
On 4/26/21 12:38 AM, Stephen Tucker wrote:
> Hi,
>
> I have old software written in GWBASIC that I use to plot diagrams on the
> screen.
>
> In Windows 10, I have to resort to using the DOSBox emulator to run it.
>
> I would dearly like to re-write it in Python - ideally Python 2.7.
>
> What, i
Hello everyone,
I've been working with ctypes recently, and I've come across what seems to
be some slightly confusing behaviour, when comparing ctype's Structure
against `bytes` and `bytearray` objects
import ctypes
class Int(ctypes.Structure):
_fields_ = [("first_16", ctypes.c_int8),
On 4/28/21 4:00 AM, Rasig Kosonmontri wrote:
> so i heard that the microsoft store's version of python tends to hide
> itself. and so i uninstalled it
> but when i typed in to a powershell it just directs me to the
> mircrosoft store's page
> i then disabled it from doing that and install python fr
On 5/2/21 1:23 PM, Quentin Bock wrote:
> the error apparently comes from the first instructions variable saying
> library not initialized not sure why, its worked before but not now :/
I don't get that error on my Fedora 32 machine. The script ultimately
doesn't run because it can't find the icon
501 - 600 of 4856 matches
Mail list logo