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,411
» Latest member: JefferybuG
» Forum threads: 38,827
» Forum posts: 176,045

Full Statistics

Online Users
There are currently 63 online users.
» 0 Member(s) | 56 Guest(s)
Google, Bing, Internet Archive, Facebook Dev

Latest Threads
Possible bug found, pleas...
Forum: General Coding Help
Last Post: noisefloor
2 hours ago
» Replies: 2
» Views: 45
a function to watch files
Forum: News and Discussions
Last Post: JassicaElla60
3 hours ago
» Replies: 3
» Views: 457
Code failing to ask input...
Forum: Homework
Last Post: Pedroski55
Yesterday, 11:18 PM
» Replies: 1
» Views: 312
Data Science
Forum: Data Science
Last Post: OtiliaGen
Yesterday, 10:20 AM
» Replies: 4
» Views: 3,337
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Jan-02-2026, 12:32 PM
» Replies: 29
» Views: 16,570
Create dataframe from the...
Forum: Data Science
Last Post: JassicaElla60
Jan-02-2026, 12:31 PM
» Replies: 8
» Views: 3,926
Check if running from she...
Forum: General Coding Help
Last Post: noisefloor
Jan-01-2026, 11:52 AM
» Replies: 2
» Views: 459
Sorry Help
Forum: General Coding Help
Last Post: noisefloor
Jan-01-2026, 11:47 AM
» Replies: 2
» Views: 416
IP address for users
Forum: Networking
Last Post: DeaD_EyE
Dec-31-2025, 08:02 PM
» Replies: 6
» Views: 7,230
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Dec-30-2025, 12:11 AM
» Replies: 1
» Views: 263

 
  Nested IF statements
Posted by: severnon1188 - Oct-08-2017, 03:17 AM - Forum: Homework - Replies (1)

I am very confused by the professor's instruction on this problem of my homework. Please help me understand where to begin here. I feel like the gramm..... More

Print this item

  header of website but no data
Posted by: Brian1210 - Oct-07-2017, 11:39 PM - Forum: General Coding Help - Replies (2)

I am running this stock on a Raspberry pi. I have the header of the webpage but no data being inputted
http://www.instructables.com/id/Raspberry-PI-a..... More

Print this item

  simplify my excel work on python
Posted by: CodeAyoub - Oct-07-2017, 11:18 PM - Forum: General Coding Help - Replies (1)

Hi guys,

I am currently working at a freight forwarding agency and my work requires a lot of calculations that I usually do on excel or manually. W..... More

Print this item

  convert list compression to for loop
Posted by: Prince_Bhatia - Oct-07-2017, 10:11 PM - Forum: Web Scraping & Web Development - Replies (5)

hi,

i have a script which has so many list compression of for loop, can someone expand those list compression to for loop so that i can understand ..... More

Print this item

  Return None
Posted by: student8 - Oct-07-2017, 10:07 PM - Forum: Homework - Replies (6)

I am a beginner at programming and I wrote a function that returns the int value of a string but I want the function to return none if the input doe..... More

Print this item

  summation of series
Posted by: student8 - Oct-07-2017, 09:03 PM - Forum: Homework - Replies (6)

I am trying to create a function that return the sumer of the following series 1000 +1/1^2 + 1/2^2 ... and so on for the given integer n.

So far I ..... More

Print this item

  Identity Operators and basic Forum etiquette.
Posted by: Boogachomp - Oct-07-2017, 07:32 PM - Forum: General Coding Help - Replies (3)

Hey fellow users! I just started learning Python a few weeks ago via the 'Beginning Programming wit Python for Dummies' book. I am currently on operat..... More

Print this item

  How to create a question generator?
Posted by: student8 - Oct-07-2017, 07:22 PM - Forum: Homework - Replies (9)

I am trying to create a function where it takes two parameters, an integer "flag" and a positive integer "n". If flag is 0, primary_school_quiz helps ..... More

Print this item

  Palindrome.strip pirts.emordnilaP
Posted by: RodNintendeaux - Oct-07-2017, 07:12 PM - Forum: Homework - Replies (4)

I have a homework assignment that wants me to get a user input string, reverse it, then remove all punctuation. After that, I must compare original st..... More

Print this item

  [BS4] Having Trouble Scraping A Single URL
Posted by: digitalmatic7 - Oct-07-2017, 05:51 PM - Forum: Web Scraping & Web Development - No Replies

It seems this should work, not sure why I'm having issues Wall LOL

I'm trying to scrape a single URL off a page.. it's an IFRAME SRC link. ..... More

Print this item

  Import problems
Posted by: Lux - Oct-07-2017, 05:49 PM - Forum: General Coding Help - Replies (2)

I am trying to use python-docx, but I can't get it to import. I'm pretty sure it's installed- if I do pip install python-docx, I get ..... More

Print this item

  Word Search Solver
Posted by: PythonLamer - Oct-07-2017, 05:26 PM - Forum: General Coding Help - Replies (4)

Hello all,

First time here. So I've pieced together some code and can't quite figure out how to get it to work. It's not throwing any errors, but i..... More

Print this item

  IndentationError when no problem with indentation
Posted by: BobLoblaw - Oct-07-2017, 05:17 PM - Forum: Data Science - Replies (10)

I have a legacy Python script that I'm attempting to get running; this code was functional at the time of development. However, when I attempt to run ..... More

Print this item

  "Widget Javascript not detected" error
Posted by: BobLoblaw - Oct-07-2017, 04:48 PM - Forum: General Coding Help - No Replies

I have a Python script that I'm attempting to run; it includes the use of a widget. The relevant code is:

[python]from my_widget import *

# {cod..... More

Print this item

  Python for Everybody 5.2 assignment
Posted by: baba04201 - Oct-07-2017, 03:58 PM - Forum: Homework - Replies (20)

Hey guys- I'm on my last assignment for Python and I need some expert assistance please.

This is the assignment:
5.2 Write a program that repeate..... More

Print this item

  Good Books to Learn Threading
Posted by: srosemond - Oct-07-2017, 02:56 PM - Forum: Bar - Replies (2)

Any good books about multi threading in general? I come from a background of Java/C#, and we never covered multi-threading in school all that much. As..... More

Print this item

  Chronometer/notifiactions/countdown program using notify2
Posted by: alexbartzos - Oct-07-2017, 01:21 PM - Forum: Code sharing - No Replies

Hello!

I just finished writing a program on a Debian amd64 laptop for Python3 and it seems fine.
Basically it is a program that notifies you when you..... More

Print this item

  Passowrd length again
Posted by: wavic - Oct-07-2017, 11:26 AM - Forum: Board - Replies (8)

Again, why is that restriction for 30 characters max password length?

Print this item

  define a main()
Posted by: Pedroski55 - Oct-07-2017, 08:59 AM - Forum: General Coding Help - Replies (1)

I managed, with help from this site and the book 'Automate the Boring Stuff', to write several little routines. To my utter amazement, they all now wo..... More

Print this item

  [Selenium] Xpath Drop Down Use Variable
Posted by: digitalmatic7 - Oct-07-2017, 06:31 AM - Forum: Web Scraping & Web Development - Replies (3)

I wanted to have a variable (random number between 1 and 12) used for my drop down option value..

So instead of value='05' it would be something lik..... More

Print this item

  Struggling To Work With Anti-Captcha API
Posted by: digitalmatic7 - Oct-07-2017, 06:19 AM - Forum: General Coding Help - Replies (1)

Hey guys, glad to be a member, I've been learning Python for the past few weeks and I'm a bit out of my depth.

I'm stuck trying to connect to [url=..... More

Print this item

  Installing packages through Anaconda?
Posted by: Athenaeum - Oct-07-2017, 04:36 AM - Forum: Data Science - Replies (5)

I have successfully installed the pandas package via Anaconda. At first, I was only able to use pandas when I opened Python via Anaconda. After play..... More

Print this item

  now you get to see what my old password was
Posted by: Skaperen - Oct-07-2017, 03:17 AM - Forum: Bar - Replies (4)

now you get to see what my old password was:

g7_DS+qCgy&@BV,B1?b5W/.&%,=k&W

and no, it is not used anywhere else.

Print this item

  Turtle and Random
Posted by: Juiceman - Oct-07-2017, 01:16 AM - Forum: Homework - Replies (2)

So it keeps erroring a the the second random (rnumber = random.randint(1,4) number i'm trying to generate. any ideas why?
[python]#Program that uses ..... More

Print this item

  What default directory does "open" function draw from?
Posted by: Athenaeum - Oct-06-2017, 10:23 PM - Forum: General Coding Help - Replies (4)

I experimented with using the "open" function to open text files, and in doing so I had to type out the file directory on my hard drive. However, in ..... More

Print this item

  Deeper explanation of the "for i" please
Posted by: mtndewlove - Oct-06-2017, 07:18 PM - Forum: General Coding Help - Replies (6)

for i in a:
if i < 5:
b.append(i)


MY questions is why does the "i" in the "for i in a" part of the code stand for the each of the i..... More

Print this item

  I am a total noob, I need this reworked
Posted by: edlentz - Oct-06-2017, 07:09 PM - Forum: Networking - Replies (4)

OK so I know enough about Python and that is that I don't know it. I normally install IP phones not program them. Anyuway, I have been looking all ove..... More

Print this item

  Problem installing urlparse4 package
Posted by: BobLoblaw - Oct-06-2017, 04:53 PM - Forum: General Coding Help - Replies (2)

I'm attempting to use legacy code created earlier this year that contains the line:

from urlparse import urljoin
However, when ..... More

Print this item

  managing modules/scripts dynamically
Posted by: hbknjr - Oct-06-2017, 04:38 PM - Forum: General Coding Help - Replies (2)

I have a collection of scripts and modules that I want to integrate into an application{CLI for now}. The application needs to be able to list all the..... More

Print this item

  voice assistant python based pyaudio error
Posted by: hardik - Oct-06-2017, 04:01 PM - Forum: General Coding Help - Replies (6)

https://drive.google.com/file/d/0B_vS8-m...sp=sharing
this my python code i gott error of pyaudio import but i import it give..... More

Print this item

  Number of characters in QLabel
Posted by: hzcodec - Oct-06-2017, 03:05 PM - Forum: GUI - Replies (2)

I'm trying out Qt4 and just want to print out a string in a window. Now, the string is clipped. All characters are not printed. So what am I missing?..... More

Print this item

  Koch fractal with iteration
Posted by: drimades - Oct-06-2017, 01:19 PM - Forum: Homework - Replies (7)

I tried this code for generating Koch's curve:
[code]
from turtle import *

def koch(length, depth):
if depth == 0:
forward(length)
..... More

Print this item

  Failed to establish a new connection: [Errno -2] Name or service not ...
Posted by: rajeev1729 - Oct-06-2017, 06:04 AM - Forum: Data Science - Replies (3)

pip install numpy

gives following error:
etrying (Retry(total=4, connect=None, read=None, redirect=None)) same line continued......

Print this item

  Changing Python Path
Posted by: sobrio1 - Oct-06-2017, 03:44 AM - Forum: Data Science - Replies (3)

I installed Anaconda so I could use Jupyter Notebook for an online Python course. Now when I try to run previous Python programs in Idle, I can't impo..... More

Print this item

  Rock Paper Scissors
Posted by: Warmlawpk441 - Oct-06-2017, 02:08 AM - Forum: Homework - Replies (4)

I seem to have an issue with getting this program to enter the loops correctly and the computer to generate a random number to compare against the use..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Possible bug found, pleas... 2 hours ago Hassher noisefloor General Codin...
  a function to watch files 3 hours ago Skaperen JassicaElla60 News and Disc...
  Code failing to ask input... Yesterday, 23:18 Phoenix_Narukami Pedroski55 Homework
  Data Science Yesterday, 10:20 Oshadha OtiliaGen Data Science
  Merge video with subtitle... 01-02, 12:32 Pavel_47 OtiliaGen General Codin...
  Create dataframe from the... 01-02, 12:31 Calab JassicaElla60 Data Science
  Check if running from she... 01-01, 11:52 rjdegraff42 noisefloor General Codin...
  Sorry Help 01-01, 11:47 BioNanoTech noisefloor General Codin...
  IP address for users 12-31, 20:02 Robots DeaD_EyE Networking
  Opencv findContours Q 12-30, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
Most views
  The best Prog... 580579
  Tutorial Requ... 520846
  Web Scraping ... 442846
  New Users Int... 387246
  Newbie with P... 387058
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+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
JefferybuG Today
keydynamicssolutions Today
Hassher Today
haleylitlez2941 Today
anthonymaaleyoz2192 Yesterday

User Panel Messages

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