반응형
반응형

이 책은 Qt Designer와 PyQt5를 이용하여 보다 쉽게 Python GUI 프로그래밍을 배워보는 책입니다. Python의 기본 문법을 익힌 상태에서 이 책을 공부하시는 것을 추천드립니다. 이 책에 있는 모든 코드들은 위의 링크에서 다운로드 받으실 수 있습니다.


본 책은 아래의 환경에서 작성되었습니다.

Mac OS Mojave(언어 - 영어) - Macbook Pro 13' late 2016(Four Thunderbolt 3 Ports)

본 책의 예제코드는 아래의 환경에서 테스트되었습니다.

  • Windows 10(언어 - 한글) - i7-7700K, RAM 16G, GTX1060
  • Mac OS Mojave(언어 - 영어) - Macbook Pro 13' late 2016(Four Thunderbolt 3 Ports)

이 책은 초보자를 위해 간단한 Qt의 기능만을 소개하고 있습니다.
위젯들의 자세한 메뉴얼과 함수는 아래 링크에 있는 Qt의 공식 홈페이지를 참조해주시기 바랍니다.

Qt for Python Documentation
Qt Designer Manual

반응형
반응형

메뉴얼과 함수는 아래 링크에 있는 Qt의 공식 홈페이지를 참조해주시기 바랍니다.

 

Qt for Python Documentation  https://doc.qt.io/qtforpython/index.html
Qt Designer Manual  https://doc.qt.io/qt-5/qtdesigner-manual.html

Qt for Python Documentation
Qt Designer Manual

 

Qt Style Sheets Reference

https://doc.qt.io/qt-5/stylesheet-reference.html

 

Qt Style Sheets Reference | Qt Widgets 5.15.14

 

doc.qt.io

Qt Style Sheets support various properties, pseudo-states, and subcontrols that make it possible to customize the look of widgets.

반응형
반응형

Flutter vs React Native

https://medium.com/@vikranthsalian/flutter-vs-react-native-396216ad41d3

 

Flutter vs React Native

Developers often find it difficult to choose between Flutter vs React Native. Both have been created by the current tech giants of the…

medium.com

Developers often find it difficult to choose between Flutter vs React Native. Both have been created by the current tech giants of the world, Facebook and Google.

But the question of what to use to create these apps has been around for a while.

Flutter

is an open-source UI framework developed by Google in 2017 that aims to design cross-platform apps to run on mobile, Windows, macOS, and Linux as well as on the web. Flutter’s framework is built upon Dart. A lot of big companies like Alibaba, Philips Hue, Hamilton, etc., choose Flutter for development. Moreover, Google frequently provides updates for Flutter, improving its performance with each update.

Advantages of using Flutter

  1. Great UI
  2. Has a number of widgets
  3. Apps are faster
  4. Helps build web apps
  5. Well-structured documentation and community
  6. Helps replicate and create the same UI for different devices

Disadvantages of Flutter

  1. Not native
  2. Apps are larger
  3. Has a limited set of tools

React Native

Facebook developed React Native in 2015. It is an open-source framework that is based on JavaScript. It also provides a similar feature, using the same codebase to create cross-platform apps, thus eliminating the need to compile other technologies for creating mobile apps. Skype, Instagram, Uber Eats, etc., depends upon React Native for development.

Advantages of using React Native

  1. Uses JavaScript
  2. Can create apps for multiple platforms using a single codebase
  3. Understands the importance of code reusability and promotes it
  4. Growing and active community
  5. Helps in accelerating coding time

Disadvantages of using React Native

  1. Not native
  2. Does not provide innovative, out-of-the-box components
  3. Limited choices
  4. Abandoned libraries and packages
  5. UI can be hampered easily and needs to undergo vigorous UI testing
  6. Larger apps

Differences between Flutter vs React Native

React Native and Flutter are amazing choices for developing a cross-platform application, however, they share several differences which make them unique from each other.

  • One major difference is the programming languages both frameworks use. React Native is based on JavaScript and uses JSX. However, Flutter uses Dart programming language.
  • The architecture for both frameworks differs. Flutter uses a 2D graphic rendering library, Skia, whereas, React Native uses the Flux architecture, which also requires JavaScript bridging. Here, JavaScript bridging is necessary for React Native to allow JavaScript and Native code to interact with each other. However, there is no programming bridge in Flutter.
  • Flutter and React Native documentation guides are very good. However, Flutter shares more organized and structured documentation. React Native documentation is poorly maintained because it depends heavily on third-party libraries.
  • Installing Flutter requires you to download the binary from GitHub and also to set up the environment variables on your system. On the other hand, React Native is installed using node package manager (NPM) with one command on your terminal.
  • Flutter relies on its developed widgets for customization, whereas React Native incorporates third-party customization components. Therefore, flutter offers more compatibility. Moreover, Flutter development is solely constructed upon Widgets, whereas React Native uses JSX.
  • React Native has better support for 3D, whereas, Flutter does not support 3D.

Conclusion :

This blog explains the reasons behind the great popularity of the two emerging frameworks Flutter and React Native, for creating cross-platform applications. Flutter and Native solve the issue of creating separate code for native platforms like Android and iOS. Now, you can create an application for all the platforms using entirely the same code.

Moreover, picking the best framework for yourself depends upon your experience, requirements, and the business needs of your project. If you’re already aware of the JavaScript programming language, then there’s no doubt that React Native is a good choice. However, if you’re targeting a highly stable and fast performance, Flutter has several advantages over React Native.

Happy Coding!!!

반응형
반응형

[python] 파이썬이 인기 있는 이유

 

첫째, 비전공자도 쉽게 배울 수 있다!(시작할 수 있다.)
일단 문법이 간단해서 배우기 쉽습니다.

C 언어 등의 프로그래밍 언어는 문법이 복잡해서
컴퓨터 공학을 공부하는 학생들도
어렵게 느끼는 경우가 많은데,

파이썬은 문법이 단순해서 배우기 쉬워요.
그래서 비전공자도 쉽게 배울 수 있지요.

 둘째, 다양한 분야에 활용할 수 있다!
컴퓨터에서 사용하는 앱부터
웹 서버, IoT, 인공지능 등
우리가 접할 수 있는 다양한 곳에서
활용할 수 있습니다.

셋째, 운영체제 대부분에서 동일하게 활용된다!
대부분의 프로그래밍 언어는 운영체제가 제한적입니다.
여러 운영체제에서 사용할 수 있어도
사용 방법이 조금씩 다른 경우가 있지요.
하지만 파이썬은 모든 운영체제에서
같은 방법으로 사용할 수 있습니다.

파이썬은 다음과 같은 상황에서 두루 사용을 고려해 볼 수 있어요. 

개발자로서, 
》 스타트업에서 웹 서비스 개발을 하고 싶은 경우
》 서비스에 활용할 인공지능을 개발하고 싶은 경우
》 데이터 수집 프로그램을 개발하고 싶은 경우

비개발자로서, 
》 엑셀 이상의 데이터 분석을 하고 싶은 경우
》 업무 자동화를 위한 간단한 프로그램을 만들고 싶은 경우
》 프로그래밍을 접해 보고 싶은 경우

이 중 마지막에 있는 ‘비개발자로서 프로그래밍을 접해 보고 싶은 분’들이 
빠르게 늘어나고 있는 것도 최근의 트렌드 입니다. 

 

https://www.elancer.co.kr/blog/view?seq=152 

 

파이썬 프로그램이 주목받는 이유와 파이썬의 활용성 알아보기! I 이랜서 블로그

티오베 인덱스에서 가장 인기 있는 언어 1위 파이썬! 개발자들에게 주목받는 이유와 활용성을 이랜서와 함께 알아보겠습니다. I 파이썬, 파이썬 다운로드. 파이썬 리스트, 파이썬 sort, 파이썬 크

www.elancer.co.kr

 

반응형
반응형

[MSSQL] 테이블 두 개 사용해서 select 된 값 바로 update하기

 



1. 먼저 현재값과 update해야할 값을 조회해본다.

select a.컬럼1, b.컬럼1
   ,a.컬럼2, b.컬럼2
   ,a.컬럼3, b.컬럼3
   ,a.컬럼4, b.컬럼4
FROM 테이블1 a inner join 테이블2 b on a.컬럼1 =b.컬럼2 and a.컬럼1_1=b.컬럼2_2
where a.컬럼 = 조건



2. ,을 =로 바꾸주고 바로 update 해준다.

update a set a.컬럼1 = b.컬럼1
   ,a.컬럼2 = b.컬럼2
   ,a.컬럼3 = b.컬럼3
   ,a.컬럼4 = b.컬럼4
FROM 테이블1 a inner join 테이블2 b on a.컬럼1 =b.컬럼2 and a.컬럼1_1=b.컬럼2_2
where a.컬럼 = 조건



반응형
반응형

팀을 빨리 망치는 팀원의 10가지 기술

https://brunch.co.kr/@zseo/76

 

팀을 빨리 망치는 팀원의 10가지 기술

반어법 주의 | 반어로 말했던 <회사를 가장 빨리 망치는 상사의 10가지 기술>에 많은 분들이 공감해 주셔서, 이번에는 팀원 버전을 정리해 보았습니다. 1. 목표 잊기 목표는 빨리 잊는다. 목표 달

brunch.co.kr

팀을 빨리 망치는 팀원의 10가지 기술

1. 목표 잊기

목표는 빨리 잊는다. 목표 달성 보다는 늘 하던 익숙한 일을 계속 하는 것에 집중한다. 굳이 목표를 챙겨야 한다면 팀의 목표보다는 개인의 목표를 우선시한다.

 


2. 왜 하필 제가요?

주어지는 업무에 ’왜 하필 내가 해야하는지‘를 확실히 한다. 완벽한 근거와 논리를 가진 업무만 선별적으로 받아들이며, 급박한 요청에도 절대 예외를 두지 않는다. 어떻게든 안할 수 있는 방법을 찾아라.

 


3. 앞뒤가 다른 소통

중요한 말은 앞이 아니라 뒤에서 한다. 미팅에서는 빠른 진행을 위해 조용히 있고, 솔직한 의견은 상대방에게 상처를 줄 수 있으니 상대방이 없는 곳에서만 한다.

 


4. 되는 이유보다 안되는 이유

안 되는 이유를 많이 말한다. 특히 무언가를 해보자고 제안하는 동료들에게 그 일이 안되는 이유를 자세히 말해주어 도전도 실패도 못하게 만들자. 실패한 동료에게 “내가 말했잖아요”라고 자주 말하면 더욱 좋다.

 


5. 질문 금지

질문은 절대 하지 않는다. 이를 위해 가장 좋은 방법은 기존 사례에 날짜만 바꾸기, 내가 해왔던 대로만 하기, 팀장이 시키는 대로만 하기이다.

 


6. 무한 질문

끊임없이 질문한다. 업무를 받을 때는 한치의 어려움과 애매함도 남기지 않으며, 내가 직접 고민하여 결론을 내려보기 전에 A부터 Z까지 상사에게 명쾌한 답을 요구하여 나의 책임을 최소화 한다.

 


7. 귀는 닫고 타협하지 않기

내 의견과 반대로 결정되게 내버려 두지 않는다. 대화를 통해 더 나은 결론을 도출하기 보다, 모든 논의는 상대방을 내 생각대로 설득하는 것을 목표로 한다. 수긍하는 것은 곧 지는 것이다.

 


8. 동료를 경쟁자로 보기

동료보다 조금 더 잘하는 것에 집중한다. 나의 능력이 돋보이는 효율적인 방법은 외부의 경쟁자가 아니라 내부의 경쟁자를 이기는 것이다. 약간의 비협조와 무관심으로 내부의 경쟁자를 효율적으로 이겨내자.

 


9. 의욕은 외부에서 찾기

의욕과 동기부여는 상사의 역할이라는 것을 분명히 한다. 매 팀 회의와 원온원에서 감동적인 스피치와 나를 춤추게 할 칭찬을 기대하고, 그렇지 않아 의욕이 안 생길때는 동료들을 모아놓고 자주 불만을 말하자.

 


10. 숟가락 얹기

선별적으로 팀워크를 수용한다. 경계선에서 지켜보다가 일이 잘 될것 같으면 숟가락을 얹고 안 될것 같으면 발을 뺀다. 이를 위해 좋은 일이건 나쁜 일이건 고생한 동료보다 먼저 상사에게 말하는 것이 중요하다.

반응형

+ Recent posts