I don't find things in Python, can you help me?

First
I'd like to open a file with the operating systems associated program from python code.
Can't find a function does this
2.
My program logs in to websites but there is a site that doesn't leave enter because it asks the type of the browser and user agents.
So this site does this because it doesn't want to leave enter bots, just browsers.
How can i send these values to appear a browser?
Anyone ideas?
these are the most important
thank you!

1. SOLUTION :D
webbrowser.open(url[, new=0[, autoraise=1]])
Note that on some platforms, trying to open a filename using this function, may work and start the operating system's associated program. However, this is neither supported nor portable.
i have searched this function for a month :D

Similar Messages

  • My safari and my app store don't open in yosemite. Can you help me?

    my safari and my app store don't open in yosemite. Can you help me?...

    You probably ran a defective third-party "utility" such as "CleanMyMac" or "MacCleanse" that purports to "clean up" "junk" files. What it really does is to corrupt the operating system and many applications.   
    The first thing you need to do is remove that software according to the developer's instructions. Never install it, or anything like it, again. Then see below. If you use any iWork applications, you may need to delete them and redownload them from the App Store.
    If you don't already have a current backup, back up all data, then reinstall the OS.* You don't need to erase the startup volume, and you won't need the backup unless something goes wrong. If the system was upgraded from an older version of OS X, you may need the Apple ID and password you used.
    If you use FileVault 2, then before running the Installer you must launch Disk Utility and select the icon of the FileVault startup volume ("Macintosh HD," unless you gave it a different name.) It will be nested below another icon with the same name. Click the Unlock button in the toolbar and enter your login password when prompted. Then quit Disk Utility to be returned to the main Recovery screen.
    There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    If you installed the Java runtime distributed by Apple and still need it, you'll have to reinstall it. The same goes for Xcode. All other data will be preserved.
    *The linked support article refers to OS X 10.10 ("Yosemite"), but the procedure is the same for OS X 10.7 ("Lion") and later.

  • HT5622 I bougt some game, but don't arive in my applications, can you help me?

    I bought some game, but this game don't arive in my iphone, can you help me?

    Is it compatible with your iPhone e.g. it's not an iPad-only app ? If it is compatible then does it show in the Purchased tab (via the 'Updates' tab) in the App Store app on your phone ? If it has 'open' against it then it's somewhere on your phone, in which case if you've just bought it then it might be on your last homescreen - though there is a limit of 11 visible homescreens, if it's on the 12th then you can use the phone's spotlight search screen to search for it and open it.

  • HT4993 hello I have a I phone 5 and I want to reset it but I don't know my restrictions passcode. can you help me?

    hello I have a I phone 5 and I want to reset it but I don't know my restrictions passcode. can you help me?

    You would need to restore as new if you cannot remember the restrictions code you set.

  • HT5312 i have a locked apple id as i don't know my security answers, can you help me?

    i have a locked apple id as i don't know my security answers, can you help me?

    You need to ask Apple to reset your security questions; ways of doing so include clicking here and picking a method for your country, and filling out and submitting this form.
    (96451)

  • My iPhone 4s Bluetooth is not working, I have ios 5.1 but just can't get my Sony erricson hbh-pv715 headset to connect to the phone,  the phone can't find any Bluetooth device, can you help please

    My iPhone 4s Bluetooth is not working, I have ios 5.1 but just can't get my Sony erricson hbh-pv715 headset to connect to the phone,  the phone can't find any Bluetooth device, can you help please

    Yes it's in pairing mode, it worked fine with the 3GS but doesn't seem to work with the 4s,  my 4s can't find any other bluetooth device, I think the problem ls with apple?

  • I have a cisco ironport c170, i want set up URL redirect? But i don't khow how to ? Can you help me?

    I have a cisco ironport c170, i want set up URL redirect? But i don't khow how to ? Can you help me?

    The C170 does not support URL redirection prior to OS release 8.5. What exactly do you need to accomplish?

  • I just bought a MBP OSX 10.7.2 but i can't find the Macintosh HD folder. It's neither on my desktop, or in the general section in finder's preferences. Can you help me please? thanks

    Hi!
    I just bought a MBP OSX 10.7.2 but i can't find the Macintosh HD folder. It's neither on my desktop, or in the general section in finder's preferences. Can you help me please? thanks

    Holy Shhh,
    Thank you so much!, i just realized i kept looking in the system preferencs > general
    What a retard!
    thanks again

  • I have just update my iphone 4 to ios5. i cannot find my photos anywhere can you help? Thanks

    i have just updated my iphone 4 to ios5. i cannot find my photos anywhere can you help? Thanks

    Hey Kate
    if you have backed up your iPhone, photos that were taken on the iPhone will be in the back up file. Any photos synced to your iPhone from a computer will need to be synced again. To restore your iPhone from a back up right click on the name of your iPhone in iTunes and select restore from back up.

  • I lost my ihone,how can I find it back?Can you help me?Thanks!

    Hi~
    I lost my ihone,how can I find it back?Can you help me?Thanks!
    Sky

    If you set up find my iphone on the iphone itself and it is on and it has note been found and restored, then you may be able to locate it using icloud.
    Otherwise you find it as you would find anything else:  look for it

  • I try to find a package! Can you help me?

    Hi,
    I am new in this technology and I found in the documentation a class:
    com.borland.primetime.editor.SearchManager. The java compiler, wich is a Borland product give me : "can't find the class". Can you tell me where is the problem?
    Thanks in advance.

    No, I don't.It is JBuilder7 and I had it from a friend. I supose that I will don't use the package in the future. Anyway, thanks.

  • Migration Assistant can't find my hard drive - can you help?

    Hi, I've just bought a new MacBook Pro (Lion) as my 6 year old iMac (Snow Leopard) has died. I wanted to restore my data from my iMac, via my Time Machine back-ups which are stored on a WD MyPassport. When using the migration assistant, I've followed the instructions, but the assistant refuses to see the hard drive and all I get is "Looking for Other Computers" and a spinning wheel. I've done this before when a hard drive went south and it worked really well, but this is not good at all.
    Any advice gratefully received. Thanks.

    John Brandt wrote:
    Setup Assistant never sees the source drive:
    Does it show anything at all?  The disk should have a yellow icon.
    Is the main issue that I am trying to migrate from too old of an OS X version (e.g. 10.4.11)?
    I don't think so.  I don't have a Mac running Tiger, so couldn't test it, but many folks have done it without a problem.  
    Have you run Verify Disk or Repair Disk on the old Mac and/or the backups?  If there's a directory problem, it may boot the old Mac, but the new one may not recognize it.
    If all else fails, you may have to do it manually.  Try starting the new Mac normally, logging on as a normal (Admin) user, connect the clone to it, and see if it appears.  If so, you should be able to manually copy from the backups via drag & drop. 
    If so, you'll have to be careful of two things:
    User accounts:  If the old Mac only has a single account, the first account you set up on the new one should have permission to copy from the backups.  If not, either set up a second account on the new Mac and try it, or use Get Info on the backups to grant the user account on the new Mac permission to read the data on the backups. 
    Special files/folders like Mail and Address Book / Contacts.  You can't just copy the files since the structure has changed, but you may be able to import the old mailboxes via File > Import Mailboxes from the Mail menu on the new Mac.  Similarly, you may be able to use File > Import in Contacts on the new Mac to import contacts.
    (Note: it's late here, and I'll be going to bed soon, but will be back tomorrow.)

  • I dropped my ipod on the bus and i dont know where it is and i cant find my serial number can you help me

    ipod 4th generation

    If you mean help finding the serial number, see:
    http://support.apple.com/kb/HT4061
    If you mean help finding the iPod itself, then if you set up the Find My iPod service prior to the iPod going missing, then there is a chance that can be tracked, though it depends on a number of factors: the iPod is turned on, connected to a WiFi network - probably not likely when you lost it on a bus, but it's not impossible - and has not had the Find My iPod service disabled. Log into icloud.com and go to the Find My iPhone section. Note, though, that you'll only get the location of the WiFi router to which the iPod is connected; there's no way to pinpoint the exact location of the iPod itself.
    If you did not set up Find My iPod, then there is no way to track it. Notify the police and change any passwords for any online accounts you may have used from your iPod (the iTunes Store, for instance).
    Regards.
    P.S. The forum in which you originally posted (this thread may have been moved by the Hosts by the time you read this), the Using Apple Support Communities forum, is for questions about the forums themselves. You will usually get the quickest and most helpful responses if you ask in the forum for the product or service about which you need help.

  • HT1212 I am trying to download a song from iTunes, and it is asking security questions that I don't remember ever setting up. can you help me

    I am trying to download a song from iTunes and it is asking security questions that I don't remember setting up.  Therefore I do not have the correct answers.  Any help?

    You need to contact Apple to get the questions reset, which can be done by clicking here and picking a method for your country, or if that's not an option, by filling out and submit this form.
    (95884)

  • I can not open firefox. Recieve message: "Couldnt find mozilla runtime". Can you help me?

    I find file "mozilla runtime exe" under removed files in directory "removed files". What does it means?

    Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox program files and then reinstall Firefox. Please follow these steps:
    '''Note:''' You might want to print these steps or view them in another browser.
    #Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu).
    #Delete the Firefox installation folder, which is located in one of these locations, by default:
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #*'''Mac:''' Delete Firefox from the Applications folder.
    #*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    Please report back to see if this helped you!

Maybe you are looking for