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,963
» Latest member: chaoh1911
» Forum threads: 38,729
» Forum posts: 175,540

Full Statistics

Online Users
There are currently 62 online users.
» 0 Member(s) | 51 Guest(s)
Applebot, Google, Bing, AOL, Mojeek, AOL, Facebook Dev

Latest Threads
My First App
Forum: Code Review
Last Post: carlbidwell
3 hours ago
» Replies: 8
» Views: 8,390
what does % stand for in ...
Forum: General Coding Help
Last Post: carlbidwell
4 hours ago
» Replies: 3
» Views: 1,774
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
10 hours ago
» Replies: 3
» Views: 289
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Yesterday, 05:13 PM
» Replies: 4
» Views: 719
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:17 PM
» Replies: 1
» Views: 795
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:14 PM
» Replies: 6
» Views: 5,043
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Yesterday, 09:50 AM
» Replies: 1
» Views: 1,685
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
Yesterday, 03:53 AM
» Replies: 1
» Views: 2,727
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Yesterday, 12:32 AM
» Replies: 0
» Views: 338
extracting data from a us...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-25-2025, 01:49 PM
» Replies: 2
» Views: 580

 
  beginning python help request (for loop)
Posted by: casey - Oct-26-2018, 07:06 PM - Forum: Homework - Replies (3)

Learning 'for' loops and having trouble wrapping my head around this one:

[python]
result = 1
for indx in range (10):
if (indx % 2 == 0): ..... More

Print this item

  Replacing NaN with list of numbers
Posted by: gregory67 - Oct-26-2018, 05:33 PM - Forum: General Coding Help - Replies (5)

#Here is the question:

### Write a function that takes two columns, 'age' and 'pclass', as input and depending on which pclass, if the age is NaN (..... More

Print this item

  Help with stripping output
Posted by: oldcity - Oct-26-2018, 03:55 PM - Forum: General Coding Help - Replies (6)

Using Linux Mint 18.2 and Python 2.7.12.
The routine runs fine the way it is. However the output is too busy with
characters " [] ' , ". I have..... More

Print this item

  Caesar cipher
Posted by: Drone4four - Oct-26-2018, 03:06 PM - Forum: Homework - Replies (19)

I’ve begun writing a basic Caesar cipher as part of a Udemy course by Jose Portilla that I am t..... More

Print this item

  A CLI based Rock,Paper or Scissor game.
Posted by: Ablazesphere - Oct-26-2018, 02:57 PM - Forum: Code sharing - Replies (7)

Please like my post if you did. Dance Dance

[python]
import time
import random

j = 0

choice = 'y' or 'n'
point_pc = 0
point_us..... More

Print this item

  Decorator and namespace.
Posted by: JayIvhen - Oct-26-2018, 01:59 PM - Forum: Homework - Replies (2)

So. This decorator works. It provides saving function retirned value between calls.

The probles is that in standart way how function works I think ..... More

Print this item

  Writing python function difficulty
Posted by: kirito85 - Oct-26-2018, 01:48 PM - Forum: Homework - Replies (5)

Hi, I need to write a Python function that takes in a list of numbers, and outputs them into two lists, one consisting of even numbers, and the other ..... More

Print this item

  creating a class.
Posted by: prathmesh - Oct-26-2018, 01:06 PM - Forum: General Coding Help - Replies (1)

Hello, I am trying to create a new class with the following code :
[python]class employee:

def __init__(self, first, sal):
self.first..... More

Print this item

  Python - Scrapy - Contains
Posted by: Baggelhsk95 - Oct-26-2018, 12:49 PM - Forum: Web Scraping & Web Development - Replies (3)

Lets say we have this html, and we wanted to say if the tr in td contains EAN:, Print me the 2nd td in the same element

[python]response.xpath('//st..... More

Print this item

  Hosting statistic tool on heroku with flask secure?
Posted by: Zoja - Oct-26-2018, 11:47 AM - Forum: Web Scraping & Web Development - Replies (1)

Hello!

I am working on a statistic tool for our company, millions of datasets. Now I need to upload the project, so all company members can request..... More

Print this item

  Web page Extractor
Posted by: sathiyarajmca - Oct-26-2018, 11:08 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi All,

I am trying to read the web page from the given URL and search for a particular text in that page.
I am using beautifulsoup to achieve..... More

Print this item

  Python - control a webbrowser
Posted by: ARGMER - Oct-26-2018, 09:02 AM - Forum: Web Scraping & Web Development - Replies (1)

I am trying to control Chrome/Firefox to save a webpage. Specifically, my aim is to

a) Open a Webpage locally on the computer by using Chrome,
b) ..... More

Print this item

  # issue
Posted by: csascott - Oct-26-2018, 07:59 AM - Forum: General Coding Help - Replies (3)

#'abcdefghijklmnopqrstuvwxyz0123456789' 
I am very new to Python or programing. I'm writing code for a password generator. I don..... More

Print this item

  SARIMAX ValueError: xnames and params do not have the same length
Posted by: preetha8715 - Oct-26-2018, 06:18 AM - Forum: General Coding Help - Replies (2)

Hi,

I am running SARIMAX and I am getting the following error:

ValueError: xnames and params do not have the same length.

I need help underst..... More

Print this item

  2 lines causing code failure
Posted by: sfadil - Oct-25-2018, 11:04 PM - Forum: General Coding Help - Replies (5)

Hi,

I need your help,
I'm a beginner in python and i'm facing a problem with my code . It fails once I add two lines , even if it seems to be corr..... More

Print this item

  Problem with updating file to attach/pynput
Posted by: jameseroni - Oct-25-2018, 10:08 PM - Forum: General Coding Help - Replies (7)

I've been dabbling in cyber security and doing some research on parenting monitoring tools and thought a key-logger/email sender would be a good proje..... More

Print this item

  Balance integer list into multiple list of fixed value
Posted by: xenas - Oct-25-2018, 09:40 PM - Forum: General Coding Help - Replies (1)

Hi all,

I am trying to split the given list into multuple lists where the value limit for such splitted-list will be 10.

For example, given a li..... More

Print this item

  Avoid multiple windows of the same kind
Posted by: backermaster - Oct-25-2018, 09:00 PM - Forum: GUI - Replies (1)

My goal is to have an interactive bar chart. I want to open a window containing a text. This shall happen when the user clicks on one of the bars. I s..... More

Print this item

  flask requests display data from api on webpage with javacript
Posted by: pascale - Oct-25-2018, 08:30 PM - Forum: Web Scraping & Web Development - No Replies

Hi I am building a web app to access my Etsy store, so that i can download stock, sales, messages etc, and display this information and save what I ne..... More

Print this item

  Refactored web app with flasks blueprint - 404 error
Posted by: jolsendev - Oct-25-2018, 08:18 PM - Forum: Web Scraping & Web Development - Replies (1)

New user to python and Flask here... I have a very basic web app (more of just a shell for a web app that I just started) being hosted in Heroku. I re..... More

Print this item

  Need shell for python 3.6
Posted by: kaiba - Oct-25-2018, 07:56 PM - Forum: General Coding Help - Replies (6)

I have versions 2.7, 3.4 and just added 3.6 but can only access a shell in 3.4 How can I add a shell of 3.6 ?
Thanks

Print this item

  Best way to drop NA?
Posted by: WuchaDoin - Oct-25-2018, 06:25 PM - Forum: Data Science - Replies (1)

I'm fairly familiar with python basics with regards to DataFrames and pandas. The problem I am encounter though is that I cannot properly drop NA valu..... More

Print this item

  Read and tokenize doc/docx?
Posted by: JP_ROMANO - Oct-25-2018, 03:12 PM - Forum: General Coding Help - Replies (10)

Hello... I'm trying to see if Python can, given two filepath/names, read and tokenize the content of those files. This seems like it should be fairly..... More

Print this item

  Getting an error while connecting oracle DB from Python : cx_Oracle.DatabaseError: OR
Posted by: dinesh1393 - Oct-25-2018, 02:44 PM - Forum: General Coding Help - No Replies

Hi,

I am trying to connect the Oracle database from Python IDLE with below code but getting an error.
Can anyone help me on this.
import cx_Orac..... More

Print this item

  How to write datas into a file?
Posted by: Krszt - Oct-25-2018, 12:36 PM - Forum: General Coding Help - Replies (2)

I have program, which looks for every files starting with mli_value_IHAR_. I want these files' special date ID into a file (every date into a new lin..... More

Print this item

  Launching executable over rest server api
Posted by: InsatiableBuns - Oct-25-2018, 12:22 PM - Forum: General Coding Help - No Replies

Hello i'm new to Python and i've been trying to run an executable from the command line over a rest server.

I am using a basic rest server api writ..... More

Print this item

  Close program using Push Button with the help of input from a Message Box
Posted by: bhargavbn - Oct-25-2018, 08:51 AM - Forum: GUI - Replies (2)

Hello,

I have created a basic application with a push button.
The objective is for a pop-up message box to show up when I click on the push button..... More

Print this item

  Command Prompt Issue
Posted by: benzenegirl - Oct-25-2018, 07:42 AM - Forum: General Coding Help - Replies (2)

Hi!
Complete python noob here - trying to set up my command prompt so that I can execute programs from Geany.
(Following the Python Crash Course boo..... More

Print this item

  while loop issue, help please?
Posted by: itmustbebunnies - Oct-25-2018, 06:34 AM - Forum: General Coding Help - Replies (6)

I am new to Python (and coding) and having an issue with a while loop (see code below). When I get to the end of my loop, I prompt the user to enter ..... More

Print this item

  Print The Length Of The Longest Run in a User Input List
Posted by: Ashman111 - Oct-25-2018, 06:23 AM - Forum: Homework - Replies (3)

I am attempting the following question QUESTION

My code is as follows..... More

Print this item

  Looking to Save Data
Posted by: Corwin - Oct-25-2018, 05:23 AM - Forum: General Coding Help - Replies (3)

I'm very new to both Python and this forum, so please forgive me if I don't include all the information needed or I've posted in the wrong place.

I..... More

Print this item

  New to coding
Posted by: imthatonegirl - Oct-25-2018, 12:59 AM - Forum: News and Discussions - Replies (8)

Hello,
I really love coding. When I can do it at work it's the best part of my day normally. I want so badly to transition to a programming job. I h..... More

Print this item

  Random module Python 3.6
Posted by: daryl_uk - Oct-24-2018, 11:06 PM - Forum: General Coding Help - Replies (1)

Good evening Pythoners,

Can someone point me in the right direction of how to successfully use the random module for Python3.6.

I am slowly loos..... More

Print this item

  Creating Data Projector Games
Posted by: shodai - Oct-24-2018, 10:05 PM - Forum: Game Development - No Replies

I would like to create some simple games that are displayed on a data projector and then use a camera to interact with the game. I have seen this at s..... More

Print this item

  Need Help With Text to Speech App
Posted by: Lethe - Oct-24-2018, 10:03 PM - Forum: General Coding Help - No Replies

Hello,

I'm very new to Linux & programming in general. What encouraged me to get started was my grandmother getting throat surgery and losing her v..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My First App 3 hours ago BCopeland64 carlbidwell Code Review
  what does % stand for in ... 4 hours ago arbiel carlbidwell General Codin...
  Unable to resolve FileNot... 10 hours ago llarkin6 Pedroski55 General Codin...
  [Tkinter] how to export a... Yesterday, 17:13 RonR noisefloor GUI
  Is the interpreter that c... Yesterday, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... Yesterday, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... Yesterday, 09:50 P212 Biks News and Disc...
  Using Python to SSH and R... Yesterday, 03:53 justaguy SprunkiRetake Networking
  My goal to be hired worki... Yesterday, 00:32 GnomeSweetGnome GnomeSweetGnome News and Disc...
  extracting data from a us... 09-25, 13:49 Perry DeaD_EyE General Codin...
  pip install requests does... 09-24, 14:48 misodca DeaD_EyE General Codin...
Most views
  The best Prog... 577105
  Tutorial Requ... 499974
  Web Scraping ... 440831
  Newbie with P... 384825
  New Users Int... 369024
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+ 12088
buran 8176
snippsat 7367
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
chaoh1911 Today
KaydenJonah098 Today
carlbidwell Today
llarkin6 Yesterday
Xuitar Yesterday

User Panel Messages

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