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

Full Statistics

Online Users
There are currently 51 online users.
» 0 Member(s) | 43 Guest(s)
Google, Bing, AOL, AOL, Facebook

Latest Threads
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
1 hour ago
» Replies: 8
» Views: 225
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
1 hour ago
» Replies: 1
» Views: 1,704
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
4 hours ago
» Replies: 0
» Views: 50
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,428
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 840
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Sep-19-2025, 12:30 PM
» Replies: 1
» Views: 3,677
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,190
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,705
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,516
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,616

 
  dictionary question
Posted by: stereokim123 - Apr-01-2021, 08:52 PM - Forum: Homework - Replies (2)

Hi I'm currently learning the basic python course, dictionary.

Item = {‘Apple’ : 10, ‘Banna’ : {‘Apple’ : 5, ‘Banna’ : 20}} here is the code that is ..... More

Print this item

  How to predict output in a regression problem?
Posted by: Rezaafz - Apr-01-2021, 08:50 PM - Forum: Data Science - Replies (1)

Hi everyone
I want to use a regression model of TensorFlow for machine learning some data in my project. I studied the TensorFlow tutorial in this li..... More

Print this item

  Using Regex Expression With Isin in Python
Posted by: eddywinch82 - Apr-01-2021, 08:44 PM - Forum: General Coding Help - No Replies

Hi there,

I am using the following Line Of Code, in Pandas :-

diff = df6.loc[~df6['Venue'].isin(df1['Venue'])]
diff
And I a..... More

Print this item

  wxPython
Posted by: menator01 - Apr-01-2021, 06:51 PM - Forum: Code sharing - Replies (1)

Thought I would try my luck at doing a simple yahtzee in wxpython. Just wanted to share what I have gotten done so far. It is not complete. Only have ..... More

Print this item

  Index data must be 1-dimensional : Classifier with sklearn
Posted by: Salma - Apr-01-2021, 03:22 PM - Forum: General Coding Help - No Replies

Hi,
As a very very beginner, I'm trying to write a code for a random tree forest classifier, and I'm starting with a step to know which features are..... More

Print this item

  Exercise List Overlap
Posted by: Damian - Apr-01-2021, 03:10 PM - Forum: General Coding Help - Replies (7)

Hi all,

I've got an exercise and I'm trying to solve it.

I'm a Python beginner.

EXERCISE
Take two lists (you can use the ones in the exampl..... More

Print this item

  [newbie] Why is a module imported twice?
Posted by: Winfried - Apr-01-2021, 02:13 PM - Forum: General Coding Help - Replies (3)

Hello,

In this example, I notice the module is imported twice.

[python]import gpxpy
import gpxpy.gpx..... More

Print this item

  PythonGrid
Posted by: vj78 - Apr-01-2021, 04:53 AM - Forum: Web Scraping & Web Development - Replies (6)

Has anyone worked with PythonGrid?

How to import and work with PythonGrid Module located here. https://pythongrid.com/installation/

I tried to ..... More

Print this item

  How to make a test data file for the full length of definition?
Posted by: MDRI - Apr-01-2021, 01:55 AM - Forum: General Coding Help - Replies (6)

How to make a test data file for the full length of definition?
================================================================

Thanks for your r..... More

Print this item

  How to make print without newline but wait in between each print?
Posted by: Adrian_L - Apr-01-2021, 12:00 AM - Forum: General Coding Help - Replies (6)

So how do I make a print without newline and have it wait in between print?
My current code: [python]print("=", end= '')
time.sleep(3)
print("=")[..... More

Print this item

  Python and MYSQL Resultset
Posted by: vj78 - Mar-31-2021, 09:37 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi - I am using Python to get results from mysql database.
The results displayed shows quotes and a u concatenated to the results? Not sure why?

R..... More

Print this item

  Request Headers (scheme)
Posted by: JohnnyCoffee - Mar-31-2021, 09:17 PM - Forum: General Coding Help - No Replies

I'm doing tests to structure an http server, initially I use a socket to plug it in (client.side X server.side) this I do without problems, see the co..... More

Print this item

  Getting values from a dictionary
Posted by: brunolelli - Mar-31-2021, 07:21 PM - Forum: General Coding Help - Replies (5)

Hello guys,

I'm using the following API project in order to collect some data from Flight Radar 24.
https://pypi.org/project/FlightRadarAPI/

I..... More

Print this item

  Compare each element of an array in a logic statement without using a for loop
Posted by: leocsmith - Mar-31-2021, 11:11 AM - Forum: General Coding Help - Replies (3)

I want to compare each element of an array to a numerical value without using a for loop. Here's my code:
[python]
if rho_phys * np.power(B, eta) <=..... More

Print this item

  Error no 13: Permission denied in python
Posted by: shantanu97 - Mar-31-2021, 10:54 AM - Forum: General Coding Help - Replies (1)

written a python code for converting excel to csv code. run code in c and g drive. error is coming.

[python]#Purpose: '''This python script is to e..... More

Print this item

  Remove single and double quotes from a csv file in 3 to 4 column
Posted by: shantanu97 - Mar-31-2021, 10:52 AM - Forum: General Coding Help - No Replies

If I did not read csv like this then it will give tokenizing error. But when I read like this in some column double quotes are appearing. I need to re..... More

Print this item

  A 3D game engine
Posted by: markcopperman78 - Mar-31-2021, 10:16 AM - Forum: Game Development - Replies (5)

Hi, I believe you are all familiar with the 2D game engine gdevelop. I'm looking for a 3D game engine that has a code-free and easy to use scripting m..... More

Print this item

  How to make input come after input if certain line inserted and if not runs OtherCode
Posted by: Adrian_L - Mar-30-2021, 10:30 PM - Forum: General Coding Help - Replies (6)

How can I make an input come after another input if a certain piece of text is inputed and if not it prints something else? My current code:[python]us..... More

Print this item

  Timing of a while loop
Posted by: stylingpat - Mar-30-2021, 09:23 PM - Forum: General Coding Help - Replies (4)

I have a while loop that is happening every 30 seconds

[python]def modelTimer():
starttime = time.time()
timeout = time.time() + 60*60*6...... More

Print this item

  Matplotlib in Pycharm - not running
Posted by: ALMOKTM - Mar-30-2021, 06:53 PM - Forum: General Coding Help - Replies (2)

hey. I'm trying to run a simple code with matplotlib liberty.
I got some errors.

ideas what is wrong?
I downloaded the liberty to my project.
the scr..... More

Print this item

  [SOLVED] [geopy] "ValueError: too many values to unpack (expected 2)"
Posted by: Winfried - Mar-30-2021, 06:35 PM - Forum: General Coding Help - Replies (2)

Hello,

I need to draw a circle around a location set by its latitude + longitude.

For some reason, geopy isn't happy with the following:

[pyt..... More

Print this item

  Type Error in Python
Posted by: MarcusB - Mar-30-2021, 06:11 PM - Forum: General Coding Help - Replies (3)

Why do I get
"TypeError: can't multiply sequence by non-int of type 'float'" with the code below?


[python]#add ranges to list of tu..... More

Print this item

  Excel File reading
Posted by: vanjoe198 - Mar-30-2021, 06:02 PM - Forum: Homework - Replies (1)

Hello, I am doing an assignment and not sure what im doing wrong. My job is to search the columns and rows of an excel file using openpxyl. So far I h..... More

Print this item

  looking for someone to partner with me on a project
Posted by: ufukpolat2000 - Mar-30-2021, 05:38 PM - Forum: Jobs - Replies (2)

Hi friends. I'm from Turkey. I have a project and I am looking for a data scientist who can collaborate with me on the project. There is a prop tradin..... More

Print this item

  Getting values from ButtonGroup
Posted by: cnjosack - Mar-30-2021, 02:14 PM - Forum: GUI - Replies (5)

Hi,
I have just started using guizero on a Raspberry Pi4 and I have hit a wall. I followed the tutorial for theater tickets and it worked as stated. ..... More

Print this item

  Synchronization/Timing Problem
Posted by: quest - Mar-30-2021, 02:00 PM - Forum: General Coding Help - Replies (5)

Hello,
The idea is that: I am producing my pairs which is made by bits. Bits are the objects which is produced by another class(this part is ok). Afte..... More

Print this item

  How to read check boxes from word document
Posted by: srikanthpython - Mar-30-2021, 01:58 PM - Forum: General Coding Help - No Replies

Hello Everyone,

I need help to read Check box was selected or not in the word document. I have 3 to 4 pages of word document not sure in which page..... More

Print this item

Photo Filtering data and precision during calculations
Posted by: Scientifix - Mar-30-2021, 01:00 PM - Forum: General Coding Help - No Replies

Hello everyone,

I am currently working on a project which requires me to find the minimum of two fonctions.
The problem is that the process genera..... More

Print this item

  List calculation
Posted by: rturus - Mar-30-2021, 12:04 PM - Forum: General Coding Help - Replies (2)

I just want to see if I can do the following code in a different and less repetitive way.
Thansk.

[python]
if Ranking_Maths[0]==Teams[0]:
Te..... More

Print this item

  del self does not work!
Posted by: quest - Mar-30-2021, 08:41 AM - Forum: General Coding Help - No Replies

Hello,

Here is my class:

[python]
class EO:

#TODO : add method to display/print the object
fragile=True #EO is «destroyed» when 1 b..... More

Print this item

  python to exe running problem
Posted by: Roshan - Mar-30-2021, 05:34 AM - Forum: General Coding Help - Replies (2)

Hi,

I am write program on pycharm & it is running perfectly.

Now i tried to create exe file using pyinstaller.

exe file created but not runni..... More

Print this item

  graphing inequalities
Posted by: Dasiey12 - Mar-30-2021, 01:47 AM - Forum: General Coding Help - No Replies

[python]import matplotlib.pyplot as plt
import numpy as np

x = np.linspace(-10, 10, 100)
y = abs(x+2)
fig = plt.figure(figsize= (10,5))
plt.plo..... More

Print this item

  Small command shell
Posted by: Adrian_L - Mar-29-2021, 11:31 PM - Forum: Code sharing - Replies (2)

Hi there! Got code! Down here |
[python]
import os
print("mini command line v1.0.0")
print("type help for a list of commands.")
print("")

def ..... More

Print this item

  Draw circle from GPS coords, and get GPX file?
Posted by: Winfried - Mar-29-2021, 07:19 PM - Forum: General Coding Help - No Replies

Hello,

I need to write a script that will take 1) a latitude + longitude coordinates, 2) a radius (eg. 10km), and generate a GPX file.

Is there ..... More

Print this item

  Stop Iteration Error
Posted by: quest - Mar-29-2021, 05:40 PM - Forum: General Coding Help - Replies (4)

Hello,

here is my class:
[python]
class inportProp:

def __init__(self, t0, tM, incoming, phys, clinkdt, otherport=None, name=''):
se..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Using a For Loop to subtr... 1 hour ago Anunderling deanhystad General Codin...
  Another app idea - intera... 1 hour ago decuser Lenowell News and Disc...
  A coding beginner needs h... 4 hours ago Littlefish Littlefish 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...
  Scraping a page with log ... 09-19, 12:30 iamaghost Hershien Web Scraping ...
  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...
Most views
  The best Prog... 576534
  Tutorial Requ... 498481
  Web Scraping ... 440413
  Newbie with P... 384316
  New Users Int... 367481
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