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,940
» Latest member: Littlefish
» Forum threads: 38,723
» Forum posts: 175,516

Full Statistics

Online Users
There are currently 76 online users.
» 0 Member(s) | 65 Guest(s)
Apple, Bing, AOL, AOL, Mojeek, Facebook Dev

Latest Threads
A coding beginner needs h...
Forum: General Coding Help
Last Post: paul18fr
8 hours ago
» Replies: 1
» Views: 241
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Today, 04:48 AM
» Replies: 8
» Views: 386
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,587
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 960
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,308
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,850
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,630
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,731
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,916
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 1,466

 
  "EOL While Scanning String Literal"
Posted by: tjnichols - Apr-09-2018, 09:49 PM - Forum: Web Scraping & Web Development - Replies (39)

[code]from bs4 import BeautifulSoup
import re
import urlib3

"Define the name of my web scraper. We want the scraper to continue to look for completio..... More

Print this item

  Learning GUI programming
Posted by: SBachar - Apr-09-2018, 08:13 PM - Forum: GUI - Replies (3)

I want to learn GUI with Python (in Linux, UBUNTU).
How do I start? Any suggestions? Any good book?
Thanks.

Print this item

  Control over the screen
Posted by: SBachar - Apr-09-2018, 08:06 PM - Forum: General Coding Help - Replies (1)

I would like to (start to try) to create a simple screensaver with Python (on Linux).
I want initially something simple, say, to display a text (say ..... More

Print this item

  Problem With Simple Multiprocessing Script
Posted by: digitalmatic7 - Apr-09-2018, 06:38 PM - Forum: Web Scraping & Web Development - Replies (11)

Is it possible to multiprocess this script without breaking it up into functions?

I'm trying to keep it as barebones and simple as possible.

[..... More

Print this item

  Syntax error?
Posted by: ecloev - Apr-09-2018, 05:01 PM - Forum: General Coding Help - Replies (1)

Hi,
I'm getting a syntax error on the "try".
Why is this?

[python]
def bossFight():
print("""

The ghost is revealeed to you as..... More

Print this item

  TypeError: 'Subscription' object is not iterable in Python
Posted by: hfan6206 - Apr-09-2018, 09:47 AM - Forum: General Coding Help - Replies (2)

I have a list like this:
[python]lst = [(9600002, 42, 3), (9600001, 17, 3), (9600003, 11, 1),
(9600002, 14, 5), (9600001, 17, 1), (9600003..... More

Print this item

  Read data and save in excel
Posted by: parthi1705 - Apr-09-2018, 09:37 AM - Forum: General Coding Help - No Replies

I am having a website which contains buy/sell information of multiple distributor, for each distributor i need to choose the invoice date say for a pe..... More

Print this item

  Improving Efficiency of SVM by various available kernels
Posted by: Sachtech - Apr-09-2018, 07:29 AM - Forum: General Coding Help - No Replies

Dear friend,
I have shared my folder here: GoogleDrive[/url[url=https://python-forum.io/thread-9441.html]..... More

Print this item

  string manipulation
Posted by: yogi123 - Apr-08-2018, 09:28 PM - Forum: Homework - Replies (5)

I need to replace parts of a string with what it matches in a dictionary. I have restrictions and to change strings only functions i can use are .stri..... More

Print this item

  Attribute error
Posted by: Truman - Apr-08-2018, 08:33 PM - Forum: General Coding Help - Replies (1)

[python]
class Fighter:
def __init__(self, name):
self.name = name
self.health = 100
self.damage = 10
def attact..... More

Print this item

  Need help with Python problems today and need some tutoring, can pay $30/hr
Posted by: py_newb - Apr-08-2018, 08:13 PM - Forum: Jobs - Replies (1)

Need help doing Group-by and aggregation of datasets, nothing too crazy in difficulty level, but I'm really new.

looking for actual, help, not some..... More

Print this item

  CPU usage with while Loop and LIRC [SOLVED]
Posted by: cygnus_X1 - Apr-08-2018, 07:37 PM - Forum: General Coding Help - Replies (3)

Is it normal to see 100% CPU usage with LIRC and a while loop?

I have a Raspberry Pi , Model B (first version) single core CPU
runs at 700MHz. I h..... More

Print this item

  Count the rows to 10 and store in the list
Posted by: chris0147 - Apr-08-2018, 06:52 PM - Forum: General Coding Help - No Replies

Hi all,

I need your help with my current project. I am working on get_programme_info function to find the program info by search through in the data..... More

Print this item

  Syntax for array splitting in a loop?
Posted by: IAMK - Apr-08-2018, 06:15 PM - Forum: Web Scraping & Web Development - Replies (7)

I have tried numerous ways to parse a file and strip the array down to only the text inside the "". However, I seem to be unable to figure out the cor..... More

Print this item

  how to do Principal Components Analysis of a Matrix
Posted by: cfc0712 - Apr-08-2018, 05:28 PM - Forum: Homework - No Replies

I need to do Principal Components (PC) Analysis of a Matrix (X). PC need to be chosen as V(:,end-1,end). May I ask what's mean by "PC is chosen as V(:..... More

Print this item

  Bad Request error Method Not Allowed The method is not allowed for the requested URL.
Posted by: vk7 - Apr-08-2018, 05:14 PM - Forum: Web Scraping & Web Development - No Replies

I am working on python-flask blog webapp. In the blog, I want to give a feedback option for the user. But whenever I clicked on the feedback link I go..... More

Print this item

  Why does my Switch trigger all Cases?
Posted by: IAMK - Apr-08-2018, 03:44 PM - Forum: General Coding Help - Replies (6)

Hello, I'm a first time user of Python, but I have c++/VB.Net experience. I absolutely dread Python's syntax, but I need to learn it.

What is wrong..... More

Print this item

  Printing array without commas
Posted by: pawlaczkaj - Apr-08-2018, 03:28 PM - Forum: General Coding Help - Replies (1)

Hello,
I have got this output from my script:

Output:
[[1.0, 2.0, 3.0], [4.0, 5.0, 6.0], [7.0, 8.0, 9.0]]
I want to cover it to:
[out..... More

Print this item

  Timed Exit
Posted by: Tbot - Apr-08-2018, 01:38 PM - Forum: Game Development - Replies (11)

Hello, I am making a Python game where there is a sequence of letters, and you have to guess it right within a certain amount of time. However, once t..... More

Print this item

  Win10 Import math issue
Posted by: Oldsquid - Apr-08-2018, 12:36 PM - Forum: General Coding Help - Replies (2)

I've just started learning to program. I am running Win10, Python 3.6.4

When I type in the following:
import math
math.sqrt(16)

I save and ru..... More

Print this item

  MASH -- terminal based
Posted by: mepyyeti - Apr-08-2018, 04:51 AM - Forum: Code sharing - No Replies

a simple mash game...it should work. source is on github I did run into trouble/difficulty with mainl..... More

Print this item

  Complex Program with matplotlib - Python Challenge
Posted by: maggie_b - Apr-08-2018, 02:29 AM - Forum: General Coding Help - Replies (1)

I had this on my programming exam last week. I still don't get desired outcome. Wall

How would you solve it?

1 Randomly generate 10^4 poin..... More

Print this item

  Multiplication Table
Posted by: funnybone04 - Apr-07-2018, 11:09 PM - Forum: Homework - Replies (4)

So how can I create a multiplication table in python for a given number (user inputs a number, e.g "5" and table becomes "5x5"), column by column indi..... More

Print this item

  Alternative approach to iterate numerous linear regressions with xlsx data?
Posted by: john_538 - Apr-07-2018, 10:15 PM - Forum: Data Science - No Replies

I'm a self-trained, novice programmer, and need guidance to determine a more time-efficient way to analyze my data. I have a large dataset (200+ colum..... More

Print this item

  Expert Python Developers Available for Immediate Hiring
Posted by: manikandan - Apr-07-2018, 08:58 PM - Forum: Jobs - Replies (1)

Expert Python/Django developers available for immediate Hire. (part time or full time basis).

You can reach me at 415 233 4737 or info at optisolbusi..... More

Print this item

  maximum recursion depth exceeded
Posted by: saba_keon - Apr-07-2018, 06:49 PM - Forum: General Coding Help - Replies (3)

whenever i hit the exit button it gives me this error

Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\saba_\AppData..... More

Print this item

  Console crash after boot.
Posted by: friendlymegalomaniac - Apr-07-2018, 04:49 PM - Forum: General Coding Help - Replies (1)

I am currently using python 3.6.5 with notepad++ for a text editor. I have tryed to create several programs but whenever the console boots it crashes...... More

Print this item

  Avoiding new user list sorting errors
Posted by: ljmetzger - Apr-07-2018, 03:59 PM - Forum: Code sharing - Replies (1)

It is very frustrating when a program runs to completion with no errors and gives unexpected output, when you thought you did everything correctly. I..... More

Print this item

  Dictionary content overwritten by new key
Posted by: Smackreth - Apr-07-2018, 02:54 PM - Forum: Homework - Replies (2)

Hello - I've searched around for an answer to this, but can't find one so hopefully someone will be able to help!
Background: I'm doing a Python 2 c..... More

Print this item

  speechrecognition 3.8.1
Posted by: aibrain - Apr-07-2018, 02:05 PM - Forum: General Coding Help - Replies (1)

I am using speech_recognition library in python 3.6. Using google speech recognizer. The default api key works but has limited quota. I wanted to know..... More

Print this item

  multiprocessing
Posted by: srik - Apr-07-2018, 12:29 PM - Forum: Data Science - Replies (2)

I am given a data set and I need to analyze the statistics of a column based on the groups formed from other column unique values. I could do it using..... More

Print this item

  How to use relative positioning in my program?
Posted by: MegasXLR - Apr-07-2018, 09:46 AM - Forum: Homework - Replies (8)

Hello everyone, I'm pretty new to Python in generel (started the course in university like 1 month ago) and I found it quite interesting to finally be..... More

Print this item

  Homework help
Posted by: JNG_123 - Apr-07-2018, 02:30 AM - Forum: Homework - Replies (1)

A county collects property taxes on the assessment value of property, which is 60 percent
of the property’s actual value. For example, if an acre of..... More

Print this item

  Order an array
Posted by: unrealxqt - Apr-06-2018, 10:09 PM - Forum: Homework - Replies (2)

Hi there,

At the university, I need to create a project in Python language and I'm stuck with a function that is needed to finish my work.
[i][u]T..... More

Print this item

  Stopped process is still running
Posted by: pawlaczkaj - Apr-06-2018, 09:45 PM - Forum: General Coding Help - Replies (9)

I have got a menu written in Python:

[python]
if __name__ == '__main__':
print_menu() # display the menu
choice = input("Type number..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  A coding beginner needs h... 8 hours ago Littlefish paul18fr General Codin...
  Using a For Loop to subtr... Today, 04:48 Anunderling deanhystad General Codin...
  403 Error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
Most views
  The best Prog... 576599
  Tutorial Requ... 498618
  Web Scraping ... 440455
  Newbie with P... 384367
  New Users Int... 367618
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+ 12087
buran 8175
snippsat 7368
deanhystad 6893
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Littlefish Today
Noya_Yonatan Yesterday
Saipython555 Yesterday
Anunderling Yesterday
Monir Yesterday

User Panel Messages

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