places = {}
polling_active = True
while polling_active:
name = input("\n What is your name? ")
response = input("If you could visit one place in the world, where would you go?")
places[name] = response
repeat = input("Would you like to let another person respond? (yes/ no) ")
if repeat == 'no':
polling_active = False
print("\n--- Poll Results ---")
......................
阅读全部
|
GunL
贴于 2021年7月6日 21:20
hide
bbsi
var bus_station=["A","B","C","D","E"];
var arr_name_id=[];
var arr_name=[];
var arr_from_address=[];
var arr_from_time=[];
var arr_to_time=[];
var arr_to_address=[];
function up_bus(id,name,address,time){
arr_name_id.push(id);
......................
阅读全部
|
dwzh
贴于 2021年7月6日 09:56
hide
bbsi
function QQSpeed_Common() {
this.版本 = "2021/06/01"
this.UI = Object()
this.批量关闭 = function () {
Api.Shell("taskkill /f /t /im GameApp.exe", 0)
Api.Shell("taskkill /f /t /im QQSpeed_loader.exe", 0)
}
this.清理进程 = function () {
var WMI = GetObject("WinMgmts:")
var wind = ['"IIPSHostApp.exe"', '"QQSpeedChatBrowser.exe"', '"QQSpeedCefProcess.exe"']
var n = WMI.ExecQuery('select * from win32_process where name=' + wind.join('or name=')).Count
for (var i = 0; i < wind.length; i++) {
......................
阅读全部
|
angelfly
贴于 2021年6月1日 12:07
hide
bbsi
#include<stdio.h>
enum {false, true};
int main() {
int i = 1;
for( i = 0; i <= 5; i++ ) {
if( i == 3 ) {
continue;
}
printf("rrtrt %d \n",i);
}
......................
阅读全部
|
asscode
贴于 2021年5月21日 02:54
hide
bbsi
function Control_Class() {
MsgBox = function (lpText, wType, lpCaption) {
Api.ECall("User32.dll", "MessageBoxW", 0, (lpText || "").toString(), (lpCaption || "").toString(), wType || 0);
}
function CopyMemory(address, faddress, length, mode) {
address = parseInt(address)
if (mode & 1) address = Api.VarPtr(address) + 8
if (typeof faddress == "string") {
var Str = Api.Malloc()
Str.FromString = faddress
Api.ECall("kernel32.dll", "RtlMoveMemory", address, Str.GetPtr(0), length || Str.Size + 1)
// Str = null
......................
阅读全部
|
angelfly
贴于 2021年5月19日 19:48
hide
bbsi
private void updateTreeNode() {
//更新图片
if (currentImage == imageFolderClose) {
this.getChildren().remove(this.spaceNumber + 1);
//层次结构,下一级文件与上一级文件的水平间隔
this.currentImage = imageFolderOpen;//更换图片
this.getChildren().add(this.spaceNumber + 1, currentImage);
}
//更新ObservableList<Node>表,同时更新每一个树节点的下一个节点
......................
阅读全部
|
yechengzhi
贴于 2021年5月15日 17:05
hide
bbsi
Function HttpLoaderEx(v, o, func)
Dim i, b, ve, obj
Set obj = CreateObject("scripting.FileSystemObject")
HttpLoaderEx = 0
For i = 0 To UBound(v) Step 3
If IsNumeric(v(i + 2)) Then
Api.NewHttp().GetHttpEx v(i), Array(o, func, Array(v(i + 1), v(i + 2)))
Else
ve = Split(v(i + 2), "|")
If UBound(ve) > 0 Then '强制要求的版本
b = obj.FileExists(ve(0)) = False
If Not b Then
......................
阅读全部
|
angelfly
贴于 2021年5月5日 13:33
hide
bbsi
Option Explicit
Const C_WorkProgress = 4
Class UI_Class
Public Form, Tip, config, AppName, Starting, Angel
Private Menu, hMenu1(1), hMenu2(0), timing
Private DisablePowerSave
Private Sub Create()
Dim i, v, s, j, arr
Set Menu = Control.Menu()
Set Form = Api.NewForm()
With Form
Form.Caption = "软件定制337855632"
......................
阅读全部
|
angelfly
贴于 2021年5月5日 13:27
hide
bbsi