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,299
» Latest member: matt
» Forum threads: 38,796
» Forum posts: 175,893

Full Statistics

Online Users
There are currently 34 online users.
» 0 Member(s) | 29 Guest(s)
Google, Bing, Applebot, Google Image

Latest Threads
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
1 hour ago
» Replies: 3
» Views: 91
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
7 hours ago
» Replies: 1
» Views: 52
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Today, 08:47 AM
» Replies: 3
» Views: 132
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Today, 04:40 AM
» Replies: 6
» Views: 3,195
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Yesterday, 02:50 AM
» Replies: 6
» Views: 260
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 144
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 99
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,531
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 184
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 87

 
  Syntax Error : I can't identify what's wrong!
Posted by: caarsonr - May-31-2019, 04:16 PM - Forum: General Coding Help - Replies (11)

[python]# imports
import random
import time
from selenium import webdriver

class Commenter:
# declares variables for commentor script
def ..... More

Print this item

  Fantasy Name Generator
Posted by: ichabod801 - May-31-2019, 02:23 PM - Forum: Code sharing - Replies (2)

This is a fantasy name generator I wrote as part of a fantasy combat game I'm writing for t_games. We..... More

Print this item

  SSL: CERTIFICATE_VERIFY_FAILED
Posted by: alfaz619 - May-31-2019, 12:54 PM - Forum: Homework - Replies (4)

Hi,
I am trying to install Python package edgar using command pip

pip install edgar
But I am getting below mentioned error

..... More

Print this item

  help! function that checks if a file is a bed file, tips so i can code it myself
Posted by: lilyS - May-31-2019, 11:14 AM - Forum: Homework - Replies (1)

hey (:
(sorry for my spelling mistakes)
i got an assignment to write a function, the input will be a file of some sort and if its a bed type file i..... More

Print this item

  Creating new rows and adding them to empty data frame
Posted by: kapilan15 - May-31-2019, 10:19 AM - Forum: Data Science - No Replies

I have data frame(df1) of start and end dates look like this.
Start Date End Date
1875-01-01 1877-09-30
1881-07-01 1886-03-31
1888..... More

Print this item

  The combination of four columns in two.
Posted by: pawlo392 - May-31-2019, 09:13 AM - Forum: Data Science - Replies (2)

I have csv file with fake data. This is part:
[quote]Name1,Telephone1,Name2,Telephone2,Duration
Alice,085 646 4923,Shawn,085 388 3678,7
Derek,082 4..... More

Print this item

  AND Boolean operator syntax error
Posted by: jsb83 - May-31-2019, 06:49 AM - Forum: General Coding Help - Replies (3)

Hello I am very new to python, any help is much appreciated.

I am having problems with line 48 the AND logical operator keeps throwing up an "inva..... More

Print this item

  [Flask] No application found.
Posted by: SheeppOSU - May-31-2019, 02:44 AM - Forum: Web Scraping & Web Development - Replies (1)

I've looked around the web and got all the code from a tutorial I have been going through, but one of my lines isn't working. It is a problem with the..... More

Print this item

  exception name for a flagged stop
Posted by: Skaperen - May-31-2019, 01:14 AM - Forum: General Coding Help - Replies (1)

a few programs i wrote recently run indefinitely or for a very long time. since i don't want to kill them just anywhere, i have coded checks for a st..... More

Print this item

  [flask] mail.send giving error
Posted by: SheeppOSU - May-30-2019, 06:49 PM - Forum: Web Scraping & Web Development - Replies (2)

I am getting an error from mail.send and I don't know why
[python]def send_email(user, Type):
if Type == 'reset':
token = user.get_rese..... More

Print this item

  Invoking function in if else statement, not working!
Posted by: ibaad1406 - May-30-2019, 06:32 PM - Forum: General Coding Help - Replies (13)

I am invoking a function header_gps,header_glonass etc. in if else statement but the variables defined in there seem not be stored as they should be. ..... More

Print this item

  Print with """
Posted by: Greatstillness - May-30-2019, 05:45 PM - Forum: General Coding Help - Replies (4)

Hi to everyone. I am absolute new in programming and Python. A started to learn it with one textbook, and one of the first exercises was printing mult..... More

Print this item

  A mutable string??
Posted by: silentknight85 - May-30-2019, 03:56 PM - Forum: General Coding Help - Replies (5)

Before I get going, I know strings aren't mutable, which is why I am perplexed. I was writing myself a simple example, to prove that strings aren't mu..... More

Print this item

  How to define a function that calculates the BMI from dataframe
Posted by: DavidGG - May-30-2019, 01:53 PM - Forum: General Coding Help - Replies (2)

I need to define a function that will calculate and return out of dataframe that includes columns "Height" and "Weight", the BMI of each row.

Here..... More

Print this item

  Unique Random ID on Table
Posted by: talius - May-30-2019, 12:25 PM - Forum: General Coding Help - Replies (2)

Hi all,
I'm new using Python and need help from you. I use pycharm to write code.
I need to generate an unique Random ID for each transaction i crea..... More

Print this item

  Web scraping doubt
Posted by: pixel_chick - May-30-2019, 11:23 AM - Forum: Web Scraping & Web Development - Replies (3)

I am trying to scrape a webpage using scrapy, i need to extract an email(text) from an image, the link is "https://profiles.viictr.org/display/MDANDER..... More

Print this item

  Python with Finance - i have no code but don't do it for me give me tips please
Posted by: Akainu - May-30-2019, 11:03 AM - Forum: Homework - Replies (1)

Hi,
As a student, I have been given this homework to run it on Python 3.6.
I have been trying to find a way to solve the problem, and i came up with..... More

Print this item

  How to extract different data groups from multiple CSV files using python
Posted by: Rafiz - May-30-2019, 10:31 AM - Forum: Data Science - Replies (3)

Stock Additions and Returns
Business Day Outlet Product Currency Amount Type

Seller: RSS
Date: 22/05/2019

Closing Balan..... More

Print this item

  Help in Class declaration
Posted by: KranthiYamanki - May-30-2019, 09:51 AM - Forum: General Coding Help - Replies (1)

I am new to Python.
I have written a class for declaration of a parabola. When i am trying to access the class it is showing the error " 'int' objec..... More

Print this item

  PLC software developmenr
Posted by: ajitnayak87 - May-30-2019, 08:44 AM - Forum: General Coding Help - Replies (2)

I AM NEW TO PYTHON IN SOFTWARE DEVELOPMENT , i NEED HELP IN SELECTING PROPER PACKAGES FOR PYTHON.

I WANTED TO BUILD APPLICATION USING LADDER LOGIC ..... More

Print this item

  [Flask]filter posts from list
Posted by: SheeppOSU - May-30-2019, 07:15 AM - Forum: Web Scraping & Web Development - No Replies

I need to filter through posts from a list of user names. I can't figure it out tough so I need some help. The other solution is removing certain post..... More

Print this item

  English interpretation of the following file handing snippet
Posted by: mortch - May-30-2019, 06:58 AM - Forum: General Coding Help - Replies (5)

update
After reading other posts in this subforum, I think my question might be better suited to general help, but I can't find the delete or move op..... More

Print this item

  I have homework that I've made no effort to show any code that I'm stuck on
Posted by: Ronaldinho - May-30-2019, 02:35 AM - Forum: Homework - Replies (1)

We have a sequence of N squares drawn side by side
side. Each square has an annotated natural number
inside him. Given the sequence of N squares and..... More

Print this item

  i am trying to web scrap this .asp
Posted by: nufan0000 - May-29-2019, 09:13 PM - Forum: Web Scraping & Web Development - Replies (1)

I am trying to web scrap all the data from this page but having issue, can someone help me out. Trying to get the motherboard and data from here.

..... More

Print this item

  Use nmap inside my python code to get supported cipher suites
Posted by: jimmeh - May-29-2019, 06:07 PM - Forum: General Coding Help - Replies (4)

I'm trying to use python to list ciphers supported by a server i.e google.com. I stumbled upon ..... More

Print this item

  Interpolate using multiple dataframes
Posted by: Lastwizzle - May-29-2019, 05:32 PM - Forum: Data Science - No Replies

I am trying to perform an interpolation based on the input data ( test_data_Inputs) on the test_data data frame. The way I have it set up now is I do ..... More

Print this item

  python csv
Posted by: KINGLEBRON - May-29-2019, 04:47 PM - Forum: Homework - Replies (9)

y the data for movies with a rank above 9 for a new file.

The dataset that im analyze contains rating on many movies obtained from IMDB.
The data..... More

Print this item

  Formule radioactive decay
Posted by: bghys - May-29-2019, 04:33 PM - Forum: General Coding Help - Replies (2)

Hello

Is there somebody who can help me to put the formula of radioactive decay into python?
I'm using PyCharm 2018.

I want to give the exact time a..... More

Print this item

  Decorating a class-help
Posted by: yoniker - May-29-2019, 03:55 PM - Forum: General Coding Help - Replies (1)

Hi!

I'm not too sure why the following code is working:

[python]
class Statics():
lock = threading.Lock()


def thread_safe(func):
..... More

Print this item

  read_csv error
Posted by: ilcaa72 - May-29-2019, 02:27 PM - Forum: General Coding Help - Replies (2)

here is my statement, and the error, the directory is correct, can you explian the issue? thanks

[python]import pandas as pd

file = "C:\Users\M..... More

Print this item

  pip install error sslError
Posted by: Stolaine - May-29-2019, 12:03 PM - Forum: News and Discussions - Replies (2)

I have installed python 3.7.3 and pip install is showing sslerror. this is the full error.
WARNING: pip is configured with locatio..... More

Print this item

  Delimited Values to ROW - Lucky Train ?
Posted by: karthi_python - May-29-2019, 11:20 AM - Forum: General Coding Help - Replies (1)

All,

I have an XML file which contains a tag called Relation. This tag will have Custom SQL Query something like below.


<relation connection='..... More

Print this item

  Dealing with Exponential data
Posted by: parthi1705 - May-29-2019, 10:07 AM - Forum: General Coding Help - Replies (11)

Having csv file with the value as below
2.22971E+15,2.20408E+15
while reading from csv able to read the data as
[b]'2229708157109627', '2204081406..... More

Print this item

  maintaining list order
Posted by: 3Pinter - May-29-2019, 09:44 AM - Forum: General Coding Help - Replies (13)

Simple comparison thingy. I have two lists and I want to compare if a value is larger than a value in the other list. The result is correct, however t..... More

Print this item

  timeit and scipy.sparse
Posted by: duyduy - May-29-2019, 09:37 AM - Forum: Homework - Replies (1)

How can I use scipy.sparse to find out how fast, when

•Inserting a new element in a matrix
•Summing up two matrices
•Multiplying a matrix with a ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  silent deployment Python ... 1 hour ago Bummibaer Larz60+ News and Disc...
  Proposal for PEP 7 hours ago matt Gribouillis News and Disc...
  My regex function is not ... Today, 08:47 Moltar1997 perfringo General Codin...
  best way to learn python Today, 04:40 dutch ichsanputr News and Disc...
  data fetching for indian ... Yesterday, 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
  My goal to be hired worki... 11-21, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... 11-20, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 11-20, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
Most views
  The best Prog... 579376
  Tutorial Requ... 512401
  Web Scraping ... 442293
  Newbie with P... 386343
  New Users Int... 380329
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+ 12111
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
matt Today
Divyakrishnan071 Today
ichsanputr Today
nicos18 Yesterday
Moltar1997 Yesterday

User Panel Messages

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