#๐Ÿ”’ Not getting an output running a email unsubscribe script in a venv.

9 messages ยท Page 1 of 1 (latest)

green shaleBOT
#

@serene wigeon

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

serene wigeon
#

Hi this is my FIRST ever script and delve into coding/programming and something practical as a goal of what it can do for me I thought would be a good motivator. So I decided to follow this youtube tutorial on how to do so (https://www.youtube.com/watch?v=rBEQL2tC2xY&t=6s) but it requires me to import a dotenv lib which I tried but my package manager (homebrew) doesn't like that. After some searching I figured out how to activate and use a venv but I am not getting an output as the person is in my terminal.

Running MacOS 15.1
Zsh Shell on VS Code

source ~/bin/activate
python main.py

No output

Tried a trace and got "2024-12-24 15:32:53.888 [debug] Received shell integration sequence for zsh"

๐Ÿ‘‰ To try everything Brilliant has to offer for free for a full 30 days, visit https://brilliant.org/TechWithTim . You'll also get a 20% discount on a premium subscription.

In this video, you'll learn how to build a great Python automation project that can help manage your emails! We're going to build a script that can automatically unsubscribe ...

โ–ถ Play video
sturdy socket
#

search_for_email()
this is function
it take () mean no input
(a,b) is two input to function

serene wigeon
#

Oh I really just forgot to put an () in the function call, Thank you

#

Succes! @sturdy socket Much Appreciated kind sir

#

!close

green shaleBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.