Calyx.biz
  • Home | 主页
  • Study | 学习
    • CPA | 注册会计师
    • Deep Learning | 深度学习
    • R/Python/Vim | 编程 >
      • Java Learning | Java 学习
      • R Tips | R技巧
      • Python Skill | Python技术
      • Masterpiece | 作品
    • Big Data | 大数据 >
      • Bioinformatics | 生物信息
      • Data Science | 数据科学
    • Language | 语言 >
      • Cantonese | 粤语
      • English | 英语
      • 日本語 | 日语
    • Citation | 他山之石
    • Application | 运用
    • Dota2Win | 刀塔制胜
    • Others | 别的 >
      • CIpipe
      • How to LOVE
      • FMSofChangsha.2005.
  • Fun | 娱乐
    • Billboard | 公告版
    • Essay | 随想
    • Album Image | 专辑封面
    • Movie Poster | 电影海报
    • Exercise | 锻炼
    • Funny | 有趣
    • Gastronome | 美食家
    • East Era | 东方时代 >
      • Masterpieces | 美味
      • Gastronomy | 美食主义
    • Downloading | 下载
  • Record | 记录
    • Milestone | 里程碑
    • Discussion | 讨论
    • About Us | 关于我们
    • LinkedPaper | 原文

python simple if else in one line|Python的if else简单用法

9/29/2015

0 Comments

 
How to write if/else in one line.

Read More
0 Comments

在没有权限的服务器上安装python模块

9/24/2015

0 Comments

 
通常在服务器上安装模块是需要root权限的。

Read More
0 Comments

Read in CSV file|读取CSV文件

9/22/2015

0 Comments

 
What's the simplest way of read in CSV file?
import csv

CSVRead = csv.reader(open(CSV_D, 'rU'))
CSV = ['>' + x[0] + '.' + x[1] + '\n' + x[2] + '\n' for x in CSVRead]


Attention:
'rU' is important. It will ignore whether the line feed character is '\n' or \r'.
0 Comments

    Yamol

    Archives

    January 2019
    March 2018
    January 2018
    December 2017
    October 2017
    December 2016
    April 2016
    January 2016
    September 2015
    February 2015
    June 2014
    March 2014
    December 2013
    November 2013
    August 2013

    Categories

    All
    Fragmental Study
    System Study

    RSS Feed

Powered by Create your own unique website with customizable templates.