Python Forum
Help to activate the "USB Modem" with Python
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help to activate the "USB Modem" with Python
#1
Hi everyone,

I am trying to activate and deactivate the "usb modem" by Python code, but it does not work, do you know any way to do it?

USB Modem:

[Image: vodafonethestickusb.jpg]

I tried with "cmd" command line but it did not work Cry :
import os
cmd = 'ifconfig wlan0 down'
os.system(cmd)

I appreciate very your comments

Regards
Karlo
Reply


Messages In This Thread
Help to activate the "USB Modem" with Python - by karlo123 - Sep-17-2017, 03:05 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Can Not Activate Environment hammer 6 7,429 Mar-05-2022, 10:26 AM
Last Post: snippsat
Question SMS sending using USRobotics modem Jacobus 2 2,498 Mar-11-2021, 09:59 PM
Last Post: nilamo
  Python win32com.client: What are the syntax to open exe file & activate its window? JaneTan 0 4,254 Oct-14-2020, 09:09 AM
Last Post: JaneTan
  Activate Winodw/ Set focus biprabu 0 1,688 Sep-07-2020, 04:05 AM
Last Post: biprabu
  Send SMS with gsm modem mariolopes 3 4,885 Oct-15-2019, 08:22 PM
Last Post: micseydel
  get and reuse the token value with huawei modem Reims 1 4,615 Oct-02-2019, 04:29 AM
Last Post: Reims
  Dialup Modem using pyserial - Need it to show response from the other end. Rython 1 3,575 Jun-20-2019, 10:09 PM
Last Post: roy
  Auto activate conda env in Pycharm terminal ntuttle 0 4,800 Mar-08-2019, 03:56 PM
Last Post: ntuttle
  Read data of Wireless Modem in Byte Format barry76 2 2,678 Jan-31-2019, 11:26 AM
Last Post: barry76
  How to detect wireless modem connected serially to my laptop in python barry76 3 3,589 Jan-08-2019, 06:18 AM
Last Post: Gribouillis

Forum Jump:

User Panel Messages

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