일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- Java
- string
- Tkinter
- PostgreSQL
- Github
- django
- Mac
- hive
- gas
- c#
- math
- dataframe
- Excel
- list
- google apps script
- Kotlin
- GIT
- Python
- PANDAS
- numpy
- PySpark
- SQL
- 파이썬
- Redshift
- matplotlib
- Apache
- Google Spreadsheet
- Google Excel
- array
- Today
- Total
목록Dice (2)
달나라 노트
주사위 번호 맞추기 화면 image source using System; using System.Windows.Forms; using System.Drawing; using System.IO; class DiceCatch { public static void Main() { // Constants // Constants cts = new Constants(); Form fm = new Form(); FlowLayoutPanel flp = new FlowLayoutPanel(); PictureBox pb_dice_main = new PictureBox(); Button btn_roll = new Button(); Button btn_confirm = new Button(); Label lbl_result ..
이번에는 Python으로 주사위를 굴려서 랜덤한 숫자를 return해주는 bot을 만들어봅시다. 이 글을 읽기 전에 discord bot에 관한 배경 지식이 없거나 기초적인 셋팅을 하지 않은 상태라면 아래 링크를 먼저 참고하면 좋습니다. https://cosmosproject.tistory.com/384 from discord.ext import commands discord_token = 'discord_token_string' client = commands.Bot(command_prefix='/') @client.event async def on_ready(): print('{} logged in.'.format(client)) print('Bot: {}'.format(client.user)) pr..