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,968
» Latest member: Seu12Jorge
» Forum threads: 38,730
» Forum posts: 175,550

Full Statistics

Online Users
There are currently 44 online users.
» 1 Member(s) | 33 Guest(s)
Google, Bing, Apple, AOL, Twitter, AOL, Pedroski55

Latest Threads
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
6 hours ago
» Replies: 6
» Views: 343
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
10 hours ago
» Replies: 7
» Views: 2,792
My goal to be hired worki...
Forum: News and Discussions
Last Post: Larz60+
Sep-27-2025, 11:58 PM
» Replies: 1
» Views: 656
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,192
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 8,753
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
Sep-27-2025, 03:54 AM
» Replies: 3
» Views: 646
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,140
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,120
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,406
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Sep-26-2025, 09:50 AM
» Replies: 1
» Views: 1,969

 
  ZeroDivisionError
Posted by: CIVILmath - Jan-17-2019, 12:58 AM - Forum: General Coding Help - Replies (2)

Hey all, I just started coding a few days ago and I'm trying to make a calculator to solve Cramer's rule. I wrote a code that takes values from a user..... More

Print this item

  sample GUI programs/scripts
Posted by: Skaperen - Jan-16-2019, 11:57 PM - Forum: GUI - Replies (5)

i am looking for sample GUI programs/scripts that a coded only in Python (as are any modules or libraries it uses beyond core graphical components). ..... More

Print this item

  What is the best IDE
Posted by: Trinx - Jan-16-2019, 11:26 PM - Forum: News and Discussions - Replies (35)

What IDE is the best one to use and why?

Print this item

  Pizza Ordering Program
Posted by: Trinx - Jan-16-2019, 11:14 PM - Forum: Code sharing - Replies (5)

I finally finished this program today! Tell me what you think of it and how I could make it better. Thanks!

[python]
""" Scripted by Trinx """
#F..... More

Print this item

  Problem installing numpy and matplotlib
Posted by: achondrite - Jan-16-2019, 10:41 PM - Forum: General Coding Help - Replies (1)

Hi!
I´m new to Python and I want to learn to plot charts in Python. But I have difficulties to install numpy and matplotlib. I use Pycharm and I have..... More

Print this item

  IndexError: list index out of range
Posted by: abdullahali - Jan-16-2019, 10:24 PM - Forum: Homework - Replies (4)

[python]
N = 3

# Returns true if square is magic
# square, else returns false.
def is_magic(square):
# calculate the sum of
# the prim..... More

Print this item

  Rounding/Truncating Numbers
Posted by: Trinx - Jan-16-2019, 09:20 PM - Forum: General Coding Help - Replies (3)

How do I format a variable to a standard money format? This is what I am currently doing:

[python]
total = 214.5467
print('Your total is: $' + st..... More

Print this item

  non-coder asking for coder input on domain dropcatching
Posted by: randomguy - Jan-16-2019, 08:43 PM - Forum: General Coding Help - No Replies

Hello everyone.

I am not a coder, but I sometimes pay programmers to do work for me. I need all the info I can gather from any generous strangers. ..... More

Print this item

  Extracting a portion of a text document
Posted by: alarcon032002 - Jan-16-2019, 08:40 PM - Forum: General Coding Help - Replies (8)

I am working in a small project where I need to extract a nucleotide portion from a bacterial genome. The bacterial genome has 30000000 characters and..... More

Print this item

  Issue with plotting
Posted by: Dmorgan24 - Jan-16-2019, 07:57 PM - Forum: Homework - Replies (3)

Hello, I am making a plot to contrast Planks law with Weins and Rayleigh-Jeans` versions. I am currently having an issue with the Rayleigh-Jeans plo..... More

Print this item

  Packt sale python books $5.00
Posted by: Larz60+ - Jan-16-2019, 07:13 PM - Forum: News and Discussions - No Replies

For those who are unaware, the packt sale continues: https://search.packtpub.com/?query=pytho...=Available
Non pyth..... More

Print this item

  Django Developer at Straits Interactive
Posted by: djangojobs.net - Jan-16-2019, 06:59 PM - Forum: Jobs - Replies (1)

Django Developer at Straits Interactive

About Us:
Straits Interactive delivers end to end governance, risk and compliance solutions that enable bu..... More

Print this item

  GPA Calculator
Posted by: Aldmonjoy - Jan-16-2019, 06:43 PM - Forum: General Coding Help - Replies (1)

Hello! I am new to Python and am trying to make a GPA calculator. I have what it should look like in my head but don't know how to actually do it. I w..... More

Print this item

  whatsapp messages using python
Posted by: anubhav51 - Jan-16-2019, 06:24 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi

I am a beginner to the python world, I need to write a program that can send automated
whatsapp messages(both text & jpeg) using python but I ..... More

Print this item

  Pyinstaller failing
Posted by: JP_ROMANO - Jan-16-2019, 05:28 PM - Forum: General Coding Help - Replies (2)

Hello ...

Finally finished a script that I want to convert to .exe using Pyinstaller, as I've done in the past. However, when I run it, the same ..... More

Print this item

  SyntaxError when i used interpreter
Posted by: hydor - Jan-16-2019, 05:26 PM - Forum: General Coding Help - Replies (6)

Hi.
I'm just a beginner, and I have a problem that I couldn't understand the reason.

[python]f = open ("C:/doit/newfile.txt", 'w')
for i in rang..... More

Print this item

  sQlite3 output to tkinter treeview - how do I set / increase width of the output?
Posted by: dewijones67 - Jan-16-2019, 04:48 PM - Forum: GUI - Replies (5)

Hello,
Brand new to posting in this forum so hello all.

I do not seem to be able to increase the width of the output from an sQlite3 DB table.
Th..... More

Print this item

  OverflowError: cannot fit 'int' into an index-sized integer
Posted by: vipinv23 - Jan-16-2019, 04:42 PM - Forum: General Coding Help - Replies (2)

Hello
I am running a simple audio read program:

import matplotlib.pyplot as plt
import scipy.io.wavfile
rate, data = scipy.io.wavfile.read('file..... More

Print this item

  Client closing websocket connection - proof of concept
Posted by: rmattos - Jan-16-2019, 03:21 PM - Forum: Web Scraping & Web Development - No Replies

I am trying just to do a "proof of concept". My goal is to create a web GUI with buttons that when pressed will trigger the send of a command to a pie..... More

Print this item

  os.system("netsh interface set interface 'Wi-Fi' enabled")
Posted by: aniyanetworks - Jan-16-2019, 03:02 PM - Forum: General Coding Help - Replies (12)

Hello Everyone,
I am running the following code, to disable my Wireless network card.

[python]import os
os.system("netsh interface show interfac..... More

Print this item

  General query regarding conversion of dict to class object
Posted by: saisankalpj - Jan-16-2019, 01:58 PM - Forum: General Coding Help - No Replies

i have a object of type class<'postdata'>
This object contains details of a person
Now to convert this object to string.I have tried [python]json.dump..... More

Print this item

  Guizero HX711 Load Cell and python3 stdout?
Posted by: Tesla - Jan-16-2019, 12:20 PM - Forum: General Coding Help - Replies (1)

Hi, im after a bit of help, ive been playing around with a couple of bits of code and im really struggling getting the two to work together, i have ma..... More

Print this item

  Spreadsheet to dictionary
Posted by: Gribouillis - Jan-16-2019, 11:17 AM - Forum: Code sharing - Replies (1)

There are probably many ways to convert a spreadsheet to a python dictionary, here is another one. It uses Libreoffice's soffice command to convert th..... More

Print this item

  assigning two function for a single button
Posted by: prawesh05 - Jan-16-2019, 11:15 AM - Forum: GUI - Replies (3)

How would I be able to assign two function to a single button so they execute one function on the first pressing and execute the second function on se..... More

Print this item

  Button class still not working?
Posted by: mzmingle - Jan-16-2019, 10:56 AM - Forum: Game Development - Replies (3)

Hi - me again haha,

I sorted out my button class somewhat, so it now works to an extent. However, I now have the issue that whenever I click one bu..... More

Print this item

  assert
Posted by: Naito - Jan-16-2019, 10:52 AM - Forum: General Coding Help - Replies (1)

hello! i have a problem assertions can you help me please?
in this code assert statement is always raised as true even if the condition is not me
[pyt..... More

Print this item

  Make panda dataframe output pretty
Posted by: carstenlp - Jan-16-2019, 09:44 AM - Forum: Data Science - Replies (2)

Hi everyone

I got a bit further on my project that i got some help to in here: https://python-forum.io/Thread-Make-a-ta...son-output

No..... More


Attached Files

Thumbnail(s)
   
Print this item

  Call and execute methods from a list
Posted by: asheru93 - Jan-16-2019, 08:22 AM - Forum: General Coding Help - Replies (2)

In command line I give as arguments script --args startApp() login() buyProduct() for example. I have a method that generates a list by given args wic..... More

Print this item

  Merge 2 Excel in a specific format
Posted by: Apython - Jan-16-2019, 07:26 AM - Forum: General Coding Help - No Replies

hi i am new python begineer need some suggestion to merge two excel

excel 1

Emp name Emp salary Emp age Emp dept
John 1000 25 ..... More

Print this item

  port scanner
Posted by: rootVIII - Jan-16-2019, 05:25 AM - Forum: Code sharing - No Replies

repo is here. There is a multi-threaded version as well as the multi-process version shown below...... More

Print this item

  Call a variable
Posted by: jmf08 - Jan-16-2019, 03:48 AM - Forum: General Coding Help - Replies (16)

Instead of calling a variable , the whole method is being called. Is there something I need to change to call only the variable 'add'?
I just want t..... More

Print this item

  Remove object
Posted by: jmf08 - Jan-16-2019, 03:40 AM - Forum: General Coding Help - Replies (5)

Can any1 help me with my code? I cant remove object inside of my list. And how to update them.

[python]import pickle
from module2 import cmod2
planne..... More

Print this item

  I need help debugging a class.
Posted by: knightwatch - Jan-16-2019, 01:52 AM - Forum: General Coding Help - Replies (2)

I am making a game, and I am having an error when I utilize a specific class. [Python]battle = battle("Player", activeplayer.stats["hp"], activeplayer..... More

Print this item

  Django Encore
Posted by: yehors - Jan-16-2019, 12:24 AM - Forum: Code sharing - No Replies

Hello, everybody Wink

Today I've created Django Encore project. The repository is here - https://github.com/egorsmkv/django-encore

..... More

Print this item

  Can't Resolve Webscraping AttributeError
Posted by: Hass - Jan-15-2019, 08:03 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi,

The following code is meant to get table for "IFPI 2014 data" and put it in a csv file.
Although the csv file is being created but there is no..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Comparing 2 100GB Drives/... 6 hours ago tester_V snippsat General Codin...
  Select Python comment (#)... 10 hours ago SpongeB0B tester_V General Codin...
  My goal to be hired worki... 09-27, 23:58 GnomeSweetGnome Larz60+ News and Disc...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  Unable to resolve FileNot... 09-27, 03:54 llarkin6 Pedroski55 General Codin...
  [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...
  Using Python to SSH and R... 09-26, 03:53 justaguy SprunkiRetake Networking
Most views
  The best Prog... 577282
  Tutorial Requ... 500403
  Web Scraping ... 440963
  Newbie with P... 384990
  New Users Int... 369375
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+ 12089
buran 8176
snippsat 7369
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Seu12Jorge Yesterday
seomelbourneaustralia Yesterday
Jacobjoift Yesterday
zalexstolzeoz5360 Yesterday
Edzed4431 09-27

User Panel Messages

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