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,953
» Latest member: bianchiluca116
» Forum threads: 38,725
» Forum posts: 175,520

Full Statistics

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

Latest Threads
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
5 hours ago
» Replies: 10
» Views: 29,186
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:00 PM
» Replies: 4
» Views: 9,324
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
Yesterday, 09:08 AM
» Replies: 0
» Views: 197
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
Yesterday, 03:29 AM
» Replies: 2
» Views: 624
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
Yesterday, 02:36 AM
» Replies: 0
» Views: 222
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Sep-22-2025, 08:56 PM
» Replies: 9
» Views: 791
403 error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 5,050
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,290
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,654
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 3,203

 
  get_text() returns blank value
Posted by: Prince_Bhatia - Jul-10-2018, 08:35 AM - Forum: Web Scraping & Web Development - Replies (1)

i am trying to scrape few pages via reading them through csv. This is one of the example web page http://up-rera.in/AgentDetails.aspx?Id=10868

i am t..... More

Print this item

  hope to know a rank, if it has. if not, just show 0.
Posted by: tyyi - Jul-10-2018, 08:28 AM - Forum: General Coding Help - Replies (5)

Dear All,

I think my question would be easy for most, not just for me.
I've spent two day to solve it, but I'm now giving up!

Please advice....... More

Print this item

  Tic Tac Toe except Valueerror help
Posted by: Minindis02 - Jul-10-2018, 06:39 AM - Forum: General Coding Help - Replies (7)

Hello,

Would anyone be able to help me with getting my Tic Tac Toe game to work pls?

I am trying to make it so that if the users input is invali..... More

Print this item

  def function SyntaxError: invalid syntax
Posted by: Said - Jul-10-2018, 06:04 AM - Forum: General Coding Help - Replies (1)

Hello, need help. I am trying to build a light spectrometer on a raspberry PI 3 from "http://blog.durablescope.com/post/BuiltASpectrometer/"

when i..... More

Print this item

  defination problem
Posted by: olmin - Jul-10-2018, 05:59 AM - Forum: Homework - Replies (1)

having problem with defining total
[python]
#user chooses 5 numbers and program totals them
num= int(input ('choose your 1st num:'))
plus=1
while..... More

Print this item

  how to connect and read fiels from dropbox using Python3.6?
Posted by: PrateekG - Jul-10-2018, 04:40 AM - Forum: General Coding Help - Replies (4)

Hi ALl,

Has anyone connected with the dropbox using Python3.6?

I am trying to first connect with the drobox and then I need to read some csv fil..... More

Print this item

  User input question
Posted by: linuxnoob - Jul-10-2018, 03:26 AM - Forum: General Coding Help - Replies (9)

Bare with me, coding is completely out of my wheelhouse! I'm working through a book called "Python Crash Course". I'm trying to work with a really sim..... More

Print this item

  how hard to make a GUI client like this
Posted by: Skaperen - Jul-10-2018, 02:41 AM - Forum: GUI - No Replies

a GUI client is started with a user specification of what window size to use. the client creates/opens such a window and opens a TCP connection to a s..... More

Print this item

  How do I print a returned variable calculated in another function?
Posted by: RedSkeleton007 - Jul-10-2018, 02:25 AM - Forum: General Coding Help - Replies (3)

Hi all. My comprehension of how to use scope is not clicking. From the following code:

[python]
#!/usr/bin/env python3
#PracticePythonExercise01...... More

Print this item

  errors in python files
Posted by: Skaperen - Jul-10-2018, 12:18 AM - Forum: News and Discussions - No Replies

something i want to be able to do in Python is something that was easy in Pike from it's MUD game origins. Class identifiers were source file paths. ..... More

Print this item

  Function producing no result
Posted by: aditvaddi - Jul-09-2018, 11:35 PM - Forum: Homework - Replies (2)

[python]
def Tester():
condition = 10
while condition !=0:
continue
condition = condition -1
if condition == 0:
print ("You got it righ..... More

Print this item

  Has anyone read an O'Reilly book titled ...
Posted by: Skaperen - Jul-09-2018, 11:30 PM - Forum: News and Discussions - Replies (2)

has anyone read an O'Reilly book titled "Python for Unix and Linux System Administration"? that title interests me but i wonder if it is worth the ti..... More

Print this item

  histogram error
Posted by: alyssaantarctica - Jul-09-2018, 10:24 PM - Forum: Data Science - Replies (1)

I need to make a histogram of the log10 of a variable r. So I made variable a = np.log10®, and tried to do:

plt.hist(a, fill = False)

it then ..... More

Print this item

  Help With Coding Assignment
Posted by: sarah_mb_sues - Jul-09-2018, 10:23 PM - Forum: Homework - Replies (4)

Hello Everyone,

I am having trouble with setting up a loop in my edX coding assignment -- when I run what I have, it produces very bizarre results..... More

Print this item

  Web scraping: webbrowser issue
Posted by: Truman - Jul-09-2018, 10:20 PM - Forum: General Coding Help - Replies (10)

I started a new chapter in Automate Boring Stuff with Python called Web Scraping ( and I'm planning to focus on this field so if you have any other us..... More

Print this item

  how to determine if an object is a number
Posted by: Skaperen - Jul-09-2018, 08:21 PM - Forum: General Coding Help - Replies (6)

what is the best way to determine if an object passed in to a function is a number? i am thinking that i should just do arithmetic in try/exce..... More

Print this item

  New to coding - Python error: TypeError: unsupported operand type(s) for -: 'str' and
Posted by: zer0 - Jul-09-2018, 08:15 PM - Forum: General Coding Help - Replies (7)

Hello, I am new to coding so I was trying to test unicode and 'encrypting' stuff if you can even call it like that.I currently use Windows 10 and my ..... More

Print this item

  Help with "[Errno 22]" message
Posted by: kaiffa - Jul-09-2018, 06:28 PM - Forum: General Coding Help - Replies (1)

I just downloaded the file editor "Komodo 11" and every time I run a file I receive an [Errno 22] error message instead of the file running. I've set..... More

Print this item

  Float operations not working after cross-compilation
Posted by: tfgdt - Jul-09-2018, 05:59 PM - Forum: General Coding Help - No Replies

Hello,

I'm trying to run python3.6.5 in PowerPC architecture.
So far, I'm facing a problem with built-in float operations - always return same mag..... More

Print this item

  general python help
Posted by: saisankalpj - Jul-09-2018, 04:34 PM - Forum: General Coding Help - Replies (1)

I have a function
[python]
def abc(self):
try:
handler = logging.FileHandler(logpath)
handler.setFormatter(formatter)
logger.addHandler(ha..... More

Print this item

  Having a problem with simple code
Posted by: Jotap - Jul-09-2018, 04:23 PM - Forum: General Coding Help - Replies (1)

Well, when i set S as 9 and G as 3 python print "a" what is correct, but when i set S with a number like 42 and G as a number with the first digit gr..... More

Print this item

  Problem with for loop
Posted by: Blue Dog - Jul-09-2018, 03:21 PM - Forum: Web Scraping & Web Development - Replies (11)

Here we go, I using a text file with url in it, one per line. I am using a for loop to go one line at a time through the list. Then I am feeding that ..... More

Print this item

  Python3/2 differences - input() vs raw_input()
Posted by: buran - Jul-09-2018, 01:57 PM - Forum: Python Installation and Execution - No Replies

One of the differences between Python3 and Python2 is related to taking input from the user. It's also one of the common gotchas that newbies face whe..... More

Print this item

  Help with Classes
Posted by: sam57719 - Jul-09-2018, 12:22 PM - Forum: General Coding Help - Replies (1)

I have this code:
[python]class Parent:
def __init__(self):
self.name = "Parent"

def create_child(self):
x = Child()

class C..... More

Print this item

  Using 'Text' features for model
Posted by: theunpossbile - Jul-09-2018, 10:13 AM - Forum: General Coding Help - Replies (6)

Hi All,

I'm relative new to Python and concepts such as Machine Learning. However, the methods and possibilities of using Python are so nice that i..... More

Print this item

  Classes Pygame Help
Posted by: sam57719 - Jul-09-2018, 09:21 AM - Forum: Game Development - Replies (2)

Hello,
I found a piece of code on the internet which creates an interactive menu. I modified it to use classes to make it more modular. It works, but..... More

Print this item

  Recursion through nested dictionary - Unable to get desired output
Posted by: Staedtler - Jul-09-2018, 06:45 AM - Forum: General Coding Help - Replies (6)

Hello,

I am writing a recursive function for dictionary of variable depth. I've posted a sample of this dictionary below. Only 'call_next_rule' key..... More

Print this item

  Flask Chat
Posted by: Ahmet - Jul-09-2018, 06:34 AM - Forum: Web Scraping & Web Development - Replies (6)

https://paste.ubuntu.com/p/wPwN84dwM5/

[python]from flask import Flask, redirect, url_for, request, render_template
import settings

s=socket.so..... More

Print this item

  need to understand better __setup__.py, websocket-client, packaging
Posted by: penright - Jul-08-2018, 09:40 PM - Forum: Networking - No Replies

Any one familiar with websocket-client? https://github.com/websocket-client/websocket-client[url=https://python-forum.io/thread-11436.html]..... More

Print this item

  Euler class for solve System of ODE
Posted by: drudox - Jul-08-2018, 09:31 PM - Forum: Data Science - No Replies

Hi all

I've defined a python class in order to compute the solution of system of differential eq. Do ding so I define a classes named Rhs (right a..... More

Print this item

  Financial Modeling
Posted by: MarkHaversham - Jul-08-2018, 08:25 PM - Forum: Data Science - Replies (2)

I'm just getting started learning Python, and attempting to apply it in a work problem: developing an asset reinvestment model parallel to a productio..... More

Print this item

  How to aggregate rows with same column
Posted by: Leoni - Jul-08-2018, 08:04 PM - Forum: General Coding Help - Replies (1)

Hi all,

From this input:

google.com, hello, blublu
google.com, hello, blabla
google.com, nothello, bleble
facebook.com, hi, blabla
facebook...... More

Print this item

  Introduction to Python Through Examples
Posted by: tmose1106 - Jul-08-2018, 07:09 PM - Forum: Tutorial Requests and Submissions - No Replies

Hello internet,

A year ago I became an instructor for the Novice to Expert (N2E) Coding Club at Rutger..... More

Print this item

  Retrieve data from Terminal output or from an ASE variable.
Posted by: DreamingInsanity - Jul-08-2018, 05:51 PM - Forum: General Coding Help - No Replies

This has something to do with both Python and AppleScript so I wasnt sure where to post it, but since python forums are generally much more active, I ..... More

Print this item

  X value?
Posted by: MasterGame - Jul-08-2018, 03:46 PM - Forum: General Coding Help - Replies (1)

I'm relatively new to Python 2 and can't figure out how to do an 'X' value (a number that could be anything). A few days ago I noticed 4 is 2 squared ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  pip install requests does... 5 hours ago misodca DeaD_EyE General Codin...
  Creating a Mindmap progra... Yesterday, 12:00 J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... Yesterday, 09:08 compuman145 compuman145 General Codin...
  A coding beginner needs h... Yesterday, 03:29 Littlefish Littlefish General Codin...
  Is the interpreter that c... Yesterday, 02:36 helendamdam helendamdam General Codin...
  Using a For Loop to subtr... 09-22, 20:56 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...
Most views
  The best Prog... 576803
  Tutorial Requ... 499198
  Web Scraping ... 440589
  Newbie with P... 384558
  New Users Int... 368447
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 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
bianchiluca116 Today
Jorgecog Today
adamsmith12 Today
Ronny Today
Luciana Today

User Panel Messages

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