Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,977
» Latest member: stephaniehendrix
» Forum threads: 38,732
» Forum posts: 175,563

Full Statistics

Online Users
There are currently 38 online users.
» 1 Member(s) | 32 Guest(s)
Applebot, Bing, AOL, Google, bowlofred

Latest Threads
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
9 hours ago
» Replies: 2
» Views: 224
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Today, 12:21 AM
» Replies: 2
» Views: 853
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 05:45 PM
» Replies: 6
» Views: 901
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 12:59 PM
» Replies: 8
» Views: 594
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 2,945
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,358
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 8,935
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,364
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,279
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,605

 
  Matplotlib 3d voxels animation
Posted by: jasiekkm - Apr-07-2019, 07:44 AM - Forum: General Coding Help - No Replies

What I will asked for is that I would like to animate such an example of matplotlib 3d voxels (https://matplotlib.org/gallery/mplot3d/voxels_numpy_log..... More

Print this item

  I converted string to 'list', but it doesn't look like a list!
Posted by: mrapple2020 - Apr-07-2019, 03:02 AM - Forum: General Coding Help - Replies (3)

Goal: If I find "FP-X" in the string below, I need to retrieve the string on the left of "FP-X" label.
Like retrieve in this example "0/1/CPU0", "0/5..... More

Print this item

  How do I split a large array into smaller sub-arrays?
Posted by: codebeacon - Apr-07-2019, 02:51 AM - Forum: General Coding Help - Replies (3)

Hi,

I was wondering how I could split a large array into smaller chunks?

For example:

[python]
arr = ["hello", "my", "name", "is", "name",..... More

Print this item

  I always get 'None' returned. Confused. What did I miss?
Posted by: jpezz - Apr-07-2019, 01:37 AM - Forum: General Coding Help - Replies (2)

[python]import random


# Morse Code string translator
# delimited with spaces for characters, and / for words
# format example "HELLO WORLD": ....... More

Print this item

  SSL Handshare Errors
Posted by: RebelCoder - Apr-07-2019, 01:27 AM - Forum: Networking - Replies (2)

Hello everyone!

I am trying to access some DB with requests, and this code worked about a month ago:

[python]
print(f"\n[Protein function based..... More

Print this item

  looking fo an expression that yields a dictionary without an item
Posted by: Skaperen - Apr-06-2019, 11:42 PM - Forum: General Coding Help - Replies (5)

i am wanting to make an expression (method call?) that given a dictionary (or set or frozenset), and a hashable value, makes a shallow copy of the dic..... More

Print this item

  Huge code problems (buttons(PyQt5),PyQt5 Threads, Windows etc)
Posted by: ZenWoR - Apr-06-2019, 11:15 PM - Forum: GUI - No Replies

Button reacts like it's pressed... but window's not opened...

New window (with that button) won't open after function (in a Thread Class)...

See..... More

Print this item

  I don't think I understand the basics of tkinter!
Posted by: jpezz - Apr-06-2019, 09:20 PM - Forum: GUI - Replies (6)

The documentation doesn't help!

If I have (forget the variables except the ones I need help with and not all statements are shown):
[python] root ..... More

Print this item

  [split] University Assignment Help needed
Posted by: Nomathemba - Apr-06-2019, 08:30 PM - Forum: Homework - Replies (2)

I am trying the above code for my assignment. It's giving me error message saying invalid syntax. On the second line

Print this item

  Help with regex please
Posted by: mrapple2020 - Apr-06-2019, 08:09 PM - Forum: General Coding Help - Replies (1)

Hello, if possible can someone assist to draft the following regex. I could first retrieve everything after "Outgoing Interface" like I did below. The..... More

Print this item

  Guidance for how to monitor for a change in a bit state from a hex value
Posted by: FP4A - Apr-06-2019, 07:13 PM - Forum: General Coding Help - Replies (3)

Hello,
I am starting to learn Python, but i come from a controls background.
I have a Beaglebone and just for fun i am using a CanOpen interface wit..... More

Print this item

  Help (Syntax error)
Posted by: Vqlk - Apr-06-2019, 06:24 PM - Forum: General Coding Help - Replies (1)

This code is not working:
[python]import time
guess = ''
answer = ''
points = 0
lives = 9
heart = u"\u2661"
def correct():
points += 1
..... More

Print this item

  Visual Studio 2019 and Neuron
Posted by: JamesBrown - Apr-06-2019, 05:12 PM - Forum: GUI - No Replies

I am trying to use VS 2019 Community for Python. I have it up and running but am having trouble loading the NEURON (7.2536.15) package.
It is in my l..... More

Print this item

  Trouble writing over serial
Posted by: EngineerNeil - Apr-06-2019, 05:04 PM - Forum: General Coding Help - Replies (1)

Hello all,

I am trying to get my BeagleBone Black to communicate with a Microcontroller (CC1310 Launchpad) over serial.
When I connect the Microc..... More

Print this item

  Simplifying a rather short code
Posted by: schniefen - Apr-06-2019, 04:38 PM - Forum: Homework - Replies (1)

The code below represents plotting the real and imaginary part of a complex number, given by the function r*np.exp(x*1j), where r and x are fixed in t..... More

Print this item

  Creating a Mindmap program
Posted by: J_Miller - Apr-06-2019, 03:23 PM - Forum: General Coding Help - Replies (4)

Hello !

To go forward in my programming journey I'd like to start some serious practice by creating a mindmap program (..... More

Print this item

  what IDE for windows
Posted by: MrMajorThorburn - Apr-06-2019, 01:49 PM - Forum: News and Discussions - Replies (2)

I have been using AutoHotKey for running a game simulating a player.
This has been reasonably successful but have come up with some problems that I c..... More

Print this item

  Get variable from another class
Posted by: Golfball2k6 - Apr-06-2019, 12:46 PM - Forum: General Coding Help - Replies (1)

Very new to Python and programming in general. I've watched videos and read tutorials about class variables, but I can't get it through my head how to..... More

Print this item

  Getting error "Type error-a bytes-like object..."
Posted by: mrapple2020 - Apr-06-2019, 07:04 AM - Forum: General Coding Help - Replies (1)

Script explanation: I connect to network routers. I execute 3 commands and save output for later examination.

Problem:
I am getting an error rela..... More

Print this item

  Using Data from an Array
Posted by: Tomington - Apr-06-2019, 06:45 AM - Forum: Homework - Replies (1)

G,Day everyone :)

so my class has been given a assignment to make a currency converter. what we are asked to do is. read data from csv file and get a..... More

Print this item

  Subtacting times
Posted by: Confused - Apr-06-2019, 02:31 AM - Forum: Homework - Replies (2)

2. Write your code to calculate an array called **opening_duration_list**
that stores the opening duration of all medicare offices.
Store the a..... More

Print this item

  what does # -*- mean?
Posted by: Skaperen - Apr-06-2019, 02:05 AM - Forum: News and Discussions - Replies (5)

i see this a lot and even use it myself:

# -*- coding: utf-8 -*-
i would like to know what the -*- part means, or at lea..... More

Print this item

  Need help.
Posted by: msp1981 - Apr-06-2019, 01:26 AM - Forum: Homework - Replies (5)

Below, is an assignment I was given, first of all I'm no where near this level in math yet but the math operation line for this should be something li..... More

Print this item

  Packaging a single module(file) with a non-code file
Posted by: runsun - Apr-06-2019, 12:31 AM - Forum: General Coding Help - Replies (2)

I'm trying to package my single-file tool with a README.md file for [font=Courier New, Courier, monospace..... More

Print this item

  Time question
Posted by: Confused - Apr-05-2019, 04:30 PM - Forum: Homework - Replies (11)

1. Define a function called compute_opening_duration to calculate the duration of the opening time.
The function takes two strings: the opening ti..... More

Print this item

  pool map cycle
Posted by: skorost5 - Apr-05-2019, 04:27 PM - Forum: General Coding Help - Replies (5)

Trying to run twice pool map cycle.
[python]
from multiprocessing import Pool
b=["0","0","0","0","0","0"]

def f©:
b[5]=c
return b
f..... More

Print this item

  Need help getting the output
Posted by: aankrose - Apr-05-2019, 04:13 PM - Forum: General Coding Help - Replies (8)

[python]
S = input('Please enter something : ')

S = int(S)

T = S
for i in range(S+1):
T = S - T
for j in range(T):
T = T - 1
..... More

Print this item

  Please check code
Posted by: Evgeniy2019 - Apr-05-2019, 04:07 PM - Forum: Homework - Replies (4)

The program below implements computer
assistant, who asks the user day, month
and year of birth, and then display the age in years, months, and
day..... More

Print this item

  Why thread and queue only process the last row
Posted by: kinojom - Apr-05-2019, 03:08 PM - Forum: General Coding Help - No Replies

[python]
CSv
date,ref_num,desc,debit,credit,payee_id,code,name

2019-01-31,L00001,john,30.00,,150,500,johnkino
2019-01-31,L00001,john,,30..... More

Print this item

  Trouble Understanding Why This Code Works
Posted by: crocolicious - Apr-05-2019, 02:48 PM - Forum: General Coding Help - Replies (2)

Hello Community,
I'm studying a practice exam and the following question does not make sense to me. The answers have been provided but I'm still uns..... More

Print this item

  Working with date indexes (pandas)
Posted by: dervast - Apr-05-2019, 01:29 PM - Forum: Data Science - No Replies

Hi all,
I have a dataset with time stamps and I am happy that I can use timestamps as indexes.
I have an issue though that I do not know how, I can..... More

Print this item

  Tried everything
Posted by: Confused - Apr-05-2019, 01:27 PM - Forum: Homework - Replies (6)

Sorry for asking really simple questions. I've been trying for hours with no luck.

1. Print the number of unique stations

[python]import numpy a..... More

Print this item

  Changing small letter.
Posted by: pawlo392 - Apr-05-2019, 12:49 PM - Forum: Homework - Replies (1)

I want to write generator, which will be change the first letter of the names from list. I have to use "for" and "yield". I thought about something li..... More

Print this item

  Access-Control Tracker - My Tkinter GUI...
Posted by: Ceegen - Apr-05-2019, 12:04 PM - Forum: Code sharing - Replies (1)

This is the full code thus far of something I am working on right now.
Would love a critique and suggestions for improvements.
Been attempting to lear..... More

Print this item

  Process finished with exit code -107374819 (0xC0000375)
Posted by: mrazko - Apr-05-2019, 11:16 AM - Forum: General Coding Help - Replies (2)

Hi.
Please I would like to ask you for help. I'm getting this exit code: Process finished with exit code -107374819 (0xC0000375). Is it possi..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Integer Factorization Too... 9 hours ago fosuwxb buran Code sharing
  My goal to be hired worki... Today, 00:21 GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... Yesterday, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... Yesterday, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... 09-26, 09:50 P212 Biks News and Disc...
Most views
  The best Prog... 577368
  Tutorial Requ... 500740
  Web Scraping ... 441023
  Newbie with P... 385069
  New Users Int... 369590
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12091
buran 8178
snippsat 7370
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
stephaniehendrix Today
Williamcaurb Today
Schirag Today
Jacobjoift Today
sophielane Yesterday

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020