• Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in python problem solve

    Please read the [Daniweb Posting Rules](https://www.daniweb.com/welcome/rules) and [Suggestions For Posting Questions](https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question).
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Programing Language

    It's like asking "what's the best tool I need to learn to be a carpenter". It depends what you want to build. Different languages excel in different areas. As in …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Are you going to get the vaccine?

    There have been concerns, first with the Astrazeneca vaccine, and now with the J&J vaccine, that they may cause blood clots in some people. 1. It has yet to be …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in How to switch on my laptop?

    Try removing the battery and powering it up on AC only.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in What is the code will be like

    We are happy to help if you are stuck with a particular problem but we don't do homework. Please post what you have done so far and where you are …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Are you going to get the vaccine?

    I got Pfizer-BioNTech COVID-19 mRNA
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Are you going to get the vaccine?

    I forgot to ask, although there was a sign up that said that info would be available to my by email within 48 hours. I don't really have a preference …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Gave Reputation to rproffitt in Writing program

    I have to think you want single words here? Here you go: ## Questions ##
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Are you going to get the vaccine?

    Just got back from my shot. I walked in at 12:40 and was out by 1:30. It was like a trip to Disney World without the fun. No soreness, no …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Are you going to get the vaccine?

    I'm due on Monday - also in the post 65 crowd. I've got PHPT (pains here, pains there) so one more in the short term won't matter. Unfortunately, we are …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Approximization of pi in c++

    If you are going to calculate pi as the sum of a series then you should sum from the smallest term to the largest to avoid losing small values due …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Split a string into individual words

    You're counting hooves and dividing by four. Why not just do Dim Search As String() = s.Split() Then instead of referencing the words as Search1 Search2 . . . You …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Python Username and Password Program

    Typically you would create a dictionary where the username is the key and the password is the value (hopefully, encrypted).
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in uaername and password program from dict in python

    What part is unclear?
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Split a string into individual words

    You seem to have created this thread twice. I left something in the other thread.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Splitting string into individual variables

    Since `split` already returns an array of strings, why would you want to use individual variables? Surely it is easier to use an array of any length rather than scalars …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Are you going to get the vaccine?

    Concerning "efficacy", while the various vaccines differ in the efficacy rates (the ability to prevent infection), all of the vaccines are 100% effective in preventing death due to covid-19. Even …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Find words in sentence which start and end with same letter

    Whatever basic you are using I suggest using a regular expression. The following expression will match any word of more than one letter (no apostrophes) as long as you use …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Are you going to get the vaccine?

    I'd like to add a correction to my earlier post about mRNA vaccines. Conventional vaccines contain a weakened or dead strain of a virus. Your immune system reacts the same …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in give us the answer and help us

    You have to learn the idioms. >You need to return a list that consists of the elements that are common to the two lists. Who can tell? list(set(a) & set(b))
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in I am a newbie to Python please help

    Suggestions: 1. Store all values as cents (integers) to avoid conversion/rounding problems. 1. Create a list of change denominations from largest to smallest 1. Use a loop with that list
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Sending books to ereader with Calibre

    I've been usiing calibre for years and have had no trouble using "send to device" with my Android phone.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Redistricting and Gerrymandering

    With new voting rights legislation proposed (supposedly including an end to gerrymandering) how about this as a simple guideline. 1. The smallest rectangle that contains a district cannot be more …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Automation of Opening and Running Python Scripts in Idle

    One final suggestion. You could use wxPython to create an app with multiple frames and use a timer for each separate function. Each function could maintain its output in a …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Automation of Opening and Running Python Scripts in Idle

    It seems to me that a simple solution would be to set up each script on a loop and put a pause at the end for the interval you want. …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Began Watching Automation of Opening and Running Python Scripts in Idle

    I run Python 3.x on a Windows 10 laptop and I have a daily routine that involves opening three Python scripts in succession, and running them all concurrently, each one …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Stopped Watching Automation of Opening and Running Python Scripts in Idle

    I run Python 3.x on a Windows 10 laptop and I have a daily routine that involves opening three Python scripts in succession, and running them all concurrently, each one …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Began Watching Automation of Opening and Running Python Scripts in Idle

    I run Python 3.x on a Windows 10 laptop and I have a daily routine that involves opening three Python scripts in succession, and running them all concurrently, each one …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Automation of Opening and Running Python Scripts in Idle

    In the event that this is for work rather than for personal use I highly recommend [adTempus](https://www.arcanadev.com/adtempus/). It is an excellent package for scheduling processes and supports a large variety …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Automation of Opening and Running Python Scripts in Idle

    Depending on what the scripts are doing and how fast they need to react you could always build in pauses to reduce cpu loading. Or, if your processing depends on, …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Gave Reputation to Angel_19 in Can accelerationism be changed in the future?

    The Declaration of Accelerationist Politics" and subsequent works rejected the left-wing blind worship of so-called "folk politics": flat democratic organizations, space restrictions, slowing down of romanticism, and folk localism. Left-wing …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Can accelerationism be changed in the future?

    You sound like a Jordan Peterson clone or someone who has stumbled across the [BS Generator](http://sebpearce.com/bullshit/) site. If you are trying to make a point you have totally obscured it …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Automation of Opening and Running Python Scripts in Idle

    Is there a reason you need to run the scripts from within idle as opposed to just running the scripts directly? If so then I suggest you look at [AutoItX](https://www.autoitscript.com/site/). …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Exact change in vending program

    Typically you'd want to give as few of each unit of change as possible. Start with a list of denominations from largest to smallest and cycle through them in turn, …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in GUI development help with python

    I can only offer generic advice but I would recommend wxPython over tkinter. There is excellent help available through many wxPython books and a [user forum](https://discuss.wxpython.org/). I've also posted several …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Convert java and pseudocode into python

    Plus your link to the code requires a login. Not a great way to start.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in #1 What Is The Best Way To Learn Java?

    If you already know how to program well in another language then learning to program in java should be "easier". However, learning any new skill takes time and effort in …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Favorite Oculus Quest apps

    FYI - there is an upgrade available for the Oculus Quest 2 system software. This upgrade adds an experimental feature. If you have enabled experimental features you may already be …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Are you going to get the vaccine?

    Further... The problem with the flu is that because it takes time to create a large number of vaccines we have to hope that we guess correctly which strain will …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Are you going to get the vaccine?

    Quick biology lesson <edit - please see my post later in this thread for a correction> Cells are made up (mostly) of cytoplasm. The cytoplasm creates proteins using instructions from …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Edited Help

    Design a program to compute the gross pay of worker named michael bryan given that michael bryan worked 80hours to php67.97 per hour
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Why Is My Program Not Going Past A Specific Line (Python)

    >The reason the try/except is there is because it stops the page from crashing if there are no arguments present, as well as the session.pop() Then you should add an …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Why Is My Program Not Going Past A Specific Line (Python)

    You should never (ever) have an unqualified `except`. Doing so masks errors. Remove the `try/except` and let the error crash your code so you can see what the problem is.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in how to use winsound in a situation variable in python tkinter

    This is the code I am using in my timer app and it works perfectly. # Stop timer and sound alarm if timer expired if self.txtRem.GetValue() == '00:00:00': self.Stop() winsound.PlaySound('alarm.wav',winsound.SND_FILENAME …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in how to use winsound in a situation variable in python tkinter

    Try `winsound.SND_FILENAME | winsound.SND_ASYNC` for the flags
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Favorite Oculus Quest apps

    With the UK once again in serious lock down, Adam is feeling the isolation so he suggested I buy [**Eleven Table Tennis**](https://www.oculus.com/experiences/quest/1995434190525828/?locale=en_US). I looked it up, read the reviews, then …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Do you participate in any other communities?

    Nope. I never found another place that felt as comfortable as Daniweb.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in What is everyone doing this holiday season?

    Unfortunately my father-in-law's senior's block is in lockdown, and Adam is stuck in Cambridge so it will be a quiet Christmas with just me, my wife, and number 2 son …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Are you going to get the vaccine?

    My older son is a bio-physicist and assures me of the safety (barring a rare allergic reaction) of mRNA vaccines, particularly for me because I cannot be given live vaccines. …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Favorite Oculus Quest apps

    Got the full version of Beat Saber (sic). It is worth every penny. My arms ached for two days but have since adapted to the frantic flailing. Warning - you …

The End.