码迷,mamicode.com
首页 >  
搜索关键字:computer    ( 2862个结果
外观模式
外观模式是软件工程中常用的一种软件设计模式。它为子系统中的一组接口提供一个统一的高层接口并向客户端暴露,隐藏了系统的复杂性,这一接口使得子系统更加容易使用。 它主要由两部分组成,一部分是子系统(包括接口,实现类,等等),一部分是外观接口和实现类,外观接口负责提供客户端定制的服务,外观实现则负责组合子 ...
分类:其他好文   时间:2018-12-20 14:31:51    阅读次数:195
powershell修改主机名和IP
Function Rename-Computer( $NewName,$AutoRestart=$false ){ $computer=Get-WMIObject Win32_ComputerSystem $computer.Rename( $NewName ) | out-null if($Aut ...
分类:系统相关   时间:2018-12-20 01:07:06    阅读次数:214
python-面向对象:类与类之间的关系和特殊成员
1 # class Person: 2 # def play(self, tools): # 通过参数的传递把另外一个类的对象传递进来 3 # tools.run() 4 # print("很开心, 我能玩儿游戏了") 5 # 6 # 7 # class Computer: 8 # def run(... ...
分类:编程语言   时间:2018-12-19 21:03:32    阅读次数:212
实例方法
class Computer: # 实例方法 def play(self): print("电脑可以扫雷") # 在定义实例方法的时候. 必须给出一个参数 self # 形参的第一个参数, 自动的把对象给传递进来 def work(self): # self 是当前类的对象 print(self) ... ...
分类:其他好文   时间:2018-12-19 20:56:41    阅读次数:140
依赖关系
# class Person: # def play(self, tools): # 通过参数的传递把另外一个类的对象传递进来 # tools.run() # print("很开心, 我能玩儿游戏了") # # # class Computer: # def run(self): # print("... ...
分类:其他好文   时间:2018-12-19 20:55:37    阅读次数:153
THEPYTHONCHALLENG闯关记录
由于是自己看视频学python,总觉得不写几行代码就什么都没有学到。 找了一个写代码的网站其实只是因为这个看起来好玩。 闯关地址http://www.pythonchallenge.com/index.php 0x00 好吧,先来到第0关 python最好用的地方,计算器 2**38算出来答案,在u ...
分类:编程语言   时间:2018-12-18 16:01:47    阅读次数:186
Uniform Generator
Computer simulations often require random numbers. One way to generate pseudo-random numbers is via a function of the form seed(x+1) = [seed(x) + STEP ...
分类:其他好文   时间:2018-12-18 10:59:45    阅读次数:135
Scala链式编程内幕
1 package big.data.analyse.scala 2 3 /** 4 * 链式编程原理 5 * Created by zhen on 2018/12/16. 6 */ 7 class Computer{def code = this} 8 class PC extends Compu... ...
分类:其他好文   时间:2018-12-16 23:41:21    阅读次数:236
PyTorch in Action: A Step by Step Tutorial
PyTorch in Action: A Step by Step Tutorial Installation Guide Step 1, donwload the Miniconda and installing it on your computer. Beacause some of clas ...
分类:其他好文   时间:2018-12-14 19:35:21    阅读次数:164
[Git/GitHub] Tutorial 1. Git download and commit first project
1. Install at https://git-scm.com/downloads 2. Set up your name and email $ git config --global user.name "Johnsonxiong" $ git config --global user.em ...
分类:其他好文   时间:2018-12-10 11:44:08    阅读次数:157
2862条   上一页 1 ... 50 51 52 53 54 ... 287 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!