Chris Green via Python-list writes:
> I'm looking for Python packages that can help with text mode input,
> i.e. for use with non-GUI programs that one runs from the command
> prompt in a terminal window running a bash shell or some such.
I'd suggest giving a try to https
On 1/17/25 12:03, Keith Thompson via Python-list wrote:
Alan Gauld writes:
On 15/01/2025 00:41, Keith Thompson via Python-list wrote:
Alan Gauld writes:
On 11/01/2025 14:28, Chris Green via Python-list wrote:
I'm looking for Python packages that can help with text mode input,
I ha
On 2025-01-17, Alan Gauld via Python-list wrote:
> On 15/01/2025 00:41, Keith Thompson via Python-list wrote:
>> Alan Gauld writes:
>>> On 11/01/2025 14:28, Chris Green via Python-list wrote:
>>>> I'm looking for Python packages that can help with text mode
Alan Gauld writes:
> On 15/01/2025 00:41, Keith Thompson via Python-list wrote:
>> Alan Gauld writes:
>>> On 11/01/2025 14:28, Chris Green via Python-list wrote:
>>>> I'm looking for Python packages that can help with text mode input,
>>>
>>>
On 15/01/2025 00:41, Keith Thompson via Python-list wrote:
> Alan Gauld writes:
>> On 11/01/2025 14:28, Chris Green via Python-list wrote:
>>> I'm looking for Python packages that can help with text mode input,
>>
>> The standard package for this is curses whi
Not a question, but a quick note about a problem that sometimes pops up in
forums, that is how to detect on Linux if standard input (or any I/O
stream) is via pipe. My suggestion is to check if the stream is a FIFO, if
True it is a pipe, otherwise not a pipe
The solution that sometimes is
Alan Gauld writes:
> On 11/01/2025 14:28, Chris Green via Python-list wrote:
>> I'm looking for Python packages that can help with text mode input,
>
> The standard package for this is curses which comes as part
> of the standard library on *nix distros.
The thing about c
Op 11/01/2025 om 15:28 schreef Chris Green via Python-list:
I'm looking for Python packages that can help with text mode input,
i.e. for use with non-GUI programs that one runs from the command
prompt in a terminal window running a bash shell or some such.
What I'm specifically afte
On 15/01/2025 00:54, Grant Edwards via Python-list wrote:
> are your friend. If that's not sophisticated enough the gnu "readline"
> library with a simple command processor is a common next step.
On that front the cmd module in Python is often overlooked
but is useful for structuring a non-GUI-li
ure and handle a UI with a certain set of
input widgets is going to be pretty much the same regardless of the
low-level screen bashing details involved in rendering the widgets.
You choose a TUI toolkit like curses panel/menu/forms instead of a GUI
toolkit like gtk because you need your app t
Alan Gauld wrote:
> On 14/01/2025 00:20, Grant Edwards via Python-list wrote:
> > On 2025-01-13, Alan Gauld via Python-list wrote:
> >
> >> All of that is possible in curses, you just have to code it.
> >
> > All of that is easy with curses in C. Unfortunately, the high level
> > "panel" and "
On 2025-01-14, Alan Gauld via Python-list wrote:
> On 14/01/2025 00:20, Grant Edwards via Python-list wrote:
>> On 2025-01-13, Alan Gauld via Python-list wrote:
>>
>>> All of that is possible in curses, you just have to code it.
>>
>> All of that is easy with curses in C. Unfortunately, the hi
On 14/01/2025 00:20, Grant Edwards via Python-list wrote:
> On 2025-01-13, Alan Gauld via Python-list wrote:
>
>> All of that is possible in curses, you just have to code it.
>
> All of that is easy with curses in C. Unfortunately, the high level
> "panel" and "menu" curses subystems that make
On 2025-01-13, Alan Gauld via Python-list wrote:
> All of that is possible in curses, you just have to code it.
All of that is easy with curses in C. Unfortunately, the high level
"panel" and "menu" curses subystems that make it easy aren't included
in the Python curses API, so doing it in Pyht
On 11/01/2025 14:28, Chris Green via Python-list wrote:
> I'm looking for Python packages that can help with text mode input,
The standard package for this is curses which comes as part
of the standard library on *nix distros.
> What I'm specifically after is a way to provide
rustbuck...@nope.com wrote:
>
> This is what I was going to suggest. Rich is super easy to use.
OK, thanks, Rich is on my shortlist then.
--
Chris Green
·
--
https://mail.python.org/mailman/listinfo/python-list
This is what I was going to suggest. Rich is super easy to use.
--
https://mail.python.org/mailman/listinfo/python-list
On 12/01/25 03:28, Chris Green via Python-list wrote:
I'm looking for Python packages that can help with text mode input,
i.e. for use with non-GUI programs that one runs from the command
prompt in a terminal window running a bash shell or some such.
What I'm specifically after i
I'm looking for Python packages that can help with text mode input,
i.e. for use with non-GUI programs that one runs from the command
prompt in a terminal window running a bash shell or some such.
What I'm specifically after is a way to provide a default value that
can be accepted
On Friday, 30 August 2024 at 21:23, Peter J. Holzer via Python-list
wrote:
>
>
> On 2024-08-30 19:18:29 +, Simon Connah via Python-list wrote:
>
> > I need to write a script that will take some user input (supplied on a
> > website) and then execute a Python
On Friday, 30 August 2024 at 23:35, Thomas Passin via Python-list
wrote:
>
>
> On 8/30/2024 3:18 PM, Simon Connah via Python-list wrote:
>
> > I need to write a script that will take some user input (supplied on a
> > website) and then execute a Python scrip
On 8/30/2024 3:18 PM, Simon Connah via Python-list wrote:
I need to write a script that will take some user input (supplied on a website)
and then execute a Python script on a host via SSH. I'm curious what the best
options are for protecting against malicious input in much the smae way a
On 2024-08-30 19:18:29 +, Simon Connah via Python-list wrote:
> I need to write a script that will take some user input (supplied on a
> website) and then execute a Python script on a host via SSH. I'm
> curious what the best options are for protecting against malicious
>
I need to write a script that will take some user input (supplied on a website)
and then execute a Python script on a host via SSH. I'm curious what the best
options are for protecting against malicious input in much the smae way as you
sanitise SQL to protect against SQL injections.
I
On Fri, 26 May 2023 at 09:58, Kevin M. Wilson via Python-list
wrote:
>
> So, why can't a string of an integer be converted to an integer, via
> print(int(str('23.5')))???
23.5 is not an integer, so "23.5" is not the string of an integer.
ChrisA
--
https://mail.python.org/mailman/listinfo/pytho
We can first convert the string representation of float into float using
float() function and then convert it into an integer using int().So, why can't
a string of an integer be converted to an integer, via
print(int(str('23.5')))???
Perplexed
| print(int(float('23.5'))) |
"When you pas
This issue thread on Github says that everyone is waiting on the
packaging maintainer, but nothing from him for some time.
On 12/22/2022 5:04 AM, Peter J. Holzer wrote:
On 2022-12-21 17:23:47 -0500, Thomas Passin wrote:
The pygame web site says this:
"Pygame still does not run on Python 3.11"
https://github.com/pygame/pygame/issues/3522
From: Python-list on
behalf of Peter J. Holzer
Date: Thursday, December 22, 2022 at 5:06 AM
To: python-list@python.org
Subject: Re: pygame.midi input/output not working
On 2022-12-21 17:23:47 -0500, Thomas Passin wrote:
> The pygame web site s
On 2022-12-21 17:23:47 -0500, Thomas Passin wrote:
> The pygame web site says this:
>
> "Pygame still does not run on Python 3.11"
This doesn't sound like "we haven't got around to preparing packages
yet" and more like "there's a serious incompatibility we haven't solved
yet".
Does anybody know
Hi Thomas,
Thanks for the answer AND solution !
That was it... shame on me, I didn't notice this warning.
I uninstalled 3.11.1 and installed 3.10.9, and my software is back to live
!
Now I have to figure out another problem. I will make another post about
this serial weird behavior.
Thanks for
On 12/21/2022 4:32 PM, Patrick EGLOFF wrote:
HI,
Some time ago I wrote a small software using pygame.midi
It worked just fine with Win10/ python 3.9 / SDL 2.0.14 / pygame 2.0.1
I had to change my computer and now I installed Win10 / Python 3.11.1 / SDL
2.0.18 / pygame 2.1.2
The following instru
HI,
Some time ago I wrote a small software using pygame.midi
It worked just fine with Win10/ python 3.9 / SDL 2.0.14 / pygame 2.0.1
I had to change my computer and now I installed Win10 / Python 3.11.1 / SDL
2.0.18 / pygame 2.1.2
The following instructions don't work anymore, making the IDE stop
sting purposes I want to save
various possible outputs of the command as text files and use those as
inputs.
What format should I use to pass data to the actual parsing function?
I could in both production and test convert the entire input to a string
and pass the string to the parsing method.
Howev
Op 11/03/2022 om 10:11 schreef Roel Schroeven:
Op 10/03/2022 om 13:16 schreef Loris Bennett:
Hi,
I have a command which produces output like the
following:
Job ID: 9431211
Cluster: curta
User/Group: build/staff
State: COMPLETED (exit code 0)
Nodes: 1
Cores per node: 8
CPU
Op 10/03/2022 om 13:16 schreef Loris Bennett:
Hi,
I have a command which produces output like the
following:
Job ID: 9431211
Cluster: curta
User/Group: build/staff
State: COMPLETED (exit code 0)
Nodes: 1
Cores per node: 8
CPU Utilized: 01:30:53
CPU Efficiency: 83.63% of
t;of strings, what should the common format for the argument which is
>passed to the actual parsing function be?
What methods (of its input argument) does the parsing use?
If it uses `Popen` methods, then you pass a `POpen` object;
if it uses only (typical) file methods, then you pass a file obje
; You can separately test both tasks (I, at your place, would do this).
I just want to test the parsing.
> For the parsing test, it is not relevant that the actual text
> comes from an external process. You can directly read it from a file
> or have it in your text.
As mentioned in the or
Loris Bennett wrote at 2022-3-10 13:16 +0100:
>I have a command which produces output like the
>following:
>
> Job ID: 9431211
> Cluster: curta
> User/Group: build/staff
> State: COMPLETED (exit code 0)
> Nodes: 1
> Cores per node: 8
> CPU Utilized: 01:30:53
> CPU Efficiency: 83.63% of 01:4
format should I use to pass data to the actual parsing function?
I could in both production and test convert the entire input to a string
and pass the string to the parsing method.
However, I could use something like
test_input_01 = subprocess.Popen(
["cat test_input_0
On Wed, Jun 30, 2021 at 6:21 AM Jerry Thefilmmaker
wrote:
> @app.route("/check_answer/", methods = ['POST'])
> def check_answer(ans):
>
>
> Enter your answer:
>
>
What you're creating here is a route with a placeholder. The
check_answer
On Tuesday, June 29, 2021 at 2:03:58 PM UTC-4, Chris Angelico wrote:
> On Wed, Jun 30, 2021 at 3:38 AM Jerry Thefilmmaker
> wrote:
> > Thanks for taking the time to explained, Chris. Believe me, it helps. It
> > had me thinking for a while. So, All the stuff about HTTP makes sense. I've
> > be
On Wed, Jun 30, 2021 at 3:38 AM Jerry Thefilmmaker
wrote:
> Thanks for taking the time to explained, Chris. Believe me, it helps. It had
> me thinking for a while. So, All the stuff about HTTP makes sense. I've been
> studying and trying to wrap my head around the rest of your explanation and
On Monday, June 28, 2021 at 3:59:54 PM UTC-4, Chris Angelico wrote:
> On Tue, Jun 29, 2021 at 5:43 AM Jerry Thefilmmaker
> wrote:
> >
> > Do you mind elaborating a bit more on making one function for any given
> > request?
> >
> > As far as defining a bunch of functions that get called when
On Tue, Jun 29, 2021 at 5:43 AM Jerry Thefilmmaker
wrote:
>
> Do you mind elaborating a bit more on making one function for any given
> request?
>
> As far as defining a bunch of functions that get called when particular
> requests come in I thought that's what I had going on in my codes. No?
>
On Monday, June 28, 2021 at 2:41:23 PM UTC-4, Chris Angelico wrote:
> On Tue, Jun 29, 2021 at 4:36 AM Jerry Thefilmmaker
> wrote:
> > @app.route("/", methods = ['POST', 'GET'])
> > def play():
> >
> > @app.route("/", methods = ['POST', 'GET'])
> > def check_answer(ans, user):
> When you're bu
On Tue, Jun 29, 2021 at 4:36 AM Jerry Thefilmmaker
wrote:
> @app.route("/", methods = ['POST', 'GET'])
> def play():
>
> @app.route("/", methods = ['POST', 'GET'])
> def check_answer(ans, user):
When you're building a Flask app, you're defining a bunch of functions
that get called when particular
I am new at python but newer at flask, and I'm trying to deploy a web app where
I:
1. Send the user the question
2. Get the answer from the user
3. Send additional information based on the answer
I am able to send the question but stuck at getting the answer from the user.
Base on the answer fro
On 16/04/2021 19:11, Quentin Bock wrote:
is it possible to set the target language of a translation to be the input
from a user?
I have tried inputting specific abbreviations that would normally be
accepted as the target language but it remains in Icelandic and I would
like to change the target
is it possible to set the target language of a translation to be the input
from a user?
I have tried inputting specific abbreviations that would normally be
accepted as the target language but it remains in Icelandic and I would
like to change the target language based on the user's input wi
On 1/16/2021 9:17 PM, 2qdxy4rzwzuui...@potatochowder.com wrote:
A bare minimum skeleton might look something like this:
with open(filename) as f:
for line in f.readlines():
handle_one_line(f)
f.readlines() reads the entire file into a list of lines (strings). If
y
nimum skeleton might look something like this:
with open(filename) as f:
for line in f.readlines():
handle_one_line(f)
Python has a capable string type for handling text; see
<https://docs.python.org/3/library/string.html>.
Or look into the fileinput module for a con
On Sat, 16 Jan 2021 14:56:37 -0600, 2qdxy4rzwzuui...@potatochowder.com
wrote:
>On 2021-01-16 at 15:42:44 -0500,
>DonK wrote:
>
>> Yes, Windows. Iterating open windows with the Window's API is easy the
>> hard (very hard) part is sending keystrokes to those windows to Save
>> them. It's very trick
On Tue, 12 Jan 2021 10:16:47 +0400, Abdur-Rahmaan Janhangeer
wrote:
>Greetings,
>
>Web with Python is really easy to get started with, here
>is a simple endpoint with a framework called Flask
>
>from flask import Flask
>app = Flask(__name__)
>
>@app.route('/')
>def hello_world():
> return 'Hell
On 2021-01-16 at 15:42:44 -0500,
DonK wrote:
> Yes, Windows. Iterating open windows with the Window's API is easy the
> hard (very hard) part is sending keystrokes to those windows to Save
> them. It's very tricky because the timing is critical.
>
> You have to use one of those "spy" utilities
On Mon, 11 Jan 2021 21:56:48 -0800, Paul Rubin
wrote:
>DonK writes:
>> My problem is that I don't understand how Python programs are
>> used. (i.e user input and output) Is Python mainly used for backends?
>> I've seen some Python gui frameworks like Tkinter,
On Tue, 12 Jan 2021 09:26:18 +1100, Chris Angelico
wrote:
>On Tue, Jan 12, 2021 at 7:41 AM DonK wrote:
>> Hi, I'm thinking about learning Python but I'm 74 years old and will
>> very likely not ever have a programming job again. I used to program
>> in Visual Basic, C\C++, Delphi, etc. and some
On 14/01/21 11:49 am, Cameron Simpson wrote:
The "pure" OOP approach, where method calls are used as messages to set
or fetch aspects of the object, is usually does with getter and setter
methods like:
x = o.getX()
o.setX(9)
People use get and set methods, not because it's somehow mo
On Wed, 13 Jan 2021 21:46:08 - (UTC), Grant Edwards wrote:
> On 2021-01-13, Peter Pearson wrote:
[snip]
>> Browsergui is not widely popular (I don't think anybody but me has
>> mentioned it on this newsgroup), but it was written to be simple and
>> Pythonic, and has served me well. Browsergui
On 14/01/21 11:09 am, Grant Edwards wrote:
Perhaps I need to recalibrate my adjectives, but with
256KB+ of flash and 32KB+ of RAM, I wouldn't call them "small"
It's small by today's standards, when you consider that
multiple GB of RAM is commonplace now in most "real" computers.
--
Greg
--
htt
On 13/01/21 7:57 pm, Christian Gollwitzer wrote:
What do you mean, "until" ?
https://medium.com/@yon.goldschmidt/running-python-in-the-linux-kernel-7cbcbd44503c
He's using Micropython. That's cheating! :-)
--
Greg
--
https://mail.python.org/mailman/listinfo/python-list
On Thu, 14 Jan 2021, dn via Python-list wrote:
Concerning the definition of "old"
- when I'm having a 'good day', it's anyone several years my senior (and
above)
- when I'm creaking and groaning, it's anyone remotely my age, and older.
About 45 years ago a 25-year-older friend of mine offered
On 2021-01-13, Peter Pearson wrote:
> On Mon, 11 Jan 2021 15:37:58 -0500, DonK
> wrote:
> [snip]
>>
>> I've seen some Python gui frameworks like Tkinter, PyQt, etc. but they
>> look kinda like adding a family room onto a 1986 double wide mobile
>> home,
>
> Agreed.
>
> Browsergui is not widely
On 2021-01-13, Dennis Lee Bieber wrote:
> On Tue, 12 Jan 2021 15:18:05 - (UTC), Grant Edwards
> declaimed the following:
>>On 2021-01-12, songbird wrote:
>>
>>> it can be used for pretty much anything except perhaps high
>>> pressure real time things, but i bet someone else will know that
>>>
On 14/01/2021 04.54, Grimble wrote:
> On 11/01/2021 20:37, DonK wrote:
>>
>> Hi, I'm thinking about learning Python but I'm 74 years old and will
>> very likely not ever have a programming job again.
> At 83, I have no intention of having a programming job again! I last
> coded something professi
On 13Jan2021 10:37, songbird wrote:
> my momentary conceptual problem is that to me OOP means
>being able to encapsulate data structures and code from
>other parts of the program, but to me it doesn't look like
>that is how python is designed. this is probably a complete
>aside to this whole thr
On Mon, 11 Jan 2021 15:37:58 -0500, DonK wrote:
[snip]
>
> I've seen some Python gui frameworks like Tkinter, PyQt, etc. but they
> look kinda like adding a family room onto a 1986 double wide mobile
> home,
Agreed.
Browsergui is not widely popular (I don't think anybody but me has
mentioned it
Christian Gollwitzer wrote:
> Am 13.01.21 um 06:24 schrieb Greg Ewing:
>> On 13/01/21 4:18 am, Grant Edwards wrote:
>>
>>> AFAIK, Python can't be used to write device drivers for any popular OS
>>
>> At least not until some crazy person embeds Python in the
>> Linux kernel...
>
>
> What do you
ion interfacing with various 1Wire sensors
transcribed from an initial Ruby application. My largest GUI application
is a database of personal contacts with input and output of data via
vCards and .csv files (with a lot of mentoring from an American Gtk user!)
I find this a fascinating news group
Chris Angelico wrote:
...projects that fade...
> That's not really something Python can ever control, but I can say
> with some confidence that the big libraries like Qt and GTK are going
> to adapt, one way or another. And perhaps more importantly: Neither
> input()/print() nor
Ruby
application. My largest GUI application is a database of personal
contacts with input and output of data via vCards and .csv files (with a
lot of mentoring from an American Gtk user!)
I find this a fascinating news group - shame there's been no updates to
Friday Finking recently
Am 13.01.21 um 06:24 schrieb Greg Ewing:
On 13/01/21 4:18 am, Grant Edwards wrote:
AFAIK, Python can't be used to write device drivers for any popular OS
At least not until some crazy person embeds Python in the
Linux kernel...
What do you mean, "until" ?
https://medium.com/@yon.goldschm
On 13/01/21 4:18 am, Grant Edwards wrote:
AFAIK, Python can't be used to write device drivers for any popular OS
At least not until some crazy person embeds Python in the
Linux kernel...
--
Greg
--
https://mail.python.org/mailman/listinfo/python-list
On 2021-01-12, Chris Angelico wrote:
> * Command-line calculator - pressing Ctrl-Alt-P will open up a
> terminal with Python, and that's the normal way that I do quick
> calculations
I do that a lot too.
--
Grant
--
https://mail.python.org/mailman/listinfo/python-list
On 12Jan2021 10:40, Michael F. Stemper wrote:
>On 11/01/2021 14.37, DonK wrote:
>>I've installed Python 3.7, the PyCharm IDE and watched some Youtube
>>tutorials
>
>I would suggest that instead of watching tutorials, you open up your IDE
>and start writing stuff.
I would second that. Maybe this i
On 12Jan2021 15:18, Grant Edwards wrote:
>On 2021-01-12, songbird wrote:
>> it can be used for pretty much anything except perhaps
>> high pressure real time things, but i bet someone else will
>> know that is being done too, i've just not heard of it. :)
>
>AFAIK, Python can't be used to writ
On Tue, Jan 12, 2021 at 7:41 AM DonK wrote:
> So, what do you folks use Python for?
>
Since everyone else is, I'll add my list.
* API lookups of various sorts (usually via HTTP requests)
* Audio analysis. Calculate the maximum and average volume of each of
many songs.
* Code generation. The audi
On 2021-01-12, Chris Angelico wrote:
> On Wed, Jan 13, 2021 at 3:18 AM Grant Edwards
> wrote:
>>
>> On 2021-01-12, songbird wrote:
>>
>> > it can be used for pretty much anything except perhaps
>> > high pressure real time things, but i bet someone else will
>> > know that is being done too,
On 12/01/2021 10.40, Michael F. Stemper wrote:
Modeling of electric power systems:
- load behavior in response to conservation load reduction
Sorry, that should have been "conservation voltage reduction".
--
Michael F. Stemper
Psalm 82:1-4
--
https://mail.python.org/mailman/listinfo/python-l
On 2021-01-11 20:37, DonK wrote:
[snip]
So, what do you folks use Python for?
Since we're sharing:
- Personal information manager in the form of a tree of pages. Each page
can have code associated with it which defines functions to call when
shortcut keys are pressed, giving page-specifi
On 11/01/2021 14.37, DonK wrote:
I've installed Python 3.7, the PyCharm IDE and watched some Youtube
tutorials
I would suggest that instead of watching tutorials, you open up your IDE
and start writing stuff. Get an introductory python book (I used the
O'Reilly _Introducing Python_), start at
On Wed, Jan 13, 2021 at 3:18 AM Grant Edwards wrote:
>
> On 2021-01-12, songbird wrote:
>
> > it can be used for pretty much anything except perhaps
> > high pressure real time things, but i bet someone else will
> > know that is being done too, i've just not heard of it. :)
>
> AFAIK, Python
On 2021-01-12, songbird wrote:
> it can be used for pretty much anything except perhaps
> high pressure real time things, but i bet someone else will
> know that is being done too, i've just not heard of it. :)
AFAIK, Python can't be used to write device drivers for any popular OS
(Linux, Uni
On 2021-01-11, DonK wrote:
> So, what do you folks use Python for?
I mainly use it for writing command-line utilities. Many of them work
on either Windows or Linux, but are mostly used on Linux:
* Two-pass symbolic assembler and dissassembler for a proprietary
communications controller.
*
more stable to my style of
> doing things).
That's not really something Python can ever control, but I can say
with some confidence that the big libraries like Qt and GTK are going
to adapt, one way or another. And perhaps more importantly: Neither
input()/print() nor web applications is going
on 3.7, the PyCharm IDE and watched some Youtube
> tutorials but it's been stretched out over about 1.5 years so I'll
> probably need to go back to the beginning. My problem is that I don't
> understand how Python programs are used. (i.e user input and output)
> Is Pyth
but it's been stretched out over about 1.5 years so I'll
> probably need to go back to the beginning. My problem is that I don't
> understand how Python programs are used. (i.e user input and output)
> Is Python mainly used for backends?
>
> I've seen some Pyth
On Tue, Jan 12, 2021 at 3:16 PM Greg Ewing wrote:
> > Currently I'd like to write something to iterate
> > through open windows and save them to different folders depending on
> > if the titlebar contains certain strings.
>
> That sounds like it should be doable if you can get access to the
> righ
On 12/01/21 9:37 am, DonK wrote:
I've seen some Python gui frameworks like Tkinter, PyQt, etc. but they
look kinda like adding a family room onto a 1986 double wide mobile
home, and they look even more complicated than creating a GUI from
scratch in C++ with a message loop, raising events . . .
On 11Jan2021 15:52, Dan Stromberg wrote:
>On Mon, Jan 11, 2021 at 2:22 PM Cameron Simpson wrote:
>> >I've seen some Python gui frameworks like Tkinter, PyQt, etc. but
>> >they
>> >look kinda like adding a family room onto a 1986 double wide mobile
>> >home, and they look even more complicated th
On Mon, Jan 11, 2021 at 2:22 PM Cameron Simpson wrote:
> >I've seen some Python gui frameworks like Tkinter, PyQt, etc. but they
> >look kinda like adding a family room onto a 1986 double wide mobile
> >home, and they look even more complicated than creating a GUI from
> >scratch in C++ with a me
On Tue, Jan 12, 2021 at 7:41 AM DonK wrote:
> Hi, I'm thinking about learning Python but I'm 74 years old and will
> very likely not ever have a programming job again. I used to program
> in Visual Basic, C\C++, Delphi, etc. and some obscure "mainframe"
> languages.
BTW, from my experience, there
back to the beginning. My problem is that I don't
>understand how Python programs are used. (i.e user input and output)
>Is Python mainly used for backends?
My personal Python use is almost all backend, and on a personal basis I
spend most of my time at a command prompt in a terminal
stretched out over about 1.5 years so I'll
> probably need to go back to the beginning. My problem is that I don't
> understand how Python programs are used. (i.e user input and output)
> Is Python mainly used for backends?
>
> I've seen some Python gui frameworks lik
but it's been stretched out over about 1.5 years so I'll
> probably need to go back to the beginning. My problem is that I don't
> understand how Python programs are used. (i.e user input and output)
> Is Python mainly used for backends?
>
Python is used in many different wa
to the beginning. My problem is that I don't
understand how Python programs are used. (i.e user input and output)
Is Python mainly used for backends?
I've seen some Python gui frameworks like Tkinter, PyQt, etc. but they
look kinda like adding a family room onto a 1986 double wide mobile
home,
On 9/29/2020 9:48 AM, Pierre Bonville wrote:
I have a small problem with the method .quit() of tkinter.
What problem? It works for me (3.9 on Win 10).
>>> import tkinter as tk
>>> r = tk.Tk()
>>> b = tk.Button(r, text= r.quit)
>>> b = tk.Button(r, text='quit', command=r.quit)
>>> b.pack()
>>>
y (cm/s): ").grid(row=0)
vit = Entry(fen,text = vit0)
vit0.set(7.)
vit.grid(row=0, column=1)
button = Button(fen, text='OK', command=print_par).grid(row=5,column=0)
fen.mainloop()
vit = float(vitt)
init()
print(vit)
x = np.arange(0,4*np.pi,0.1)
y = np.sin(x)
Hi,
On 25/06/2020 12:50, Bischoop wrote:
I try to split input numbers, for example: 12 so I cant add them, I
tried separated split(' ') but it's not working.
Any ideas how to do this?
*
numb1,numb2=input("enter 1st and 2nd no ").split()
Avg=(int(numb1) + int(numb2)) /
Bischoop wrote:
> I try to split input numbers, for example: 12 so I cant add them, I
> tried separated split(' ') but it's not working.
> Any ideas how to do this?
>
> *
> numb1,numb2=input("enter 1st and 2nd no ").split()
> Avg=(int(numb1) + int
On 2020-06-25 2:13 PM, Bischoop wrote:
On 2020-06-25, Andrew Bell wrote:
Without knowing the problem you're having, it's hard to answer.
This seems generally correct.
Error track:
Traceback (most recent call last):
File "splitting.py", line 1, in
numb1,numb2=
1 - 100 of 1610 matches
Mail list logo