Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: complicated dict comprehension
Post: RE: complicated dict comprehension
Hmmm okay. I was wondering if possible to do the unreadable one-liner haha. Thanks |
|
rootVIII |
General Coding Help |
4 |
2,208 |
Oct-29-2020, 08:54 PM |
|
|
Thread: complicated dict comprehension
Post: complicated dict comprehension
# Initial dictionary
d = {
'one': 'some val',
'two': 'some val',
'three': {
'subkey_1': 'some val',
'subkey_2': 'some val'
},
'four': 'some val',
'five': {
... |
|
rootVIII |
General Coding Help |
4 |
2,208 |
Oct-29-2020, 07:02 PM |
|
|
Thread: A Tkinter Widget-Templater/GUI Builder for Linux/Mac
Post: RE: A Tkinter Widget-Templater/GUI Builder for Lin...
Thanks Gribouillis :) Yeah workin' from home these days with all the virus stuff and needed a project **idea** **rolleyes** |
|
rootVIII |
Code sharing |
2 |
3,411 |
Jun-09-2020, 02:21 AM |
|
|
Thread: A Tkinter Widget-Templater/GUI Builder for Linux/Mac
Post: A Tkinter Widget-Templater/GUI Builder for Linux/M...
I made a pretty neat project for templating a Tkinter GUI for Python3: VisiPy
The front end itself is made in Python/Tkinter, and the rest was coded with Golang.
It's only been tested on Linux, but ... |
|
rootVIII |
Code sharing |
2 |
3,411 |
Jun-07-2020, 06:23 PM |
|
|
Thread: pyutils.py
Post: RE: pyutils.py
Just curious... why assign all the shortcuts?
ie: b64encode = base64.b64encodeWhy not just directly import? from base64 import b64encodealthough I didn't read over the whole thing... maybe I'm missing... |
|
rootVIII |
Code sharing |
8 |
6,152 |
May-07-2020, 06:45 AM |
|
|
Thread: merge sort
Post: RE: merge sort
Hmmm investigating heapq
EDIT: Yup Gribouillis you always know all the good modules hahaha |
|
rootVIII |
Code sharing |
4 |
2,622 |
Jan-16-2020, 01:27 AM |
|
|
Thread: merge sort
Post: merge sort
This one always blows my mind
def merge(left, right):
combined, left_index, right_index = [], 0, 0
while left_index < len(left) and right_index < len(right):
if left[left_index]... |
|
rootVIII |
Code sharing |
4 |
2,622 |
Jan-15-2020, 04:22 AM |
|
|
Thread: Very High CPU Usage [Networking, Threads]
Post: RE: Very High CPU Usage [Networking, Threads]
That's actually not bad in my opinion for CPU usage... you should see what happens with Golang/goroutines hahaha
Sometimes even my Firefox and/or WebContent is at 40% or 50% as well... just saying :) |
|
rootVIII |
Code sharing |
4 |
5,178 |
Jan-10-2020, 12:19 AM |
|
|
Thread: rootVIII
Post: rootVIII
bahahaha just noticed your new Happy New Year message **thumbsup**
Wish I could get my boss to agree hahaha |
|
rootVIII |
Bar |
1 |
1,879 |
Jan-09-2020, 01:03 AM |
|
|
Thread: AudioConverter
Post: RE: AudioConverter
|
rootVIII |
Code sharing |
3 |
5,655 |
Dec-28-2019, 06:55 AM |
|
|
Thread: robocall on the fly (and send texts) with Twilio
Post: robocall on the fly (and send texts) with Twilio
Here is the repository with better directions.
EDIT: Re-pasting the code as a --record option was added...
First you have to get your Twilio credentials and number and set some environment variables... |
|
rootVIII |
Code sharing |
0 |
1,615 |
Nov-10-2019, 08:18 PM |
|
|
Thread: A small GUI to monitor your Netgear Router's attached devices
Post: A small GUI to monitor your Netgear Router's attac...
Here's the repository.
It will scrape your Netgear router (if you have one) and auto-update all the devices in the GUI every 60 seconds or so.
It should run on Windows, but I've only tested on Linux... |
|
rootVIII |
Code sharing |
0 |
2,022 |
Aug-31-2019, 08:16 PM |
|
|
Thread: [PyQt5] FileManager
Post: RE: [PyQt5] FileManager
|
rootVIII |
Code sharing |
2 |
6,873 |
Aug-20-2019, 10:53 PM |
|
|
Thread: Git clone all of a Github user's public repositories (download all repositories)
Post: RE: Git clone all of a Github user's public reposi...
Hey Axel that's really neat! One funny thing is that we also both made a GUI youtube downloader haha.
I have only tried making GUIs with Tkinter. I once tried PyQT but had some issues. I was trying t... |
|
rootVIII |
Code sharing |
31 |
11,786 |
Aug-10-2019, 04:10 PM |
|
|
Thread: random two-word domain name generator
Post: random two-word domain name generator
Here is the repo if you are bored and/or interested: domain_gen
I used the Godaddy API in order to report pricing... The API has some pretty tough request limits. So the program runs on a sort of "ti... |
|
rootVIII |
Code sharing |
0 |
2,116 |
Aug-06-2019, 03:15 AM |
|
|
Thread: understanding output of bytes/raw data
Post: RE: understanding output of bytes/raw data
both great answers thank you |
|
rootVIII |
General Coding Help |
3 |
2,767 |
Aug-01-2019, 01:00 PM |
|
|
Thread: understanding output of bytes/raw data
Post: understanding output of bytes/raw data
I can see that the output of this has some interesting info... such as Created With Gimp **biggrin** How can I extract useful information out of s[6]? Or is that just the image data itself? What do t... |
|
rootVIII |
General Coding Help |
3 |
2,767 |
Aug-01-2019, 05:01 AM |
|
|
Thread: Git clone all of a Github user's public repositories (download all repositories)
Post: RE: Git clone all of a Github user's public reposi...
for the logging.. yes.. actually now that I think about it a lot of it is still string formatted. If the old string formatting was removed, would something like this be invalid too?
formatter = loggi... |
|
rootVIII |
Code sharing |
31 |
11,786 |
Jul-20-2019, 07:48 PM |
|
|
Thread: Git clone all of a Github user's public repositories (download all repositories)
Post: RE: Git clone all of a Github user's public reposi...
Well that's a good point. But Python2 sometimes gives warnings that the os.popen() method will soon be obsolete, and I've seen other moderators on this site still using it... but it hasn't gone obsole... |
|
rootVIII |
Code sharing |
31 |
11,786 |
Jul-20-2019, 06:24 PM |
|
|
Thread: Git clone all of a Github user's public repositories (download all repositories)
Post: RE: Git clone all of a Github user's public reposi...
No offense but the newer format method looks like garbage to me haha...
As far as readability goes... I don't like this (although I can see that it's powerful for formatting/aligning):
'some data: {... |
|
rootVIII |
Code sharing |
31 |
11,786 |
Jul-20-2019, 05:59 PM |