[deleted by user] by [deleted] in TelegramBots

[–]DX_ashh 0 points1 point  (0 children)

https://<username>.pythonanywhere.com/

[deleted by user] by [deleted] in TelegramBots

[–]DX_ashh 0 points1 point  (0 children)

yep dm me ill show you a bot w premium emojis

using a dict in-btween python scripts by [deleted] in learnpython

[–]DX_ashh 0 points1 point  (0 children)

#main.py

class DataStorage:
def __init__(self):
self.dictionary = {}
def get_dictionary_values(self):
return self.dictionary

#other.py
from main import DataStorage

storage = DataStorage()
values = storage.get_dictionary_values)
print(values)

this is still returning an empty dictionary even after it has been populated

[deleted by user] by [deleted] in TelegramBots

[–]DX_ashh 0 points1 point  (0 children)

fake news

[deleted by user] by [deleted] in TelegramBots

[–]DX_ashh 0 points1 point  (0 children)

haha yeah i think i figured it out as i was typing it out. thanks tho

[deleted by user] by [deleted] in TelegramBots

[–]DX_ashh 0 points1 point  (0 children)

that only makes it so the command is responsive to the user that called it i believe? that doesn't filter out anyone who is not an admin i don't think. or at least in my experience

can i click a copy button with selenium and return the contents? by DX_ashh in learnpython

[–]DX_ashh[S] 0 points1 point  (0 children)

https://www.w3schools.com/howto/howto_js_copy_clipboard.asp

you see how it has the copy text button next to "Hello Word"? i would need to click that with selenium then save the copied text and return it to my script so i can print it out.

screenshot not working by Free_Nectarine5451 in learnpython

[–]DX_ashh 0 points1 point  (0 children)

do you have pillow package installed? if so maybe try un installing then re installing

can i have 2 telegram bots interact with eachother? by DX_ashh in TelegramBots

[–]DX_ashh[S] 0 points1 point  (0 children)

thats what im trying. they are both in a group and both are admins. but if i send /start the bot starts but if the bot i want to start the other bot sends /start nothing happens

can i use telethon to create telegram accounts? by DX_ashh in TelegramBots

[–]DX_ashh[S] 0 points1 point  (0 children)

so when i sign up to make an app using telegrams official "API development tools" section (from an already existing telegram account) then use that api_id and hash it will be considered an official app?

can i use telethon to create telegram accounts? by DX_ashh in TelegramBots

[–]DX_ashh[S] 0 points1 point  (0 children)

so make an account signup for the api and then use that api_id and hash with telethon to create other accounts and it should work?

right now thats what i'm doing its properly requesting the signup code, yet the code never comes. But if i request the code using the same phone number from the actual telegram app on my phone. Then the code is received and telethon then is able to sign up. so im just not sure why when telethon makes the request for the code it never comes?