Converting a list of lists to a single list

2013-07-23 Thread steve
I think that itertools may be able to do what I want but I have not been able to figure out how. I want to convert an arbitrary number of lists with an arbitrary number of elements in each list into a single list as follows. Say I have three lists: [[A0,A1,A2], [B0,B1,B2] [C0,C1,C2]] I would

Re: Converting a list of lists to a single list

2013-07-24 Thread steve
Wow, thanks everyone. Very helpful indeed! On Tuesday, July 23, 2013 2:52:21 PM UTC-7, st...@divillo.com wrote: > I think that itertools may be able to do what I want but I have not been able > to figure out how. > > > > I want to convert an arbitrary number of lists with an arbitrary number o

Re: os.system()

2012-04-19 Thread Steve
"Yigit Turgut" wrote in message news:b9a8bb28-3003-4a36-86fb-339ef697b...@i2g2000vbd.googlegroups.com... When I use os.system() function, script waits for termination of the windows that is opened by os.system() to continue thus throwing errors and etc. How can i tell Python to let it go and

Why does this leak memory?

2012-06-07 Thread Steve
When I run this program: import configparser, sys, gc def test(): config=configparser.ConfigParser() #del(config) #gc.collect() test() sys.stderr.write(sys.version) gc.set_debug(gc.DEBUG_LEAK|gc.DEBUG_STATS) It reports: 3.2.3 (default, Apr 11 2012, 07:15:24) [MSC v.1500 32 bit (Intel)]

Re: Why does this leak memory?

2012-06-08 Thread Steve
"John Gordon" wrote in message news:jqr3v5$src$1...@reader1.panix.com... I'm unfamiliar with gc output, but just glancing over it I don't see anything that looks like a leak. It reported that there were 19 objects which are unreachable and therefore are candidates for being collected. What mak

Tcl wasn't installed properly

2011-03-10 Thread Steve
I'm a frequent user of matplotlib on my Windows XP machine. I recently attempted to install a program that modified my Tcl installation, and I now get an error message when I attempt to plot anything in matplotlib. Here is the error message: --- Traceback (most recent call last): File "", line

Re: Tcl wasn't installed properly

2011-03-10 Thread Steve
On Mar 10, 11:00 am, MRAB wrote: > On 10/03/2011 15:39, Steve wrote: > > > > > > > > > > > I'm a frequent user of matplotlib on my Windows XP machine.  I > > recently attempted to install a program that modified my Tcl > > installation,

Re: Tcl wasn't installed properly

2011-03-10 Thread Steve
On Mar 10, 11:30 am, Steve wrote: > On Mar 10, 11:00 am, MRAB wrote: > > > > > > > > > > > On 10/03/2011 15:39, Steve wrote: > > > > I'm a frequent user of matplotlib on my Windows XP machine.  I > > > recently attempted to install a

Trying to read from a text file to generate a graph

2021-07-28 Thread Steve
e the values of the variables I want to pass to the graph section of the code. If the values are hardcoded, the graphs look good. When the variables generated by my section of the code, it does not. I am not sure what more to explain. Please help me Steve I am attaching a zip file. I ho

RE: Trying to read from a text file to generate a graph

2021-07-28 Thread Steve
I forgot about the no-file rule... On 28Jul2021 02:55, Steve wrote: >I am going though a struggle with this and just don't see where it fails. >I am using the Dual Bar Graph.py program from https://matplotlib.org/stable/gallery/index.html website. >The file from the web site works

RE: Trying to read from a text file to generate a graph

2021-07-29 Thread Steve
Thank you, the responses here have been extremely helpful. Steve Footnote: There's 99 bugs in the code, in the code. 99 bugs in the code. Take one down and patch it all around. Now there's 1

How do I modify a bar graph?

2021-07-29 Thread Steve
Women') # Add some text for labels, title and custom x-axis tick labels, etc. ax.set_ylabel('Scores') ax.set_title('Scores by group and gender') ax.set_xticks(x) ax.set_xticklabels(labels) ax.legend() ax.bar_label(rects1, padding=3) ax.bar_label(rects2, padding=3)

RE: Regarding inability of Python Module Winsound to produce beep in decimal frequency

2021-08-17 Thread Steve
"The HAL (hardware abstraction layer) function HalMakeBeep()" Is the beep that opens the pod bay doors? Footnote:  George Melly remarked to Mike Jagger on how lined his face was for one so young. Jagger replied “They’re laughter lines George” to which Melly countered: “Mick, nothing’s that f**k

RE: Regarding inability of Python Module Winsound to produce beep in decimal frequency

2021-08-18 Thread Steve
-Original Message- From: Python-list On Behalf Of Greg Ewing Sent: Wednesday, August 18, 2021 11:49 AM To: python-list@python.org Subject: Re: Regarding inability of Python Module Winsound to produce beep in decimal frequency On 18/08/21 4:43 pm, Steve wrote: >> >> "

matplotlib questions

2021-08-26 Thread Steve
I am trying to modify the "Bar Graph Demo" at https://matplotlib.org/stable/gallery/index.html, Lines, bars, and markers but the more I experiment and change the code, the more messed up it becomes. I have the demo code working. This is my second attempt. I guess I accidentally got my first char

RE: matplotlib questions

2021-08-27 Thread Steve
I would like to know how the data is placed on the Y-axis and at the tops of the bars. The data is not being shown properly. With some exceptions, it looks as if the data is getting sorted independently from the dates. OK, here is the code: == # https:

matplotlib graph white space

2021-10-04 Thread Steve
I am using the first bar graph listed at this site: https://matplotlib.org/stable/gallery/index.html The problem I have is that there is too much white space around the graph. My data would be better displayed if I could widen the graph into the space to the right and left of the chart. Steve

RE: matplotlib graph white space

2021-10-04 Thread Steve
Yes, I saw that but it is a change for all sides. Is there a setting to change just the left and right padding? -Original Message- From: Michel Alwan Sent: Monday, October 4, 2021 7:56 AM To: Steve Cc: python-list@python.org Subject: Re: matplotlib graph white space In the plot

Custom designed alarm clock

2021-12-18 Thread Steve
I have designed a simple alarm using Python. It has about 10 limes. How do I convert it to an app that I can on my android Moto E power 2021 phone? Steve -- https://mail.python.org/mailman/listinfo/python-list

RE: Custom designed alarm clock

2021-12-18 Thread Steve
the s14a library… Oh well, nothing is as simple as it first seems. It may take a while but I am willing to give it a go. Steve George Melly remarked to Mike Jagger on how lined his face was for one so young. Jagger replied “They’re laughter lines George” to which Melly countered

[tkinter] question about correct use of validation

2019-01-15 Thread steve
the interpreter) Without this way I would not know how to pass the maximum number of characters to the validation function, I can not use one variable self.--- for each entry ... it would become aesthetically unattractive. I would not even like to add a textvariable variable because anyway then I should always pass the comparison value. thank you in advance Steve -- https://mail.python.org/mailman/listinfo/python-list

Re: [tkinter] question about correct use of validation

2019-01-15 Thread steve
On 15/01/2019 14:16, Rick Johnson wrote: steve wrote: Then it's just a matter of passing a keyword argument: myEntry = MyEntry(master, maxlen=20) What you have above is a tightly coiled, steaming dogpile that will litter your code base. Encapsulate that stench, would ya?

Re: [tkinter] question about correct use of validation

2019-01-17 Thread steve
Il 16/01/19 08:51, Peter Otten ha scritto: def make_ui(self): ''' create user interface ''' def vcmd(maxlength): return self.parent.register( partial(self.maxlength_validate, maxlength=maxlength) ), "%P" ... ok following your

Re: [tkinter] question about correct use of validation

2019-01-17 Thread steve
Il 17/01/19 14:08, Peter Otten ha scritto: Two remarks: self.id1_entry = self.make_entry(self.parent, maxlen=1).pack() You set all idX_entry attributes to None, as that's what pack() returns. you mean.. self.idx_entry = self.make_entry(self.parent, width=50, maxlen=30, highligh

Re: [tkinter] question about correct use of validation

2019-01-17 Thread steve
Il 17/01/19 14:08, Peter Otten ha scritto: Alternatives: - If you know that you'll always just call pack() you can change the make_entry() method accordingly def make_entry(...): ... entry.pack() return entry - Write a helper function def pack(widget): widget.pack()

How do I get a python program to work on my phone?

2019-01-28 Thread Steve
have the program chime my phone to remind me to take the next reading. First step is to get it running in my phone How do I do it? What software do I need to make the transfer? Steve = Footnote: Zamboni locks up after running into a large patch of loose teeth. -- https

Python program to phone?

2019-02-04 Thread Steve
my program instead. How do I figure out what is wrong and might there ne a better way to get the program onto my phone? Steve P.S. Yes, I tried to post this about two weeks ago but could not seem to respond to the replies I received. I could contact one or two individuals but apparently not

RE: Loop with else clause

2019-02-04 Thread Steve
Would it be a hyphythonitical question? = Footnote: Zamboni locks up after running into large patch of loose teeth. -Original Message- From: Python-list On Behalf Of DL Neil Sent: Monday, February 4, 2019 11:29 PM To: 'Python' Subject: Loop with else clause What is the

RE: Python program to phone?

2019-02-07 Thread Steve
@python.org Subject: Re: Python program to phone? Hi there Steve. Did you check BeeWare? (https://pybee.org/) -- https://mail.python.org/mailman/listinfo/python-list -- https://mail.python.org/mailman/listinfo/python-list

A limit to writing to a file from a loop?

2019-02-12 Thread Steve
My program reads from a text file (A), modifies the data, and writes to another file (B). This works until I reach about 300 writes and no more lines are written to file (B). I had to create a Counter and increment it to 250 when it gets reset. Upon reset, I close the file (B) being written a

I cannot seem to write time/date to the file.

2019-02-12 Thread Steve
I am using nowTimeDate2 elsewhere in my program and it can be printed to the screen. The file exists and the program successfully opens the file, writes to it, and closes the file. All is working as designed. However, Now I want to place an entry into the first line of the file to note the

RE: A limit to writing to a file from a loop?

2019-02-12 Thread Steve
ytes) instead of the incoming data, 250+ times? Footnote: Ultrasound Technician Asks Pregnant Woman If She’d Like to Know Baby’s Name... -Original Message- From: DL Neil Sent: Tuesday, February 12, 2019 2:13 PM To: Steve ; python-list@python.org Subject: Re: A limit to writing to a file from a loo

RE: I cannot seem to write time/date to the file.

2019-02-12 Thread Steve
ge- From: Python-list [mailto:python-list-bounces+david.raymond=tomtom@python.org] On Behalf Of Steve Sent: Tuesday, February 12, 2019 2:20 PM To: python-list@python.org Subject: I cannot seem to write time/date to the file. I am using nowTimeDate2 elsewhere in my program and it can be printed

New rules for scope in a function?

2019-02-18 Thread Steve
. Are variables used in the main program not also visible for use within the function? Do these variables have to be declared as global? Steve Footnote: Ultrasound Technician Asks Pregnant Woman If She’d Like To Know Baby’s Name -- https://mail.python.org/mailman/listinfo/python-list

RE: New rules for scope in a function?

2019-02-18 Thread Steve
OK, I wrote: x = "A" print("x = " + x) def f(y): print("x= " + x + " y= "+ y) f(x) and it worked, inspite of what I was seeing in my own program. How quick I am to blame Python. (: When I isolate my function that stumped me, I will post

RE: ajax with pyside webview

2019-02-19 Thread Steve
Try BonAmi. Footnote: Ultrasound Technician Asks Pregnant Woman If She'd Like To Know Baby's Name -Original Message- From: Python-list On Behalf Of Abdur-Rahmaan Janhangeer Sent: Tuesday, February 19, 2019 2:08 AM To: Python Subject: ajax with pyside webview greetings, i'm using pys

RE: Unable to Install Python 3.7.2 64 bit version on my Windows 8.1

2019-02-20 Thread Steve
Is your .py file represented with the python icon? If not then you probably have a path problem. You can check to see if python is working if you copy a .py file into the same folder where python.exe exists. If you can execute the .py file from that folder then and not elsewhere, it is probably a

RE: my idle doesn't work

2019-02-20 Thread Steve
I had this once. I uninstalled/reinstalled python and IDLE worked. Footnote: Ultrasound Technician Asks Pregnant Woman If She'd Like To Know Baby's Name -Original Message- From: Python-list On Behalf Of Sithmi Assalaarachchi Sent: Wednesday, February 20, 2019 7:53 AM To: python-list@py

RE: Connector/Python, MySQL Workbench Issue

2019-02-25 Thread Steve
Check to see if the path was updated. Footnote: Ultrasound Technician Asks Pregnant Woman If She'd Like To Know Baby's Name -Original Message- From: Python-list On Behalf Of Scott Sorgent Sent: Monday, February 25, 2019 8:16 PM To: python-list@python.org Subject: Connector/Python, MySQL

RE: Quirk difference between classes and functions

2019-02-26 Thread Steve
someone could post a simple example of each on which I might experiment. Steve Footnote: There's 99 bugs in the code, in the code. 99 bugs in the code. Take one down and patch it all around. Now there&

System Beep?

2019-03-08 Thread Steve
How can I cause a system beep using code? This is using the computer's internal speaker, not an audio external speaker. Do I have control of duration or volume? Steve Footnote: Every minute, every single day, the equivalent of a truckload of plastic enters our oceans. --

RE: Duplicates

2019-03-08 Thread Steve
Are they going to the same or another eddress? Do you have a second e-mail address in the list? Footnote: Ultrasound Technician Asks Pregnant Woman If She'd Like To Know Baby's Name -Original Message- From: Python-list On Behalf Of Milt Sent: Friday, March 8, 2019 2:37 PM To: python-lis

RE: System Beep?

2019-03-08 Thread Steve
m Beep? Windows has the built in winsound module that lets you set frequency and duration, not sure about other OS's. https://docs.python.org/3.7/library/winsound.html -Original Message- From: Python-list [mailto:python-list-bounces+david.raymond=tomtom@python.org] On Behalf Of

RE: System Beep?

2019-03-08 Thread Steve
Sent: Friday, March 8, 2019 2:56 PM To: Steve Cc: python-list@python.org Subject: Re: System Beep? Hi, On Fri, Mar 8, 2019 at 1:35 PM Steve wrote: > > How can I cause a system beep using code? > This is using the computer's internal speaker, not an audio external > speaker. P

RE: System Beep?

2019-03-08 Thread Steve
mp;b=&c=> Ultrasound Technician Asks Pregnant Woman If She’d Like To Know Baby’s Name From: Ivan "Rambius" Ivanov Sent: Friday, March 8, 2019 3:25 PM To: Steve Cc: David Raymond ; python-list@python.org Subject: Re: System Beep? Hello, On Fri, Mar 8, 2019, 3:19 PM Steve mailto:Gro

RE: System Beep?

2019-03-08 Thread Steve
day, March 8, 2019 3:51 PM To: python-list@python.org Subject: Re: System Beep? Dear Squeak, sorry, Dear Steve, Back in the ?good, old days when we used to walk alongside a mainframe CPU whilst it cogitated, we would often use the BEL character to alert us to job completion (and meantime b

RE: System Beep?

2019-03-08 Thread Steve
half Of Peter Otten Sent: Friday, March 8, 2019 3:42 PM To: python-list@python.org Subject: RE: System Beep? Steve wrote: >> You have a typo. It is winsound, not winDsound. > Yes, I saw that. It still failed with, or without, the “d”. I played > with case and the use of (). They all

RE: System Beep?

2019-03-08 Thread Steve
Thank you, both work for me too. Mischief managed. Steve Footnote: I am simply a thing that thinks. Rene Descartes -Original Message- From: Python-list On Behalf Of Terry Reedy Sent: Saturday, March 9, 2019 12:53 AM To: python-list@python.org Subject: Re: System Beep? On 3/8/2019 1

RE: System Beep?

2019-03-08 Thread Steve
Mischief almost managed. They both work when using IDLE but the second one leaves an empty window to be closed. I do like the second one. Is there a follow up command to close that window? Steve Footnote: I am simply a thing that thinks. Rene Descartes -Original Message- From: Python

Can my python program send me a text message?

2019-03-19 Thread Steve
I have a program that triggers a reminder timer. When that timer is done, I would like to receive a text message on my phone to tell me that it is time to reset the experiment. Can this be done using Python? Steve -- https://mail.python.org/mailman/listinfo/python-list

RE: Can my python program send me a text message?

2019-03-19 Thread Steve
Thanks for all the suggestions. It is going to take a while to sift through them. I will continue to watch for more discussion and will check back in if/when I get something working or if I get stuck. Steve Footnote: Fight the hand that feeds the hate. -Original Message- From: Python

RE: Can my python program send me a text message?

2019-03-20 Thread Steve
This is a very good point since I am already finding that the arrival of texts, and voice mail, seem to be irregular with respect to delivery times with my phone as it is. On the other hand, I was not thinking fourth dimensionally when I thought about using text mail for this project. Since I am p

What is the difference between "ws.Messagebeep(1)" and "ws.Messagebeep(-1)" ?

2019-03-21 Thread Steve
Also: What is the code for other tones that I can call? Footnote: When someone asks "A penny for your thoughts" and you give your 2c worth, I wonder what happens to that other penny? TTKMAWAN -- https://mail.python.org/mailman/listinfo/python-list

Timing problem?

2019-03-21 Thread Steve
I believe I can see what is happening here but maybe someone can explain least I run into this again. Situation 1: I am using "ws.MessageBeep(1)" to generate a tone through the speakers. I wanted two tones to separate it from other tones that might happen and placed that code a second time in t

convert .py to Android ?

2019-05-13 Thread Steve
and actually had the Good Morning World program in my phone but at that time I did not seem to be able to do it again. Now that I am on a different computer, I hope I don't have to go through all that set up again. Is there an easier way to achieve my task? Steve Footnote: Sometimes I feel

App for Moto e6 using Python?

2020-07-13 Thread Steve
go through that installation and learning curve again. It works on my computer but I have projects that interfere with the alarm. This is why I would prefer to have it on my phone. I appreciate any assistance you can provi

RE: Fake news Detect

2020-07-17 Thread Steve
I posted a request for assistance about a week ago, no response. I also see very little traffic here, less than there used to be. Has something gone wrong with my set up? Footnote: There's 99 bugs in th

An I connected here?

2020-07-17 Thread Steve
Sorry folks, I really messed that one up. I tried to doctor up a reply to get the address correct but failed to delete enough to own the message... My message did not have anything to do with the "Fake News Detect" subject. I posted a request for assistance about a week ago, no response. I als

RE: An I connected here?

2020-07-17 Thread Steve
-17, Rhodri James wrote: > On 17/07/2020 19:33, Steve wrote: > >> I posted a request for assistance about a week ago, no response. I >> also see very little traffic here, less than there used to be. Has >> something gone wrong with my set up? > > No, nothing'

Seeking to convert a py timer app for my Moto E6

2020-07-17 Thread Steve
an provide. Steve I attached the py code but wonder if it will carry with the message. It is about 100 lines of code but that includes a few ops and whistles that are probably not needed in the app. There

RE: Seeking to convert a py timer app for my Moto E6

2020-07-19 Thread Steve
8 Jul 2020 00:32:12 -0400, "Steve" declaimed the following: I have nothing new to add to your inquiry other than to confirm that I distinctly saw the first time you posted it, about a week ago, and that you did get a response at that time. https://groups.google.com/forum/#!to

RE: Local access to a file, How To ?

2020-07-28 Thread Steve
. I look up use of path and I seem to get all absolute path instruction and not relative. Where an I steering wrongly here. Steve Footnote: In 10 years, are these going to be the "good old times" that we are living right now?

RE: Local access to a file, How To ?

2020-07-29 Thread Steve
-Original Message- From: Python-list On Behalf Of DL Neil via Python-list Sent: Tuesday, July 28, 2020 6:15 PM To: python-list@python.org Subject: Re: Local access to a file, How To ? On 29/07/2020 08:56, Steve wrote: > I have a python program that reads and writes to files that are all

Python running in the Command Prompt Window questions

2020-08-02 Thread Steve
When I double click on a .py file, it executes at the command prompt with black background and small white font. Is there python code to change the font size and background color? === FootNote: Would it be ironic if Popeye’s chicken was fried in Olive Oil?

Problems with tool tips...

2020-08-03 Thread Steve
Python/IDLE How do I get rid of the "suggestion" box tool tips that always blocks the work I need to see when writing code? Do they really have to cram it right up at the data entry point? Can't it be down in the border and out of the way? I don't use it as much as it is interfering with my work

Updating a variable problem.

2020-08-04 Thread Steve
Why should line 6 fail until line 7 is commented out? Python complains that MSN is "referenced before assignment". def ReadTheEQfile(): global MSN MSN = ("1 Monitor") #This line works every time. def EditTheEQlist(): print("MSN2 = " + MSN) # Works if the next line is commented out. MS

RE: Updating a variable problem.

2020-08-04 Thread Steve
. FootNote: If money does not grow on trees, then why do banks have branches? From: Souvik Dutta Sent: Tuesday, August 4, 2020 5:12 AM To: Steve Subject: Re: Updating a variable problem. I don't know your exact meaning of fail. But as much as I can say there is a new variable MSN

Save-to-file code not quite working completely

2020-08-08 Thread Steve
omehow disappeared. So close, so simple... How do I fix this? Steve P.S. I read to add ".rstrip()" but that messed things even more... (-: === Footnote:  logomachist - someone given to disputes over words. logomach. controversialist

Mischief Managed: Save-to-file code not quite working completely

2020-08-08 Thread Steve
riginal Message- From: MRAB Sent: Saturday, August 8, 2020 9:08 PM To: Steve Subject: Re: Save-to-file code not quite working completely On 2020-08-09 00:51, Steve wrote: > I don't see that. What I do see is that it placing the new string but > leaving most of the old one. That

IDLE: New Feature?

2020-08-09 Thread Steve
bandwidth thinking about coding. Steve Footnote: There's 99 bugs in the code, in the code. 99 bugs in the code. Take one down and patch it all around. Now there's 117 bugs in the code. -- https://mail.

RE: IDLE: New Feature?

2020-08-11 Thread Steve
From: Python-list On Behalf Of Terry Reedy Sent: Sunday, August 9, 2020 9:51 PM To: python-list@python.org Subject: Re: IDLE: New Feature? On 8/9/2020 7:39 PM, Steve wrote: > Where would the conversation have to happen to get the forces-that-be > to install a pull-down/history menu for th

RE: Python Pandas split Date in day month year and hour

2020-08-19 Thread Steve
0 2017-11-01 00:00:00 If you are reading it is as a line into python, then it is a tuple and can be parsed accordingly: Nb = YourdataLIne[0:1] #Line Number Yr = YourDataLine[3:7]#Year Da = YourDataLine[9:11] #Day Mo = YourDataLine[13:14] #Month Hr = YourDataLine[16:1

How do I use the data entered in a form?

2020-08-21 Thread Steve
x27;Quit', command = root.quit) b2.pack(side = LEFT, padx = 5, pady = 5) root.mainloop() SR = (entries['Sensor_Reading'].get()) print ("SR Outside = " + SR) == The last two lines were guesses but they still failed. Steve == Footnote: English speakers on a roller coaster: "W" Spanish speakers on a rollercoaster: " Nosostros" -- https://mail.python.org/mailman/listinfo/python-list

RE: How do I use the data entered in a form?

2020-08-22 Thread Steve
y, to they cacel each other out? -Original Message- From: Python-list On Behalf Of Peter Otten Sent: Saturday, August 22, 2020 2:26 AM To: python-list@python.org Subject: Re: How do I use the data entered in a form? Steve wrote: > def makeform(root, fields): >entries = {} >

How do I close a form without closing the entire program?

2020-08-23 Thread Steve
nts = makeform1(root1, fields1) b1 = Button(root1, text = 'Submit', command=(lambda e = ents: SubmitForm(e))) b1.pack(side = LEFT, padx = 5, pady = 5) b2 = Button(root1, text = 'Quit', command = root1.quit) b2.pack(side = LEFT, padx = 5, pady = 5) root1.

How do I place a preset into the text box?

2020-08-28 Thread Steve
The following program compiles but does not quite do what I would like it to do. Line 19 is the preset information but I do not seem to be able to get it into the form by code. My purpose is to let the user make changes without having to re-enter the entire code. Suggestions welcome. Steve

RE: How do I place a preset into the text box?

2020-08-28 Thread Steve
Works like a charm, special thanks. Steve = Footnote: He called his wife to see if he should pick up Fish and Chips on the way home. She hung up on him. She is still fuming over letting him name the kids. -Original Message- From

RE: How do I place a preset into the text box?

2020-08-28 Thread Steve
t.." From: Colin McPhail Sent: Friday, August 28, 2020 7:46 AM To: Chris Narkiewicz via Python-list Cc: Steve Subject: Re: How do I place a preset into the text box? Hi Steve, On 28 Aug 2020, at 11:03, Steve mailto:Gronicus@SGA.Ninja> > wrote: The following program

Problem running a FOR loop

2020-08-30 Thread Steve
Compiles, no syntax errors however, line 82 seems to run only once when the FOR loop has completed. Why is that? All fields are to contain the specifications, not just the last one. Steve

RE: Problem running a FOR loop

2020-08-30 Thread Steve
Yes, that first option worked. Special thanks... Steve === Footnote: If 666 is considered evil, then technically, 25.8069758 is the root of all evil. -Original Message- From: Python-list On Behalf Of Peter Otten Sent: Sunday, August 30, 2020 5:29 AM To

How do I left-justify the information in the labels?

2020-08-30 Thread Steve
NewSpec = tk.StringVar() New_Specs.append(NewSpec) SVRCodeEntered = ttk.Entry(window, width = 15, textvariable = NewSpec) SVRCodeEntered.grid(column = 2, row = x, pady = 15) SVRCodeEntered.insert(0, OldSpec) x += 1

RE: How do I left-justify the information in the labels?

2020-08-30 Thread Steve
It turned out to be "sticky=tk.W" instead of "sticky=tkinter.w" Probably because I have "import tkinter as tk" It does work though. Mischief Managed Steve FootNote: If money does not grow on trees, then why do banks have branches? -Original Message

How do I pull the updated information from a tkinter form?

2020-08-30 Thread Steve
# through will help. # # Thank you # Steve # --- import tkinter as tk from tkinter import ttk import sys ThisList = ["start"] #=== def FillTheList(): x=0

RE: How do I pull the updated information from a tkinter form?

2020-08-30 Thread Steve
not think of returning the list. Thank you, now it is back for another 30 hours of continuous programming... (: Steve Footnote: "What rhymes with orange?" "No it doesn't.." -Original Message- From: Python-list On Behalf Of Peter Otten Sent: Sunday, Augu

RE: How do I pull the updated information from a tkinter form?

2020-08-31 Thread Steve
lines of code. With the loops, probably now is 75. Steve FootNote: If money does not grow on trees, then why do banks have branches? -Original Message- From: Python-list On Behalf Of Peter Otten Sent: Monday, August 31, 2020 3:56 AM To: python-list@python.org Subject: RE: How do I

What kind of magic do I need to get python to talk to Excel xlsm file?

2020-09-01 Thread Steve
Glutton for punishment, I am looking into designing another .py program. I would like to pull two columns of information from Excel but the more I look into coding on the 'net, the more confusing it looks. I don't understand what I need to import or install to get the link. Steve

RE: What kind of magic do I need to get python to talk to Excel xlsm file?

2020-09-01 Thread Steve
create a pandas development environment. And the music goes round and round….. FootNote: If money does not grow on trees, then why do banks have branches? From: Jeffrey Powell Sent: Tuesday, September 1, 2020 5:33 AM To: Steve Subject: Re: What kind of magic do I need to get

RE: What kind of magic do I need to get python to talk to Excel xlsm file?

2020-09-01 Thread Steve
lar system solely inhabited by functioning robots. -Original Message- From: Python-list On Behalf Of Chris Angelico Sent: Tuesday, September 1, 2020 4:44 PM To: Python Subject: Re: What kind of magic do I need to get python to talk to Excel xlsm file? On Wed, Sep 2, 2020 at 6:17 AM St

RE: What kind of magic do I need to get python to talk to Excel xlsm file?

2020-09-01 Thread Steve
From: Chris Angelico Sent: Tuesday, September 1, 2020 5:08 PM To: Steve Cc: Python Subject: Re: What kind of magic do I need to get python to talk to Excel xlsm file? On Wed, Sep 2, 2020 at 6:59 AM Steve wrote: > > Wow, that is quite a list > Here is what I narrowed it down to. Wh

tinker Form question(s)

2020-09-07 Thread Steve
= 5, padx = 15, sticky=tk.W) SVRCodeEntered.insert(0, OldSpec) x += 1 y += 1 return ([spec.get()for spec in New_Specs]) == Steve = Footnote: Some mornings it just isn't worth chewing through the leather straps. -- https://mail.python.org/mailman/listinfo/python-list

Audacity and pipe_test.py

2020-09-09 Thread Steve
l in the label track do_command("Stop") # stops the recording But not this one: do_command("SetLabel:Label='1' Text='Hello' ") This is supposed to place "Hello" into the label. Steve Foonote: The patient shall strive to suffer the symp

RE: Audacity and pipe_test.py

2020-09-10 Thread Steve
grow on trees, then why do banks have branches? -Original Message- From: Python-list On Behalf Of Dennis Lee Bieber Sent: Wednesday, September 9, 2020 11:17 AM To: python-list@python.org Subject: Re: Audacity and pipe_test.py On Wed, 9 Sep 2020 03:12:59 -0400, "Steve" declai

RE: Audacity and pipe_test.py

2020-09-10 Thread Steve
of the labels happen after the track is recorded and before the recording is stopped. I can live with that Now I am going to see if I can name the label track and the recording Track... Steve FootNote: If money does not grow on trees, then why do banks have branches? -Original Mess

RE: Audacity and pipe_test.py

2020-09-10 Thread Steve
seem to work unless they are immediately after the Record1stChoice instruction. This means that placement of the labels happen after the track is recorded and before the recording is stopped. I can live with that Now I am going to see if I can name the label track and the recording Track...

Difficulty getting started with Pipeclient.py

2020-09-10 Thread Steve
I downloaded the software and have been given a few test commands to use. When I run it as it is, I get the request to enter the commands manually and they work. I do not see how to get the commands to work automatically. Somehow, I have to bypass the "Enter command or 'Q' to quit" How do I do thi

RE: Audacity and pipe_test.py

2020-09-12 Thread Steve
It makes it easier for me to follow the logic especially if they are nested. -Original Message- From: Python-list On Behalf Of Dennis Lee Bieber Sent: Friday, September 11, 2020 1:32 PM To: python-list@python.org Subject: Re: Audacity and pipe_test.py On Thu, 10 Sep 2020 18:22:29 -0400,

RE: Audacity and pipe_test.py

2020-09-13 Thread Steve
tember 13, 2020 3:06 PM To: python-list@python.org Subject: Re: Audacity and pipe_test.py On Sat, 12 Sep 2020 14:23:25 -0400, "Steve" declaimed the following: > >You are correct. I use the py timer to pause the commands being sent >to the pipe. There seems to be something

RE: Audacity and pipe_test.py

2020-09-13 Thread Steve
-list On Behalf Of Grant Edwards Sent: Sunday, September 13, 2020 9:41 PM To: python-list@python.org Subject: Re: Audacity and pipe_test.py On 2020-09-13, Steve wrote: > "There is no promise on time.sleep() that the program will restart > exactly when the time expires." > > No

Problem saving datetime to file and reading it back for a calculation

2020-10-10 Thread Steve
gets read back in as d1 as string. The variable d1 as string will not work in the HoursDiff statement. To me, it looks like a problem in formatting. How do I fix this? Steve -- https://mail.python.org/mailman/listinfo/python-list

RE: Problem saving datetime to file and reading it back for a calculation

2020-10-11 Thread Steve
eInfo.close() # === Granted, there may be other ways to do this but I actually enjoy the exploration... Still, I would like to see other methods. Steve -Original Message----- From: Dieter Maurer Sent: Sunday, October 11, 2020 12:48 PM To: Steve Subje

  1   2   3   4   5   6   7   8   9   10   >