Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use it #1

Open
Baltazar6 opened this issue Sep 6, 2020 · 5 comments
Open

How to use it #1

Baltazar6 opened this issue Sep 6, 2020 · 5 comments

Comments

@Baltazar6
Copy link

Hello,
Hope you are doing well. Humble request to you.
Can you plz make a video demo on how to use your code since i am new to python.
I have already install python on ubuntu. But i am stuck at the step py app.py --help.
I got this message below. How should i proceed.
/usr/bin/py:16: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
from collections import Iterable
usage: py [-x] [-l] [-c PRE_CMD] [-C POST_CMD] [-V] [-h] [expression]

positional arguments:
expression e.g. py '2 ** 32'

Options:
-x treat each row of stdin as x
-l treat list of stdin as l
-c PRE_CMD run code before expression
-C POST_CMD run code after expression
-V, --version version info
-h, --help show this help message and exit

Thnks in advance for your help and support for new users

@ghost
Copy link

ghost commented Jan 5, 2021

I figured it out, like this: python app.py --netflix NETFLIX

@M0nster420
Copy link

I got this :/

optional arguments:
-h, --help show this help message and exit
--env ENV Select .env file
--netflix NETFLIX Create Netflix account
--ocs OCS Create Ocs account
$ --netflix NETFLIX
--netflix: command not found

@ghost
Copy link

ghost commented Jan 8, 2021

sorry don't know what's the problem... Working on my Windows 10.

@vedantjangid
Copy link

i am getting something like this =>
Selected provider: Netflix
Traceback (most recent call last):
File "C:\Users\Admin\AppData\Local\Programs\Python\Python39\lib\site-packages\selenium\webdriver\common\service.py", line 72, in start
self.process = subprocess.Popen(cmd, env=self.env,
File "C:\Users\Admin\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 951, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\Admin\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 1420, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\Admin\Desktop\bot'\OneFreeMonth\app.py", line 24, in
provider = Netflix()
File "C:\Users\Admin\Desktop\bot'\OneFreeMonth\Netflix.py", line 13, in init
self.browser = webdriver.Chrome(options=options)
File "C:\Users\Admin\AppData\Local\Programs\Python\Python39\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 73, in init
self.service.start()
File "C:\Users\Admin\AppData\Local\Programs\Python\Python39\lib\site-packages\selenium\webdriver\common\service.py", line 81, in start
raise WebDriverException(
selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home


can you help

@hsratneshsci
Copy link

hi can i get some help here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants