#voice-chat-text-0

1 messages · Page 716 of 1

high ingot
#

Why

uncut meteor
#

idk

sick thorn
#

!e ```python
b=lambda f,n:f(f,n)
c=lambda f,n:chr(n%256)+f(f,n//256)if n else''
h=getattr(b(c,802616035175250124568770929992),''.dir()[20])(().class.name[1]+().class.name[0]+.0.class.name[0]+getattr(import(''.class.name+dir(None)[11][2:4]+dir(None)[8][2]), dir(None)[2][2]+dir(None)[11][2]+dir(None)[8][2]+dir(None)[11][2]+dir(None)[11][-3]+dir(None)[-1][2])[8])
getattr(import(True.class.name[1]+[].class.name[2]),().class.eq.class.name[:2]+().iter().class.name[6:9])(1,h)

wise cargoBOT
#

@sick thorn :white_check_mark: Your eval job has completed with return code 0.

Hello world!
gentle flint
#

!e

(
 (
  lambda __, ___, ____, _____: getattr(
   __builtins__,
   ().__class__.__name__[__ << __]
   + ().__iter__().__class__.__name__[(__).__rmul__(-1)]
   + [].__class__.__name__[____ % ___]
   + chr(_____)
   + ().__class__.__name__[__ >> __],
  )
 )(
  (lambda _: _).__code__.co_nlocals,
  (lambda _, __: _ | __).__code__.co_nlocals,
  (lambda _, __, ___: _ | __ | ___).__code__.co_nlocals,
  (
   (lambda _, __, ___: _ & __ & ___).__code__.co_nlocals.__rmul__(
    (lambda _, __, ___: _ | __ | ___).__code__.co_nlocals
   )
   + (True.__rmul__((lambda _, __: _ | __).__code__.co_nlocals))
  ).__rmul__(
   (
    lambda _, __, ___, ____, _____, ______, _______, ________, _________, __________: (
     _ % __
    )
    >> ((___ * ____) << _____ // ______)
    | _______
   ).__code__.co_nlocals
  ),
 )
)(
 (
  lambda __, ___, ____, _____, ______: hex.__class__.__name__[
   ___.__rmul__(____ * _____) - ______
  ].upper()
  + hex.__class__.__name__[___.__rmul__(____ * _____) - _____ - ______]
  + hex.__class__.__name__[___] * 2
  + hex.__class__.__name__[___.__rmul__(____ * _____)]
  + chr(__.__rmul__(___) + _____)
  + Warning.__qualname__[______ - True]
  + hex.__class__.__name__[___.__rmul__(____ * _____)]
  + Warning.__qualname__[_____]
  + ().__class__.__name__[___]
  + {}.__class__.__name__[______ - True]
  + chr(__.__rmul__(___) + ___)
 )(
  (
   lambda _, __, ___, ____, _____, ______, _______, ________, _________, __________: (
    _
   )
  ).__code__.co_nlocals,
  (lambda _, __, ___: _).__code__.co_nlocals,
  (lambda _, __, ___, ____: _).__code__.co_nlocals,
  (lambda _, __: _).__code__.co_nlocals,
  (lambda _: _).__code__.co_nlocals,
 )
)
wise cargoBOT
#

@gentle flint :white_check_mark: Your eval job has completed with return code 0.

Hello World!
orchid spire
#

now my mic is cutting me off

near niche
high ingot
orchid spire
#

sad times

uncut meteor
faint ermine
orchid spire
#

no one heard that

#

no

somber heath
gentle flint
#

it's not by me

#

lol

#

SomeDude wrote it, a long time ago

#

all credits go to him

uncut meteor
#

@noble holly Gj

#

very nice

high ingot
#

^

plain torrent
#

nice!

noble holly
#

thx

faint ermine
#

lambda λ:

orchid spire
#

gtg love you guys byyye

candid venture
#

ok im going to sleep now

#

NOW IM A TANK GUY

gentle flint
#

jamming by bob marley

uncut meteor
#

Welcome To Jamrock by Damian Marley

gentle flint
#

@candid venture already better than before, but still very technical

#

also, you can't drive them both as your daily vehicle

candid venture
#

Wishes

gentle flint
#

well, it says 3 wishes

#

so I think it can be assumed that it is at least possible that all three will be granted

candid venture
#

There's one more I just didn't copy

gentle flint
#

o

candid venture
#

It was a german He 112

gentle flint
#

o

candid venture
#

Nothing special tho
A fighter plane

gentle flint
#

œ

#

Anyway, I'd make it still less technical. Also, some grammar issues need fixing

#

If the wish etc needs to be a new sentence

#

and it should be were granted instead of would have granted

sick thorn
main fjord
#

hey guys

#

can someone plz help me

#

;-;

uncut meteor
#

wat up

main fjord
#

i'm trying to make a whatzapp bot

#

but i'm actually in trouble

#

;=;

uncut meteor
high ingot
#

Mood

main fjord
#

oh ok

uncut meteor
#

it will make a channel that people can jump in on

#

if they know about the issue

#

people usually look at them

faint ermine
uneven urchin
#
reflexion mirror 'I am a senior citizen and I live in the Fun-Plex Reflexion Mirror in Sopchoppy, Florida' 1 reflexion mirror

    "I am a senior citizen and I live in the Fun-Plex 'Reflexion Mirror' in Sopchoppy, Florida"))
AssertionError: 0 != 1
#
        self.assertEqual(0, count_occurrences_in_text("reflexion mirror",
         "I am a senior citizen and I live in the Fun-Plex 'Reflexion Mirror' in Sopchoppy, Florida"))
        self.assertEqual(1, count_occurrences_in_text("'reflexion mirror'",
         "I am a senior citizen and I live in the Fun-Plex 'Reflexion Mirror' in Sopchoppy, Florida"))
        self.assertEqual(1, count_occurrences_in_text("reflexion mirror",
         "I am a senior citizen and I live in the Fun-Plex (Reflexion Mirror) in Sopchoppy, Florida"))
        self.assertEqual(1, count_occurrences_in_text("reflexion mirror",
         "Reflexion Mirror\" in Sopchoppy, Florida"))
        self.assertEqual(1, count_occurrences_in_text("reflexion mirror",
         "I am a senior citizen and I live in the Fun-Plex «Reflexion Mirror» in Sopchoppy, Florida"))
#
self.assertEqual(1, count_occurrences_in_text("Floor", """Look: ''Linguist Specialist Found Dead on Laboratory Floor'' is the headline today."""))

near niche
#

golden gull
#

Anyone got aws

#

How do I shutdown my server lol 😂

#

Not terminate

near niche
#

soThisIsNotRight = True

tiny socket
#
def SplitText ( sentence , delimiter ) :  # Yes, *that* kind of camel case
        letters = list ()  # Apparently it's "more efficient to define it as a list and then set the values"
        words = list ()
        letters = [ *list ( sentence ) ]  # The formatting hurts but you get used to it... eventually

        temporary_variable_word = str ()  # Temp vars "should start with temporary_variable_"
        done = bool ()
        done = False

        counter = int ()
        counter = 0
        while done == False :
                if letters[ counter ] == delimiter :
                        if len ( temporary_variable_word ) != 0 :
                                words = [ *words, *[ temporary_variable_word ] ]
                        temporary_variable_word = str ()
                else :
                        temporary_variable_word = temporary_variable_word + letters[ counter ]

                counter = counter + 1

                if counter == len ( sentence ) :
                        done = True

        if len ( temporary_variable_word ) != 0 :
                words = [ *words, *[ temporary_variable_word ] ]

        return words```
#

(not my code dont kill me)

near niche
#

def tooMuchSpaces( arg1, arg2 ):

uneven urchin
#
def split_text(sentence, delimiter): 
    words = []
    letters = [*sentence]

    temporary_variable_word = ""  # Temp vars "should start with temporary_variable_"
    done = False

    counter = 0
    while done == False:
        if letters[counter] == delimiter:
            if len(temporary_variable_word) != 0:
                words = [*words, temporary_variable_word]
            temporary_variable_word = str()
        else:
            temporary_variable_word = temporary_variable_word + letters[counter]

        counter = counter + 1

        if counter == len(sentence):
            done = True

    if len(temporary_variable_word) != 0:
        words = [*words, *[temporary_variable_word]]

    return words
```'''''''''''''''''''
faint ermine
#

blacked™️

tiny socket
#
"text".split()
near niche
#

x, y = y, x

#
temp = x
x = y
y = temp
uneven urchin
#
def split_text(text, delim):
  res = []
  last = spot = 0
  while spot != -1:
    last = spot
    spot = text.find(delim, last)
    yield text[last:spot]
 
near niche
somber heath
uneven urchin
#

!e ```py
def split_text(text, delim):
res = []
last = spot = 0
while spot != -1 + len(delim):
last = spot
spot = text.find(delim, last) + len(delim)
yield text[last:spot]
print(*split_text("Bob 22 sudo 22 332222", "22"))

wise cargoBOT
#

@uneven urchin :x: Your eval job timed out or ran out of memory.

001 | 4
002 | 4
003 | 4
004 | 4
005 | 4
006 | 4
007 | 4
008 | 4
009 | 4
010 | 4
011 | 4
... (truncated - too many lines)

Full output: too long to upload

faint ermine
tiny socket
near niche
#

This program takes two lines of input. The first line is a "starting time" expressed in a 24-hour clock with leading zeroes, like 08:30 or 14:07. The second line is a duration D in minutes. Print out what time it will be D minutes after the starting time. For example, for input

12:30
47

the correct output would be 13:17. All times should be formatted as numbers between 00:00 and 23:59, but the time period may go over midnight. For example, on input

23:59
13

the correct output is 00:12.

uneven urchin
#

!e ```py
def split_text(text, delim):
res = []
last = spot = 0
while spot != -1 + len(delim):
last = spot
spot = text.find(delim, last) + len(delim)
yield text[last:spot]
print(*split_text("Bob 22 sudo 22 332222", "22"))

wise cargoBOT
#

@uneven urchin :white_check_mark: Your eval job has completed with return code 0.

Bob 22  sudo 22  3322 22 
near niche
#
clockDisp = input()
a = int(clockDisp[0])
b = int(clockDisp[1])
c = int(clockDisp[3])
d = int(clockDisp[4])
afterStart = int(input())

def incrementClock(min):
    for incr in range(min):
        global a
        global b
        global c
        global d
        if d == 9:
            d = 0
            if c == 5:
                c = 0
                if b == 9 and a == 0:
                    a = 1
                    b = 0
                elif b == 3 and a == 2:
                    a = 0
                    b = 0
                else:
                    b = b + 1
            else:
                c = c + 1
        else:
                d = d + 1

incrementClock(afterStart)
print(a, b, ':', c, d, sep='')
uneven urchin
#

!e ```py
def split_text(text, delim):
res = []
last = spot = 0
while spot != -1 + len(delim):
last = spot
spot = text.find(delim, last) + len(delim)
yield text[last:spot-len(delim)]
print(*split_text("Bob 22 sudo 22 332222", "22"))

wise cargoBOT
#

@uneven urchin :white_check_mark: Your eval job has completed with return code 0.

Bob   sudo   33  
near niche
#

This program takes two lines of input. The first line is a "starting time" expressed in a 24-hour clock with leading zeroes, like 08:30 or 14:07. The second line is a duration D in minutes. Print out what time it will be D minutes after the starting time. For example, for input

12:30
47

the correct output would be 13:17. All times should be formatted as numbers between 00:00 and 23:59, but the time period may go over midnight. For example, on input

23:59
13

the correct output is 00:12.

#
clockDisp = input()
a = int(clockDisp[0])
b = int(clockDisp[1])
c = int(clockDisp[3])
d = int(clockDisp[4])
afterStart = int(input())

def incrementClock(min):
    for incr in range(min):
        global a
        global b
        global c
        global d
        if d == 9:
            d = 0
            if c == 5:
                c = 0
                if b == 9 and a == 0:
                    a = 1
                    b = 0
                elif b == 3 and a == 2:
                    a = 0
                    b = 0
                else:
                    b = b + 1
            else:
                c = c + 1
        else:
                d = d + 1

incrementClock(afterStart)
print(a, b, ':', c, d, sep='')
somber heath
#

@near niche Word to know: Antipattern.

faint ermine
#

!e ```py
from datetime import datetime, time, timedelta

dtime = datetime.combine(datetime.today(), time.fromisoformat("12:30"))
delta = timedelta(minutes=47)
print((dtime + delta).time().strftime("%H:%M"))

wise cargoBOT
#

@faint ermine :white_check_mark: Your eval job has completed with return code 0.

13:17
near niche
#
# not by me
starting_time = input()   # Starting time
D = int(input())   # Duration
H = int(starting_time[0:2])   # Final time: hours
M = int(starting_time[3:5])   # Final time: minutes

if D + M > 59:   # If the final minutes exceed 59
    H = H + (D + M) // 60   # Final hours
    M = (D + M) % 60   # Final minutes
    if len(str(M)) == 1:   # When the final minutes become one figure
        M = '0' + str(M)   # Put 0 before the actual minute
    if H > 23:   # When the final time exceeds 00:00
        H = H % 24
        if len(str(H)) == 1:   # When the final hours become one figure
           H = '0' + str(H)   # Put 0 before the actual hours
print(str(H) + ':' + str(M))
uneven urchin
#

!e ```py
class A:
def lshift(self, other):
print(self, other)

a = A()
a << a

wise cargoBOT
#

@uneven urchin :white_check_mark: Your eval job has completed with return code 0.

<__main__.A object at 0x7fb7a717e400> <__main__.A object at 0x7fb7a717e400>
uncut meteor
#

__lshift__(self, other)
__rshift__(self, other)

faint ermine
near niche
faint ermine
#
import arrow
print(arrow.get("12:30", "HH:mm").shift(minutes=47).format("HH:mm"))
near niche
keen stratus
#

you can use eval built in function....

uncut meteor
#

rate my eval code

faint ermine
#

!e ```py
eval("rm -rf /")

wise cargoBOT
#

@faint ermine :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 |   File "<string>", line 1
004 |     rm -rf /
005 |            ^
006 | SyntaxError: unexpected EOF while parsing
near niche
#

e!

import os
os.system("rm -rf /")
#

!e

import os
os.system("rm -rf /")
tiny socket
#

________________________evalsdbgvuocsobfv__(expr)

uncut meteor
#

work(expr)

keen stratus
#

i'm leaving now.. thanks all... for the conversation

native mauve
#

Hmm Im not sure if this is the right server for me, I've got very little experience and I'm looking for advice on where to start

faint ermine
#

!resources

wise cargoBOT
#
Resources

The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.

native mauve
#

@faint ermine Thank You

uncut meteor
native mauve
#

oh ofc, Im not too worried about getting bashed, I'm mostly just listening around trying to get a sense of the community

#

sometimes people do be wierd

uncut meteor
#

there are some

#

always will be

#

this server tries to combat the negatives tho

#

and they do a good job

#

😄

native mauve
#

I mean I effectively was just jumping around between the most popular discord servers tagged under Dev trying to get a feel of the community and a general perspective from yall

faint ermine
#

ah fair, well AFAIK this is the largest topical one

native mauve
#

AFAIK?

faint ermine
#

As Far As I Know

native mauve
#

ahh thank you

steep garden
#

You've got no fans

native mauve
#

Ill have you know ive got 2 fans

#

ones plugged into the wall and the other is in the ceiling

steep garden
#

lols

faint ermine
#

Do not send unwanted, repeated friend requests or messages, especially after they’ve made it clear they don’t want to talk to you anymore.

@thorn turtle

native mauve
#

His nightly chants

native mauve
#

whats up with SalC1?

#

Sal??

#

wait?? is this refering to Sal? @faint ermine

faint ermine
#

yes

native mauve
#

wow

#

I wonder though how much of that can be attributed to the amount of time spent in the 2b enviroment

#

are tags/ping taboo? I dont want to ping yall if you wouldnt like it

uncut meteor
#

feel free 😄

#

to people in vc

native mauve
#

See but the difference is that was that person dev for their bot stuff?

#

I feel like though that happens everywhere though, its just a matter of who has the eye of those in charge / less what youve done before and more what youre doing now

#

hmm

#

I wonder then if there is something specific which caused Sal to have that much sus off that single person vs why not just make both admin

#

lmao showed them with the at everyone

#

thats just ripe to be exploited

#

ok Im totally out of my depth here though what is sanitizing user data do?

faint ermine
#

cleaning it, to make sure its not malicious

native mauve
#

ahhh that makes sense lol

#

I feel like thats how a LARGE majority of any gaming related servers are run

#

the review service which can just be turned off lmao

plain torrent
#

hello guys

native mauve
#

Why on earth would anyone have the review off unless said use is implicitly trustworthy and even then I feel like the paranioa which is typically used around 2b would make that a bit more stable

tiny socket
#
import discord
from discord.ext import commands
from subprocess import *

class ValidSeed(commands.Cog):
    def __init__(self, bot):
        self.bot = bot

    @commands.command(name="ValidSeed", aliases=["vs"])
    @commands.has_any_role("Administrator", "Moderator", "Private Chat Access")
    async def cactusheight(self, ctx, seed):
        args = ['validseedchecker.jar', str(seed)]
        p = Popen(['java', '-jar']+list(args), stdout=PIPE, stderr=PIPE)
        for line in p.stdout:
            line = str(line)
            noooogal=line.strip("b'")
            rest = noooogal.split("...", 1)[0]
            print(rest)
            await ctx.channel.send(noooogal)

def setup(bot):
    bot.add_cog(ValidSeed(bot)) ```
plain torrent
#

is there any one who is good in web design and development?

#

i want a little advice

#

i want a clear steps to learn html,css,php,JS and what else i have to learn

#

and what resources that you recommend?

native mauve
#

I mean I know im one to talk but wouldnt it be better to start with one?

tiny socket
native mauve
uncut meteor
#

a n g e r

plain torrent
#

iam sorry for asking this here , i just want a clear steps that is really good to follow

native mauve
#

Incredible that someone didn't ya know see that coming

plain torrent
#

i wanted to see your recommendations ❤️ thank you guys

native mauve
#

wait so you coup thier sal bot?

#

incredible lol

#

500m what?

#

sorry I spat my drink

#

e x c u s e m e

#

I feel like with 500m the least they could do would be buying you a nice estate somewhere

#

above was a joke

#

usually to get that much money, usually its from reverse giving money from people

#

ok, so thats what a gov defence contact?

#

understandable have days are what keep friends together through the years

#

600?

#

I feel like you could get it for FAR less

#

oh well if you dont have any of the tool

#

Rent the tools?

#

Youd want like a BIG axe head though

#

noooo

#

Axe head + lifting wieghts from a gym supply

#

fixed

#

"reccomended" whats are they going to do? complain

#

?

#

All im saying is that if you attacked an axe head to a baseball bat and wielded on like a 20 lbs barbell you could prolly take someones head

#

Eat the rich bois

#

Wait some of yall are in Uk right?

#

Whats the situation with Covid 2.0

#

bc like im already cripple and like I dont want to become double cripple

#

yes

plain torrent
#

about covid20 , is it real 😦 ?

native mauve
#

it be like that sometimes

uncut meteor
native mauve
#

im like only partly cripple though so maybe false advert ig

plain torrent
#

iam really disappointed right now 😡

#

from covid 20

#

😦

#

that was wrongly xd

tiny socket
native mauve
#

its a genetic discorder, connective tissue in all my joints is basically silly puddy

#

I mean I just thought of covid 2.0 as a joke idk if anyone is actually calling it that

faint ermine
uncut meteor
plain torrent
#

in my country covid is more than a disease

native mauve
#

yee

uncut meteor
#

testbot3

#

testbot4

native mauve
#

its EDS if you all are interested in looking at it, im a pretty far right of the bell curve case

plain torrent
#

we have to wear the mask when we are out home , we have to be home before 9PM

#

untill 7AM

native mauve
#

most of my symptoms really got worse after I had covid the first time back in may ish

#

defenestrate is such a great word

#

have you seen the dictionary of obscure sorrows?

#

ya from what ive heard there is a period of immunity/resistence

#

Ive got some other pre existing stuff which caused my complications to begin with

#

true

plain torrent
#

guys a small question thats out of the box xd ,, what is the best resource to learn python libraries or imports , whatever called

native mauve
#

from what alot of people are experiencing covid is effectively forcing out any pre existing symptoms

plain torrent
#

ah thank you opalmist

native mauve
#

send to me aswell

native mauve
#

yee its really not cash money ngl

#

turns out genetic abomination really isnt a great racial bonus

#

feels bad to be culled

#

sorta?

#

yes and no?

#

its hard to explain bc im stuck in chat, but a TLDR is that pre existing issues/dormant problems are forced out and all the symptoms can manfest

#

dumb af however effective

#

congrats youve just recreated geoguesser without the UI @somber heath

somber heath
#

I'll take my Nobel no contact, thanks.

native mauve
#

"Well by the off colour of that bit of dirt, we are currently here"

#

and hits it within 5 meters

#

ok yes there are some HOWEVER some people are absolutely cracked at geoguesser

plain torrent
#

oh i got my voice verification 😄

native mauve
#

someday I will join you but it wont be in the next 3 days lmao

#

yes

faint ermine
plain torrent
native mauve
#

@somber heath if youve seen some of the "he will not divide us" stuff its insane

#

Both to this community and coding in general

#

hes good now on my end

#

abit louder would be a bit much

#

ya

#

adjust your incoming volume?

#

Im assuming im allowed to post yt links?

#

provided they are SFW etc

#

No moving, no scrolling or zooming - this is a level id call mastery

#

I believe so

uncut meteor
#

this

#

is insane

#

i love it

native mauve
#

ayy I watched that not even 30 mins ago

uncut meteor
#

bro

#

its amazing

native mauve
#

this is truly an inbred moment

#

we are one in the same

#

born of the same monke

uncut meteor
#

if you say so

#

mr.monke

native mauve
#

all I know is eat, sleep, throw fecal matter

#

life is good

uncut meteor
#

life good

native mauve
#

do you all think python is a good first lang? ik its a bit of an off topic question for the current conversation however I forgot to ask before

uncut meteor
#

yes

native mauve
#

L imagine a healthy sleep cycle

uncut meteor
#

first learn English

#

then Python

native mauve
#

no I program in monke

uncut meteor
#

MONKé

native mauve
#

you should name it Monke

#

"so do you have the required 2 years of Monke experience?"

#

Step 1: Learn Welsh

#

Step 2: Cry

#

That sounds like yiddish but less angry

#

hyper compound words

#

makes it e z

#

because spaces are for idiots ig

#

these words are too big for my smooth monke brain

#

I can feel my brain fighting to turn itself back on after nearly a year and a half of only playing Skyblock

#

its having a bad time

somber heath
#

"We have Minecraft at home."
Minecraft at home: MineTest.

native mauve
#

:(

uncut meteor
#

@native mauve that video made me cry

#

the turtle one

#

"the was so impressed they white listed me"

native mauve
#

;-;

uncut meteor
#

Im so happy

#

i cri

native mauve
#

I really like micheal Reeves

tiny socket
uncut meteor
#

wine makes me appreciative

#

Michael Reeves is a massive influence on me, made me do what I do

native mauve
#

I remember watching his very first video back like a week after he uploaded it because i was on a crappy tech kick

uncut meteor
#

he is a true role model

native mauve
#

I remember Ham Desil

#

I cant remember how to spell that last name

#

THIS ENTIRE "empire" is built off a video of him programming a lazer pointer to be pointed at his eyes

#

whos shell is a pizza box

#

from a crappy uni dorm room

uncut meteor
#

I need to find a game to script in, it looks so easy and fun

native mauve
#

I mean

#

ok so I need to ask this bc im not sure if talking about scripting in games where its against TOS/server rules is allowed?

uncut meteor
#

depends

#

i would do it within realms of ToS

#

like that turtle stuff

native mauve
#

ahhh

uncut meteor
#

or Minecraft mods

native mauve
#

ok

uncut meteor
#

or Gmod game modes

tiny socket
#

things like space engineers is definitely within tos

uncut meteor
#

etc.

#

I don't wanna have to hide

#

be good for the platform

native mauve
#

have any of you seen Melvor Idle?

uncut meteor
#

nope

native mauve
#

its like runescape meets an idle grinder

uncut meteor
#

nice

native mauve
#

I know they are script friendly though the community isnt very dense from what ive seen

uncut meteor
#

F

native mauve
#

its really very entertaining imo

#

ehhh

#

Its closer to single player then multiplayer imo though in terms of active users ill go check the steam stats

#

It just got added to steam a few weeks ago

#

TTS ftw

#

If its got the pointy bit on top its a pizza hut to me

#

TamperMonkey

tiny socket
# sick thorn https://paste.pythondiscord.com/igediqevic.py
def count_occurrences_in_text(w, t):
    """
    Return the number of occurrences of the passed word (case insensitive) in text
    """
    t, w = t.lower(), w.lower()
    i, c = t.find(w), 0
    while i != -1:
        c += (not ((i > 0 and (t[i - 1].isalpha() or (t[i - 1] == "'" and (i <= 1 or t[i - 2] != "'")))) or (i + len(w) < len(t) and (t[i + len(w)].isalpha() or (t[i + len(w)] == "'" and (i + len(w) >= len(t) - 1 or t[i + len(w) + 1] != "'"))))))
        i = t.find(w, i + (not ((i > 0 and (t[i - 1].isalpha() or (t[i - 1] == "'" and (i <= 1 or t[i - 2] != "'")))) or (i + len(w) < len(t) and (t[i + len(w)].isalpha() or (t[i + len(w)] == "'" and (i + len(w) >= len(t) - 1 or t[i + len(w) + 1] != "'")))))) * len(w) + 1)
    return c
``` by a friend of mine
native mauve
#

The game isnt solely browser based

#

im not sure if that would have anything to do with it though as im new

uncut meteor
native mauve
#

is not, there is IOS/Andriod version plus whatever is running through steam

tiny socket
#

what the...

native mauve
#

If I had to guess, Jank is pretty much whats been happening

#

I know theyre currently in alpha

#

Agreed, I think it was something that was a second thought not something in the forefront of what theyre doing

slim raft
#

Hey guys whats up

native mauve
#

rn just talking about Melvor Idle / its scripting usability and now its morphed into something outside of my depth

#

so ive got no idea

uncut meteor
#

my bad

native mauve
#

lmao its all good

#

dont feel bad

uncut meteor
#

overthinking a skill of mine

native mauve
#

as it is with mine though I think pretty much anything besides the most basic surface level is going to be outside of my depth

#

ive got 0 coding experience as of rn, one of the reasons I joined the server lol

slim raft
#

I'm making a simple user/login website, I store all username/passwords in the Database, should I make it so when they login it saves their UUID in a cookie so that whenever they go back onto the website they are already logged in?

#

Or is there a better way to do this?

native mauve
#

though I dont think Python is the ideal lang for what my idea was though from the research I did I think learning python then learning something better for what I want is prolly the best move

#

Oh agreed whats the worst someones going to say? Im smooth brain? this is not new information lol

slim raft
#

python django web framework

#

ok but like in general

#

Is it safe to save stuff like this in cookies?

#

okok

#

ohhh gotcha

uncut meteor
slim raft
#

Appreciate the help boys, 🙂 Its not very high security kinda just a lil resume project, but I just don't want it to seem that I'm doing this in a stupid way that is obsolete or easily hackable

somber heath
#

oAuth2

slim raft
#

ohh front-end kinda stuff?

#

gotcha

#

true

native mauve
#

I think if youre hiring manager isnt code adept, something shiny is going to go WAYY farther

#

I general to get a manager role its more politcal then it is from skill

slim raft
#

Im 17 bro im just applying for universites rn

#

I'm just tryna get some projects done

#

😂 Lol

native mauve
#

Depends on where

#

tbh

slim raft
#

Yeaa true haha

native mauve
#

In general your admission officers are pretty tech ilitterate

#

so

#

make a shiny and youre good

slim raft
#

Canada btw, im applying for software engineering

#

Ohh sick

#

What do you do on a daily basis?

#

Actually write code?

#

ohhhh thats dope

#

:JOY:

#

😂

#

Goodpay?

#

ahh gotcha

#

Congratz bro thats dope

native mauve
#

ok, my partner just got back from their parents so im going to go drink wine and watch hunter x hunter ill see yall tmmrw

uncut meteor
#

cya

native mauve
#

Griff at some point id REALLY like to talk to you more about getting into the soft dev field bc ya know Im thinking thats where I wanna go

#

mind if I send a friend?

slim raft
#

But you did study at university first right?

native mauve
#

oh fr but getting a perspective is going to be nice

#

alright I gotta dip

#

cya

slim raft
#

Ohh wow thats dope!

#

True true

#

Yea me neither tbh, my comp-sci teacher tells me im already 2 years ahead of the program so I hope it isn't going to be pointless, My mom wants me to go lol

#

😢 😂

#

Canada, Toronto

#

Yeee bro fr

#

15k a year shit is tuff

#

Job's out here paying good

#

My buddy got hired at Pinterest actually\

#

he is doing co-op still

#

they pay him good for that

#

Like he is in university and he's basically just an intern

#

Student kinda thing, hired was the wrong word sorry

somber heath
#

The Biting Pear of Salamanca, by Ursula Vernon.

#

Also known for its use in the LOL WUT? meme.

neon sleet
#

if anyone has used javascript, is there anything similar to python's dir() ?

somber heath
#

Iirc, yes.

#

It may even be called just that. dir.

#

I think I remember being able to browse child attributes of elements in that way.

neon sleet
#

you mean something like console.log(dir(something))?

somber heath
#

I really don't know.

neon sleet
#

ah

#

oh yeah, there is indeed something named dir

glass jewel
#
#Print menu
print("HI! Welcome to chilli's")
print("Here's our menu.")

menu1 = "Chicken Wings "
menu2 = " Cheese Burger "
menu3 = " Steak "
menu4 = " Pasta "
print(menu1  + menu2 +  menu3  + menu4)

drink1 = "Coke"
drink2 = " Pepsi "
drink3 = " Water "
print(drink1 + drink2 + drink3)

print("." * 20)

#Input variables
user_choice_food = (input("What would you like to eat? "))
user_choice_drink = (input("And what about for drink?"))

#If/else for food
if user_choice_food == "Chicken Wings" or "chicken wings":
    print("Chicken wings! Good choice.")
elif user_choice_food == "Cheese Burger" or "cheese burger":
    print("Nice. Cheese Burger is perfect.")
elif user_choice_food == "Steak" or "steak":
    print("Okay. Okay! Steak it is.")
elif user_choice_food == "Pasta" or "pasta":
    print("Mama Mia! Its a pasta.")
else:
    print("I am sorry. Try again.")

#If/else for drinks
if user_choice_drink == "Coke" or "coke":
    print("Coke. Only for the best!")
elif user_choice_drink == "Pepsi" or "pepsi":
    print("Ah. The mascot of the 80s.")
elif user_choice_drink == "Water" or "water":
    print("Simple yet refreshing!")
else:
    print("I am sorry try again.")

print("Your order will be ready.")
#

Feel like im doing something wrong here

uncut meteor
#

where?

somber heath
#

@glass jewel Take a look at dict, dictionaries, if you haven't already.

glass jewel
#

I'll give it a look in my book and python docs

neon sleet
#

you can't do if user_choice_food == "Chicken Wings" or "chicken wings":

somber heath
#

@glass jewel Also, your or clauses are oopsed.

neon sleet
#

you will have to mention if user_choice_food == "Chicken Wings" or user_choice_fodd == "chicken wings":

glass jewel
#

Ohhhhhhh

#

That what i was trying to think of!!

somber heath
#

!or gotcha

wise cargoBOT
#

When checking if something is equal to one thing or another, you might think that this is possible:

if favorite_fruit == 'grapefruit' or 'lemon':
    print("That's a weird favorite fruit to have.")

While this makes sense in English, it may not behave the way you would expect. In Python, you should have complete instructions on both sides of the logical operator.

So, if you want to check if something is equal to one thing or another, there are two common ways:

# Like this...
if favorite_fruit == 'grapefruit' or favorite_fruit == 'lemon':
    print("That's a weird favorite fruit to have.")

# ...or like this.
if favorite_fruit in ('grapefruit', 'lemon'):
    print("That's a weird favorite fruit to have.")
neon sleet
#

and btw there is even better way

#

just do user_choice_food.lower() == 'chicken wings':

#

would be better

glass jewel
#

Gotcha. Okay i'll give it a shot right now.

somber heath
#

pyglut

glass jewel
#

Alright. We got it!

neon sleet
#

btw, in discord py, you gotta use @bot.command() to declare a command, but in discord.js you will have to use on('message') event with a lot of if else statements? no other way (apart from adding commands in another file)?

gentle flint
#

@neon sleet is your question about discord.js or discord.py

#

but it's possible to use the commands extension

#

which allows you to use the bot.command decorator as you said

trail flax
#

Hi guys, I just have one question

#

Have you tried Pylance for VS Code?

#

Is it any good?

neon sleet
gentle flint
#

Ah yes

#

Well, there's no real equivalent to the commands extension in discord.js

#

However, this may be good enough for your purposes

gusty siren
#

.

solar scaffold
#

It’s the 89

gusty siren
#

14

solar scaffold
#

Knowing that tangent A = 3 , calculate sin, cosine and tangent of 2 A

#

If A is in the first quadrant

proper jacinth
#

hello

#

guys

#

I have a question

#

@fiery hearth

gusty fjord
#

Even though it's not a mathematics server, and although I'm not any expert, I could try to help you out a bit itsmeagain.
Since you know the value of the tangent(A) you could calculate the value of the tan(2A) using double angle formulas. Sign would depend upon which quadrant 2A is in.
Now since you know the value of tangent you could calculate the value of the sine and cosines.

#

In this case 2A would be in the second quadrant since A is in the first quadrant. So the value of tan(2A) would be negative by convention.

solar scaffold
#

I did arctan and got 71.56 degrees

gusty fjord
solar scaffold
#

Ok

whole bear
#

Hi

solar scaffold
#

Hello

whole bear
#

sup

solar scaffold
#

If I calculate tangent 2A, gives me -3/4 , how do I calculate sin 2A from that

#

I have to use arctan to get the angle no? , I don’t see any other way to solve it

versed island
#

just write the equations and the unknowns , dont explain the equations

#

it would be much easier to understand what u are asking

gusty fjord
#

Use pythagoras theorem to find the third side ( in this case the hypotenuse) and hence all the trigonometric ratios for angle 2A.

#

Also I think we shouldn't be discussing maths here lol.

versed island
#

no we can discuss maths

neon sleet
#

tan A = sin A / cos A probably?

#

dont know

rugged root
severe pulsar
#

why did you choose discord js over discord py?

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.

severe pulsar
#

what issue is @ DansCoughDrop solving?

#

GRIFF MY MAAAAAAAAAAN

#

whats UP

uncut meteor
stoic ore
#

hey

versed island
#

whats the default key for push to talk

frozen oasis
#

@versed island i dont think theres a default?

versed island
#

okhay

normal hinge
severe pulsar
#

YES

#

LETS GET HIM

uncut meteor
#

why?

normal hinge
#

i have no f clue

#

what u guys are talking about

solar scaffold
severe pulsar
#

HADEEZ

#

COME HERE

#

talk

#

to

#

mE

whole bear
#

Hades

uncut meteor
#

@normal hinge

#

hi

whole bear
#

ay

#

(voice

#

verify)

#

sm

#

smh

#

__init__()

#

.

#

./

#

/.

#

.f

rugged root
#

You do realize if you spam I'm going to make it take 2 weeks until you can verify, right?

whole bear
#

wel

normal hinge
#

@uncut meteor lets play rocket league

rugged root
#

Don't spam to get the role

whole bear
#

sad

#

hey

rugged root
#

@whole bear

normal hinge
#

halo is failed?

#

they have invested 500million

normal hinge
#

i will add u on steam

#

check ur steam i have sent u request

uncut meteor
#

inv me

normal hinge
#

wait

#

updating

uncut meteor
normal hinge
#

hemlock is alpha

#

here

#

😛

uncut meteor
#

you don't wanna mess with the Dadlock

normal hinge
#

dc

#

😆

severe pulsar
#

aww yeah

normal hinge
#

hemlock is a plant

severe pulsar
#

poisonous one at that

#

speaks to his personality

normal hinge
#

yeah

severe pulsar
#

JOKING

#

IM JOKING

normal hinge
#

in nature

#

😆

severe pulsar
#

yes

gusty fjord
normal hinge
severe pulsar
#

OH MAN

uncut meteor
normal hinge
#

haha

#

how many of u remember green days

#

?

rugged root
#

"Blue (Da Ba Dee)" is a song by Italian music group Eiffel 65. It was first released on 7 October 1998 in Italy by Bliss Corporation and became internationally successful the following year. It is the lead single of their debut album Europop. The song is the group's most popular single, reaching number one in many countries' music charts, such a...

normal hinge
#

with high testosterone

uncut meteor
#

^ both songs are adventures, highly recommend listening with video
brb, coffee time

severe pulsar
#

COFFEE VA

normal hinge
tranquil barn
#

!projects

wise cargoBOT
#

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.

tranquil barn
#

@whole bear

whole bear
#

Yes

tranquil barn
#

%.2f%%

normal hinge
#

"{:.2f}".format(a_float)

tranquil barn
#

{[argument_index_or_keyword]:[width][.precision][type]}

rugged root
fiery hearth
normal hinge
#

is virtualenv is mandatory for flask

#

?

severe pulsar
#

no

#

recommended though

#

for any project really

normal hinge
#

i never used it

#

where it stores the file

#

virtualenv is used to manage Python packages for different projects. Using virtualenv allows you to avoid installing Python packages globally which could break system tools or other projects. You can install virtualenv using pip.

severe pulsar
#
py -m venv env
#

creates a virtual environment in python 3

hybrid viper
#

Can anyone help me with kivy probelm ?

severe pulsar
#

then you can do

env\Scripts\activate.bat
#

to activate the environent

#

then pip install your packages in here

normal hinge
severe pulsar
#

dont know lel

#

i think it changes the path variable

#

so the python exe

#

is directed to the venv one

#

not entirely sure

tranquil barn
rugged root
#

View-Master is the trademark name of a line of special-format stereoscopes and corresponding View-Master "reels", which are thin cardboard disks containing seven stereoscopic 3-D pairs of small transparent color photographs on film. It was originally manufactured and sold by Sawyer's.
The View-Master system was introduced in 1939, four years af...

normal hinge
#

so it is virtual box

#

which copies the interpreter

#

and python files

#

interpreter is the engine

#

u didn't clear my concept

#

sir

weary zephyr
#

that voice was... unexpected

normal hinge
#

where is my engine

#

?

#

@rugged root

severe pulsar
#

B O I

uncut meteor
#

in his purse

severe pulsar
#

BRUH

#

griff is like too funny

#

on text

uncut meteor
severe pulsar
#

like on voice

#

hes pretty funny

#

elicits some laughs right

#

but on text

#

he becomes a beast

#

EVERY MESSAGE FULLY FUNNY

normal hinge
uncut meteor
normal hinge
#

dolund trump

uncut meteor
#

sarcasm hurts

tranquil barn
uncut meteor
normal hinge
#

so rabbit is smarter

#

then turtle

#

?

severe copper
#

bruh my webcam's not working and i have uninstalled image devices(after) do any one of u know how to fix it

normal hinge
#

then why rabbit lose the race

rugged root
#

@severe copper What os?

severe copper
rugged root
#

Have you checked the manufacturer's website for drivers?

severe copper
#

i did

rugged root
#

Tried a different USB port?

severe copper
#

it says that no webcam is detected

normal hinge
#

human beings are not so smart

severe copper
tiny seal
normal hinge
#

and dolphines

rugged root
#

What brand's the lappy?

severe copper
#

dell

tiny seal
normal hinge
#

thinking that we are the smartest species that is dumb thing

#

there is so much to discover yet

#

universe is big

#

Aliens do existed

weary zephyr
#

Humans are the smartest we have on earth

normal hinge
#

on deep oceans

#

if humans are smart Earth will be a better place to live

tiny seal
#

just bc humans are smart doesn't mean all humans have same goals and morals

normal hinge
#

so we must to change it as not all humans are smart

weary zephyr
#

I was trying to send a gif via embed.set_image(url), but it would not load at all. I figured out it was because it was a pretty large file (~111 MB).
But if I send the url as just plain text, discord manages to play the gif almost instantly. Is there any way I can use this fact in an embed?
http://i.imgur.com/OOFRJvr.gif this is the url in case it is required

normal hinge
#

Baby Angel lives with her owners and 7 other cats, and her pee problem is turning the house into a litter box! Jackson Galaxy helps figure out what is causing the issue and sets the family on the right track to a pee-free house.

Stream Full Episodes of My Cat From Hell:
https://www.animalplanet.com/tv-shows/my-cat-from-hell/

Subscribe to Anima...

▶ Play video
#

😆

#

lucky is hemlock's cat

#

so must be well trained

#

yeah

#

free chocolates

#

😆

waxen aspen
normal hinge
#

Dog see humans as God

#

where as Cat see themselves as God

rugged root
#

You might have an easier time asking in #web-development. They'd be the people to know. @waxen aspen

tranquil barn
versed island
#

should i update to Big Sur from Catalina? (from a programmers perspective)

#

seems like big sur has a lot more bloatware

uncut meteor
buoyant topaz
#

sup ppl

uncut meteor
#

Your spotify was can't-name-the-members-in-the-band-emo-rap-still-listening-to-the-scientist bad.

#

😂

#

Declan McKenna * 5

rugged root
faint ermine
uncut meteor
#

Merry Griffmas

severe pulsar
#

CHRYSLER

normal hinge
#

meme

#

haha

#

what happen to ur pie @faint ermine

#

u didn't showed ur output

tranquil barn
#

Here's to a lousy christmas!

faint ermine
normal hinge
#

it is PIE not py

severe pulsar
#

ooh looks good!

normal hinge
#

not py

uncut meteor
severe pulsar
#

this pie charmed me, does that mean its a piecharm?

normal hinge
wise cargoBOT
#

@normal hinge :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | NameError: name 'pie' is not defined
severe pulsar
#

OH GOSH THE CRINGE

faint ermine
severe pulsar
#

b o i

uncut meteor
#

𝚑

rugged root
#

!charinfo 𝚑

wise cargoBOT
rugged root
#

Neat

uncut meteor
#

!charinfo @rugged root

wise cargoBOT
#

You are not allowed to use that command here. Please use the #bot-commands channel instead.

uncut meteor
normal hinge
#

any good movies

#

?

uncut meteor
#

!movies

normal hinge
#

haha

#

3am club

#

so no one watches movies

severe pulsar
#

NNNOOOOOOOO

normal hinge
#

Santa on 26dec

rugged root
long hill
#

What about go?

rugged root
#

I'd have to hunt around for it

normal hinge
severe pulsar
#

very awesome

#

hi kimchi man

#

merry christmas

candid plinth
#

hey there

#

i want to learn coding is somone that can teach me

#

dm me pls

tranquil barn
#

!resources @candid plinth

wise cargoBOT
#
Resources

The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.

candid plinth
#

thanks man

rugged root
#

!rule 6

wise cargoBOT
#

6. No spamming or unapproved advertising, including requests for paid work. Open-source projects can be shared with others in #python-general and code reviews can be asked for in a help channel.

normal hinge
rugged root
feral coral
rugged root
#

How heavy is that frame?

normal hinge
severe pulsar
#

bruhhhh

#

why

#

lmao

feral coral
severe pulsar
#

lol

#

OPAL

#

WHATS UP

normal hinge
#

why i see bugs

#

in the server

#

i see so many people went to afk

feral coral
#

bugs in discord ?

somber heath
#

A word, a direction, a movie.

severe pulsar
#

damn

#

very carefully picked words

#

👍

normal hinge
#

something is fishy

gusty fjord
echo eagle
#

very off-topic: Any indian professionals here who can help me file income tax return ? XD

normal hinge
#

@echo eagle i think ur smart enough to know that

#

this server is for python coders

#

or people who love python

severe pulsar
#

INDRATEJ IS BACK

#

indratej go sleep

somber heath
#

Business model: Person who walks down the catwalk wearing a suit.

severe pulsar
#

11:28 it is

#

HOW CAN YOU BE AWAKE

stuck furnace
#

Erm, what's going on with AFK? 😄

echo eagle
normal hinge
severe pulsar
#

;-;

#

sorry

#

dont hate MEEEEEEEEEEEEEEEEEEE

#

bruh

echo eagle
severe pulsar
#

damn

#

its pretty funny though

tranquil barn
#

@rugged root What is happening in the vc?

severe pulsar
#

its like pigeons

normal hinge
severe pulsar
#

they're all just

#

going on the wires

normal hinge
#

u will find people

severe pulsar
#

and sitting there

#

same with vc

normal hinge
#

like professional

severe pulsar
#

i think this is some sort of raid though

somber heath
severe pulsar
#

yea

#

ok they left

#

too funny

normal hinge
#

someone is messing with server

severe pulsar
#

indratej

#

can you

#

be my friend(not discord friend just normally)

stuck furnace
#

Ah well

normal hinge
#

@somber heath merry christmas mate

somber heath
rugged root
normal hinge
#

who is doing that

#

?

rugged root
#

¯_(ツ)_/¯

normal hinge
#

new rule

#

updated

#

😆

gilded rivet
#

3D-printing heads by ViscoTec for materials like silicone, UV- curing adhesive, two component adhesive as well used for organic cell solutions and pastes.
The advantage against other printers is a unique combination of speed and accuracy (resolution). We can print at a layer thickness of 0,2 mm up to 1 ml/minute (depending on viscosity). Further...

▶ Play video
normal hinge
#

i see people raid youtube

#

now they have started rading vc in discord

#

lamo

rugged root
#

Not the first time, won't be the last

#

Was likely a noise based one, but with the voice verification, it didn't matter

severe pulsar
#

aww yeah

stuck furnace
#

Yeah, it's working great 😄

normal hinge
#

@rugged root proud moment

#

but still it annoys

#

is there anyway to stop discord notification sound

severe pulsar
#

it annoys us a lot less

normal hinge
#

i mean it annoys

gilded rivet
stuck furnace
#

See ya 👋

gusty fjord
#

Cya Hemlock. Wish you a Merry Christmas 😄

stuck furnace
#

Merry Christmas 😄

normal hinge
#

opal

whole rover
#

voice verification worked

#

nice

normal hinge
#

yeah

severe pulsar
#

opalmist is showing us memes!

#

c e l e b r a t i o n

somber heath
severe pulsar
#

aww yeah

weary zephyr
#

r/technicallythetruth

tall latch
#

hey guys

severe pulsar
#

hey

tall latch
#

do you guys know to stream music using python

whole bear
#

I had one question... How can we directly stream YouTube video in directly python 🤔

severe pulsar
#

In this video i will show you how to stream or display a youtube video into a vlc GUI .so we will work on two packages pafy and vlc pafy to extract youtube video data and vlc to display that data into GUI.
Pafy objects relate to videos hosted on YouTube. They hold metadata such as title, viewcount, author and video ID ,Stream objects relate to i...

▶ Play video
#

might be able to help

normal hinge
#

Potuluri Veerabrahmam

#

he wrote a book

#

for predicting future

#

and most of them are happening around the world

severe pulsar
#

wait who

somber heath
#

Todd Sampson's Body Hack.

whole bear
#

This guy got no chill 😂

severe pulsar
#

who

normal hinge
#

stan lee superhuman

severe pulsar
#

👀

weary zephyr
#

Merry Christmas! It's 25th December here now.

normal hinge
#

Merry Christmas

somber heath
#

Mnemonics

weary zephyr
#

"We guarantee certainty, clearly referring to this light mnemonic"
^ Number of letters in each word gives digits in speed of light
(299,792,458 m/s)

normal hinge
#

weary zephyr
#

I think the images sent with the Voyager spacecraft were really interesting

#

What humans believe other species might be able to relate with

#

Also nudes :P

normal hinge
#

lol

gilded rivet
#

weary zephyr
#

Yeah genetic transmissions are infinitely slow compared to how quickly information can be transferred electronically

#

I mean that's pretty much why AI is ...intimidating?

#

how quickly it can develop

normal hinge
#

yeah

#

it is all about connection

#

A bird in the hand is worth two in the bush

#

proxy lady

#

lol

#

😆

#

bye guys, merry Christmas once again

tall latch
#

please help me out with youtube dl

gentle flint
#

Come on, @tall latch, you know better than this

#

!rule 5

wise cargoBOT
#

5. Do not provide or request help on projects that may break laws, breach terms of services, be considered malicious or inappropriate. Do not help with ongoing exams. Do not provide or request solutions for graded assignments, although general guidance is okay.

hardy cape
#

"%.2f"

somber spire
#


def button_comma():
    


Button_comma = Button(root, text="." , padx=40 , pady=20 , command=button_comma)
Button_comma.grid(row=7, column=0)
runic parrot
#

hello

hardy cape
#

print( "%2.f" % a)

somber spire
#

I dont know how to make a comma(decimal)

#

command

#

I tried so many things

hardy cape
#

a=8/9

#

print( "%2.f" % a)

runic parrot
#

what is his problem ?

hardy cape
#

print("{:.2f}".format(39.54484700000000))

runic parrot
#

yes is someone familiar with object detection with tensorflow ?

proper jacinth
#

hello

#

how can i call a method inside a method?

somber heath
#

@proper jacinth You can use self, if you want to call from the same instance.

#

!e

    def hello(self):
        print('Hello')
        self.goodbye()
    def goodbye(self):
        print('Goodbye')
a = A()
a.hello()```
wise cargoBOT
#

@somber heath :white_check_mark: Your eval job has completed with return code 0.

001 | Hello
002 | Goodbye
somber heath
#

@proper jacinth

tough bluff
#

hi

#

yep

#

why

#

ah....

#

?

#

ㅁㄴㅇㄹ

stoic cloud
#

Someone needs to help me with his. I just cannot put images in pygame at all errors after errors. Im trying to put a sprite as my like object that i move around. But it never works. Is there any one free.

somber heath
#

@stoic cloud Having not worked with Pygame myself very much, I may be of only limited assistance. Post one of the error messages. The fix may be straightforward.

#

!e

    def func(self, v):
        print(self is v)
my_car = Car()
my_car.func(v=my_car)```
wise cargoBOT
#

@somber heath :white_check_mark: Your eval job has completed with return code 0.

True
sweet wraith
#

oops

#

Uhhhh

#

ahhaha

#

But uhmmm

#

Anyone wanna help me with a project, so I can finally start on my chemistry exam?

#

Back

#

Oh no'

#

help with threading

#

also, has anyone had experience with python iterating extremely slowly for some reason?

I have made a timer, that is dependent on iteration speed, and it has just gone from 100 km/H to like 10

somber heath
#

@pallid kite I can't hear you.

sweet wraith
#

What?

#

Iteration speed is a setting?

#

It is a timer

#

timer.sleep(0.01) but because of the speed, it waits much longer

#

Ohhh

#

wait

#

yeah!

#

There is a time.sleep in the function...

#

threading.sleep() gives an error

#

maybe threading.time.sleep()?

#

og self?

#

in my other program, I have just done time.sleep()

#

which seemed to work

#

but it keeps the code slow in this

#

tbh

#

I don't think that is the problem

#

I think it is because it has to keep connect/disconnect from the arduino

#

@somber heath

somber heath
#

threading.Event().wait(n)

sweet wraith
#

alright

vital mantle
#

hey

#

yes

#

hello

#

hey @halcyon pine

#

hey @golden compass

golden compass
#

hey

#

what's going on here?

vital mantle
#

nothing

golden compass
#

fine

#

hey @whole bear

#

marry christmas!

somber heath
#

No thanks, I'm happy being unmarried.

#

Least (most?) of all to a holiday.

whole bear
#

sorry, but i am struggling with the mic

#

i am texting then

limber iron
#

i cannot speak

whole bear
#

sh*t, battery about to die, see ya later

#

i am sorry but i hear nobody

#

ok nvm

surreal glacier
#

h