#voice-chat-text-0

1 messages · Page 907 of 1

sinful igloo
#

I shifted home recently

lusty bough
sinful igloo
somber heath
lusty bough
sinful igloo
#

Vankam

#

Me Tamil

#

Yea

#

I can hear you

#

But Tommorow is the day of my voice

#

Dude

#

@lusty bough don’t make it complex

#

It like Google Lens

somber heath
#

!e print(2j)

wise cargoBOT
#

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

2j
somber heath
#

Oops.

#

I made it complex.

lusty bough
#

!e [for i in range(10)]

wise cargoBOT
#

@lusty bough :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     [for i in range(10)]
003 |      ^
004 | SyntaxError: invalid syntax
lusty bough
#

!e [i for i in range(10)]

wise cargoBOT
#

@lusty bough :warning: Your eval job has completed with return code 0.

[No output]
somber heath
#

!code

wise cargoBOT
#

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.

sinful igloo
#

!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.pythondiscord.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.

somber heath
#

!e py print("Hello.")

wise cargoBOT
#

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

Hello.
sinful igloo
wise cargoBOT
#

@sinful igloo :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     https://paste.pythondiscord.com/raw/libovequpo
003 |           ^
004 | SyntaxError: invalid syntax
lusty bough
#
print('hello world')
sinful igloo
#

But it didn’t work

#

It is massive

lusty bough
#

!e print('test')

wise cargoBOT
#

@lusty bough :white_check_mark: Your eval job has completed with return code 0.

test
lusty bough
#

!e ```py
[i for i in range(10)]

wise cargoBOT
#

@lusty bough :warning: Your eval job has completed with return code 0.

[No output]
#

@sinful igloo :x: Your eval job has completed with return code 1.

001 | Welcome to Study Bot
002 | 1.Log in
003 | 2.Calculator
004 | 3.Check list
005 | 4.Search
006 | Choose from the option 1,2,3,4: Traceback (most recent call last):
007 |   File "<string>", line 6, in <module>
008 | EOFError: EOF when reading a line
sinful igloo
#

1

#

How is my code

lusty bough
#

!e ```py
lst = [i for i in range(10)]
print(lst)

wise cargoBOT
#

@lusty bough :white_check_mark: Your eval job has completed with return code 0.

[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
somber heath
#

!e print(*range(10))

wise cargoBOT
#

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

0 1 2 3 4 5 6 7 8 9
sinful igloo
#

Opal

#

!e print(*range(20))

wise cargoBOT
#

@sinful igloo :white_check_mark: Your eval job has completed with return code 0.

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
sinful igloo
#

@somber heath

#

Have you done any lists

#

If you done it it will specify the item which is done

#

Opal

#

What are you typing

#

This should be an code

somber heath
#

!e py def func(a, b, *largs, **kwargs): print(a) print(b) print(largs) print(kwargs) func(1, 2, 3, 4, 5, apple="yum", peaches="yummiest")

wise cargoBOT
#

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

001 | 1
002 | 2
003 | (3, 4, 5)
004 | {'apple': 'yum', 'peaches': 'yummiest'}
sinful igloo
#

Epic

#

Opal i have some question

somber heath
#

def func(*,...):
...

sinful igloo
#

@somber heath , If I make an item in an list

somber heath
#

Dinnertime for me now. Sorry.

sinful igloo
#

Hey @lusty bough

#

I have some doubts with lists

#

If I make an regular list

#

And add items to the list

#

If I done it

#

I want to make sure if that is done in the list

#

Is there is any command

#

It is like reminders

#

Yep

#

Like an Shopping list

#

Shivan

#

@lusty bough

sick cloud
#

hello

sinful igloo
#

Hello

sick cloud
#

How you doing?

sinful igloo
#

Great

sick cloud
#

nice

sinful igloo
#

I made an new code

#

It is doing great

#

Now

sick cloud
#

what does it do?

sinful igloo
#

Thé AI Learning Algorithm

#

Dude

#

Listen

sick cloud
#

Hmm, nice

sinful igloo
#

If I have Apples and Bananas on my list

#

If I buy apples

#

I want to show that I bought apples on the list

#

Yea

lusty bough
#
lst = ['apple', 'banana']
lst.append('apple')
lst
>>> ['apple', 'banana', 'apple']
sinful igloo
#

!e ```python
lst = ['apple', 'banana']
lst.append('apple')
lst

['apple', 'banana', 'apple']

wise cargoBOT
#

@sinful igloo :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 4
002 |     >>> ['apple', 'banana', 'apple']
003 |     ^
004 | SyntaxError: invalid syntax
sinful igloo
#

!e ```python
lst = ['apple', 'banana']
lst.append('apple')
lst
['apple', 'banana', 'apple']

wise cargoBOT
#

@sinful igloo :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 4
002 |     ['apple', 'banana', 'apple']
003 | IndentationError: unexpected indent
sinful igloo
#

It worked

#

It is small incident

#

I will get fixed in overtime

lusty bough
#

!e ```py
lst = ['apple', 'banana']
lst.append('apple')
lst

wise cargoBOT
#

@lusty bough :warning: Your eval job has completed with return code 0.

[No output]
sinful igloo
#

Oh

#

I have an idea

#

Is there is any way to update text

sick cloud
sinful igloo
#

Oh

#

!eval

stuff = {
    "apples": 0,
    "banana": 0
}
fruit = input("Name of the fruit: ")
stuff.get(fruit, 0) += 1
sick cloud
#

!e


stuff = {
    "apples": 0,
    "banana": 0
}
fruit = "apples"  # input("Name of the fruit: ")
stuff.get(fruit, 0) += 1
print(stuff)
wise cargoBOT
#

@sick cloud :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 6
002 |     stuff.get(fruit, 0) += 1
003 |     ^
004 | SyntaxError: 'function call' is an illegal expression for augmented assignment
sinful igloo
#

!eval

stuff = {
    "apples": 0,
    "banana": 0
}
fruit = input("Name of the fruit: ")
stuff.get(fruit, 0) += 1
wise cargoBOT
#

@sinful igloo :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 6
002 |     stuff.get(fruit, 0) += 1
003 |     ^
004 | SyntaxError: 'function call' is an illegal expression for augmented assignment
sick cloud
#

hmm

lusty bough
#

!e ```py lst = ['apple', 'banana']
lst.append('apple')
print(lst)

sinful igloo
#

Dude

wise cargoBOT
#

@lusty bough :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     py lst = ['apple', 'banana']
003 |        ^
004 | SyntaxError: invalid syntax
sinful igloo
#

The function call was an illegal expression

lusty bough
#

!e ```py
lst = ['apple', 'banana']
lst.append('apple')
lst

wise cargoBOT
#

@lusty bough :warning: Your eval job has completed with return code 0.

[No output]
sinful igloo
#

For augmented Assignment

sick cloud
#

!e

stuff = {
    "apples": 0,
    "banana": 0
}
fruit = "apples"  # input("Name of the fruit: ")
stuff[fruit] += 1
print(stuff)
wise cargoBOT
#

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

{'apples': 1, 'banana': 0}
sinful igloo
#

Yea

#

Thanos

#

Thanks

#

But can I replace with emojis

#

!e

stuff = {
    "apples": 0,
    "banana": 0
}
fruit = "apples"  # input("Name of the fruit: ")
stuff[fruit] += Done
print(stuff)
wise cargoBOT
#

@sinful igloo :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 6
002 |     stuff[fruit] += ☑️
003 |                     ^
004 | SyntaxError: invalid character '☑' (U+2611)
sinful igloo
#

!e

stuff = {
    "apples": 0,
    "banana": 0
}
fruit = "apples"  # input("Name of the fruit: ")
stuff[fruit] += 1
print(stuff)
wise cargoBOT
#

@sinful igloo :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 6, in <module>
003 | NameError: name 'Done' is not defined
sick cloud
sinful igloo
#

!e

stuff = {
    "apples": 0,
    "banana": 0
}
fruit = "apples"  # input("Name of the fruit: ")
stuff[fruit] += 1
print(stuff)
wise cargoBOT
#

@sinful igloo :white_check_mark: Your eval job has completed with return code 0.

{'apples': 1, 'banana': 0}
sinful igloo
sinful igloo
sick cloud
#

unless you do smth like:

#

!e

stuff = {
    "apples": 0,
    "banana": 0
}
fruit = "apples"  # input("Name of the fruit: ")
stuff[fruit] = "Done"
print(stuff)
wise cargoBOT
#

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

{'apples': 'Done', 'banana': 0}
sinful igloo
#

Oh nice

#

I am doing for project

#

I need an open source search engine

#

@lusty bough have you used Search engine in your codes?

lusty bough
sick cloud
sinful igloo
#

How

#

We have to scarpe

sick cloud
#

ye

#

!pypi bs4

wise cargoBOT
sick cloud
#

no wait

wise cargoBOT
#

A collection of functions and classes to aid developers into building better code faster

sinful igloo
#

!pypi search engine

wise cargoBOT
sick cloud
#

hmm

#

!pypi beautifulsoup4

wise cargoBOT
sick cloud
#

^^ you need that to scrap data

sinful igloo
#

Ok

#

What should I’d o now

sick cloud
#

what are you trying to make

sinful igloo
#

An bot whihc will search Google for study uses

lusty bough
sinful igloo
#

@lusty bough

sick cloud
sinful igloo
#

@sick cloud

sick cloud
#

Hi

sinful igloo
#

Hi

#

Where should I paste this code

#

Bro

#

@sick cloud

sick cloud
#

!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.pythondiscord.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.

sick cloud
sinful igloo
sick cloud
#

what are you doing?

sinful igloo
#

The code from the beautiful soup

sick cloud
#

that was just a demo

#

you have to build the entire thing

sinful igloo
#

What should I change in it

sick cloud
#

Idk, you tell me

sinful igloo
#

What

#

I should make tons of duplicates

sick cloud
#

¯_(ツ)_/¯

#

maybe

sinful igloo
#

@lusty bough

#

Yoo

lusty bough
#

yes? 🙂

sinful igloo
#

Do you any open source search engine

#

!pypi Google

wise cargoBOT
quiet epoch
sinful igloo
quiet epoch
#

how do you mean?

sick cloud
sinful igloo
#

I need an search enigne

#

For my Ai learning Algorithm bot

quiet epoch
#

wrong man dood

sinful igloo
#

A Bot which helps in studies

#

English, Maths, Social Science, Science, Language Learning stuff like that

#

Yea

#

Anyon

#

Ok

#

Cya

#

Hi

#

Again

#

@quiet epoch

#

I have an doubt

#

How to fix this error

mild agate
#

just define the username before that block:)

sinful igloo
#

Hi

#

@mystic lily

#

How to make an variable for username

sick cloud
sinful igloo
#

Oh

#

Yoo Opal

#

@somber heath

sick cloud
#

@somber heath hello

#

brb

mystic lily
#
import datetime, asyncio, websocket, json
from time import time
import pandas as pd
from binance.client import Client

binance_api_key = 'key'
binance_api_secret = 'key'
client = Client(api_key=binance_api_key, api_secret=binance_api_secret)
global epoch

symbols = ['ETHUSDT', 'BTCUSDT', 'XRPUSDT']

org_columns = ['open',
               'high', 'low', 'close', 'volume', 'close_time', 'quote_av',
               'trades', 'tb_base_av', 'tb_quote_av', 'ignore']

daysneeded = 150  

fromdate = str(datetime.datetime.now() - datetime.timedelta(days=daysneeded))
tomorrow = str(datetime.datetime.now() + datetime.timedelta(days=1))
todate = str(datetime.datetime.now())

fromdate = fromdate.split()
fromdate = fromdate[0].split("-")
fromdate = f'{fromdate[2]},{fromdate[1]},{fromdate[0]}'

tomorrow = tomorrow.split()
tomorrow = tomorrow[0].split("-")
tomorrow = f'{tomorrow[2]},{tomorrow[1]},{tomorrow[0]}'

todate = todate.split()
todate = todate[0].split("-")
todate = f'{todate[2]},{todate[1]},{todate[0]}'

async def historical_data():
    for i in range(len(symbols)):
        async def Get_Data():
            try:
                klines = client.get_historical_klines(
                    (symbols[i]), Client.KLINE_INTERVAL_15MINUTE, fromdate, todate )
                klines_len = len(klines)
                if klines_len == 0:
                    print('Failed to download data for ', (symbols[i]))
                new_columns = [item for item in org_columns]
                new_columns.insert(0, 'timestamp')
                DF = pd.DataFrame(klines,
                                columns=new_columns)
                DF['timestamp'] = pd.to_datetime(DF['timestamp'], unit='ms')
                DF.set_index('timestamp', inplace=True)
                DF.to_csv(symbols[i])
                print('Downloaded data for ', (symbols[i]))
            except:
                print('*** Invaled symbol:', (symbols[i]), '! ***')
        await Get_Data()
#
async def today_data():
    for i in range(len(symbols)):
        async def Get_Data():
            try:
                klines = client.get_historical_klines((symbols[i]), Client.KLINE_INTERVAL_15MINUTE, todate, tomorrow )
                klines_len = len(klines)
                if klines_len == 0:
                    print('Failed to download data for ', (symbols[i]))
                new_columns = [item for item in org_columns]
                new_columns.insert(0, 'timestamp')
                DF = pd.DataFrame(klines, columns=new_columns)
                DF['timestamp'] = pd.to_datetime(DF['timestamp'], unit='ms')
                DF.set_index('timestamp', inplace=True)
                DF.to_csv(symbols[i])
                print('Downloaded data for ', (symbols[i]))
            except:
                print('*** Invaled symbol:', (symbols[i]), '! ***')
        await Get_Data()

loop = asyncio.get_event_loop()

loop.run_until_complete(today_data())
somber heath
#

!e py try: 1/0 except ZeroDivisionError as e: print(e)

wise cargoBOT
#

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

division by zero
somber heath
#

!e 1/0

wise cargoBOT
#

@somber heath :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | ZeroDivisionError: division by zero
sinful igloo
#

!e 100000/729

wise cargoBOT
#

@sinful igloo :warning: Your eval job has completed with return code 0.

[No output]
sinful igloo
#

@somber heath

#

!e 1/1

wise cargoBOT
#

@sinful igloo :warning: Your eval job has completed with return code 0.

[No output]
sinful igloo
#

@somber heath

#

How should I do that

#

How can I fix it

somber heath
#

!e a = 0 a + b

wise cargoBOT
#

@somber heath :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 2, in <module>
003 | NameError: name 'b' is not defined
somber heath
#

!e py a = 0 b = 0 a+b

wise cargoBOT
#

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

[No output]
mystic lily
#
username = 'some name'
name = 'name'
password = 'password'
pw = 'pw'
somber heath
#

!e ```py
def func():
return 5
a = func()

#preferable to

def func():
global a
a = 5
func()```

#

!e ```py
class MyClass:
def init(self, v):
self.var = v

my_instance = MyClass(5)
print(my_instance.var)```

wise cargoBOT
#

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

5
sick cloud
#

!e surprisingly, this also work:

a = 9
class GG:
    def __init__(self, val):
        print(f"{val = }")
        globals()["a"] = val
GG(2)
print(f"{a = }")
wise cargoBOT
#

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

001 | val = 2
002 | a = 2
somber heath
#

Hsss! 😆

sick cloud
#

x)

sinful igloo
#

Hi

#

!e surprisingly, this also work:

a = 9
class GG:
    def __init__(self, val):
        print(f"{val = }")
        globals()["a"] = val
GG(2)
print(f"{a = }")
wise cargoBOT
#

@sinful igloo :white_check_mark: Your eval job has completed with return code 0.

001 | val = 2
002 | a = 2
sinful igloo
#

Hi

#

Who wanna see my code

#

How to stop my code

#

@mystic lily

#

I want to end my code

#

Yea

#

I mean

#

There is link between

#

1 Operation and An Other Operation

#

If I finish the login part

#

It redirects to me to the calculator

somber heath
#

Depends on what you mean by end.

sinful igloo
#

I want to stop it at log in page

#

@somber heath

#

Let me take an video

#

I am sending an video everyone

whole bear
#

k

#

finally my exams are over now i can code how much ever i want to

sinful igloo
sinful igloo
#

Watch the video

whole bear
#

can i join you guys too

sinful igloo
whole bear
#

what does vb mena

#

*mean

gentle flint
#

do you mean vc

sinful igloo
#

Vc

sick cloud
whole bear
sinful igloo
#

Voice channel

gentle flint
#

voice chat

whole bear
#

k i am in

mystic lily
#
import os
import webbrowser
webbrowser.open("https://www.youtube.com/")
quit()
```???
#

like this ??

gentle flint
#

use sys.exit()

whole bear
#

ops

mystic lily
#

it didn't need to be ??

whole bear
#

i was pasting it in my pycharm

#

sry

sinful igloo
#

!e

import webbrowser
webbrowser.open("https://www.youtube.com/")
quit()
wise cargoBOT
#

@sinful igloo :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 3, in <module>
003 | NameError: name 'quit' is not defined
whole bear
#

also i cannot umute there

sinful igloo
#

Dude

gentle flint
#

quit() only works if the site module is loaded

sinful igloo
#

How to end my command

#

Or split my command

whole bear
#

ok wait

gentle flint
#

don't use it outside the shell

whole bear
#

ill tell ya

gentle flint
sinful igloo
#

Where

gentle flint
whole bear
#

paste this between your code

sinful igloo
#

Ok

whole bear
#

instead of quit() use sys.exit()

gentle flint
#

you'll have to import sys first

whole bear
#

here wait

#

the second one is correct

gentle flint
#

no it's not lol

#

I said import sys

#

not import system

whole bear
#

dude ut s the same

gentle flint
#

no????

whole bear
#

it works for me

#

ok let me try in pycharm

#

ok my pycharm was lagging

gentle flint
#

You see?

#

Not import system

whole bear
#

yeah

#

sry

#

also

#

heforgot to close the quotes there

gentle flint
#

it's fine, just please don't actively disagree with advice if you don't know exactly what you're doing
it only makes everything more confusing

whole bear
#

how do you get voice verified role

wise cargoBOT
#

Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

whole bear
#

ohhhhhhh

#

k thanks

gentle flint
#

you still need more messages tho

#

50 in total

#

as it will inform you

quiet epoch
#
   Return 'yep'
   Else:
      return Nah```
whole bear
#

wait

#

what does this mean

#

You have been active for fewer than 3 ten-minute blocks.

#

what does the message above mean

gentle flint
#

there's three criteria you need to meet

whole bear
#

ok

gentle flint
#

3 days in the server

#

50 messages (bot channels don't count)

whole bear
#

3 days in the server of ten minutes

gentle flint
#

wait I'm not done

woeful salmon
#

wait howmany people are in here rn?

whole bear
#

do these count

#

on this channel

gentle flint
#

yes

whole bear
#

hopefully man

#

ok

#

then

gentle flint
#

I'm not sure what the three ten-minute blocks mean

whole bear
#

k

#

@mystic lily hey you ther

gentle flint
#

presumably it means that you need to chat for at least 10 minutes on 3 separate occasions

whole bear
#

yeah probably

#

i have baerly done

#

that

#

due to my examd

#

*exams

gentle flint
#

unfortunately the bot only tells you one of the criteria you don't meet

whole bear
#

huh no

#

he told me 2 of them

gentle flint
#

then I misremembered

#

better bot than I thought

woeful salmon
#

? pretty sure voice verification is just
should be in server for 3+ days
should have 50+ undeleted messages which are not spam

gentle flint
#

also the 10-minute blocks

whole bear
#

Voice Gate failed
You are not currently eligible to use voice inside Python Discord for the following reasons:

• You have sent less than 50 messages.
• You have been active for fewer than 3 ten-minute blocks.

#

this is what is says

woeful salmon
#

oh they changed the 3 days to 3 ten minute blocks

#

weird

gentle flint
#

well you have 50 messages now

whole bear
#

me?

#

or

#

who

gentle flint
gentle flint
whole bear
#

oh

sick cloud
whole bear
#

nice

woeful salmon
#

?? why me

sick cloud
#

wait, nvm i used the wrong

woeful salmon
#

i'm of course verified

gentle flint
woeful salmon
#

xD

sick cloud
gentle flint
#

@whole bear try running the command again

whole bear
#

ok

#

i did it

#

and

#

Voice gate passed
You have been granted permission to use voice channels in Python Discord.

Please reconnect to your voice channel to be granted your new permissions.

#

boom

gentle flint
#

yay

whole bear
#

yay

sick cloud
gentle flint
#

so now u reconnect

woeful salmon
#

@gentle flint i wrote this script in like 4 mins yesterday

whole bear
#

i did it

gentle flint
#

gud

woeful salmon
#

wouldn't you agree its literally almost everything most ppl need

woeful salmon
#

its cross platform now

#

although this script is for windows

quiet epoch
woeful salmon
#

i'm using py

gentle flint
#

who uses powershell when they have bash

sick cloud
woeful salmon
#

i say both have their places

gentle flint
#

better auto complete, faster

woeful salmon
#

bash is nice when you wanna do anything with text it is the best at it

sinful igloo
woeful salmon
#

powershell has the power of the whole .net core if you wanna do more complex stuff you can't do as easily with just text

sinful igloo
#

Hi

#

Who as an search engine

#

Open source

#

Any open source

#

Any open source search engine

whole bear
#

i have

#

do you want me to do something

sinful igloo
#

Yea

#

I need one

#

For my ai learning bot

woeful salmon
#

have you seen powershell auto complete

#

if you're using properly made scripts / cmdlets it completes everything from your parameters positionally and their vallues

#

also even on linux i use zsh instead of bash anyway

#

also has better auto complete

gentle flint
woeful salmon
#

and there's those reeeeally weird ass people out there who use that bloated oh-my-zsh to get everything configured

literally all it does
modify zshrc
run plugins which really are just zsh scripts....

#

why can't you just do it manually and add 4-5 lines to your zsh rc than downloading a whole program full of 100 plugins you would never use

gentle flint
woeful salmon
gentle flint
#

when forced to use windows, yes

woeful salmon
#

that's the issue

gentle flint
#

the alternative is cmd

woeful salmon
#

use powershell core its much better in literally everything

gentle flint
#

kden

woeful salmon
#

windows powershell doesn't even come with ssh, escape characters and alot of other stuff

gentle flint
#

does ps core come with linux-style git autocompletion

woeful salmon
#

well Install-Module posh-git i think? o- o

gentle flint
#

I use that

woeful salmon
#

there's a whole marketplace of free modules you can choose from

gentle flint
#

it's slow as hell

#

I want compiled-c speeds

woeful salmon
#

yeah bash and zsh are faster in most regards

#

as they deal with just text meanwhile for powershell everything is an object

#

but as i said before i think both options are nice and have their own place

#

its like having another tool in your toolkit doesn't hurt to have it

gentle flint
#

well it would be nice to have the fast tool on windows as well

woeful salmon
#

introducing git-bash

gentle flint
#

true

#

I'd forgotten about mingw64

#

it's still kinda slow tho

woeful salmon
#

another major difference btw

in powershell everything you do is using powershell's own .net core it doesn't rely on an external toolkit

when using bash and zsh you always end up using the unix utilities like grep, sed, awk, etc
which can be different between different os btw as GNU/linux comes with GNU utilities which are basically unix utilities with extra features (this is not posix but it is how linux rolls so meh) meanwhile same tools for mac or bsd would be posix compliant ones with more limited functionality (still good enough for most shiz)
@gentle flint

gentle flint
#

mmm

woeful salmon
#

xD both have their own pros and cons see

whole bear
#

how do you get anouncements role now

gentle flint
#

what's winpty in git bash

whole bear
#

how do you get the video and the anouncement roles

woeful salmon
gentle flint
#

Ic

woeful salmon
#

like typing pswh to start a powershell session and exit to go back to git bash

gentle flint
#

ah

whole bear
#

wait

gentle flint
#

my god

#

i typed python in git bash

whole bear
#

how do you guys manage to get that box

gentle flint
#

pressed enter

whole bear
#

exit

gentle flint
#

30 seconds later it still hasn't started

woeful salmon
#

i don't remember

woeful salmon
gentle flint
#

when

woeful salmon
#

within last month

gentle flint
#

no

#

i think

woeful salmon
#

probably do it cuz newer one also comes with a windows terminal profile

#

much nicer using it in windows terminal and it feels faster too

gentle flint
#

I didn't install it

woeful salmon
#

oh

gentle flint
#

this is a work laptop

#

where do I update it

woeful salmon
#

git update-git-for-windows

#

run it

gentle flint
#

k

#

a builtin update tool
how nice

woeful salmon
#

yeah 🙂

whole bear
#

how doyou get that particular text in the box

gentle flint
gentle flint
#

`hi`

#

hi

whole bear
#

/hi

#

'hi'

#

hi

#

ohhh

#

k

gentle flint
#

yeah

whole bear
#

got it

woeful salmon
#

` text`

```py
python code
```

> quote

|| spoiler ||

whole bear
#

nice

gentle flint
#

~~strikethrough~~

whole bear
#
hfsjidh
hfjkg```
#

hello

#

hello

#

wow

#

how did i not know these

#

||yeet|| something

woeful salmon
whole bear
#

sry

gentle flint
#

do I need to update windows terminal too

woeful salmon
#

that you don't need to

gentle flint
#

k

woeful salmon
#

also i'm pretty sure if you got windows terminal from store it auto updates

gentle flint
#

so where is my git bash

woeful salmon
#

try restarting

#

for me it just popped up there after restarting

gentle flint
#

right

#

here we go

gentle flint
#

bye then

whole bear
#

leave

gentle flint
#
import sys
sys.exit()
woeful salmon
gentle flint
#

wait

woeful salmon
#

okay 🙂

gentle flint
#

it didn't

woeful salmon
#

oh then wait 1 sec

gentle flint
#

k

#

please use a pastebin

#

otherwise I need to manually type it over from phone

woeful salmon
#

okay 🙂

woeful salmon
#

lol .makefile noice detection

gentle flint
#

k

#

couldn't figure out how to use the json, so made a fresh profile from the settings gui and copied n the data

#

it works

#

thx

woeful salmon
stoic grail
#

weeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

#

weeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

#

Hello

#

weeeeeeeee

#

@wind raptor Hello 😄

#

@somber heath forgot who iam

#

Lol

#

LOOLL

#

hgehehe

#

eheh

#

ok bai

woeful salmon
wind raptor
sinful igloo
#

Yoo

#

Hi LP

#

@zenith radish have you ever made speech recognition

sinful igloo
#

How to make speech recognition

#

Any tutorials

woeful salmon
#

^ actually useful

sinful igloo
#

@woeful salmon

sinful igloo
woeful salmon
#

allows you to create -> view your own gists on github without leaving editor

sinful igloo
#

Epik

sinful igloo
#

Ok

#

SReaperz

#

Call me

regal raptor
#

could someone help me to understand this code maybe to rewrite in a simple way to make more easy to understand please

#
amp = lambda f: lambda g: lambda x:g(f(f(x)))
my_dec = amp(lambda x: "*" + x + "*")
@my_dec
def my_print(y):
    print(y)
my_print("hello")
#

and thanks alot

sinful igloo
#

I need some doubts about how to set it

woeful salmon
#

just ask here

sinful igloo
#

Ok

#

How to set this up

#

The last time I did this

#

God Damn Somehow My Import Bootstrap froze

#

See

#

@woeful salmon

#

I don’t want to happen this again

woeful salmon
#

👀 what is thatt

sinful igloo
#

My bootstrap froze

#

Import bootstrap

#

I want finsih it nice and neat

woeful salmon
#

wait do you want speech recognition in web page?

sinful igloo
#

I am using for my bot

#

Which is Ai Learning

#

@woeful salmon

#

I am doing this on replit

woeful salmon
#

never used replit for anything e xcept trying out lines of code in the logged out site

sinful igloo
#

Ok

#

But

#

Can you guide me

#

Dude @somber heath my brains are flying out

#

Kinda

#

I can’t talk

somber heath
#

Perhaps you could start wearing a birdcage over your head.

sinful igloo
#

So this is an big disadvantage

sinful igloo
#

@somber heath have you worked with speech Recognition?

woeful salmon
#

nah just i don't get how are you going to give it audio input when its not on your pc even

somber heath
#

Nothing to the point of usefulness here.

sinful igloo
#

I have an mic

#

That’s it

#

It is an ear phones

#

Nothing too much

#

Or should I make an gui

#

@a@$@@@##@@#@#@#@##@##@#@#@#@#@@@#@#@#@#@@

woeful salmon
#

yeah but you're running your code on rplit o-o can it even get the input from your mic there

somber heath
#

A microphone. M is a consonant. An apple. A is a vowel.

#

A for consonants. An for vowels.

sinful igloo
#

Dude

somber heath
#

A castle. An igloo.

sinful igloo
#

I need help before the world gets destroyed

#

My lord

severe veldt
#

tell me

sinful igloo
#

I feel bad I need some help

#

With my ship code

woeful salmon
#

today we talk about the most important skill I've learned for software engineering -- I also give you an easy framework to approach this yourself!

playlist: https://www.youtube.com/playlist?list=PLWBKAf81pmOaP9naRiNAqug6EBnkPakvY

==========

twitch: https://twitch.tv/anthonywritescode
dicsord: https://discord.gg/xDKGPaW
twitter: https://twitte...

▶ Play video
sinful igloo
#

How to do speech recognition on python replit

#

You mean that my audio wouldn’t reach the bot

severe veldt
#

why aren't you doing it locally?

sinful igloo
#

Bcuz

#

I did it locally

#

And got this

sinful igloo
somber heath
#

Are you running it on replit?

sinful igloo
somber heath
#

Then it isn't local.

#

It's Python running on some other computer on the internet.

sinful igloo
#

Should I’d o C or C++

frosty star
#

hi all

#

good evening

sinful igloo
#

Hi

frosty star
#

hii opaalall

sinful igloo
#

Good venting

frosty star
#

hi everyonee

severe veldt
#

hey

sinful igloo
#

My brain going to explode

#

I am coding on iPad

frosty star
somber heath
#

You're trying to do advanced things when you've just started Python. Your brain exploding is your own fault.

sinful igloo
#

Yea

#

But

#

My plan

#

Is to

#

Do an gui

#

I have different source of idea

#

For now

#

Just do an gui

#

I have an idea

#

I am going remodel my code and start some scratch

#

I am doing it from scratch ig

somber heath
#

g is a consonant

frosty star
#

What's the best key for push to talk

wind raptor
#

right ctrl

frosty star
sick cloud
#

hello

frosty star
#

it was the left control before and as I'm copying stuff there's this beep boop sound I've just realized I was activating the push to talk silly me :p

somber heath
#

heh

frosty star
#

///<

rugged root
#

I'm also a fan of CapsLock

frosty star
rugged root
#

Back in a sec, of course as soon as I get settled one of the partners needs something

somber heath
#

Ackshually

frosty star
#

brb

swift valley
#

Good evening

#

I'm reading more into the paper I read last week

woeful salmon
swift valley
#

But I also want it to be stack-safe

#

I know it's possible but I'm fairly certain I'll be the first to do it if I do succeed

#

Recursive structures as in data types that refer to themselves e.g. trees

#

So, first you define some function that takes some "seed" value and produces a part of that recursive structure

#

Then, some function ana takes that function and makes it so you can build the full structure

woeful salmon
#

something is seriously wrong with me past 2 days i wake up its 10 am i get done with normal human shit like eating, bathing,etc its 12 pm
i edit some code for like 5 mins its 7 PM O_O

swift valley
#

It's a bit difficult to explain without background

#

But it's one of the most beautiful things I've come to know

somber heath
#

"All I want for Christmas is you!"
"Mariah, please, no!"

rugged root
frosty star
#

n im back

#

tq

swift valley
#

G'day

frosty star
#

it's selamat pagi for me

#

cute

#

my cat steals my food too

#

CATastrophe

#

hmmmm

#

oh my god

zenith radish
versed sapphire
#

lol

frosty star
#

cute

zenith radish
frosty star
#

This is my cat every afternoon

#

i spose

#

no shame at all

#

she does this all over the house

woeful salmon
#

<---- 👀 meanwhile me: don't hate animals but i really don't like having animals near me for some reason

#

i would own atleast 2 rabbits if it wasn't for that cuz i love rabbits

frosty star
#

loool

sweet lodge
#

Are dogs welcome here?

zenith radish
sweet lodge
#

Safe - for now....

somber heath
#

Who from whom?

frosty star
#

YEaa that's so strange. all my kittens are different colors but their mom is like all white

#

YES

#

tell us how it goes

#

tes

#

i agree

mystic lily
#
symbols = ['ETHUSDT', 'BTCUSDT', 'XRPUSDT']
org_columns = ['open',
               'high', 'low', 'close', 'volume', 'close_time', 'quote_av',
               'trades', 'tb_base_av', 'tb_quote_av', 'ignore']
daysneeded = 10
path = Path('.\\data\\')
fromdate = str(datetime.datetime.now() - datetime.timedelta(days=daysneeded))
todate = str(datetime.datetime.now())
fromdate = fromdate.split()
fromdate = fromdate[0].split("-")
fromdate = f'{fromdate[2]},{fromdate[1]},{fromdate[0]}'
todate = todate.split()
todate = todate[0].split("-")
todate = f'{todate[2]},{todate[1]},{todate[0]}'
DFEND = False
async def historical_data(DFEND = DFEND):
    for i in range(len(symbols)):
        async def Get_Data():
            try:
                if DFEND == True:
                    klines = client.get_historical_klines((symbols[i]), Client.KLINE_INTERVAL_15MINUTE, todate )
                else:
                    klines = client.get_historical_klines((symbols[i]), Client.KLINE_INTERVAL_15MINUTE, fromdate, todate )
                klines_len = len(klines)
                if klines_len == 0:
                    print('Failed to download data for ', (symbols[i]))
                new_columns = [item for item in org_columns]
                new_columns.insert(0, 'timestamp')
                DF = pd.DataFrame(klines,
                                columns=new_columns)
                DF['timestamp'] = pd.to_datetime(DF['timestamp'], unit='ms')
                DF.set_index('timestamp', inplace=True)
                if DFEND == True:
                    DF = DF.tail(len(DF)-1)
                    DF.to_csv(path+symbols[i], mode='a', header=False)
                    print('Downloaded data for ', (symbols[i]))
                else:
                    DF.to_csv(path+symbols[i])
            except:
                print('*** Invaled symbol:', (symbols[i]), '! ***')
        await Get_Data()
frosty star
#

Can totally relate

rugged root
#

!code

wise cargoBOT
#

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.

swift valley
#

@zenith radish It's not valid in Python because of late-binding

rugged root
#

Forgot about that bit

swift valley
#

Perfectly valid use-case in FP though 👀

whole bear
#

!code

wise cargoBOT
#

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.

woeful salmon
#

wait i just said something weird :x defining a function doesn't create a stack frame

#

i'm brainded

swift valley
#

I really wish I had a white board to write stuff in

sweet lodge
somber heath
#

Barrel of monkeys. Can of bears. Tupperware container of wasps.

frosty star
#

nani kore

swift valley
#

何これ?

somber heath
#

"Hi. I'm Miss Behave."

swift valley
#

I'm quite happy knowing like 4 or 5 Kanji characters lmao

frosty star
#

naruhodo

somber heath
#

ipypi

frosty star
#

lol

frosty star
somber heath
frosty star
#

maybe it comes together with the ipython

rugged root
swift valley
#

I'm rather stumped by this problem

somber heath
#

Yes.

pure path
#

damn

swift valley
#

Perhaps I could draw stuff

pure path
#

the amount of people

sweet lodge
#

I really hate doing "quick cleanups" of computers for my bosses family

somber heath
#

@mystic lily Or maybe not. I don't know.

#

Might just be discord's parsing.

mystic lily
#

i donno anymore i think im just going to leave it lol

somber heath
#

!e py a = "\\thing\\" print(a)

wise cargoBOT
#

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

\thing\
somber heath
#

Nevermind.

mystic lily
#

it didnt work

rugged root
#

My favorite thing from pygame

sweet lodge
#

@rugged root, is there a list of allowed file types in this server?

swift valley
#

Blockchain AI-as-a-service

woeful salmon
#

function only gets parsed when defined no assignments happen at that time which is why the thing is happening cuz it actually gets assigned when called @haughty pier
and it finds the i in its parent scope which is 9

frosty star
#

lol

#

the only coffee i know is coffee

haughty pier
#

If I don't get 2 cups of black tea per day I get headaches - and coffee doesn't substitute.

sweet lodge
#

What can Discord embed on it's own?
I'm assuming that's pretty much just pictures?

frosty star
#

what do u guys think of earl grey

sweet lodge
#

Ah.
Curiosity now sated.
Thanks

frosty star
#

really? 😮

haughty pier
#

black tea has several stimulants, google would remind me but I've got to do something else...

#

earl grey is black tea with oil of bergamot

rugged root
#

Hell yes it is

haughty pier
#

I can use any black tea, so earl grey works for my 2 cups requirement.

#

Green tea doesn't.

frosty star
#

do you guys take sugar with ur tea

haughty pier
#

energy drinks probably don't but I haven't tried it enough to know.

somber heath
#

Can tea be shallowed?

rugged root
#

God damn it

woeful salmon
#

i only find hot coffee decent though
i love iced coffee ❤️

haughty pier
#

swallowed? I had a friend from china who would toss long strips of green tea (like noodles) in hot water and drink it plain, and eat the leaves...

rugged root
#

I'm currently having iced

frosty star
#

what does it mean to be shallowed?

rugged root
#

As opposed to steeped

woeful salmon
#

nice 😮 i wanna too but i have a cold unfortunately

frosty star
#

what is steeped

#

oooh

#

oooohohhhhh

#

i just got it

#

lmao

#

oh my gosh

#

///<

#

good job

haughty pier
#

I too steep my black tea until I finish the drink

#

Which might be why I'm addicted and nothing substitutes.

rugged root
#

I'll typically add a second bag along with the first after I finish my initial cup

haughty pier
#

bag reuse - reminds me of mom. She used to do that...

sweet lodge
#

Or they cry until the wee hours of the morning because they don't want to go to bed

gentle flint
#

this was this morning
it was chillier than the cat expected

haughty pier
#

Still tried to until I reminded her that tea bags are a penny a bag (where I bought them last, anyways...)

somber heath
#

They call it the wee hours because that's when you get up to do one.

gentle flint
rugged root
#

It's not about the cost just the strength

frosty star
#

I wish my cat would want my attention 😦

gentle flint
sweet lodge
#

And then they get very upset when you try to leave them at the daycare, because they want you to hold them because they're sleepy

swift valley
#

I wish I had a cat

frosty star
#

Well I have like 6 right now

#

the white one just loves me

#

they're everywhere

#

but the small one only finds me when it's hungry

haughty pier
#

my cat is mostly fed by my wife, so she doesn't have much use for me and complains when I pick her up. She usually complains until I put her down, at which point she complains the loudest. I try to be gentle with her so it can't be my technique. I don't know what I'm doing wrong with her... but she's about 15 years old now, which is ancient for an American short-hair.

frosty star
frosty star
#

oh my god

rugged root
molten pewter
swift valley
#

wha

molten pewter
#

荒神 = God of Cooking.

#

This Steven Chow movie is about the god of cookery.

haughty pier
swift valley
molten pewter
#

God of Cookery is worth a watch if you haven't seen it. Unlike Cats the musical

swift valley
#

I'll be right back

tranquil wing
#

Hello,

rugged root
#

They've got some two bite brownies in the kitchen, like some little store bought things

#

Their advertising is a lie

#

It takes me no bites

#

Only chewing

tranquil wing
#

at least it was good advertising

#

😅

somber heath
#

If I were to sing the praises of a product, would that be an advert I sing?

rugged root
#

@molten pewter As soon as you said nom nom this is what I thought of (also bit of a volume warning, it starts/ is loud: https://youtu.be/SMWi7CLoZ2Q

http://www.youtube.com/parrygrippradio

Special thanks to all of the cool people who let me use their video clips!

Please check out the original videos:

Hamster eating bell peppers
http://www.youtube.com/watch?v=BrtKgAjXv7g
from: http://www.youtube.com/dalsch

Hamster Eating Cotton Candy
http://www.youtube.com/watch?v=QWNAU2HBg-A
from: http:/...

▶ Play video
swift valley
#

oh my god

#

I think I did it

#

I THINK I DID IT!

somber heath
#

Ah. Yes. Of course.

#

It.

swift valley
#

Okay so I did something that's probably never been done

#

so yay!

#

and I did it based on some research paper I read

#

So double yay

somber heath
#

Hm. 👍

#

Broadly, what is the paper on?

gentle flint
hollow hare
#

def sum_func():
  print('sheeeeesh')

n = get_func_name(sum_func())

# (i.e) n shud be a string "sum_func"

any possible ways to do this chat?

gloomy vigil
#

hi

swift valley
#

I'll be right back in like an hour

#

CPU's dying

frosty star
#

ftp?

somber heath
#

!e py def func(): return "Thing" thing = func() print(thing)

wise cargoBOT
#

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

Thing
hollow hare
#

lemme try

somber heath
#

@hollow hare

#

oh

gloomy vigil
#

?

somber heath
#

I misunderstood.

hollow hare
hollow hare
frosty star
gloomy vigil
somber heath
#

I mean, you're either getting the return or None if you're calling it.

gloomy vigil
#

i want to do some c++

somber heath
#

So unless you're giving the function, uncalled, to your other function...

hollow hare
#

Mind my terminal colors!

hollow hare
gloomy vigil
#

you called the function

hollow hare
#

oh- wait

gloomy vigil
#

n = _3sum.__name__

hollow hare
#

yeyyyyyyy nice

#

Thanks @gloomy vigil @somber heath

molten pewter
#

The Session Description Protocol (SDP) is a format for describing multimedia communication sessions for the purposes of announcement and invitation. Its predominant use is in support of streaming media applications, such as voice over IP (VoIP) and video conferencing. SDP does not deliver any media streams itself but is used between endpoints fo...

gloomy vigil
frosty star
#

telnet?

hollow hare
#

HTTP, REST

#

best solution

rugged root
#

I have returned

gloomy vigil
#

HTTPS is nice

hollow hare
gloomy vigil
hollow hare
rugged root
#

I was just trying to find an acronym to work with that

#

Kind Idiot, Not God

frosty star
#

we're all cat people huh

rugged root
#

Good portion of us

#

Although I'm more of an "any animal who loves pettin's" person

hollow hare
gentle flint
frosty star
#

true

#

good night everyone

#

selamat malam

#

it's been nice

#

ima go to bed

hollow hare
#

byeeee

rugged root
#

Absolutely! Hope to see you around

frosty star
#

:3

tranquil wing
somber heath
#

Does the existence of programmers imply the existence of amateurgrammers?

rugged root
#

Okay, ignorant question, sonia. For the headscarf, does the pink signify anything or is it just a style choice

gentle flint
tranquil wing
#

just a style choice, because it's nice..

gentle flint
#

they're pro-ouncers

#

"Down with the metric system!"
(not to be confused with pronouncers)

gloomy vigil
hollow hare
#

pro + gammer

#

amateur + grammer

#

noob + gammer

rugged root
tranquil wing
#

No problem 😅

#

it's not weird question btw

rugged root
#

I just try to learn everything I can

#

Just hard to figure out how to approach it at times

hollow hare
#

**out of topic but, British accent be smoking 🥵 **, bye bye brb after dinner

gloomy vigil
#

@gentle flint In certain circumstances, peat can be an early stage in coal formation -> NatGeo

gentle flint
#

mmm

#

so peat eventually can become coal, sometimes

gloomy vigil
#

yea ig in ceratin circumstances

somber heath
#

Gnominative determinism. Where your fate is determined by garden ornaments.

somber heath
#

Gnostic gnomicism.

molten pewter
wraith kernel
#

im back!!!!!

#

ready to waffle away about CS,python ect

#

idk what i heard @zenith radish

#

i was just doing nothing

#

nothing else really

#

into wot @gentle flint ?

#

there was no disconnecting sound @haughty pier

#

i didnt hear it

#

in all honesty that one i didnt listen cuz somehow i got distracted

#

nvm

#

so...................................

#

@haughty pier , @zenith radish please explain what codes your making

#

i need to decide which stream to watch

#

@gentle flint i cant watch both

#

should i do computational thinking and make 2 tabs of 2 streams?

#

why so?

haughty pier
#

don't worry about me, I'm just goofing around while I think about work and work.

wraith kernel
#

hmmmmmmm

rugged root
wraith kernel
#

intergrated development enviroment right @rugged root ?

rugged root
#

Yeppers

gloomy vigil
woeful salmon
# rugged root

i tried it with a free trial recently actually and i like visual studio better. except ReSharper
i wish i had money to buy it just to use in vs

#

lol

rugged root
gloomy vigil
#

wait it got updated???

#

i am using 2021.1

#

let me update

#

i wish Clion was free ;-;

wraith kernel
#

earth to world

#

can you hear me

#

earth to world

#

well atleast hear me in text

#

man never speaks on mic

#

cuz im young

#

and my voice sounds like kid

#

(im over 13 though)

#

whats right @molten pewter ?

#

bros

#

i must go now

#

i shall see you all soon

gloomy vigil
#

i am back

tranquil wing
#

😂

whole bear
#

Goodmorning python discord

tranquil wing
#

going to go, bye 👋

gloomy vigil
#

bye

haughty pier
#

geez my laptop is warm...

molten pewter
fast umbra
#

I am so sorry for my voice, I recently changed things with the setup, tested it beforehand. I'll do further testing before talking on the chat. again, sorry for the inconvenience

rugged root
#

You're fine dude

unkempt isle
#

😢 i am still learning bro

sweet lodge
#
------
 > [ 7/17] RUN ./install-packages.sh:
#11 0.359 /usr/bin/env: ‘bash\r’: No such file or directory
------
executor failed running [/bin/sh -c ./install-packages.sh]: exit code: 127
#

Docker cares about line endings?

#

That's annoying

#

Time to set PyCharm on work Windows to use Linux line endings

haughty pier
#

utf8 too

sweet lodge
cosmic lark
#

anyone here uses photoshop

haughty pier
#

use gimp instead

fierce summit
#

hello

rugged root
#

Hey Aurora

#

How goes it

cosmic lark
fierce summit
#

I'm making a game in scratch 😄