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,982
» Latest member: kyleconor797
» Forum threads: 38,733
» Forum posts: 175,567

Full Statistics

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

Latest Threads
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: SpongeB0B
4 hours ago
» Replies: 2
» Views: 102
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Today, 03:05 AM
» Replies: 4
» Views: 2,022
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Yesterday, 07:43 AM
» Replies: 2
» Views: 431
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Yesterday, 12:21 AM
» Replies: 2
» Views: 1,074
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,134
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 800
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 3,092
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,539
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 9,126
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,584

 
  Please HELP!
Posted by: Metallica0000 - Jan-23-2020, 01:14 AM - Forum: Homework - Replies (8)

Hey all!!

I am having so much trouble with running a code for my project in Statistics.

My teacher referred me to this site, seems like he doe..... More

Print this item

  Python script Server list - if condition error
Posted by: razor04 - Jan-22-2020, 10:20 PM - Forum: General Coding Help - Replies (12)

I have below script where I am getting error after executing. Can any help in resolving errors.

[python]
#!/usr/bin/env python

import os

ser..... More

Print this item

  how difficult its to move to Python 3.8 from Python 2.7
Posted by: dkirandasari - Jan-22-2020, 09:21 PM - Forum: General Coding Help - Replies (4)

Hello All,
I am working for a health insurance company as a python developer and we were using python 2.7 and willing to move to Python 3.8 as soon a..... More

Print this item

  requests issue with post on dot_net api
Posted by: Heinrich - Jan-22-2020, 08:15 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi,

my code is trying to upload a file and a data field to a .net API but I am getting an error (see below's output).
User enters the data and file ..... More

Print this item

  Parse data from downloaded html
Posted by: nikos48 - Jan-22-2020, 06:58 PM - Forum: Web Scraping & Web Development - Replies (7)

I want to extract from a directory (where i have stored my downloaded htmls), all the "executives". In this directory their are app 1.000 htmls stored..... More

Print this item

  Retrieving a value from a calendar with a single click
Posted by: LagratteCchouette - Jan-22-2020, 06:43 PM - Forum: GUI - Replies (4)

Hello,
I want to recover the date selected in the calendar which opens with a single click and as soon as I confirm with the OK button I can insert i..... More

Print this item

  could not convert string to float: C
Posted by: JamesW - Jan-22-2020, 05:50 PM - Forum: General Coding Help - Replies (2)

[quote]Recently I have been working on a code and got stuck for days on this error. Basically the program takes a students HTML Transcript and convert..... More

Print this item

  Problem with accepting multiple string inputs
Posted by: Ryan_Todd - Jan-22-2020, 04:54 PM - Forum: General Coding Help - Replies (5)

Hello guys,

Please see the below
[python]
my_name = input("What is your name? ")
my_secondname = input("What is your second name? ")
age = int(..... More

Print this item

  Memory Use in array
Posted by: fakka - Jan-22-2020, 04:31 PM - Forum: General Coding Help - Replies (11)

Hi all.
I have a loop that populates an array via a DB query of keys (short text) .... raw data size is [1580990412 bytes] => 1.5GB

[python]

myd..... More


Attached Files

Thumbnail(s)
   
Print this item

  If & Else statements not printing.
Posted by: blackjesus24 - Jan-22-2020, 04:27 PM - Forum: General Coding Help - Replies (3)

Hi fellow developers, so i just started coding with Python.

I am trying to print a " If or Else, statement " and is just not letting me ..... More

Print this item

  Imprt HTML table to array
Posted by: meleghengersor - Jan-22-2020, 04:15 PM - Forum: Web Scraping & Web Development - Replies (2)

I have this piece of code to extract a table from a Wikipedia article.

[python]import urllib.request
url = "https://en.wikipedia.org/wiki/List_of_Lo..... More

Print this item

  How to change 0 based indexing to 1 based indexing in python..??
Posted by: Ruthra - Jan-22-2020, 04:12 PM - Forum: General Coding Help - Replies (2)

Python works in 0 based index. I have tried to change the python to work in 1 based index.

python_file_A.py
[python]def __getitem__(..... More

Print this item

  Send email to gmail after user fill up contact form and getting django database updat
Posted by: Man_from_India - Jan-22-2020, 03:59 PM - Forum: Web Scraping & Web Development - No Replies

I created a django app where inside an HTML file I created a contact form. And when any user fill up the form and press submit button, django database..... More

Print this item

  [PySimpleGUI]Install package on Conda not up-to-date
Posted by: RayJohnson - Jan-22-2020, 02:59 PM - Forum: GUI - Replies (4)

Hi,

If I install PySimpleGUI using Conda in a Conda (Miniconda / Anaconda) environment, the installed version is 4.6.0, while the current version o..... More

Print this item

  How to read json hierarchical with NO fix attributes
Posted by: hpbr21 - Jan-22-2020, 02:31 PM - Forum: General Coding Help - Replies (1)

My Json is as below:

{"Parties":[{"PartyRoleCode":"Customer","PartyBECountry":"GB","PartyBECode":"PRIMARK","PartyBEFunction":"HQ"},{"PartyRoleCode"..... More

Print this item

  Plotting axes help
Posted by: StillAnotherDave - Jan-22-2020, 02:00 PM - Forum: Homework - Replies (11)

Hello,

The question states:

As we will later be acting on the coordinate axes with passive transformations, we will need to have our axes stored..... More

Print this item

  finding class with only part of the name
Posted by: zarize - Jan-22-2020, 01:56 PM - Forum: Web Scraping & Web Development - Replies (2)

hi guys,

Let's say that i have:

1st Case

<div>
<class: test-abc-1>
2nd Case
<div>
<class: test-abc-2>
How to tel..... More

Print this item

  What To Build ?
Posted by: MrGoat - Jan-22-2020, 01:21 PM - Forum: News and Discussions - Replies (1)

So I am learning Python and finished the Python module on Codeacademy ...

I would like to build some interesting project that has real-world applic..... More

Print this item

  Simple flask rest api problem
Posted by: cancerboi - Jan-22-2020, 11:59 AM - Forum: Web Scraping & Web Development - Replies (4)

I have to write flask app for my project. It's meant to get photo from user, then induce openCV class that detects objects in the picture.

I've wat..... More

Print this item

  Plot data from list.
Posted by: Makada - Jan-22-2020, 10:57 AM - Forum: General Coding Help - No Replies

Hi,

Id like to know how i can plot data from a list.
I know how to plot data which is on one line, like 1,2,3,4,5,6. But not in a list.
Example d..... More

Print this item

  Beginner question: lxml's findall in an xml namespace
Posted by: aecklers - Jan-22-2020, 10:53 AM - Forum: General Coding Help - No Replies

Hi all,

I just learned the python basics and so I'm pretty sure that I have overseen something pretty obvious. Due to the fact that I'm trying to f..... More

Print this item

Lightbulb how to get improve coverage while using coverage.py
Posted by: sami23 - Jan-22-2020, 10:47 AM - Forum: General Coding Help - No Replies

Hello,

I am having a hard time getting a grasp of coverage.py
I've made the mistake to start writing code one month ago and almost completed the..... More

Print this item

  Scope of variable when using two classes
Posted by: AyJay - Jan-22-2020, 09:08 AM - Forum: GUI - Replies (2)

I have written a program (Python V3.7.4) for a games timer and there is a bug in it that I have not been able to fix. It contains one instance of clas..... More

Print this item

  repeated method call
Posted by: berckut72 - Jan-22-2020, 08:12 AM - Forum: GUI - Replies (4)

Hello!
Have a nice day, everyone!
There was a problem: previously did
change of time by functions, without classes - everything worked well. I deci..... More

Print this item

  Regarding import library in two different program file
Posted by: Rohit - Jan-22-2020, 04:30 AM - Forum: General Coding Help - Replies (3)

Hi,
I wrote two Python programs. One program has a class definition and other program importing that class to access its attributes and methods. In bo..... More

Print this item

  Chinese coding language ‘Mulan’ found to be Python fork
Posted by: buran - Jan-22-2020, 04:30 AM - Forum: News and Discussions - No Replies

https://technode.com/2020/01/20/self-pro...of-python/

Print this item

  MySQLdb._exceptions.ProgrammingError: not enough arguments for format string.
Posted by: farah97 - Jan-22-2020, 03:49 AM - Forum: General Coding Help - No Replies

Hi...I have created a button to copy data from table1 to table2. The problem is I got this error:
[error]MySQLdb._exceptions.ProgrammingError: not en..... More

Print this item

  Database Submit Entry Syntax Error
Posted by: Melford - Jan-22-2020, 03:02 AM - Forum: GUI - Replies (27)

Hi, hopefully quick and simple; I'm currently trying to assign a preexisting button to an execute function which uploads data filled in via GUI to an ..... More

Print this item

  Problem keeping the window up
Posted by: benlyboy - Jan-22-2020, 02:31 AM - Forum: General Coding Help - Replies (11)

Hi I'm no coder I'm teaching my self python just for the fun of it. So forgive me if the is a ridiculous question but here goes.
What I'm trying to d..... More

Print this item

  Passing a function to another function
Posted by: yulfmd1802 - Jan-22-2020, 01:30 AM - Forum: Homework - Replies (3)

How do you pass a certain value from a function to another function? Previously I know how to pass a value from a function to the main() function. Att..... More

Print this item

  Endovia Alpha 1.100
Posted by: Uriel_Nicotine_Jeremy - Jan-22-2020, 01:14 AM - Forum: Code sharing - No Replies

I'm making a roguelike and the only thing you can do in the game is kill rodents. But it's the first alpha release. Click ..... More

Print this item

  Changing Column dtypes in DataFrame
Posted by: Scott - Jan-22-2020, 01:10 AM - Forum: Data Science - Replies (5)

Hi everyone,

I have a DF with roughly 700 columns. I'd like to create a loop which loops through columns updating dtype category columns to object ..... More

Print this item

  Scraping problems with Python requests.
Posted by: gtlhbkkj - Jan-21-2020, 10:52 PM - Forum: Web Scraping & Web Development - Replies (1)

solved

Print this item

  Requests scraping
Posted by: julio2000 - Jan-21-2020, 10:27 PM - Forum: Web Scraping & Web Development - Replies (6)

[python]
headers = {'User-Agent': 'IDK IF THIS IS SMART TO SHARE SO I'M NOT SHARING IT:)}
gourl = requests.get('https://www.jdsports.nl/product/wit-..... More

Print this item

  binning data
Posted by: stephd - Jan-21-2020, 09:45 PM - Forum: Homework - Replies (2)

Hi,

I need to use a function called 'bin_data(data, binsize)' to take a list of floats (stored in the variable 'data') and a float (stored in the ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Parse Markdown / get the ... 4 hours ago SpongeB0B SpongeB0B General Codin...
  Error: cannot mix str wit... Today, 03:05 ngregistrations Joliekeva General Codin...
  Integer Factorization Too... Yesterday, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... Yesterday, 00:21 GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... 09-29, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... 09-29, 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...
Most views
  The best Prog... 577449
  Tutorial Requ... 501006
  Web Scraping ... 441078
  Newbie with P... 385146
  New Users Int... 369741
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+ 12092
buran 8178
snippsat 7370
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
kyleconor797 Today
miriamwilliam Today
Davidkiplimo Today
Joliekeva Today
silversimon2 Yesterday

User Panel Messages

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