swp1's Issues
issues #8 - 예외상황(2)
[현상]
인터넷 주소창을 이용하여 강제로 문자열 또는 실수형(float)을 집어넣은 경우, 오류 발생
[해결 방법]
isdigit() 함수로 조건문을 대신 함.
if '' not in [a, b]: 코드를 다음과 같이 수정
"if a.isdigit() and b.isdigit(): "
Line 12 in b956d42
그래프 생성 시, 오류
[현상]
그래프 생성할 수 없다며 기능 동작 실패
[재현 방법]
- ssh 접속시 -Y 옵션을 사용하지 않고 접속
- 서버 실행
- http://xxx.yyy.zzzz/www/fig 접속
- 값 입력 후, submit
- 그래프 이미지 나오지 않음
[개선방향]
ssh -Y 옵션으로 접속하지 않고 서버를 실행하더라도 그래프 생성에 문제 발생하지 않도록
wsgi -스트링 출렷 포맷
issues#6 - 기본 값 처리
사용자가 입력한 수가 없을 경우에 합과 곱의 기본값을 어떻게 처리
Sum, prod 의 기본값을 0으로 설정.
sum, prod = 0, 0 (기본값을 설정)
issues 7 - 예외상황(1)
issue#4 - WSGI 두 수의 합과 곱 수행 코드 추가 및 버전 관리
calc/sum.conf
calc/sum.py
calc/template.py
WSGI 스크립트 두 수의 합과 곱 수행 코드 추가 및 버전 관리 시작
그래프 이미지 생성 실패
graph.py 파일 변경
-> fig.savefig('../img/graph.png')
-> with open('../img/graph.png'. 'rb')
issue 2 - 이동
python files move
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.