Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Testing If a string has anything in it
Post: Testing If a string has anything in it

Guys, In the code below I am going into the registry to look for a certain item. In this case I am using (RtkAudioService). Once it finds it will give the location of it. ("C:\Program Files\Realtek\A...
elliep General Coding Help 1 2,633 Jul-28-2017, 02:54 PM
    Thread: SyntaxError: EOL while scanning string literal
Post: RE: SyntaxError: EOL while scanning string literal

That's what im looking at now.
elliep General Coding Help 13 14,557 Jul-27-2017, 08:46 PM
    Thread: SyntaxError: EOL while scanning string literal
Post: RE: SyntaxError: EOL while scanning string literal

Double Backslashed fixes the issue thank you. Sparkz I used RtkAudioService for the raw input and it came up fine now. Now trying to figure out how to get this to run as an exe.
elliep General Coding Help 13 14,557 Jul-27-2017, 08:35 PM
    Thread: SyntaxError: EOL while scanning string literal
Post: RE: SyntaxError: EOL while scanning string literal

location = r'SYSTEM\ControlSet001\services\' ^ SyntaxError: EOL while scanning string literal The arrow is pointing to the ' mark instead of the beg...
elliep General Coding Help 13 14,557 Jul-27-2017, 07:54 PM
    Thread: SyntaxError: EOL while scanning string literal
Post: RE: SyntaxError: EOL while scanning string literal

Full Traceback? Im sorry I don't understand.
elliep General Coding Help 13 14,557 Jul-27-2017, 07:39 PM
    Thread: SyntaxError: EOL while scanning string literal
Post: RE: SyntaxError: EOL while scanning string literal

No luck same thing. If it matters im using code 2.7
elliep General Coding Help 13 14,557 Jul-27-2017, 07:15 PM
    Thread: SyntaxError: EOL while scanning string literal
Post: RE: SyntaxError: EOL while scanning string literal

import _winreg from _winreg import * usr_input = raw_input('What Program would you like to search for? ') location = 'SYSTEM\ControlSet001\services\' RegLocation = location + usr_input def getMDACvers...
elliep General Coding Help 13 14,557 Jul-27-2017, 07:09 PM
    Thread: SyntaxError: EOL while scanning string literal
Post: SyntaxError: EOL while scanning string literal

Hey Guys, Im trying in look in the registry for an item based off what the user inputs. For some reason the last back slash is causing issues. I need this to look for the next entry, but how do I g...
elliep General Coding Help 13 14,557 Jul-27-2017, 06:39 PM
    Thread: Python for Windows Administration
Post: RE: Python for Windows Administration

Thank you sparkz, I just want to know before I jump into something it will do what I want in the end.
elliep General Coding Help 9 11,256 Jul-18-2017, 08:09 PM
    Thread: Python for Windows Administration
Post: RE: Python for Windows Administration

Lets say If I want to work with AD. For example in AD I created a group but wanted to add 30 users or computers to it. Can you do this stuff in python?
elliep General Coding Help 9 11,256 Jul-18-2017, 07:57 PM
    Thread: Python for Windows Administration
Post: Python for Windows Administration

Hey guys, Instead of picking up Powershell I was looking to look more towards Python, but can you do what you can with powershell via windows administration with Python? my code here
elliep General Coding Help 9 11,256 Jul-18-2017, 07:21 PM

User Panel Messages

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