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,299
» Latest member: matt
» Forum threads: 38,795
» Forum posts: 175,890

Full Statistics

Online Users
There are currently 38 online users.
» 2 Member(s) | 30 Guest(s)
Bing, Facebook, matt, arbiel

Latest Threads
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
5 hours ago
» Replies: 3
» Views: 116
silent deployment Python ...
Forum: News and Discussions
Last Post: Bummibaer
6 hours ago
» Replies: 2
» Views: 80
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
10 hours ago
» Replies: 6
» Views: 3,182
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Yesterday, 02:50 AM
» Replies: 6
» Views: 249
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 135
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 94
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,526
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 180
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 84
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,157

 
  Python Embedding
Posted by: jibarra - Jul-10-2019, 07:23 PM - Forum: General Coding Help - Replies (4)

I don't know if this is the correct forum but,

I am doing some Python Embedding from:
https://docs.python.org/3.6/extending/em...ml#pure-em..... More

Print this item

  TypeError: missing 1 required positional argument (word counter Django app)
Posted by: Drone4four - Jul-10-2019, 05:22 PM - Forum: Web Scraping & Web Development - Replies (2)

I’ve got a Python script which counts and prints the number of words in a text file. The script runs beautifully. It takes a public domain book (a tex..... More

Print this item

  syntax error on list.sort()
Posted by: jjordan33 - Jul-10-2019, 03:42 PM - Forum: General Coding Help - Replies (3)

Hi,

I'm trying to sort a list of floats by descending order, and I am not sure why I'm getting a syntax error. I am using exactly what I found onli..... More

Print this item

  I don't understand this return statement
Posted by: 357mag - Jul-10-2019, 03:41 PM - Forum: General Coding Help - Replies (4)

This book I'm working out of talks about making a boolean function. It works good and here is the code:
[python]
def is_even(number):
if(number..... More

Print this item

  I carnt see publish/subscribe messages from the class I created.
Posted by: sdf1444 - Jul-10-2019, 02:21 PM - Forum: General Coding Help - No Replies

Hi I carnt seem to print the publish/subscribe messages. I want the publish/subscribe messages from the class I created. The class I created must be k..... More

Print this item

  creating a rectangle
Posted by: sakkokakko - Jul-10-2019, 02:04 PM - Forum: General Coding Help - Replies (3)

Hello
Yesterday I downloaded python and I need to create this program.

input:
2 3
8 2 5
1 7 9

output:
8 1
2 7
5 9

2 3 means that th..... More

Print this item

  cProfile debugging
Posted by: fakka - Jul-10-2019, 01:41 PM - Forum: General Coding Help - No Replies

Have some basic code that loops through a set of databases and assigns a count to a python list.
At end I just make a sum of that python list.
The s..... More

Print this item

  line partially hidden
Posted by: paul18fr - Jul-10-2019, 10:21 AM - Forum: Data Science - Replies (2)

Dear All

I'm learning how to use matplotlib in order to plot 3D surfaces; in the current example, I do not understand why the redline is partially ..... More

Print this item

  consulting .csv file
Posted by: Biembe - Jul-10-2019, 09:06 AM - Forum: General Coding Help - Replies (1)

Hello, there!
I'm new in this forum.
Can you help to correct this code?
I get a message for syntax error.

import pandas as pd

df = pd.read..... More

Print this item

  split by character class
Posted by: Skaperen - Jul-10-2019, 05:07 AM - Forum: General Coding Help - Replies (3)

i want to split a string at the boundary of different classes of character values. in my current case a string has a few ranges of digits so i want s..... More

Print this item

  lost dictionary
Posted by: jjpy - Jul-10-2019, 04:53 AM - Forum: General Coding Help - Replies (1)

Hi Everyone,
Just new here, I'm doing an exercise about dictionary and pickle. I have this code which i use
to capture new data information

[pyth..... More

Print this item

  how to do a numeric sort
Posted by: Skaperen - Jul-10-2019, 04:13 AM - Forum: General Coding Help - Replies (11)

i think all that is needed is a sort key function for this. i want to have a list of files sorted in a numeric way so that:[output]python-3.4.0-foo.g..... More

Print this item

  Need help with 'return' in python
Posted by: Leo12143 - Jul-09-2019, 10:49 PM - Forum: General Coding Help - Replies (2)

Like i say, I need help in python please.

Print this item

  Dataframe not appending correctly
Posted by: python_newbie09 - Jul-09-2019, 07:53 PM - Forum: Data Science - Replies (2)

I have a dictionary of files in this format:

{'filea': ['test/folder2/filea', 'test/folder3/filea', 'test/folder1/filea'],
'fileb': ['test/folder..... More

Print this item

  Return a value when I equal an object from a class
Posted by: ihouses - Jul-09-2019, 07:32 PM - Forum: General Coding Help - Replies (4)

Hello,

I would like to do something like:


[python]class Hi():
def read(self):
return 23


hi = Hi()
val1 = Hi.read()
val2 = Hi[/pyt..... More

Print this item

  moving image with blit
Posted by: rwahdan - Jul-09-2019, 04:59 PM - Forum: Game Development - Replies (2)

Hi,

I am developing a game where the player sprite will move automatically after rolling a dice. based on the number of dice it will move the sprit..... More

Print this item

  Biopython question
Posted by: Aurimas - Jul-09-2019, 03:39 PM - Forum: General Coding Help - Replies (1)

Dear forum members,

I am trying to write a script to calculate distances between atoms in two separate collections (collection_AA_atoms & collectio..... More

Print this item

  if structure converted to dictionary
Posted by: metulburr - Jul-09-2019, 03:38 PM - Forum: Fundamentals - No Replies

If you do not know what a python dictionary is please read this tutorial first.

[url=..... More

Print this item

  Python 3.6.9
Posted by: djx995 - Jul-09-2019, 03:34 PM - Forum: News and Discussions - Replies (2)

Are there going to be any Windows binaries compiled for Python 3.6.9?

Thanks.

Print this item

  Plot/Image analysis %of colored area(grid)
Posted by: TiBotLCPP - Jul-09-2019, 02:33 PM - Forum: Data Science - No Replies

Hello,

For a project I plotted a neighboorhood with matplotlib. I used filled polygons.

I would like to create a script wich divide the area in..... More

Print this item

  Restarting Waitress?
Posted by: Wittermore - Jul-09-2019, 11:53 AM - Forum: Web Scraping & Web Development - Replies (3)

I'm using Waitress to serve Python/Flask web pages on CentOS.

I'm using an HTML template file in the templates folder. When I change the HTML templ..... More

Print this item

  Dark Mode
Posted by: Evil_Patrick - Jul-09-2019, 08:32 AM - Forum: Board - Replies (4)

Is this Forum available in dark mode also? Undecided

Print this item

  How to fix 'uncaught exception of type NSException' in Python
Posted by: MonsterPython - Jul-09-2019, 06:52 AM - Forum: General Coding Help - No Replies

I'm currently making a database using MySql in Python in order to collect information about hospitals. I've created different programs (like one for t..... More

Print this item

  help! this 'for' loop makes me crazy
Posted by: lerner50 - Jul-09-2019, 05:59 AM - Forum: General Coding Help - Replies (5)

I am beginner. Now I have a question, in the following codes I want to get a sorted list such as a = [6,8,10,20,50]
[python]
a=[10,..... More

Print this item

  Adding space between Notebook tabs
Posted by: Columbo - Jul-09-2019, 05:30 AM - Forum: GUI - Replies (4)

Is there any way to add space between the tabs that are added to Tkinter Notebook?

Thanks

Print this item

  Keep moving pressing a key
Posted by: alexponceal - Jul-09-2019, 05:24 AM - Forum: Game Development - Replies (1)

I've started to use PyGame a few days ago and I'm trying to create some games. I'd like to add that I was reading the PyGame documentation (that didn'..... More

Print this item

  the smallest floating point value that when arithmetically added
Posted by: Skaperen - Jul-09-2019, 04:12 AM - Forum: Code sharing - No Replies

inspired by my own post over here i coded this solution:[python]#!/usr/bin/env pytho..... More

Print this item

  Class takes no arguments
Posted by: Myang123 - Jul-09-2019, 02:43 AM - Forum: General Coding Help - Replies (3)

Hey,

I am writing a basic class and I am having problems inserting arguments into the class "Dog".

Here is the source code

[python]
class D..... More

Print this item

  [split] OPENPYXL
Posted by: duranil - Jul-09-2019, 01:10 AM - Forum: General Coding Help - No Replies

Hello All,

I am trying to write a script to populate an excel template with slicers.

I am using the Openpyxl module to run the script but I get ..... More

Print this item

  now i wish Python had an inline commant
Posted by: Skaperen - Jul-09-2019, 12:40 AM - Forum: News and Discussions - Replies (9)

in my print_object() function, which has, so far, succeeded in outputting valid Python code, i am wanting to output ints in hexadecimal as an inline c..... More

Print this item

  Calling a function from another function
Posted by: johneven - Jul-09-2019, 12:26 AM - Forum: Homework - Replies (2)

Having trouble with this one.
The problem reads below:

You will need to write two functions for this problem. The first function, "divide" ..... More

Print this item

  GUI freezes while executing a callback funtion when a button is pressed
Posted by: abi17124 - Jul-08-2019, 10:22 PM - Forum: GUI - Replies (5)

I'm using PySimpleGUI and PyAutoGUI to automate a very tedious Excel to Enovia data migration project, where my task is to look for a part on Enovia, ..... More

Print this item

  Cant get grade part of code to work correctly
Posted by: Expel - Jul-08-2019, 10:02 PM - Forum: General Coding Help - Replies (5)

trying to get the grade part of the code to work, the rest seems to work fine

[python]
print("enter 5#s")
num1 = int(input())
num2 = int(input()..... More

Print this item

  week 1 python help - string formatting ?
Posted by: raymond2688 - Jul-08-2019, 09:27 PM - Forum: Homework - Replies (20)

Thanks in advance. I am stuck on a part of my homework (I know this is basic stuff)
this is the assignment:
Your program should ask the user for hi..... More

Print this item

  Minimum size
Posted by: Amniote - Jul-08-2019, 09:14 PM - Forum: General Coding Help - Replies (8)

Hello everyone,

I have the following two-dimensional list:

['1', '6', '66', '9', '33'], ['1', '6', '9', '33'], ['1', '66', '6', '9', '33'], ['1'..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My regex function is not ... 5 hours ago Moltar1997 perfringo General Codin...
  silent deployment Python ... 6 hours ago Bummibaer Bummibaer News and Disc...
  best way to learn python 10 hours ago dutch ichsanputr News and Disc...
  data fetching for indian ... Yesterday, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... 11-21, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... 11-20, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 11-20, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... 11-20, 04:46 Barber532 SledgeNE Game Developm...
Most views
  The best Prog... 579371
  Tutorial Requ... 512366
  Web Scraping ... 442280
  Newbie with P... 386338
  New Users Int... 380288
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+ 12110
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
matt Today
Divyakrishnan071 Today
ichsanputr Today
nicos18 Yesterday
Moltar1997 Yesterday

User Panel Messages

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