Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: User management library?
Post: User management library?
Hi there. Just wondering if there is a user management library anywhere, adding users, changing groups etc. I'm specifically interested in Debian/Raspbian support.
I could create my python with man... |
|
MuntyScruntfundle |
General Coding Help |
0 |
1,455 |
Jan-14-2020, 02:01 PM |
|
|
Thread: String format checking?
Post: String format checking?
What's the most elegant solution for checking a string format where I need to match a single alpha then 3 numerics?
examples:
p130 is good.
130p is bad.
pg130 is bad.
p13 is bad.
p3p is bad.
So in t... |
|
MuntyScruntfundle |
General Coding Help |
1 |
2,430 |
Mar-06-2019, 11:53 AM |
|
|
Thread: pygame and shift branching?
Post: pygame and shift branching?
Sorry, I know this is another pygame problem, but I hope some kind person can help.
I can find examples on the google how to check for key presses such as a+Shift. I can't fond how to check for thes... |
|
MuntyScruntfundle |
Game Development |
2 |
3,417 |
Feb-23-2019, 12:27 PM |
|
|
Thread: Resource Monitoring
Post: Resource Monitoring
Hi folks.
I've posted a similar question to this before, I've also spent a lot of time looking for answers and haven't found anything that fits the bill yet.
If you have a quick look at Windows reso... |
|
MuntyScruntfundle |
General Coding Help |
1 |
47,312 |
Feb-20-2019, 05:09 PM |
|
|
Thread: Multi connection socket server help!
Post: Multi connection socket server help!
If I have the following:
def Server():
host='0,0,0,0'
port=12345
print("Server....opening port " + str(host) + " " + str (port))
sock=socket.socket(socket.AF_INET, socket.SOCK_STREAM)
serverad... |
|
MuntyScruntfundle |
Networking |
0 |
2,712 |
Feb-19-2019, 12:03 PM |
|
|
Thread: Comms for multiple nodes.
Post: Comms for multiple nodes.
I need a socket server/client app which is a little unusual and I'm struggling to get my head around how it would work.
I have 128 nodes, all mini board pi Raspians, 8 stacks of 16 pis. Within each ... |
|
MuntyScruntfundle |
General Coding Help |
1 |
1,889 |
Feb-18-2019, 02:15 PM |
|
|
Thread: When are imports loaded?
Post: When are imports loaded?
If I have code that imports a couple of libraries I've put together, do they load to memory when the main thread starts, or when there is an actual call to the library?
Reason for asking, .I run my c... |
|
MuntyScruntfundle |
General Coding Help |
2 |
2,561 |
Feb-10-2019, 12:54 PM |
|
|
Thread: How to check hardware type?
Post: How to check hardware type?
Hi folks.
I'm currently needing to run some code on a Raspberry pi and a Tinker Board.
What's the best way to check which hardware the code is running on? This will only need checking at applet sta... |
|
MuntyScruntfundle |
General Coding Help |
4 |
3,018 |
Feb-09-2019, 01:33 PM |
|
|
Thread: Shifting items in a list?
Post: Shifting items in a list?
Hi folks.
If I have a list of say, 150 values, all floats, how would I shift them all one place to the left and lose the first value. So move 1 to 0, 2 to 1, 3 to 2 etc.
Many thanks. |
|
MuntyScruntfundle |
General Coding Help |
3 |
2,098 |
Feb-07-2019, 08:56 PM |
|
|
Thread: pygame and cProfile
Post: pygame and cProfile
How can I run cProfile on my apps that are pygame based? I get errors telling me there is no video large enough for((xxx,yyy))
How do I get around this?
Many thanks. |
|
MuntyScruntfundle |
General Coding Help |
0 |
1,442 |
Feb-06-2019, 07:00 PM |
|
|
Thread: Fixing indentation issues.
Post: RE: Fixing indentation issues.
There's definitely an extension issue.
On the MacBook half of my code is squiggly green with the warning "Spaces and tabs, expected spaces" although it's set to use tabs, not spaces. And on Windows ... |
|
MuntyScruntfundle |
General Coding Help |
9 |
4,194 |
Feb-02-2019, 12:27 PM |
|
|
Thread: Fixing indentation issues.
Post: RE: Fixing indentation issues.
Thanks folks, I will follow these steps and go through everything. I suspect it also has something to do with the python interpreters loaded into vs code, but I may be wrong.
Thanks again. |
|
MuntyScruntfundle |
General Coding Help |
9 |
4,194 |
Feb-02-2019, 09:51 AM |
|
|
Thread: Timer class not working as expected.
Post: RE: Timer class not working as expected.
Ahhhhh, crud. Sorry, I had missed that bit in your explanation.
Lesson lernt. Many thanks. :o) |
|
MuntyScruntfundle |
General Coding Help |
4 |
2,635 |
Feb-02-2019, 09:47 AM |
|
|
Thread: Timer class not working as expected.
Post: RE: Timer class not working as expected.
But if I put brackets on I get told the defd takes no arguments but I'm supplying 1.
That's what I thought, but it just won't have it. |
|
MuntyScruntfundle |
General Coding Help |
4 |
2,635 |
Feb-01-2019, 08:20 PM |
|
|
Thread: Timer class not working as expected.
Post: Timer class not working as expected.
Hi folks.
From what I can find on how to compare dates, basically use the < and >, and how to put a class structure together, the following should work. But it doesn't. If I check more than o... |
|
MuntyScruntfundle |
General Coding Help |
4 |
2,635 |
Feb-01-2019, 06:04 PM |
|
|
Thread: Fixing indentation issues.
Post: Fixing indentation issues.
Hi there.
I know this is an editor problem, not Python itself, but it's driving me nuts, it have have cropped up with other people and I'm interested in what they did.
I have built up a pretty big c... |
|
MuntyScruntfundle |
General Coding Help |
9 |
4,194 |
Jan-31-2019, 04:50 PM |
|
|
Thread: switch limitations
Post: switch limitations
Is it really not possible to switch on multiple conditions?
switch (id) {
case 1, 2, 3, 4, 17, 18, 19, 20:
print "first switch"
case 5, 21, 37, 53, 69, 85, 101, 117:
... |
|
MuntyScruntfundle |
General Coding Help |
3 |
2,370 |
Jan-25-2019, 05:15 PM |
|
|
Thread: Disk usage stats.
Post: RE: Disk usage stats.
Some interesting stuff, but sadly nothing that will do exactly what I need.
With a mixture of iotop atop ntop, etc I could get the numbers and calculate what I need, but that would be a real overhead... |
|
MuntyScruntfundle |
General Coding Help |
2 |
2,537 |
Jan-22-2019, 10:53 PM |
|
|
Thread: Disk usage stats.
Post: Disk usage stats.
Hi folks.
I'm using all the usual code to get the main disk usage info, how big is the disk, how much available etc. but how can I get a current overhead snapshot like you get with the cpu readings?
... |
|
MuntyScruntfundle |
General Coding Help |
2 |
2,537 |
Jan-22-2019, 08:47 PM |
|
|
Thread: Lots of text objects?
Post: Lots of text objects?
Hi there.
Im writing a monitor app, it gathers loads of data and gives a graphical representation. And, I'd like to add certain numbers as text. I'll need well over 100 different text objects.
So ... |
|
MuntyScruntfundle |
Game Development |
1 |
2,109 |
Jan-19-2019, 03:50 PM |