본문 바로가기
반응형

Programming22

TelegramBot Sample 만들기 - 1 ( C#프로젝트 생성 ) 안녕하세요. 데프홍입니다. 메신저 Bot 관련해서 이슈가 나온지는 한참 되었습니다만.. 메신저 봇을 이용해서 활용할 일이 생겨서..개인프로젝트를 만들어 보기로 했습니다. 메신저 Bot 은 Telegram Bot 으로 사용하기로 결정을 했으며, 언어는 C# 으로 개발하도록 하겠습니다.( C#.. 너무 오랜만에 사용해보는 군요.. ㅠㅠ ) 참! 제가 사용하는 OS 환경은 Windows 10 영문버전 입니다. 자.. 먼저 제가 사용하고 있는 툴은 Visual Studio 2015 버전인데요. 이것을 이용해서 C# Windows Application 을 생성해보고, NuGet 이라는 관리도구를 이용해서 Telegram API 를 설치해보도록 하겠습니다. 1. 먼저 File -> New -> Project 을 통.. 2017. 1. 11.
[ Python 3.6.0 ] 1. Whetting Your Appetite 요약. - 2 Python allows you to split your program into modules that can be reused in other Python programs. It comes with a large collection of standard modules that you can use as the basis of your programs — or as examples to start learning to program in Python. Some of these modules provide things like file I/O, system calls, sockets, and even interfacaphical ues to grser interface toolkits like Tk.Pyt.. 2017. 1. 4.
[ Python 3.6.0 ] 1. Whetting Your Appetite 요약. - 1 If you do much work on computers, eventually you find that there’s some task you’d like to automate. For example, you may wish to perform a search-and-replace over a large number of text files, or rename and rearrange a bunch of photo files in a complicated way. Perhaps you’d like to write a small custom database, or a specialized GUI application, or a simple game.컴퓨터에서 많은 작업을 하게 된다면, 결국 자동화 하려는.. 2017. 1. 4.
[ AngularJS ] $q의 사용에제 자바스크립트, 그리고 AngularJS 에선 가끔 비동기식으로 호출을 할 때가 있다.이러한 점 때문에 가끔 제대로 데이터가 받아지지 않을 때가 있는데 $q 를 이용하면 해결 할 수 있다.(웹 페이지가 로딩이 다 되었을 때 서버로부터 값이 그제야 도착하는 경우) 위 방법을 쓰지 않고도 쓸 수 있는 다른 방법이 있지만, $q 를 이용한 방법이 제일 간단한 듯.. ex) controller: function($scope, $element, $q, service){var deferred = $q.defer(); this.getTestData = function(id, password){service.getSession(id, password).success(function(data){if(data.result .. 2017. 1. 3.
반응형