Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Cannot get h4 tag text
Post: RE: Cannot get h4 tag text

(May-20-2019, 09:58 PM)nilamo Wrote: When in doubt, use dir() or help() to ask the object how it thinks it should be used. In this case, there's a .text attribute which seems like a likely candidat...
aniyanetworks Web Scraping & Web Development 3 5,022 May-20-2019, 11:12 PM
    Thread: Cannot get h4 tag text
Post: Cannot get h4 tag text

import requests from bs4 import BeautifulSoup website= requests.get("http://www.aniyanetworks.net/contact/") content1=website.content soup=BeautifulSoup(content1,"html.parser") all=soup.find_all("div...
aniyanetworks Web Scraping & Web Development 3 5,022 May-20-2019, 09:43 PM
    Thread: Adding timer on the Messagebox
Post: RE: Adding timer on the Messagebox

(Feb-13-2019, 07:39 PM)woooee Wrote: >@woooee: I think you have placed a wrong link: https://python-forum.io/Thread-Tkinter-K...ot-Aligned This link has nothing to do with a count down clock. Tr...
aniyanetworks GUI 6 11,566 Feb-13-2019, 07:48 PM
    Thread: Adding timer on the Messagebox
Post: RE: Adding timer on the Messagebox

(Feb-11-2019, 09:48 PM)woooee Wrote: See my post on adding a timer towards the bottom of this thread https://python-forum.io/Thread-Tkinter-K...ot-Aligned Note that the timer is independent of the ...
aniyanetworks GUI 6 11,566 Feb-12-2019, 01:39 PM
    Thread: Adding timer on the Messagebox
Post: Adding timer on the Messagebox

Hello Experts, I would like to show some message on the Message Box, with a Timer on it. Messagebox will have 2 min countdown clock and after 2 min it will be close. My code is here: from tkinter i...
aniyanetworks GUI 6 11,566 Feb-11-2019, 09:06 PM
    Thread: Adding Progressbar to button
Post: RE: Adding Progressbar to button

(Feb-07-2019, 03:55 AM)Larz60+ Wrote: Quote:why i need to use class methods for Progressbar, you don't need to use class, I'm just more comfortable using classes for everything Without class: impo...
aniyanetworks GUI 9 9,880 Feb-07-2019, 04:12 AM
    Thread: Adding Progressbar to button
Post: RE: Adding Progressbar to button

(Feb-07-2019, 01:15 AM)Larz60+ Wrote: progbar is just the name assigned to the instance of ttk.Progressbar Suggest you run this code and try to comprehend what's happining It does everything that yo...
aniyanetworks GUI 9 9,880 Feb-07-2019, 03:53 AM
    Thread: Adding Progressbar to button
Post: RE: Adding Progressbar to button

(Feb-06-2019, 05:23 PM)Larz60+ Wrote: ** Note ** change sleep to 1 for seconds, This ticks on 1/10 second or for smoother operation, change line 35 to: for x in range(0, 120):and sleep to .5...
aniyanetworks GUI 9 9,880 Feb-06-2019, 08:48 PM
    Thread: Adding Progressbar to button
Post: Adding Progressbar to button

Hello Experts, Need small suggestions, bellow my script does enable the Wi-Fi interface. But i would like to add, If someone clicks the button then a progress bar will appear and it will run for 60 s...
aniyanetworks GUI 9 9,880 Feb-06-2019, 02:23 PM
    Thread: How to rename Network Interface name
Post: RE: How to rename Network Interface name

(Jan-30-2019, 05:33 PM)buran Wrote: if using 3.6+ use f-strings subprocess.run(['netsh', 'interface', 'set', 'interface', 'name="Wi-Fi"', f'newname="{changeName}"'])if using lower version subprocess...
aniyanetworks General Coding Help 7 4,777 Jan-30-2019, 06:12 PM
    Thread: How to rename Network Interface name
Post: RE: How to rename Network Interface name

(Jan-30-2019, 04:54 PM)buran Wrote: To disable Wi-Fi >>> import subprocess >>> subprocess.call(['netsh', 'interface', 'set', 'interface', 'name="Wi-Fi"', 'admin="DISABLED"']) 0You...
aniyanetworks General Coding Help 7 4,777 Jan-30-2019, 05:15 PM
    Thread: How to rename Network Interface name
Post: RE: How to rename Network Interface name

(Jan-30-2019, 04:27 PM)gontajones Wrote: Try this: Hello Gonatajones, Thanks for your quick reply, i tried your code and returned following messages. Please take a look. Thanks import subprocess c...
aniyanetworks General Coding Help 7 4,777 Jan-30-2019, 04:36 PM
    Thread: How to rename Network Interface name
Post: How to rename Network Interface name

Hello Everyone, I have a Batch script which is working fine, but I want to achieve the same in the python3.7 script. Please help. netsh interface set interface name="OLDNIC" newname="NEWNIC" I had a ...
aniyanetworks General Coding Help 7 4,777 Jan-30-2019, 03:56 PM
    Thread: os.system("netsh interface set interface 'Wi-Fi' enabled")
Post: RE: os.system("netsh interface set interface 'Wi-F...

(Jan-17-2019, 10:31 PM)nilamo Wrote: Are you sure it didn't do anything? If it succeeds, netsh doesn't have any output, and an exit code of zero means success. For me, when I ran that, there was n...
aniyanetworks General Coding Help 12 9,959 Jan-18-2019, 04:07 AM
    Thread: os.system("netsh interface set interface 'Wi-Fi' enabled")
Post: RE: os.system("netsh interface set interface 'Wi-F...

(Jan-17-2019, 07:00 PM)nilamo Wrote: What happens if you run it with admin privileges, as it suggests?The output is this without error and without doing anything. it doesn't do anything at all. Outp...
aniyanetworks General Coding Help 12 9,959 Jan-17-2019, 07:41 PM
    Thread: os.system("netsh interface set interface 'Wi-Fi' enabled")
Post: RE: os.system("netsh interface set interface 'Wi-F...

(Jan-17-2019, 04:51 PM)nilamo Wrote: What output do you get if you pass a list to subprocess.call()? >>> import subprocess >>> help(subprocess.call) Help on function call in modul...
aniyanetworks General Coding Help 12 9,959 Jan-17-2019, 06:54 PM
    Thread: os.system("netsh interface set interface 'Wi-Fi' enabled")
Post: RE: os.system("netsh interface set interface 'Wi-F...

(Jan-17-2019, 01:36 PM)Axel_Erfurt Wrote: I think you should use enable, disable and not enabled, disabled netsh interface set interface Wi-Fi enable Hello Axel_Erfurt, Thanks for respond. As you r...
aniyanetworks General Coding Help 12 9,959 Jan-17-2019, 02:00 PM
    Thread: os.system("netsh interface set interface 'Wi-Fi' enabled")
Post: RE: os.system("netsh interface set interface 'Wi-F...

(Jan-16-2019, 10:35 PM)nilamo Wrote: (Jan-16-2019, 08:57 PM)aniyanetworks Wrote: I tried to run as administrator in CMD, but didn't work as well.What does that mean? I mean by that,i tried to run ...
aniyanetworks General Coding Help 12 9,959 Jan-17-2019, 03:02 AM
    Thread: os.system("netsh interface set interface 'Wi-Fi' enabled")
Post: RE: os.system("netsh interface set interface 'Wi-F...

(Jan-16-2019, 06:54 PM)nilamo Wrote: Is that all your code? A function doesn't do anything if you don't call it. Sort of like a bike. It won't move anywhere just because you have one, you need to...
aniyanetworks General Coding Help 12 9,959 Jan-16-2019, 08:57 PM
    Thread: os.system("netsh interface set interface 'Wi-Fi' enabled")
Post: os.system("netsh interface set interface 'Wi-Fi' e...

Hello Everyone, I am running the following code, to disable my Wireless network card. import os os.system("netsh interface show interface") def disable(): os.system("netsh interface set interfac...
aniyanetworks General Coding Help 12 9,959 Jan-16-2019, 03:02 PM

User Panel Messages

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