오랜만에 파이썬을 설치해보자. 이클립스 설치한 김에 같이 깔아본다.
PyDev 를 이클립스에 연결할 것이다.
http://python.org/ftp/python/ 주소로 접속해서 원하는 버전의 파이썬을 다운받아서 설치한다. 난 3.2 버전으로!

이클립스에서 Add 할때, Available Software Sites에서  Name은 PyDev로  Location 은 http://pydev.org/updates 로 지정한다.

설치하고 난 후 Preferences 들어가서  Interpreter - Python 에 설치된 python.exe 파일을 연결하고 파이썬 프로젝트를 하나 만들어보자.

아래는 설치후 테스트 할 소스 : [펌] http://phoenix208.blog.me/40122670423
#-- coding : cp949 --
print ('triangle \n')
d = float(input('length : '))

for i in range(int(d+1)):
    print('* '*i)
    
area = float((d ** 2) / 2)
print('width: ', area)

input()  

테스트 실행 화면
사용자 삽입 이미지사용자 삽입 이미지




크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기(0) 이올린에 추천하기(0)

Posted by 홍반장

2011/03/15 17:52 2011/03/15 17:52
, , ,
Response
No Trackback , No Comment
RSS :
http://tcbs17.cafe24.com/tc/rss/response/5935

Standard relational operators

Standard relational operators

The standard numerical relational operators used in programming languages are shown below.

Common relational operators
In programming languages In print Meaning Used to:
C-like 1 BASIC-like 2 Mathematica[1] MATLAB 3 Fortran 4 Bourne-like shells 5 MUMPS
== = == Equal[x,y] == eq(x,y) == .EQ. -eq = = equal to Test the equivalence of two values.
!= <> != Unequal[x,y] ~= ne(x,y) /= .NE. -ne '= not equal to Test the negated equivalence of two values.
> > > Greater[x,y] > gt(x,y) > .GT. -gt > > greater than Test if the value of the left expression is greater than that of the right.
< < < Less[x,y] < lt(x,y) < .LT. -lt < < less than Test if the value of the left expression is less than that of the right.
>= >= >= GreaterEqual[x,y] >= ge(x,y) >= .GE. -ge '< greater than or equal to Test if the value of the left expression is greater than or equal to that of the right.
<= <= <= LessEqual[x,y] <= le(x,y) <= .LE. -le '> less than or equal to Test if the value of the left expression is less than or equal to that of the right.
Note (1): Including C, C++, C#, Go, Java, JavaScript, Perl (numerical comparison only), PHP, Python, and Ruby.
Note (2): Including BASIC, Visual Basic .NET, VB.NET, Objective Caml, Pascal, SQL, and Standard ML.
Note (3): MATLAB, although in other respects using similar syntax as C, does not use !=, as ! in MATLAB sends the following text as a command line to the operating system.
Note (4): The first form including Haskell.
Note (5): Including Bourne shell, Bash, Korn shell, and Windows PowerShell. The symbols < and > are usually used in a shell for redirection, so other symbols need to be used. Without the hyphen, is used in Perl for string comparison.



The following table lists the different mechanisms to test for these two types of equality in various languages:

Language Physical equality Structural equality Notes
C, C++ a == b *a == *b a and b are pointers
C# object.ReferenceEquals(a, b)1 a.Equals(b)1
Common Lisp (eq a b) (equal a b)
Java a == b a.equals(b) a and b are references
Objective Caml a == b a = b
Pascal a^ = b^ a = b
Perl $a == $b $$a == $$b $a and $b are references to scalars
PHP5 N/A $a == $b $a and $b are objects
Python a is b a == b
Ruby a.equal?(b) a == b
Scheme (eq? a b) (equal? a b)
Visual Basic .NET a Is b a = b
Objective-C a == b [a isEqual:b] a and b are pointers to objects

1 In C#, the == operator defaults to ReferenceEquals, but can be overloaded to perform Equals instead. This allows to test for structural equality wherever it's more intuitive, most notably in string comparison.


크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기(0) 이올린에 추천하기(0)

Posted by 홍반장

2011/03/15 16:30 2011/03/15 16:30
Response
No Trackback , No Comment
RSS :
http://tcbs17.cafe24.com/tc/rss/response/5934

jQuery   is a new kind of JavaScript Library.
jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery is designed to change the way that you write JavaScript.

gitHub : https://github.com/  github social coding

Sencha . touch : http://www.sencha.com/products/touch/Sencha

jQTouch : http://www.jqtouch.com/

jQuery Mobile | http://jquerymobile.com/

크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기(0) 이올린에 추천하기(0)

Posted by 홍반장

2011/03/15 16:00 2011/03/15 16:00
, , , ,
Response
No Trackback , No Comment
RSS :
http://tcbs17.cafe24.com/tc/rss/response/5933

http://developer.appcelerator.com/

Today you need to be in three places at once: Online, On-phone, and On-desktop. Titanium empowers you to create immersive, full-featured applications that go beyond browser boundaries and stick with your audience whenever and wherever they are.

Titanium applications are divided into 4 main parts:
  1. The html/css/javascript code that makes up the core application logic and UI
  2. The APIs that access native device/desktop functionality, analytics or other modular functionality
  3. The language-OS bridge that compiles web code into native application code
  4. The run-time shell that packages the application for cross-platform distribution.

Once built, Titanium-based applications can be tested, packaged, and distributed through the Appcelerator Network’s cloud services. The Titanium platform is open source, so you may also access the source code to the complete application at any time for your own use.



크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기(0) 이올린에 추천하기(0)

Posted by 홍반장

2011/03/15 13:09 2011/03/15 13:09
, ,
Response
No Trackback , No Comment
RSS :
http://tcbs17.cafe24.com/tc/rss/response/5932

http://www.appspresso.com/
Appspresso 1.0 beta
HTML5, CSS3 등의 최신 웹 기술로 안드로이드, 아이폰 앱을 개발하고
Waikiki API 2.0 beta로 WAC을 미리 경험해 볼 수 있습니다.






크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기(0) 이올린에 추천하기(0)

Posted by 홍반장

2011/03/14 17:42 2011/03/14 17:42
,
Response
No Trackback , No Comment
RSS :
http://tcbs17.cafe24.com/tc/rss/response/5929

firefox 부가기능 설치내역 2011.03.14

firefox 부가기능 설치내역 2011.03.14

CSS Usage  : CSS Coverage is an extension for Firebug which allows you to scan
                          multiple pages of your site to see which CSS rules are actually used in your site.

Firebug  : You can edit, debug, and monitor CSS, HTML,
                  and JavaScript live in any web page.

Greasemonkey  :  Allows you to customize the way a web page displays or behaves, by using small bits of JavaScript.
Hundreds of scripts, for a wide variety of popular sites, are already available at http://userscripts.org.
You can write your own scripts, too. Check out http://wiki.greasespot.net/ to get started.

User Agent Switcher  :

The User Agent Switcher extension adds a menu and a toolbar button to switch the user agent of a browser.

View Source Chart  :  Source Charting...
                                        * Defines HTML Tag Boundaries (so you don't have to)
                                        * Defines DOM Structure and Hierarchy (so you don't have to)
Web Developer  : 

The Web Developer extension adds various web developer tools to a browser.

YSlow  : YSlow analyzes web pages and why they're slow based on Yahoo!'s rules for high performance web sites.



크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기(0) 이올린에 추천하기(0)

Posted by 홍반장

2011/03/14 17:21 2011/03/14 17:21
, , ,
Response
No Trackback , No Comment
RSS :
http://tcbs17.cafe24.com/tc/rss/response/5928

http://www.splashsoft.de/View-document-details.html?gid=7

크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기(0) 이올린에 추천하기(0)

Posted by 홍반장

2011/03/12 06:00 2011/03/12 06:00
Response
No Trackback , No Comment
RSS :
http://tcbs17.cafe24.com/tc/rss/response/5923

[Web] 구글 API Explorer

https://code.google.com/apis/explorer/
customsearch
diacritize
moderator
translate
urlshortener

크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기(0) 이올린에 추천하기(0)

Posted by 홍반장

2011/03/09 08:33 2011/03/09 08:33
, ,
Response
No Trackback , No Comment
RSS :
http://tcbs17.cafe24.com/tc/rss/response/5915

[Web] "Mobifying" Your HTML5 Site

* http://www.html5rocks.com/
* http://www.html5rocks.com/mobile/mobifying.html

Developing for the mobile web is a hot topic these days. This year, for the first time ever, smart phones out sold PCs. More and more users are using a mobile device to traverse the web, which means it's becoming critical for developers to optimize their sites for the mobile browsers.

The "mobile" battlefield is still uncharted waters for a large number of developers. Many folks have existing legacy sites that neglect mobile users altogether. Instead, the site was designed primarily for desktop browsing and degrades poorly in mobile browsers. This site (html5rocks.com) is no exception. At launch, we put little effort into a mobile version of the site.





크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기(0) 이올린에 추천하기(0)

Posted by 홍반장

2011/03/09 08:24 2011/03/09 08:24
Response
No Trackback , No Comment
RSS :
http://tcbs17.cafe24.com/tc/rss/response/5914

오랜만에 들어와보니 네이버 로그인 페이지가 바뀌어 있네요.
언제 바뀐것인지 모르지만, 역시 바뀌어야 살수 있지 않을까 하는 생각이 드네요.
분발합시다!

크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기(0) 이올린에 추천하기(0)

Posted by 홍반장

2011/02/28 07:19 2011/02/28 07:19
Response
No Trackback , No Comment
RSS :
http://tcbs17.cafe24.com/tc/rss/response/5892

« Previous : 1 : ... 10 : 11 : 12 : 13 : 14 : 15 : 16 : 17 : 18 : ... 101 : Next »

블로그 이미지

- 홍반장

Archives

Recent Trackbacks

Calendar

«   2024/11   »
          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
Statistics Graph

Site Stats

Total hits:
239531
Today:
183
Yesterday:
712