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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,303
» Latest member: IFDA123
» Forum threads: 38,798
» Forum posts: 175,906

Full Statistics

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

Latest Threads
No new line from print in...
Forum: General Coding Help
Last Post: snippsat
1 hour ago
» Replies: 4
» Views: 112
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
8 hours ago
» Replies: 4
» Views: 148
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Today, 04:44 AM
» Replies: 8
» Views: 665
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Yesterday, 04:48 AM
» Replies: 6
» Views: 7,811
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 144
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 128
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Nov-26-2025, 08:47 AM
» Replies: 3
» Views: 208
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Nov-26-2025, 04:40 AM
» Replies: 6
» Views: 3,217
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 318
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 210

 
  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

  Integrating Python Script for Android App
Posted by: everythingisenergy - Jan-15-2019, 07:39 PM - Forum: General Coding Help - No Replies

Hello all,

I am trying to integrate a python script into an Android App. I have found there are many ways to go about this. I started with, and am ..... More

Print this item

  How to ask Smart Questions (thread title expansion)
Posted by: metulburr - Jan-15-2019, 05:51 PM - Forum: Board - Replies (3)

This goes hand in hand in relation to this help doc. This is more focused on the thread..... More

Print this item

  Help about a function
Posted by: walernor - Jan-15-2019, 05:34 PM - Forum: General Coding Help - Replies (2)

Hi to everyone,

I have a question. I have a game map and 5 monsters. I want all my monsters born on the "dirt" not on the rock or water and I have..... More

Print this item

  Script for untagged resources in aws
Posted by: jutler - Jan-15-2019, 05:22 PM - Forum: General Coding Help - Replies (1)

Hi all,
Im wondering if someone can please please help me. I am trying to achieve the following. I want to create a python script which will even..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... 1 hour ago Lou snippsat General Codin...
  Python is not working on ... 8 hours ago lary_p noisefloor General Codin...
  Help with Serial.write in... Today, 04:44 racingsubby Larz60+ General Codin...
  Can I develop a live vide... Yesterday, 04:48 mtrkhan mamta25 Web Scraping ...
  silent deployment Python ... 11-26, 21:58 Bummibaer Larz60+ News and Disc...
  Proposal for PEP 11-26, 15:53 matt Gribouillis News and Disc...
  My regex function is not ... 11-26, 08:47 Moltar1997 perfringo General Codin...
  best way to learn python 11-26, 04:40 dutch ichsanputr News and Disc...
  data fetching for indian ... 11-25, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
Most views
  The best Prog... 579457
  Tutorial Requ... 512616
  Web Scraping ... 442321
  Newbie with P... 386373
  New Users Int... 380660
Most reputation
buran 581
snippsat 511
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12113
buran 8196
snippsat 7391
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
IFDA123 Today
TimTom420 Yesterday
cruisesfares Yesterday
SNR Yesterday
Jonathan Yesterday

User Panel Messages

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