Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: boto3 Help Needed
Post: boto3 Help Needed

I'm just getting started with boto3 and AWS. I found this article and tried the sample code. I don't know if the sample code is wrong or if I need to be looking at something else. The bottom line is t...
gw1500se General Coding Help 0 765 Jul-30-2022, 04:06 PM
    Thread: GUI Opens Minimized
Post: RE: GUI Opens Minimized

Not sure how to explain it. What I call the GUI is the window created with all the widgets on it which I THOUGH was the top window but opens minimized ("Do Not Call Interface" is the window title that...
gw1500se GUI 24 5,857 May-05-2022, 03:31 PM
    Thread: GUI Opens Minimized
Post: RE: GUI Opens Minimized

As I showed earlier in the thread, if I remove the hide, then that weird blank window shows up but the GUI still opens minimized.
gw1500se GUI 24 5,857 May-02-2022, 05:59 PM
    Thread: Selenium Window Not Closing
Post: RE: Selenium Window Not Closing

Thanks. As you analyze this (code is sanitized) keep in mind that the issue appears to be some difference between 3.8 (which works) and 3.10 or perhaps Windows 7 (using 3.8) and 10 (using 3.10). impo...
gw1500se Web Scraping & Web Development 4 2,622 May-02-2022, 02:23 PM
    Thread: GUI Opens Minimized
Post: RE: GUI Opens Minimized

It has to be some difference between 3.8 and 3.10 or Windows 7 vs 10.
gw1500se GUI 24 5,857 May-02-2022, 02:17 PM
    Thread: Selenium Window Not Closing
Post: RE: Selenium Window Not Closing

Thanks. I was using browser.quit() under 3.8. I tried browser.close() under 3.10 and get the same result. Not sure I described it right but it is the command window that is not closing but rather retu...
gw1500se Web Scraping & Web Development 4 2,622 Apr-30-2022, 11:34 PM
    Thread: Selenium Window Not Closing
Post: Selenium Window Not Closing

I have moved a script from Python 3.8.13 (Windows 7) to Python 3.10.4 (Windows 10) and there seems to be several differences I don't understand. I am using Selenium to web scrape via Firefox and all i...
gw1500se Web Scraping & Web Development 4 2,622 Apr-29-2022, 05:37 PM
    Thread: GUI Opens Minimized
Post: RE: GUI Opens Minimized

(Apr-22-2022, 06:02 PM)deanhystad Wrote: Is the top window minimized when you run this: No
gw1500se GUI 24 5,857 Apr-29-2022, 05:27 PM
    Thread: GUI Opens Minimized
Post: RE: GUI Opens Minimized

(Apr-22-2022, 04:38 PM)deanhystad Wrote: When you run the code are you seeing the msgPanels that say "Copy line from Phonetray panel" or "Setting up user input"? Have you verified that the program ...
gw1500se GUI 24 5,857 Apr-22-2022, 05:01 PM
    Thread: GUI Opens Minimized
Post: RE: GUI Opens Minimized

OK, Here is the entire code (Sanitized): import win32gui as win32 import win32api import win32con import re import win32process from win32gui import GetWindowText,GetForegroundWindow import pyperclip...
gw1500se GUI 24 5,857 Apr-22-2022, 02:52 PM
    Thread: GUI Opens Minimized
Post: RE: GUI Opens Minimized

That call prevents a blank window from covering up other instructional windows (see attached). It does not change the way the script works. The GUI still opens minimized. I'm a Tkinter novice so all I...
gw1500se GUI 24 5,857 Apr-14-2022, 04:51 PM
    Thread: GUI Opens Minimized
Post: RE: GUI Opens Minimized

(Apr-12-2022, 07:14 PM)deanhystad Wrote: That's not a very useful example since it cannot be run to demonstrate the problem. In the real code do you withdraw the top window? If so, how do you make...
gw1500se GUI 24 5,857 Apr-12-2022, 07:42 PM
    Thread: GUI Opens Minimized
Post: RE: GUI Opens Minimized

(Apr-12-2022, 06:45 PM)Axel_Erfurt Wrote: I mean the code you posted?Oh, no it won't run properly as is. There are many dependencies like Selenium and an application called PhoneTrayPro to make it w...
gw1500se GUI 24 5,857 Apr-12-2022, 06:58 PM
    Thread: GUI Opens Minimized
Post: RE: GUI Opens Minimized

(Apr-12-2022, 06:31 PM)Axel_Erfurt Wrote: Have you tried this code?As I replied earlier, I did and it opened normally.
gw1500se GUI 24 5,857 Apr-12-2022, 06:44 PM
    Thread: GUI Opens Minimized
Post: RE: GUI Opens Minimized

Thanks for the replies. (Apr-12-2022, 06:05 PM)Axel_Erfurt Wrote: Does that opened minimized?Hmm. No. Here is the relevant code (I think I edited out all the unnecessary stuff) but there may be s...
gw1500se GUI 24 5,857 Apr-12-2022, 06:25 PM
    Thread: GUI Opens Minimized
Post: GUI Opens Minimized

I have migrated a script that was running on Windows 7 to 10. Since the migration the Tkinter window is opening minimized (python 3.10.4) while that was not the case under Windows 7 (python 3.8.13). I...
gw1500se GUI 24 5,857 Apr-12-2022, 05:39 PM
    Thread: Migrating Selenium from Windows 7 to 10
Post: RE: Migrating Selenium from Windows 7 to 10

Doh! Sorry but I had a typo. It is working now Thanks. However, why did it matter where the gecko driver lived as long as the path in the service call was correct?
gw1500se Web Scraping & Web Development 11 3,440 Apr-08-2022, 06:11 PM
    Thread: Migrating Selenium from Windows 7 to 10
Post: RE: Migrating Selenium from Windows 7 to 10

I'm not sure what I am looking at but when I run your first script I get the same error. When I run the 2nd script, it works: ====== WebDriver manager ====== Current firefox version is 99.0 Get LATES...
gw1500se Web Scraping & Web Development 11 3,440 Apr-08-2022, 06:06 PM
    Thread: Migrating Selenium from Windows 7 to 10
Post: RE: Migrating Selenium from Windows 7 to 10

No joy. The gecko driver is now in the python scripts directory. Same error. >echo %PATH% C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files\Python310\Scripts\;C:\Program Files\Py...
gw1500se Web Scraping & Web Development 11 3,440 Apr-08-2022, 03:28 PM
    Thread: Migrating Selenium from Windows 7 to 10
Post: RE: Migrating Selenium from Windows 7 to 10

Yes, I still have the problem. I put the gecko driver in the same directory as FF right from the beginning. I don't know why it can't go in that folder but I will move it and substitute that path per ...
gw1500se Web Scraping & Web Development 11 3,440 Apr-08-2022, 03:02 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020