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,569

Full Statistics

Online Users
There are currently 49 online users.
» 0 Member(s) | 43 Guest(s)
Google, Bing, Mojeek, AOL

Latest Threads
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: Gribouillis
1 hour ago
» Replies: 4
» Views: 120
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Today, 03:05 AM
» Replies: 4
» Views: 2,023
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,075
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,135
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 805
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 3,093
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,540
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 9,127
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,586

 
  Pass command line argument with quotes
Posted by: koticphreak - May-31-2019, 10:25 PM - Forum: General Coding Help - Replies (3)

I'm relatively new to Python and have googled around enough to understand in general how to use os.system and subprocess, but struggling to essentiall..... More

Print this item

  Can't import the CSV module
Posted by: loren41 - May-31-2019, 10:02 PM - Forum: General Coding Help - Replies (1)

Can't import the CSV module. Error says "No module named CSV"
Using Sublime Text as my editor. Do I need to include a path name somewhere?

Print this item

  XlsxWriter: How can I append new data into not blank cells?
Posted by: aquerci - May-31-2019, 08:15 PM - Forum: General Coding Help - Replies (1)

to understand better what I want to do, I'll show you a simple example. following a little script to create an excel file named "test.xlsx" via XlsxWr..... More

Print this item

  Analyzing large text file with nltk.corpus (stopwords )
Posted by: Drone4four - May-31-2019, 07:25 PM - Forum: General Coding Help - Replies (9)

I’ve got a script which @snippsat helped me with previously which rank..... More


Attached Files

.txt   Alice.txt (Size: 159.97 KB / Downloads: 2002)
Print this item

  Print a JSON file
Posted by: mrobie - May-31-2019, 07:00 PM - Forum: General Coding Help - Replies (5)

I would like to print just the date and value?
[python]
import json

# read file
with open('resting_heart_rate-2014-02-28.json') as json_file:
..... More

Print this item

  Help with bullet travel
Posted by: GalaxyCoyote - May-31-2019, 06:38 PM - Forum: General Coding Help - Replies (8)

I am making a simple CTF game and the bullets aren't travelling, could someone help me?

[python]Blue_direction = 0
Red_direction = 0
game = True..... More

Print this item

  Find a substring in a dictonary; value substring of key
Posted by: aapurdel - May-31-2019, 06:00 PM - Forum: Homework - Replies (2)

Question: Find a substring

You are given a dictionary of the US states and their capitals (my actual list is larger than provided below). The keys ..... More

Print this item

  To Copy text values to Excel using Python
Posted by: ksasi2k3 - May-31-2019, 04:44 PM - Forum: General Coding Help - Replies (16)

I am using Python to copy values from Text file to excel, able to succeed in that but the problem is that when pasting values to excel the existing fo..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Parse Markdown / get the ... 1 hour ago SpongeB0B Gribouillis 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... 501028
  Web Scraping ... 441079
  Newbie with P... 385147
  New Users Int... 369747
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 7371
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