토큰을 통해서 제 고유아이디를 알아내야되는데 반환되는것이 하나도 없음 안녕하세요.. 지금 인프런을 통해서 강의를 듣고있는데, 모르는것이 많아서 댓글 질문 남깁니다.. 참고로 저는 Mac, visual code 사용하고있습니다. 현재, 진행되고있는 부분은 텔레그램봇을 통해서 몇개의 채팅 이후 반환값을 받아서 제 고유아이디를 알아내야되는데, 아래와 같이 코딩을 하여서 실행하였으나, 반환되는것이 하나도 없습니다. 문제가 무엇인지 알려주시면 너무 감사드리겠습니다. import telegram import asyncio bot = telegram.Bot (token='제 토큰') async def main(): updates = await bot.getUpdates() for i in updates: print(i) asyncio.run (main())
django-crispy-form에서 {% include 와 with %} 다음과 같이 에러가 나타나고, {% include "_crispy_form.html" %} with 절을 제외하니 정상 동작합니다. 정확한 이유는 모르겠으나, 문법이 그 사이에 바뀐 것일 수도 있고 해서 일단 공유하는 마음으로 질문드립니다. 감사합니다.
현재 choicechips 를 활용하여 app state variable 을 관리하고 있습니다. 이때 choicechips 에서 선택된 app state variable 을 기준으로 게시물을 filtering 해주려고 하는데, listview 에 어떻게 이 정보를 담아서 Filtering 을 할 수 있을까요?? 참고로 Post document 에 group_name 이라는 string 이 있어서, filter 로 Equal to 로 app state variable 을 선택하려고 했는데, app state variable 이 비활성화되어 선택이 불가합니다.
검색 기능을 따라서 구현하고 있는데, listview 에는 dynamic children 탭이 없어서 질문드립니다. 이경우는 backend query 에 Filter 를 textfield 값으로 추가해서 걸면 될까요?? 이렇게 하려고 하면 title 에 relation 을 contains textfield 이렇게 걸어야 할거 같은데 contains 같은 조건이 없네요...;;
안녕하세요 강사님, def input_check(msg, casting=int): 부분에서 msg 파라미터 값은 왜 들어있는건가요? 제가 진행해보았을때는 msg 파라미터값을 없애고 진행해도 게임이 진행됩니다. def input_check(casting=int): while True: try: user_input = casting(input("몇 일까요? > ")) return user_input except: print("숫자만 입력하세요.") continue ... ... while count < chance : count += 1 user_input = input_check() if user_input == number : break elif user_input < number : print("{} 보다 큰 숫자 입니다.".format(user_input)) elif user_input > number : print("{} 보다 작은 숫자 입니다.".format(user_input)) 감사합니다.
강의에서는 fastapi 앱 서버, dash 앱서버 각각 실행을 한 상태에서 dash에서 request를 수행하셨는데 dataframe을 사용하지 않고 fastai 결과 dictionary 를 받아서 dashboard를 그리는데 유리한 부분이 있을까요? (속도 측면?) fastapi와 dash를 같이 사용할 때 일반적인 방법이나 추천하는 방법이 따로 있을까요?
[코드팩토리] [중급] Flutter 진짜 실전! 상태관리, 캐시관리, Code Generation, GoRouter, 인증로직 등 중수가 되기 위한 필수 스킬들!
final routerProvider = Provider<GoRouter>((ref) { final provider = ref.watch(authProvider); return GoRouter( initialLocation: '/splash', routes: provider.routes, redirect: provider.redirectLogic, ); }); flutter refreshListenable 은 v7에서 없던 내용 같은데 어떻게 처리하면 될까요? 그리고 redirect:provider.redirectLogic 에서 에러가 납니다. redirect: (context, state){ return provider.redirectLogic(state); }, 이렇게 수정해주면 될까요? 두번째 아이템은 count만 가져오고 나머지 데이터는 가져오질 못하네요. 코드팩토리 디스코드에 질문하면 더욱 빠르게 질문을 받아 볼 수 있습니다! [코드팩토리 디스코드] https://bit.ly/3HzRzUM - 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.
[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
IOS는 빌드가 정상적으로 실행되는데, 안드로이드는 아래와 같은 메시지와 함께 실행이 안됩니다. 어떤 문제인지 감을 잡기가 어렵습니다 Mac을 사용중입니다 어떻게 고쳐야 할지 답변 부탁드립니다 You are applying Flutter's app_plugin_loader Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/go/flutter-gradle-plugin-apply You are applying Flutter's main Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/go/flutter-gradle-plugin-apply Could not find a command named "bin/build_tool_runner.dill". Usage: dart <command|dart-file> [arguments] Global options: -v, --verbose Show additional command output. --version Print the Dart SDK version. --enable-analytics Enable analytics. --disable-analytics Disable analytics. --suppress-analytics Disallow analytics for this dart * run without changing the analytics configuration. -h, --help Print this usage information. Available commands: analyze Analyze Dart code in a directory. compile Compile Dart to various formats. create Create a new Dart project. devtools Open DevTools (optionally connecting to an existing application). doc Generate API documentation for Dart projects. fix Apply automated fixes to Dart source code. format Idiomatically format Dart source code. info Show diagnostic information about the installed tooling. pub Work with packages. run Run a Dart program. test Run tests for a project. Run "dart help <command>" for more information about a command. See https://dart.dev/tools/dart-tool for detailed documentation. FAILURE: Build failed with an exception. * Where: Script '/Users/jjh/.pub-cache/hosted/pub.dev/irondash_engine_context-0.5.4/cargokit/gradle/plugin.gradle' line: 65 * What went wrong: Execution failed for task ':irondash_engine_context:cargokitCargoBuildIrondash_engine_context_nativeDebug'. > Process 'command '/Users/jjh/.pub-cache/hosted/pub.dev/irondash_engine_context-0.5.4/cargokit/gradle/../run_build_tool.sh'' finished with non-zero exit value 64 * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 6s Error: Gradle task assembleDebug failed with exit code 1
[코드팩토리] [중급] Flutter 진짜 실전! 상태관리, 캐시관리, Code Generation, GoRouter, 인증로직 등 중수가 되기 위한 필수 스킬들!
final routerProvider = Provider<GoRouter>((ref) { final provider = ref.watch(authProvider); return GoRouter( initialLocation: '/splash', routes: provider.routes, redirect: provider.redirectLogic, ); }); flutter refreshListenable 은 v7에서 없던 내용 같은데 어떻게 처리하면 될까요? 그리고 redirect:provider.redirectLogic 에서 에러가 납니다. redirect: (context, state){ return provider.redirectLogic(state); }, 이렇게 수정해주면 될까요? 코드팩토리 디스코드에 질문하면 더욱 빠르게 질문을 받아 볼 수 있습니다! [코드팩토리 디스코드] https://bit.ly/3HzRzUM - 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.
강의처럼 똑같이 """ 세번 치면 빨간색으로 표기됨 """치고 따라오는 """3개 안지우고 6개로 입력하면 정상표기로 인식됨 큰따옴표 6개로 입력하면 되는것인지 그런데 빨간색으로 표시가 안되어도 6개로 큰 따옴표를 입력하면 앞선 질문과 마찬가지로 기호(+. - 등)은 여전히 빨간색으로 표기됨(이전 질문에서 코드 복붙 시 나타나는 문제와 동일) 따라서 아웃풋에서 걔속 오류가 발생 File "c:\test\chapter03_ 01.py ", line 41 + ^ SyntaxError: invalid syntax 설치부터 선언까지 똑같이 하고 있는데 어떤 문제고 어떤 조치를 해야 하는지 문의함. 본인이 답글로 게시한 내용 그대로 복붙했는데도 기호가 계속 빨간색으로 표시되는 것에 대해 문의
안녕하세요 선생님. 질문이있습니다. 1. 결국에는 Anchorbox 중에서 가장 확률이 높은 anchorbox의 x, y 좌표를 loss 기반으로 학습시키는걸로 이해를 했는데 맞나요? 2. 그러면 그렇게 수정된 anchorbox는 변한채로 남아서 다음학습 때 수정된 anchorbox 좌표가 또 학습되고 이런식인가요?
1. 현재 학습 진도 현재 1-5 알고리즘과 친해지기 강의 중 가장 많은 알파벳 출력하는 문제를 풀고 있습니다. 2. 어려움을 겪는 부분 강사님께서 말씀해주신 부분은 가장 많이 사용된 알파벳을 찾는 함수를 구현하는 것인데 강사님께서 예제로 주신 string 값들이 모두 하나 이상의 최댓값을 가지고 있습니다. print("정답 = i 현재 풀이 값 =", result("hello my name is dingcodingco")) print("정답 = e 현재 풀이 값 =", result("we love algorithm")) print("정답 = b 현재 풀이 값 =", result("best of best youtube")) 현재 풀이 값 = o,n,i 현재 풀이 값 = e,l,o 현재 풀이 값 = b,e,t 강사님께서는 가장 많이 사용된 알파벳 중 제일 앞에 있는 알파벳을 출력하신 것 같습니다. 제가 1-6강을 아직 들어보지 않아서 이 부분에 대한 설명을 나중에 해주시는지 확인해 보지 않았지만 , 아무 설명도 없이 이렇게만 넘어간다면 저와 같이 헷갈리시는 분들이 많을 것 같아 질문 드립니다 🙂