Tumblr needs to show you filenames like image boards. Tumblr filename posts would be incredible
1 note
·
View note
Are your employers using poor naming conventions in their filenames, making it hard to find the right one? You may be untitled_2 financial compensation!
1 note
·
View note
python recursively fetch filenames based on wildcard/glob with callbacks
from pathlib import Path def cb_a(the_filename): print("the file:", the_filename) return the_filename def get_files_recursive(the_path='./', the_glob='*.*', the_callbacks=[]): filenames = [] for path in Path(the_path).rglob(the_glob): for cb in the_callbacks: # process callbacks path = cb(path) if path != '': # maybe on a callback we want to skip file filenames.append(path) return filenames cbs = [cb_a] fnames = get_files_recursive('./', '*.py', cbs) print("fnames:", fnames)
0 notes
C# 使用 OpenFileDialog 開啟檔案
C# 使用 OpenFileDialog 開啟檔案
學習程式語言最重要的就是實踐,
只要實際操作演練過需要的功能,
就能夠從中學到經驗,
上次的 C# 教學介紹了使用主要 Interop 元件存取Excel 檔案,
今天則是要來介紹
C# 使用 OpenFileDialog 開啟檔案
其實微軟官方網站說明文件都寫得相當的詳細,
不愧為長久以來的軟體巨擘,
對於今天的 OpenFileDialog 當然也有詳細的說明與範例,
有興趣的人可以自行前往下載研究
要使用 OpenFileDialog 要先引入命名空間,
在 C# 程式中寫做:
using System.Windows.Forms;
這樣就能夠使用 OpenFileDialog這個類別的各種屬性與方法,
當然詳細的資訊在官方網站都有說明,
��處範例程式僅以當下的使用情境呼叫相應的屬性與方法
Multiselect ,以布林值表示 ( true 或者…
View On WordPress
0 notes
this was gonna be my april 1st piece, but well, let's just say, i went a little overboard...! and now this is my most detailed art piece i've ever done ! i love the high roller you guys
more alt versions under cut! also i highly suggest you click and zoom in for Details
this entire piece was a whole adventure. i had to redraw the wallpaper because going into the fight april 1st made me learn OOPS! they changed it! and then i added detail. and aw fuck i can't leave THIS without detail. so i added more detail!
and i added more detail!
and i did this and that!
and uhmm yeah this basically took on and off all month to do and is genuinely my biggest piece i've ever done </3 in total this probably toon, genuinely, 2-3 days in total hours to finish. i am a bit slow with things so yeah. i am very proud of this and plan to use the version without HR in it as a background for things ^^.
also, the background was traced over a vrchat screenshot! only the lines, though, all the coloring is done myself! i've fooled people with THE BACKGROUND being a screenshot already so no, the coloring and shading is all done by me. just the lines were traced and altered in some places. this below is the reference screenshot! and also the sketch
so much back pain so much wrist pain so much forgotten food but also only sheer unbroken love and dedication to our dearest roller guy. you get me. IM making this a big deal bc to me it is a big deal and i am very proud of myself. i may not like a 100% how i drew hr in this but... it's still Very Swag
256 notes
·
View notes
grian's current obsession with fishing in hc10 but make it Horror instead of 'a stubborn man slowly losing his mind trying to fish a mending book in minecraft'
2K notes
·
View notes