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,312
» Latest member: elizabethlittle6258
» Forum threads: 38,801
» Forum posts: 175,923

Full Statistics

Online Users
There are currently 30 online users.
» 1 Member(s) | 26 Guest(s)
Bing, Google, AOL, NeoQuant

Latest Threads
No new line from print in...
Forum: General Coding Help
Last Post: noisefloor
5 hours ago
» Replies: 11
» Views: 309
Python compiler
Forum: General Coding Help
Last Post: noisefloor
5 hours ago
» Replies: 1
» Views: 73
Trading Risk management s...
Forum: Code sharing
Last Post: NeoQuant
Yesterday, 07:34 PM
» Replies: 5
» Views: 92
Standard template Data En...
Forum: Code Review
Last Post: Hosthubac
Yesterday, 05:51 PM
» Replies: 0
» Views: 50
Python Online Compiler
Forum: News and Discussions
Last Post: ichsanputr
Yesterday, 07:39 AM
» Replies: 3
» Views: 11,124
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
Nov-28-2025, 10:44 AM
» Replies: 4
» Views: 205
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Nov-28-2025, 04:44 AM
» Replies: 8
» Views: 732
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Nov-27-2025, 04:48 AM
» Replies: 6
» Views: 7,838
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 210
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 167

 
  Do I need to uninstall my current Python distribution (3.7) to install Anaconda?
Posted by: Tim - Jul-10-2018, 01:17 PM - Forum: General Coding Help - Replies (2)

Hi there,
I'm was advised to install Python-Anaconda distribution for some code to implement. My current distribution of python is the default one f..... More

Print this item

  factorial with gui
Posted by: deba34133 - Jul-10-2018, 12:58 PM - Forum: GUI - No Replies

[python]from tkinter import *

gui=Tk()
gui.title('Math')
def oet():
aoet=Tk()
aoet.title("Odd or Even")
def o_e_t():
b=a...... More

Print this item

  exclusive bitwise OR
Posted by: bluefrog - Jul-10-2018, 12:26 PM - Forum: Homework - Replies (1)

Hi

Am using 3.6.5
I'm trying to display the result of a bitwise operation, like so:
[python]xor = 0b0011 ^ 0b0111
print ("Example of exclusive OR - x..... More

Print this item

  Label doesn't refresh
Posted by: jollydragon - Jul-10-2018, 09:35 AM - Forum: GUI - Replies (7)

With below code, the label of directory path doesn't be refreshed correctly after I change the directory with "Ctrl+o".

E.g. When you change it to..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... 5 hours ago Lou noisefloor General Codin...
  Python compiler 5 hours ago NeoQuant noisefloor General Codin...
  Trading Risk management s... Yesterday, 19:34 NeoQuant NeoQuant Code sharing
  Standard template Data En... Yesterday, 17:51 Hosthubac Hosthubac Code Review
  Python Online Compiler Yesterday, 07:39 alexmaxwell1 ichsanputr News and Disc...
  Python is not working on ... 11-28, 10:44 lary_p noisefloor General Codin...
  Help with Serial.write in... 11-28, 04:44 racingsubby Larz60+ General Codin...
  Can I develop a live vide... 11-27, 04:48 mtrkhan mamta25 Web Scraping ...
  silent deployment Python ... 11-26, 21:58 Bummibaer Larz60+ News and Disc...
  Proposal for PEP 11-26, 15:53 matt Gribouillis News and Disc...
  My regex function is not ... 11-26, 08:47 Moltar1997 perfringo General Codin...
Most views
  The best Prog... 579512
  Tutorial Requ... 512949
  Web Scraping ... 442375
  Newbie with P... 386401
  New Users Int... 381778
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+ 12113
buran 8196
snippsat 7394
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
elizabethlittle6258 Today
StepanVoronin Today
QABOB Today
adityaN Today
NeoQuant Yesterday

User Panel Messages

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