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,257
» Latest member: Bamboo
» Forum threads: 38,782
» Forum posts: 175,834

Full Statistics

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

Latest Threads
[solved] re.split issue
Forum: General Coding Help
Last Post: paul18fr
2 hours ago
» Replies: 8
» Views: 148
Please guide me to comple...
Forum: General Coding Help
Last Post: noisefloor
3 hours ago
» Replies: 1
» Views: 68
New to python and coding
Forum: Homework
Last Post: jefsummers
Yesterday, 07:58 PM
» Replies: 6
» Views: 184
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
Yesterday, 11:52 AM
» Replies: 6
» Views: 355
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
Nov-12-2025, 07:26 PM
» Replies: 2
» Views: 115
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Nov-12-2025, 10:11 AM
» Replies: 6
» Views: 243
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-11-2025, 09:52 AM
» Replies: 11
» Views: 395
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 151
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,643
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 250

 
  Error : "can't multiply sequence by non-int of type 'float' "
Posted by: Ala - Apr-12-2021, 01:46 PM - Forum: General Coding Help - Replies (3)

Hello ! Please can someone help me to resolve this error, this is the One-electron approximate form. I need to applicate this equation for all orbital..... More

Print this item

  TypeError: __str__ returned non-string (type tuple)
Posted by: Anldra12 - Apr-12-2021, 12:59 PM - Forum: General Coding Help - Replies (1)

TypeError: __str__ returned non-string (type tuple)
The code are follow
[python]from BTreeWordFinder import *
from BalancedBTree import *
class Balanc..... More

Print this item

  I have an problem related to ujson in python
Posted by: dixitaditya248 - Apr-12-2021, 07:23 AM - Forum: General Coding Help - Replies (2)

import ujson
[error]Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: /home/aditya/.local/lib/..... More

Print this item

  file Problem
Posted by: faraz_h - Apr-12-2021, 06:51 AM - Forum: General Coding Help - Replies (2)

hi
I can not create a file or write anything inside the file on mac OS

my cod is :

[python]test = open("test.txt","w")
test.write('te..... More

Print this item

  Parse String between 2 Delimiters and add as single list items
Posted by: lastyle - Apr-11-2021, 09:24 PM - Forum: General Coding Help - Replies (5)

Hi all.

I`ve got a big string that contains multiple different data. The dataitems are seperated by {data}

I want to grab the data between thee..... More

Print this item

  Can I get a clue about testing please?
Posted by: Mustey - Apr-11-2021, 08:05 PM - Forum: General Coding Help - Replies (8)

I am picking up Python in a serious way, these days.
While reading through the syntax and standard libraries, I am also super-curious about the Python..... More

Print this item

  Similarity function for couple system
Posted by: sunnydayxo - Apr-11-2021, 07:59 PM - Forum: Homework - Replies (1)

I need to write a similarity function for the finished system and build graphs for it. But I'm having trouble writing it. Perhaps someone knows how to..... More

Print this item

  Compiling (PyInstaller issues)
Posted by: TheHolyPyGrenade - Apr-11-2021, 07:55 PM - Forum: General Coding Help - Replies (1)

I am using a Windows 10 computer which does not seem to be the most helpful when I am trying to compile the programs that I am writing.

Firstly it ..... More

Print this item

Photo Feedback about GUI
Posted by: Mustey - Apr-11-2021, 07:52 PM - Forum: Board - Replies (1)

Hi maybe I should start with that I have autism and I tend to get annoyed by things that people don't usually spend time on :)
Also, I don't always m..... More

Print this item

  Network with currently hiring studios: Ubisoft, Codemasters and more!
Posted by: WanderingOwl - Apr-11-2021, 07:40 PM - Forum: Jobs - No Replies

Games Jobs Live: Midlands is happening on Wednesday 14th April: a FREE online livestream with gamedev studios in the Midlands who are currently hiring..... More

Print this item

  looping a dictionary
Posted by: harmans14 - Apr-11-2021, 07:15 PM - Forum: General Coding Help - Replies (1)

Hi,

Trying to understand this piece of code. Would appreciate any help
[python]
job_args = dict()
if args.job_args:
job_args_tu..... More

Print this item

  Aggregate
Posted by: krisrajz - Apr-11-2021, 06:29 PM - Forum: General Coding Help - Replies (1)

I have a document with id, timestamp and a value field. How can I use aggregate function to get avg, min and max grouped by id and everyday? Here’s th..... More

Print this item

  Logic behind BeautifulSoup data-parsing
Posted by: jimsxxl - Apr-11-2021, 01:38 PM - Forum: Web Scraping & Web Development - Replies (7)

Hello guys,
Im messing around abit with bs4, im trying to parse some data from Youtube as a "learning-project".
What im finding difficult to underst..... More

Print this item

  Start loop from different points
Posted by: TheHolyPyGrenade - Apr-11-2021, 01:11 PM - Forum: General Coding Help - Replies (3)

Hi everybody,

I am new to python and have been coming up with different little projects to develop, and currently working of a shift calculator.
..... More

Print this item

  How might I use classes in my code
Posted by: snakes - Apr-11-2021, 10:07 AM - Forum: GUI - Replies (2)

After learning a little bit of Python I wrote a short program, then used tkinter to make a simple gui but I know if I'm going to get anywhere with Pyt..... More

Print this item

  Beautify dictionary without converting to string.
Posted by: sharoon - Apr-11-2021, 06:37 AM - Forum: General Coding Help - Replies (6)

I m trying to beatuify dicitonary using json.dumps , but as soon as it beautify , the data type changes from dictionary to string. Chnage of datatype ..... More

Print this item

Question Flask, Self-hosted deployment, which server ?
Posted by: SpongeB0B - Apr-11-2021, 06:30 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi everyone,

On the official Flask support we can see listed under the ..... More

Print this item

  I am trying to space the registration forms using css. But it is not working.
Posted by: tree - Apr-11-2021, 03:31 AM - Forum: Web Scraping & Web Development - No Replies

Can someone explain how to fix it? I am using python flask and wtf forms.

link to wtf forms

..... More

Print this item

  python vs perl
Posted by: jruderwier - Apr-11-2021, 03:25 AM - Forum: Homework - Replies (1)

Probably a little different to the threads usually posted here.

I am doing a presentation on Scripting Languages, and comparing the strengths/weakn..... More

Print this item

  bind lambda keypress counter
Posted by: knoxvilles_joker - Apr-11-2021, 01:02 AM - Forum: GUI - Replies (15)

I am trying to recreate a flash piece in python:
This is a link to a thread that contains the flash based sentry gun program: http://forum.alienslega..... More

Print this item

  Confused with 'flags'
Posted by: tester_V - Apr-10-2021, 08:31 PM - Forum: General Coding Help - Replies (10)

Greetings!
I'm confused about how to use 'flag', I read I can use it instead of 'ELSE'.
I'm playing with the code below to see how I can use "flags"..... More

Print this item

  I am getting a few errors while using classes
Posted by: alex_0 - Apr-10-2021, 06:54 PM - Forum: Homework - Replies (5)

I am new to using classes in Python and am having a bit of trouble on my homework assignment.
Here is the assignment. It is kind of long so I put it ..... More

Print this item

  Web scraping Possible JavaScript issue
Posted by: johnboy1974 - Apr-10-2021, 06:45 PM - Forum: General Coding Help - Replies (2)

Hi,

I'm trying to scrape the values from the following url 'https://sports.williamhill.com/betting/en-gb/in-play/football' and using requests.get to ..... More

Print this item

  Text File Manipulation Queries?
Posted by: JustJeff - Apr-10-2021, 04:56 PM - Forum: General Coding Help - Replies (2)

I'm a new python learner and I've been looking at several different sources to understand how python works. Today I decided to challenge myself by mak..... More

Print this item

  Kivy error
Posted by: Leo_Red - Apr-10-2021, 04:13 PM - Forum: GUI - Replies (5)

Hi, I was learning kivy and I am stuck. Python gives me an error saying "No module named kivy" when I try to import it to a script. I am usjng Linux m..... More

Print this item

  error when dealing with uuid
Posted by: vj78 - Apr-10-2021, 02:07 PM - Forum: Web Scraping & Web Development - Replies (18)

I have this sql statement and it gives me error: Unknown column 'guid' in 'NEW' mysql

SQL Statement in python: INSERT INTO user (username, u..... More

Print this item

  PLEASE HELP! Basic Python Program
Posted by: joeroffey - Apr-10-2021, 11:05 AM - Forum: General Coding Help - Replies (5)

Hi, Im looking for some help with my program, I have been set a task to make a basic Strain Calculator.

I need it to input two numbers, one being th..... More

Print this item

  Can a kivy interface be customised?
Posted by: Leo_Red - Apr-10-2021, 08:37 AM - Forum: GUI - No Replies

Hi, I am currently working on a program and I am planning on using kivy. But, I am going for a pixel art style interface (Like the one in aseprite: ht..... More

Print this item

Question Scrollable Treeview: change behavior of Prior/Next keys?
Posted by: RockDoctor - Apr-09-2021, 05:22 PM - Forum: GUI - Replies (2)

My program has two components I want to control via the keyboard, an image that moves up/down/left/right within a canvas, and a scrollable Treeview th..... More

Print this item

  Concatenate 3D arrays
Posted by: paul18fr - Apr-09-2021, 02:24 PM - Forum: Data Science - Replies (1)

Hi

I still have difficulties to work with 3D arrays; in the following example, I'm trying to add/concatenate a 2D array to a 3D one.

My trials f..... More

Print this item

  Unexpected behavior accessing list elements.
Posted by: tonyflute - Apr-09-2021, 12:12 PM - Forum: Homework - Replies (2)

Not homework but I'm a noob ;)

[quote]a = [[0,0,0],[0,0,0],[0,0,0]]
b = [[0] * 3] * 3

print(a == b)

print(' a =', a)
print(' b ='..... More

Print this item

Star Formula function (not too difficult i think)
Posted by: Jam_XD02 - Apr-09-2021, 10:24 AM - Forum: Homework - Replies (6)

Hi everyone! I am new to Python. I want to make a function like the example above. When I type the year number, it should return the result according ..... More

Print this item

  AttributeError: 'tuple' object has no attribute 'format'
Posted by: Anldra12 - Apr-09-2021, 09:05 AM - Forum: General Coding Help - Replies (7)

Confuse where is the error because execute some parts of codes half code run and half give me an error
AttributeError: 'tuple' object has no attribut..... More

Print this item

  [machine learning] identifying a number 0-9 from a 28x28 picture, not working
Posted by: SheeppOSU - Apr-09-2021, 12:38 AM - Forum: Data Science - No Replies

I wanted to try my hand at some machine learning, so I started with this project which already had data provided by mnist. I studied the concepts and ..... More

Print this item

  Failover
Posted by: Anan - Apr-08-2021, 11:24 PM - Forum: Networking - Replies (6)

I was just wondering if we can implement the failover concept in client-server models?

I was reading Python.org documentation but could not really ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [solved] re.split issue 2 hours ago paul18fr paul18fr General Codin...
  Please guide me to comple... 3 hours ago pbkurd noisefloor General Codin...
  New to python and coding Yesterday, 19:58 lary_p jefsummers Homework
  Backward compatibility qu... Yesterday, 11:52 yutaozhou noisefloor News and Disc...
  why is the image not show... 11-12, 19:26 sarbogast deanhystad General Codin...
  Help with Serial.write in... 11-12, 10:11 racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... 11-11, 09:52 tsgiannis tsgiannis GUI
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
Most views
  The best Prog... 578941
  Tutorial Requ... 510319
  Web Scraping ... 441963
  Newbie with P... 385979
  New Users Int... 376921
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+ 12107
buran 8195
snippsat 7388
deanhystad 6909
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Bamboo Today
TomTMH Yesterday
pbkurd Yesterday
Gichardaxora Yesterday
cc123 Yesterday

User Panel Messages

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