How to create a zip archive of a directory in Python? - Stack Overflow
os.path.relpath(os.path.join(root, file), os.path.join(path, '..'))
dev  Python 
december 2019
The right and wrong way to set up Python 3 on MacOS |
echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n  eval "$(pyenv init -)"\nfi' >> ~/.zshrc
Python  dev  macOS 
november 2019
How to extract data from MS Word Documents using Python
This blog will go into detail on extracting information from Word Documents locally. Since many companies and roles are inseparable from the Microsoft Office Suite, this is a useful blog for anyone…
Word  dev  python 
november 2019
Understanding Styles — python-docx 0.8.10 documentation
y to show up quite a bit until I can add some fancier features to work around it, so here it is up top.
dev  Python  Word 
november 2019
split Word document into multiple documents by page with VBA – Usefulware Sharing
Sub SplitNotes(delim As String, strFilename As String)
Dim doc As Document
Dim arrNotes
Dim I As Long
Dim X As Long
Dim Response As Integer
arrNotes = Split(ActiveDocument.Range, delim)
Response = MsgBox(“This will split the document into ” & UBound(arrNotes) 1 & ” sections.Do you wish to proceed?”, 4)
If Response = 7 Then Exit Sub
For I = LBound(arrNotes) To UBound(arrNotes)
If Trim(arrNotes(I)) <> “” Then
X = X 1
Set doc = Documents.Add
doc.Range = arrNotes(I)
doc.SaveAs ThisDocument.Path & “\” & strFilename & Format(X, “000”)
doc.Close True
End If
Next I
End Sub
Sub test()
‘delimiter & filename
SplitNotes “///”, “Notes “
End Sub
dev  Word 
november 2019
API Integration in Python – Part 1 – Real Python
Now, since we are using JSON as our data format, we were able to take a nice shortcut here: the json argument to post. If we use that, requests will do the following for us:
Python  dev 
november 2019
The world’s leading software development platform · GitHub
GitHub brings together the world’s largest community of developers to discover, share, and build better software. From open source projects to private team repositories, we’re your all-in-one platform for collaborative development.
git  dev 
november 2019
« earlier      
2019 3d accelerator accent accessories admin adventure aerial ai alfred alice alpaca amazon animals animation apl app apparel apple applepencil applescript appletv applewatch apps architecture archive argentinian art articles asroma automation automotive bakery bash basketball bbq bearapp bike bikes bl2 blog boardgames book bookmarks books brazilian breath bri brit brunch business cad calculators calendar canada car career case cats chess chesssets chinese chocolate cinqueterre cipo cloud coding coffee coin collaboration comp competitor compintel cooking copyright course creative crypto crystals cupcakes cycling daily das data dayone deals decision decor design dev devonthink dictionary diner diskstation dnd dns documents dogs domains drafts drawing dropbox economics elastics email embroidery english entitysize espresso ethiopian evernote everton excel exercise facebook farmtotable feedly fees film firm fonts food football fourier french furniture game games gelato gfl git glutenfree gmail golf google govtoffices graphic greek gsuite hamburgers health history homekit homepod html humour hungarian icloud ifttt illustrations image indian infringement instapaper insurance interface internet invention ios ip ipad ipados iphone irish israel it italian italy jamesbond japanese jayz jewelry jupyter keyboard keyboardmaestro language latino lego library lighting liquidtext local mac machinelearning macncheese macos magazine maps marine markdown marketing math mbp meat media medical mexican middleeastern mindmap mip mobile montreal moom movies music nas nature networking news nfl noise notes nyc obviousness ocr omnifocus omnigraffle ontology os outlining oysters pab passports patent pdf photography photos photoshop picomole pinboard pizza plex png podcasts poe2 politics pool portuguese priority privacy productivity programming projectmanagement pub python pythonista quebecois quora radio realestate recipe regex remix repair resource restaurant ring robotics rome rss rubegoldbergmachine safari sandwiches science scooter scripting seafood search security serials service services seuss shirts shop shopping shortcuts siena simulator siri site slack snippets soccer social sociology software sound soup southern spanish sport sports sred srilankan ssh standards starwars stopmotion store streams stylus subjectmatter sublimetext subtitles support swimming tapas tech terminal tex text texteditor thai theme thesaurus thoughtwire thumbtacks tool tools toronto torrents tourism toys trademarks traffic translation travel trello trump turkish tv typing ulyssesapp urban us userdriven uspto vegan vegetarian via:popular video videoconferencing videos virtualization visualization vpn vscode walking wallpapers washington watches weather web website whatsapp wiki windows wine wine&spirits wireless word wordpress workflow workout world writing yoga youtube

Copy this bookmark: