首页 软件开发 ( Page 1684 )

软件开发 20299

#Python
Flask 文件上传

import os from flask import Flask, request, redirect, url_for from werkzeug import secure_…

2014-10-29 421

#Python
python实现堆排序

#沿左,右子节点较大者依次往下调整 def heapify( array, i, n ): j = i * 2 + 1 while j < n: if j + 1 < …

2014-10-29 578

#HTML
最基本的横行菜单制作

<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>…

2014-10-29 206

#Python
python爬取返利网商品信息

#coding=utf-8 import sys reload(sys) sys.setdefaultencoding( "utf-8" ) import urllib2 impo…

#Ruby
Ruby 使用 Net::Ping 连接到指定的 TCP/UDP 端口

require 'rubygems' require 'net/ping' if Net::PingTCP.new('http://www.google.com/', 80).pi…

2014-10-29 403

#Ruby
Ruby创建QR码

require 'rubygems' require 'rqrcode' require 'qr_image' # QR Code parameters text = 'This …

2014-10-28 991

#Shell
批处理安装配置GCC,MSYS环境

@echo off echo Setting Mingw-w64 Environment ::Check Your System,Must Win64 if /i "%PROCES…

2014-10-28 981

#HTML
自己玩玩

/** * */ package unicom.load; import unicom.comm.Sender; public interface FileLoader { pub…

2014-10-28 981

#Python
python将list连续元素和非连续元素分开转换为指定字符串

obj = {} def test(nums): nums.append(0) for item in nums: start = obj.get('start', item) e…

2014-10-28 973

#APS/Basic
Access 2007/2010选择性导出为Excel 2007或CSV文件

Sub ExportExcelCSV() Dim strOut As String Dim tbl As AccessObject Dim f As Boolean With Ap…

2014-10-27 812