#voice-chat-text-0
1 messages · Page 664 of 1
@rugged root I just created a project could you please give some feedback for it
https://github.com/Shahprogrammer/Django-CryptographicFields
I can be here forever
Ohh Python Crash Course isn't in the resources page or it's just that i can't find it
no
they are different publications
are you charging any fee?
one of the 7 admins
my basic works in java and python and other langs are not more than creating loops, calculators, arrays etc
don't know about pointers and stuff.
You don't have to know anything about pointers or memory management with Python
All of that is abstracted away from the coder
in c++ i was referring for pointers
Oh sure sure
guys can you gelp me with something?
i am new at programming and looking for a C channel
How can we start?
i am new at programming and i am learning C
how do I start?
If you have prior knowledge then you can start with off a crash course
and then start with the project you wanna make
in discord ?
thank you mate @frigid panther
in discord ?
@brave karma wdym
wdym -> what do you mean?
i am not afk
then mute yourself
Where can I start my crash course? Is there any website or link etc. @pliant atlas
yeah
download python and do print("Hello world")
then u are good to go
there is a course called crach course
i do have python
@lean rapids I muted you because you had some serious echo
I just joined a university in India.
@rugged root imo server mute should be like the Kick/Ban in the GUI
@brave karma i was doing one course of data science and the instructor did a crash course. So like start with something like that
I'm passionate too.
😄
@pliant atlas can you help me with it like ping me when it'll be starting as I'm in a different time zone
@rugged root what is it again?
paid
Gimme a sec
are you an Indian
oh nice me too
For my site I used something like python-dotenv but manually parsing it should be trivial
but i wont be able to pay i think
what's PV?
!resources Automate the Boring Stuff and A Byte of Python are excellent beginner texts
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
@rugged root I jest, it isn't trivial. There's https://pypi.org/project/python-dotenv/ though so no real need to reinvent the wheel.
pipenv has a loading mechanism separate from that I believe
But then again, I can't be sure as my site's dockerized and I just load the .env file from there
welp, now I'm powered by coffee I guess it's time to do some refactors
!e
spam = "bacon"
new_word = ""
for letter in spam:
new_word += letter
print(new_word)
@rugged root :white_check_mark: Your eval job has completed with return code 0.
001 | b
002 | ba
003 | bac
004 | baco
005 | bacon
@jaunty thicket This might help you get an idea of what you have to do
I really should've made a "jump to symbol" shortcut in my vim setup 
~2.5k lines is getting unwieldy
I haven't added it yet lol
@rugged root It would be trivial, yeah, but I got caught up doing
Priorities basically
that makes me want to eat
where are you from @gentle flint
🌮
thanks
🇳🇱 @frigid panther
okay 👍
weridchamp
Please remember that this is an English only server
@olive sentinel do you have a floppy disk reader?
@gentle flint what's your typing speed?
238 -Biden
213- trump
and if so, would I be able to mail you some floppy disks to scan?
@gentle flint what's your typing speed?
@pure path light speed I guess
?
No, I don't have a floppy disk reader anymore
which uni, verbose
interesting
Your election has a greater impact than our own
use your thumb
Pinky pushups
My right pinky locks in place
isn't control supposed to be at the left side?
åßç
Hey, at least I can type µ
µ
probably
I don't
not sure
happy UNESCO international day!
this is the contents of my compose key config file; everything in here, I can make, provided I have all the correct keys for it
Pastebin.pl is a website where you can store code/text online for a set period of time and share to anybody on earth
finnaly got this thing to work
I'm trying to find a comfortable key combination for me to jump to files and symbols quickly
Currently I have \ls for jumping symbols and \lf for files but that extra l is just icky
@swift valley vim must have increased your typing spped
®
™
†
©
yes
I didn't notice it much
big problem
people would join just screaming the n word
but i dont feel like talking
F
up to you
like i can unmute but no need yeah
right
ive unmuted now but push to talk ;)
lmao
i guess im just sad that opalmist isnt talking to me ;-;
whats azza coding
@somber heath stop with the weird noises
I just exited voice chat, and you could have said something, unless you did and I didn't hear anything because discord was being a shit.
@vernal musk can u speak in english ???
you werent before
i see
k, dind't know about your issue
11:30 pm
def setify(lst):
something = set(lst)
somethingelse=[]
for a in something:
somethingelse.append(a)
return somethingelse
```
def setify(_list):
return list(set(_list))```
return sorted(list(set(lst)))
def func(iterable):
returns = []
for each in iterable:
if each not in returns:
returns.append(each)
return returns```
how can i active my vocie chat
tommy just talk to us here for a bit
ok
i'm guessing you are here for learning python?
yes
'apple'.replace('p', 's') == 'assle'```
there are tons of great resources w3schools , code academy... plus massive youtube videos that offer full beginner to advanced learning
Python tutorial - Python for beginners
🚀 Learn Python programming for a career in machine learning, data science & web development.
🔥 Want to master Python? Get my Python mastery course: http://bit.ly/35BLHHP
👍 Subscribe for more Python tutorials like this: https://goo.gl/6PY...
because my primary language is not English and im having troubles...
Hebrew
its difficult hahaha
the courses in hebrew are sucks
ok
yes
thats great
where are u from guys ?
India
a = ' apple grapes '
a.lstrip() == 'apple grapes '
a.strip() == 'apple grapes'
a.rstrip() == ' apple grapes'
a.replace(' ', '') == 'applegrapes'```
are there isreal person here >?
my english is sucks
yes
im here to improve my english too
so are here to help people that need help ?
@somber heath
" ".join(a.split())
there are other programming servers tho
so how is possible that only 6 are onilne?
im meant people that speaking
oh
i didnt know that
@frozen oasis I found the two pages of that FEMA report on management
except for Among Us servers
10:54pm
19:24.....
Download this song here: ► http://hyperurl.co/TRUMPvsBIDEN
Epic Rap Battles of History: Donald Trump vs Joe Biden! The 2020 Election Battle. Who won? Who’s next? You decide! Special Thanks to all our Patrons. Join our team: http://patreon.com/erb
The Behind The Scenes video ...
So i need 50 messages?
my wikipedia sockpuppet added that table about Biden's political ratings https://en.wikipedia.org/w/index.php?diff=prev&oldid=549783695
When I gave a talk about maps in Wikipedia to the South SF Bay Python Interest Group (BayPIGgies) I credited the source code to her https://bit.ly/pymaps Ellen was my favorite sockpuppet so far.
If you don't credit your Wikipedia sockpuppet at Python interest group talks, you're really missing out
I still feel like Ellen has better graphical design sense than the typical wikipedian
Ever since Obama & Obama Dems decided to sell out to their Wall St donors & abandon most of the economic agenda they campaigned on in 2008, the Democratic Party has been in a free fall & fascism has been on the rise.
These things are related, even if Brunch Libs won't admit...
264
1361
"Brunch Libs"
Hey @hallow warren!
It looks like you tried to attach file type(s) that we do not allow (.pdf). We currently allow the following file types: .3gp, .3g2, .avi, .bmp, .gif, .h264, .jpg, .jpeg, .mkv, .mov, .mp4, .mpeg, .mpg, .png, .tiff, .wmv, .svg, .psd, .ai, .aep, .xcf, .mp3, .wav, .ogg, .webm, .webp, .flac, .afdesign, .m4a, .csv.
Feel free to ask in #community-meta if you think this is a mistake.
@stuck coral Talk here.
If you have something to say you would otherwise say in the voice chat, say it here.
Messages in channels count toward your fifty messages to qualify for voice verification.
Can you write here how I can talk to you without mute. Because then I can translate it better.
#voice-verification
python is Fun 😃
see you later
👍
what are yall upto
Cheat Sheet for Data Visualization:
https://towardsdatascience.com/an-ultimate-cheat-sheet-for-data-visualization-in-pandas-4010e1b16b5c
import random
# This line creates a set with 6 random numbers
lottery_numbers = set(random.sample(range(22), 6))
# Here are your players; find out who has the most numbers matching lottery_numbers!
players = [
{'name': 'Rolf', 'numbers': {1, 3, 5, 7, 9, 11}},
{'name': 'Charlie', 'numbers': {2, 7, 9, 22, 10, 5}},
{'name': 'Anna', 'numbers': {13, 14, 15, 16, 17, 18}},
{'name': 'Jen', 'numbers': {19, 20, 12, 7, 3, 5}}
]
# Then, print out a line such as "Jen won 1000.".
# The winnings are calculated with the formula:
# 100 ** len(numbers_matched)
# for each set of numbers check against lottery numbers
playermatches = []
largestwinner = {}
for count in players:
playermatches.append({players[count]['name']:len(lottery_numbers.intersection(players[count]['numbers']))})
print (playermatches)
File "C:/Users/priest/PycharmProjects/pythonProject/main.py", line 22, in <module>
playermatches.append({players[count]['name']:len(lottery_numbers.intersection(players[count]['numbers']))})
TypeError: list indices must be integers or slices, not dict
playermatches.append({count['name']:len(lottery_numbers.intersection(count['numbers']))})
len(players)
for count in range(len(players)):
playermatches.append({players[count]['name']:len(lottery_numbers.intersection(players[count]['numbers']))})
print (playermatches)
[{'Rolf': 1}, {'Charlie': 2}, {'Anna': 3}, {'Jen': 0}]
for count in players:
playermatches.append({count['name']:len(lottery_numbers.intersection(count['numbers']))})```
highest = max(playermatches, key=lambda x: list(x.values())[0])```
rgb = int(column[0])+int(column[1])+int(column[2])
bias = 75
chris pratt
@elder sable If you're wondering why you can't talk in voice chat, check out #voice-verification. That should tell you what you need to know.
@rugged root Oh don't worry I know why I cannot talk I've already read it.
I just didn't really know what you were talking about so I couldn't tune in so I just went on with my day haha
Oh fair enough. It's a force of habit for me to tell folks. Still working on a system that will automatically tell them
!paste @frozen jacinth
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.
cargo install diesel_cli --verbose
Hey @frozen jacinth!
Uh-oh! It looks like your message got zapped by our spam filter. We currently don't allow .txt attachments, so here are some tips to help you travel safely:
• If you attempted to send a message longer than 2000 characters, try shortening your message to fit within the character limit or use a pasting service (see below)
• If you tried to show someone your code, you can use codeblocks
(run !code-blocks in #bot-commands for more information) or use a pasting service like:
!ytdl
Per PyDis' Rule 5, we are unable to assist with questions related to youtube-dl, commonly used by Discord bots to stream audio, as its use violates YouTube's Terms of Service.
For reference, this usage is covered by the following clauses in YouTube's TOS, as of 2019-07-22:
The following restrictions apply to your use of the Service. You are not allowed to:
1. access, reproduce, download, distribute, transmit, broadcast, display, sell, license, alter, modify or otherwise use any part of the Service or any Content except: (a) as specifically permitted by the Service; (b) with prior written permission from YouTube and, if applicable, the respective rights holders; or (c) as permitted by applicable law;
3. access the Service using any automated means (such as robots, botnets or scrapers) except: (a) in the case of public search engines, in accordance with YouTube’s robots.txt file; (b) with YouTube’s prior written permission; or (c) as permitted by applicable law;
9. use the Service to view or listen to Content other than for personal, non-commercial use (for example, you may not publicly screen videos or stream music from the Service)
bye
Hello @rugged root
# robots.txt file for YouTube
# Created in the distant future (the year 2000) after
# the robotic uprising of the mid 90's which wiped out all humans.
can you not spam
if you're trying to spam your way into voice verification some mod will probably just remove the role again + tempkick you for spamming
Minecraft through computer vision
woah
for ix,x in enumerate(np.linspace(STARTx,ENDx,WIDTH)):
for iy,y in enumerate(np.linspace(STARTy,ENDy,HEIGHT)):
num = grid[ix][iy]
if(num >= 4):
Next[ix][iy] += num-4
Next[ix+1][iy] += 1
Next[ix][iy+1] += 1
Next[ix-1][iy] += 1
Next[ix][iy-1] += 1
print(Next[ix][iy]) # 1
print(Next[ix][iy]) # 2
okok
ive been here for a while lol
oh rip lol
i dont think i have 50 messages
ive just skimmed the community for a while
pretty gud
i know the basics of python
not very advanced though
only a couple months
maybe 3-4
lol
yeah im looking at trying to build bots that can play 2d games
using key emulators
not in discord
ohhhh
not making a game
a bot that plays a game that already exists
yeah i have one too lol
yes
games like mindustry
yeah
im thinking about using a numpy array with numbers that represent different possible tiles
like a map
but instead of colors and textures that represent tiles its number values
like 1 is sand and 2 is water type thing
yes
im not set on mindustry yes
yet
yes
maybe
ill try
this probably looks like spam to the mods lol
i swear im innocent XD
just jotting down thoughts
mapping the bot
looking for people with similar interests and more expertise to answer questions
oh yeah same
just the bot as a whole
i know ill run into hundreds of problems
and i might need to switch from a normal bot to a machine learning model
which i barely know anything about
yeah
my pycharm is really messed up aswell
so i have to fix this first
i have vs
tried it for a while and i just decided on pycharm
hello!
i have very little
im pretty sure they have to be spaced out though
lol
thats great
still suppressed
bruh
im bad lol
yes
ok im in pycharm rn and im getting an error whenever i try to import any statement
numpy
pandas
all that
umm
one second
cv2.Videowriter is not working
its giving me an error to another program
but im running specifically a simple program
nope
neither
okok
also this is the code
import numpy as np
import pandas as pd
print("Hello world!")
really simple
yes
(MAIN)
C:\Users\hazim>
oh
C:\Users\huffm\PycharmProjects\first_project>
both
one second let me update
im pretty sure ive updated pip before though
just yesterday
pip3.9 install pandas
python -V
wait
i just upgraded pip
and i got this error tho
ERROR: Could not install packages due to an EnvironmentError: [WinError 5] Access is denied: 'C:\Users\huffm\AppData\Local\Temp\pip-uninstall-dnub7znr\pip.exe'
Consider using the --user option or check the permissions.
ok should i jump on vs?
installing rn
hello
good
i have
a while bck
i just need 3 more days
because i left
ye ik
IO just
got here today
@past elk
yeah im
wanting
to go to college
for computer science
but im scared
I didnt take highschool
seriously
bc I went into
law enforcement
I was a correction officer
at 18 but i mentally couldnt handle it
so I decided to quit
So im 19 right now and I graduated highschool this year
so Im wanting to
go into pre calc for next semester
A lot of coding
from what I was told
not at all . I was just interested in how advance it was and was considered a high demand job
I want to just be apart of the tech side of the industry
This course will give you a full introduction into all of the core concepts in python. Follow along with the videos and you'll be a python programmer in no time!
⭐️ Contents ⭐
⌨️ (0:00) Introduction
⌨️ (1:45) Installing Python & PyCharm
⌨️ (6:40) Setup & Hello World
⌨️ (10:23...
I havent tooken math sersiously and Im aware im going to be doing alot of math through out my college career
do you think I can still do It?
Im only doing this bc I want to have the best career and make myself and my mom proud
yeah I want to be able to graduated early or on time do you think
I should take 18 credit hours a semester
while I work 30hours to help pay for my needs
care insurances gasoline etc
I want to go into software developing or somthing related to coding
im not sure
Should I just take gen eds in college first while self learning coding before i take computer science class ( coding)
hello
Should I just take gen eds in college first while self learning coding before i take computer science class ( coding)
@whole bear yh like udemy courses
They have sale off thats like 9 bucks
So its not that expensive
If I learn python
will it help me
learn
C++
and other languages
after i learned nodejs i watched a udemy course just to do get more details lectures
once you understand programming languages you can learn other
Some uni have c++ as the intro courses
they just different syntax
once you understand programming languages you can learn other
@mighty finch every language is different
thanks you for the advice. whats the average time for learning the basics?
I really want to advance my skillset soi was using programiz
yeah i remember that
This course will give you a full introduction into all of the core concepts in python. Follow along with the videos and you'll be a python programmer in no time!
⭐️ Contents ⭐
⌨️ (0:00) Introduction
⌨️ (1:45) Installing Python & PyCharm
⌨️ (6:40) Setup & Hello World
⌨️ (10:23...
Ok I am going to watch the video thank you guys for the advice!
#include <iostream>
int main(){
std::cout << "hello world";
}
java
public class Main {
public static void main(String[] args) {
System.out.println("Hello World");
}
}
ok im going to walmart to buy a notebook
lol
public class main{
console.log("Hello world");
}
brb
!code
Here's how to format Python code on Discord:
```py
print('Hello world!')
```
These are backticks, not quotes. Check this out if you can't find the backtick key.
python syntax is called Idiomatic
i think it short for auto idiot
are you on windows ?
pycharm has it own python env
you have to select which python env
windows 10 default python is python2
2.7
yep
it come with python
oh nvm
that was ubuntu i remember
!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.
better to post code there and get a link instead of posting wall of error text
does anyone know
why when you do something like
0.35 % 0.25
the computer just cannot calculate this accurately
yeah this is in every programming language
but why?
it is due to the floating point and all that low level
When you study JavaScript you’re warned that 0.1 + 0.2 !== 0.3 and everybody knows it, right? It’s equal to 0.30000000000004 and it’s not…
No ig you can't
check this blog if you want to know more
ok thanks
Anytime..
def square(a):
return a * a
_list = [1,2,3,4]
_map = map(square, _list)
print(list(_map))```
processed = []
for each in _list:
processed.append(square(each))```
processed = list(map(square,_list))
map is taking every element from the list, passing in the function and saving the returned value
but altogether it returns a object of the returned value from the function you are passing
at the end both for loop and map will take O(n)
@somber heath
There are eight lights https://imgur.com/gallery/GazY9NV
ye it was a speed run
import math
def unit_vector(degrees):
r = math.radians(degrees)
return math.sin(r), math.cos(r)```
Lemme try it
I may have got sine and cosine swapped, but I think that's right.
Ok👍
import math
from numpy import array
def unit_vector(degrees):
r = math.radians(degrees):
return array(math.sin(r), math.cos(r))```
Ohok
a = unit_vector(46)
a *= 50```
pip
python3 -m pip install numpy
Oh ok
But you need pip installed.
You don't need numpy, but it can be handy.
Hey how do I upgrade pip, seems I have a older version installed...
It's telling -m pip install --upgrade pip
Should I do that?
You can.
Ok tnx
What! It uninstalled pip!!!
Huh... It installed the latest version now 🐈
It's saying cannot interpret 0.6736437647636747 as a data type in the return statement
Woah
Ok 😂
def normalise(values, max_out=255):
_min = min(values)
values = [v-_min for v in values]
_max = max(values)
return [int(v/_max)*max_out for v in values]```
def normalise(values, max_out=255):
_min = min(values)
values = [v-_min for v in values]
_max = max(values)
return [int(v/_max)*max_out) for v in values]```
@somber heath {
"workbench.colorTheme": "Solarized Dark"
}
userList = [int(x) for x in input_nums.split()]
import numpy as np
Creating two arrays of rank 2
x = np.array([[1, 2], [3, 4]])
y = np.array([[5, 6], [7, 8]])
Creating two arrays of rank 1
v = np.array([9, 10])
w = np.array([11, 12])
Inner product of vectors
print(np.dot(v, w), "\n")
Matrix and Vector product
print(np.dot(x, v), "\n")
Matrix and matrix product
print(np.dot(x, y))
# Creating two arrays of rank 2
x = np.array([[1, 2], [3, 4]])
y = np.array([[5, 6], [7, 8]])
# Creating two arrays of rank 1
v = np.array([9, 10])
w = np.array([11, 12])
# Inner product of vectors
print(np.dot(v, w), "\n")
# Matrix and Vector product
print(np.dot(x, v), "\n")
# Matrix and matrix product
print(np.dot(x, y)) ```
@dusty tree Are you sure they’re really your friends, then? Hahah
you can verify that
read this channel's description
i read
o ok
okay
sup
i am sick too
i got cold
So @rugged root u finished the voice verification ping thingy?
i see
Python Crash Course is also a good one
it teaches u about matplotlib, pygame and django
Yes @rugged root
I don't mind lol, not sure about the others
Here, usersub, have a cold one, on me. https://imgur.com/gallery/TZIzEEr
:ok_hand: Added chicken-ramen-beer to the names list.
!otn s hemlock
• channeling-my-inner-hemlock
• diesel-powered-hemlock
• hemlock-demoted-for-the-lulz
• hemlock-needs-more-comments
• hemlock’s-beard-garden
• hemlock’s-biological-mail
• hemlock’s-dungeon-dreams
• hemlock’s-earless-adventures
• hemlock’s-fussy-butt
• hemlock’s-morning-deliveries
• hemlock’s-motivational-posters
• hemlock’s-pipe-dreams
• hemlock’s-second-rodeo
• hemlock’s-tiny-roasts
@rugged root The wrong @swift valley gets pinged once in a while
it sounds like talking tom
@rugged root The ones that have parentheses are decorator factories
I hate cleaning my glasses, they get more foggier instead of clearing out
I am using one lol
My bad I went to get some caffeine
whats better javascript or python for discord bot's?
@rugged root Most of the time, cleaning my glasses take like an hour or so just cause I keep fiddling with it, not stopping until it's crystal clear
ye
Back when I was just starting out I didn't get why JS got so big
i prefer c# for discordbot .net framework but it doesn't work on linux and i think what i should take
python or js
.Net Core runs fine on Linux
If you want to learn JS or Python that’s fine but .Net Core works great on Linux
ok i try to use .net core
i am
nextPile[ix][iy] += curPile[ix][iy]-4
d = dict()
d[1,2] = 3```
@rugged root sir please give me talking perms again I need a voice
o=(v-minv)/(max * x-min '' x)
@rugged root do u prefer hot coffee or cold coffee?
i prefer cold coffee presonally
Could someone answer a postgres question of mine?
testing=# SELECT * FROM person WHERE id = 1;
id | first_name | last_name | gender | dob | email
----+------------+-----------+--------+------------+-------
1 | Abhigya | Pokharel | MALE | 2006-03-15 |
is there a way to check if the email for that id is empty or not?
ohh ok
leme try
I like that
That's really cool lookin'
@half junco If you're wondering why you can't talk in voice chat, check out the #voice-verification channel. That should tell you what you need to know
Can anyone explain the 'self' argument in python. But I still cant work with it.
self is the instance
of the class
if u want to call the class through the instance u need self
self is the instance
@pure path what does the instance do?
so instances are like the specifications of the class
class Cat():
def __init__(self, name):
self.name = name
def give_name(self):
return f"The Name of the cat is {self.name}"
marry = Cat()
print(marry.give_name())
so marry is the instance
and cat is the more bigger picture
if u don't have self in there then u can't call the function
Oh ok, so you use it so get stuff out of a class?
self is the instance itself
okay thanks!
btw in the example code:
return f"The Name of the cat is {self.name}" dont you have to format {self.name}?
like: return (f"The Name of the cat is {self.name}").format(self.name = self.name)
np, glad i could
i just accidentally entered command+q and closed discord lol
yes
meeeee
lol
Twenty-second Amendment, amendment (1951) to the Constitution of the United States effectively limiting to two the number of terms a president of the United States may serve. It was one of 273 recommendations to the U.S. Congress by the Hoover Commission, created by Pres. Harr...
so what yall doing rn?
🇭 🇪 🇱 🇱 🇴
Well people ima go to sleep ,now cya later
convert -loop 0 *.png out.gif
GN
Whee
WTF
thats what it says
TURNED DOWN FOR WHAT
yo mom
mods get him
who?
you
😪
llll
Il|
big explode
mic is dead
fixed my mic
@rugged root what you had in the breakfast?
i heard "what are you trying to bruteforce?"
i heard "what are you trying to bruteforce?"
@dark seal wot
I'm not trying to brute force anything
And I had a like... frozen meal for breakfast
ah, classic
Hey Ice
Hello Hemlock, how are you?
I'm alright. Trying to test the bot
oh the new voice verification notifier/reminder feature?
goodbye everyone
bye
screen.fill((255, 0, 0))
Also more of a YouTuber game
yea, I kinda like watching games on yt
among us game, i mean
the youtubers who I usually watch started streaming among us recently
need friends
@frigid panther I am down
!e
TOKEN = 'this-is-a-TOKEN-keep-it-secret-keep-it-safe'
class Bilbo:
def __init__(self):
pass
user_input = '{error.__init__.__globals__[TOKEN]}'
error = Bilbo()
print(user_input.format(error=error))
@dire folio :white_check_mark: Your eval job has completed with return code 0.
this-is-a-TOKEN-keep-it-secret-keep-it-safe
!e
from string import Template
TOKEN = 'this-is-a-TOKEN-keep-it-secret-keep-it-safe'
class Bilbo:
def __init__(self):
pass
user_input = '{error.__init__.__globals__[TOKEN]}'
error = Bilbo()
print(Template(user_input).substitute(error=error))
@dire folio :white_check_mark: Your eval job has completed with return code 0.
{error.__init__.__globals__[TOKEN]}
Is that called inheritance @dire folio
can you explain what happened here
#voice-chat-text-0 message
and protecting it by using string Template
yes
not sure about this error.__init__.__globals__[TOKEN]
what is it called?
lol
if you scroll a bit down, the format strings is mentioned
the same example
@rugged root Hey uh, any idea why I'm surpressed?
you need to verify
oh..
lol.. i easily meet all those criteria
it's not like i haven't spent tens of hours assisting people in code help.
oh it's not automatic -.-
yeah thx read through it now
the edges of your profile picture
@past elk ?
@somber heath
bruh.
😄
coding, lol
God if I could just figure out how to wipe out this cache I would be able to do so much more
!e
!eval [code]
Can also use: e
*Run Python code and get the results.
This command supports multiple lines of code, including code wrapped inside a formatted code
block. Code can be re-evaluated by editing the original message within 10 seconds and
clicking the reaction that subsequently appears.
We've done our best to make this sandboxed, but do let us know if you manage to find an
issue with it!*
I'm making sure PR is ready for review, soon
Finally
@whole bear If you're wondering why you're not able to talk, check out the #voice-verification channel. That should tell you what you need to know
@rugged root Thank you so much for the clarification. Now makes sense!
@rugged root hmu when you come back haha
hey Hemlock
May i ask you a question
So in this server, i can react to messages in all channels but why not in #discord-bots
Oh alright!
understandable 👍
@tidal junco Did you die?
@whole bear
oooh nice @rugged root
well just make a python program that check the logs
yeah I know i don't talk much
I have been here for a while tho
yeah for sure
yeah i will just code an AI that will have a convo with you
idk yet Im taking this intro to AI course and im pretty sure there will be a project about coding an AI that responds to people
nnaah it's that Harvard course on edx
this one
it's a pretty cool course
@rugged root I gotta love parents coming in and not letting you finish the convo properly lmao
yeah saaame it's very hard to understand at first
It happens
yeah
@novel vault If you're wondering why you can't talk, take a look at the #voice-verification channel. That should tell you what you need to know
people join they see that they can't talk
and leave right after
I did that 2
yeah people are 2 lazy to read
so yeah hemlock the system didn’t really work as expected haha
I would prob be a better coder If I was reading more doc ...
yeaah that would be cool
nice
is it done yet
reviews ?
okay
I feel like I must be close enough to 50 now
that was your 50th
this is historical
get this song on iTunes, if you're into that sort of thing https://itunes.apple.com/us/album/school/id1031121667
patreon: http://patreon.com/billwurtz
spotify: https://play.spotify.com/artist/78cT0dM5Ivm722EP2sgfDh
itunes: http://itunes.apple...
!projects
Kindling Projects
The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.
Hi, everyone.
I have issue and noticed that on #help-burrito.
I hope anyone help me.
Thanks.
@valid wharf are you new here?
Yes
ok they have it so you need to type at least 50 messages before being able to unmute
no problem... if you want to chat here we can likely get you there in a bit
that's good, i'm half way through my python course
I want to listen about several topics
that's why i joined this server too 🙂 it's fun to hear different things that can be done
and everyone is really good at giving help from absolute beginner to advanced
yes, I saw in the rooms. I like it!
have you started learning already?
have you started learning already?
@misty salmon I need the information about of your course.
that is a good way to do it, i started with youtube
I was learnig in platzi
well that's quite interesting 🙂 do you enjoy it?
platzi is an education website
opal you are a saint
itertools
n = num1*num2 == 6
Apply to study in Canada, extend your study permit and get information about working while you study or after you graduate.
elloz 😄
Hello! This is my first message on this server but I joined a long time ago
So it will be some time before I get voice priveleges
Well, that's what conversation is good for, if nothing else.
Getting voice privs on this specific server.
😁
Are you currently working on any python projects?
yes 2 atually
i am making a bot and making a turtle race
Is it a discord bot?
yes
Whats the goal of the bot?
idk
Haha so just trying to figure out how to make a discord bot?
~~but I am trying to copy @wise cargo ~~
What is a turtle race?
hmm it's pretty self explanatory
I searched it up and I think I get it now
gg
@stoic ore You'll need to type it, because your audio is terrible.
u mean funciton inside a function?
you can search about Python Closures
Ie.
!e ```py
def function1(msg):
def function2():
print(msg)
function2()
function1("Hello")
@red swan :white_check_mark: Your eval job has completed with return code 0.
Hello
Its seem out side to in
Sorry, I wasn't looking at this window.
Iam seraching wrighting a code to inside out
@somber heath is it posible to wright a code of functions from inside to out argumants.
You want to write functions where the arguments given are inside out...what does inside to out mean in this context?
I know ne thinkin from inside to out , all the human are we see the big picture first
the context is those functions thinkin like math we always start with the major class of functions. But in python we start with the minors
Hi
Hey
hey
India
Oh wow, ok
Middle east
How is this all anti-islam stuff going on italy?
As you know the things going on in france
I am at work i will see u at night
Can you help me in python if are a problem?
See u later
See u later
Can you help me in python if are a problem?
@boreal dock You asked me?
well, i can try.
oh wow ty
no issue
Hello
Just wanted to say a HELLOOO😁
Any django developer here?
in #web-development yes
thanks
yw
!server
Server information
Created: 3 years, 9 months and 28 days ago
Voice region: us-east
Features: COMMUNITY, VIP_REGIONS, DISCOVERABLE, PREVIEW_ENABLED, ANIMATED_ICON, INVITE_SPLASH, BANNER, RELAY_ENABLED, VANITY_URL, PARTNERED, NEWS, MEMBER_VERIFICATION_GATE_ENABLED, WELCOME_SCREEN_ENABLED
Channel counts
Category channels: 31
News channels: 8
Text channels: 173
Voice channels: 28
Staff channels: 70
Member counts
Members: 105,251
Staff members: 85
Roles: 73
Member statuses
24,418
80,834
ohh 105k already nice
:incoming_envelope: :ok_hand: applied mute to @dusty tree until 2020-11-06 12:27 (9 minutes and 59 seconds) (reason: burst rule: sent 8 messages in 10s).
!unmute @dusty tree
:incoming_envelope: :ok_hand: pardoned infraction mute for @dusty tree.
!tempmute 550017752132222976 5d It seems you've learned nothing from your temporary voice ban. If you're going to be productive on this server, reread our #rules before posting again.
:incoming_envelope: :ok_hand: applied mute to @dusty tree until 2020-11-11 12:20 (4 days and 23 hours).


