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,933
» Latest member: Dibbley
» Forum threads: 38,721
» Forum posts: 175,507

Full Statistics

Online Users
There are currently 49 online users.
» 0 Member(s) | 44 Guest(s)
Google, Bing, AOL, DuckDuckGo, AOL

Latest Threads
Too much space between gr...
Forum: GUI
Last Post: RonR
21 minutes ago
» Replies: 4
» Views: 1,005
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
1 hour ago
» Replies: 3
» Views: 30
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Yesterday, 07:07 AM
» Replies: 1
» Views: 427
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-15-2025, 08:58 PM
» Replies: 8
» Views: 2,597
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 1,605
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 517
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 157
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Sep-15-2025, 03:28 PM
» Replies: 7
» Views: 3,023
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,258
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
Sep-14-2025, 03:32 PM
» Replies: 2
» Views: 936

 
  I have no clue what I am doing wrong here
Posted by: elroberto - Jun-18-2022, 05:52 AM - Forum: General Coding Help - Replies (4)

Code Version 1:
[python]message="Thank You for Choosing Robert's Fiberoptics! The One-Stop-Shop for all your fiberoptics needs!"
print(message)

..... More

Print this item

  Simple encoding code
Posted by: ebolisa - Jun-17-2022, 09:44 PM - Forum: General Coding Help - Replies (3)

Hi,

This simple encoding code converts text to ASCII and adds a one digit number to it. It seems to work ok, but while testing it, I noticed that i..... More

Print this item

  ValueError: Found input variables with inconsistent numbers of samples
Posted by: saoko - Jun-16-2022, 06:59 PM - Forum: General Coding Help - No Replies

I'm trying to write a bounding box regression training script with Keras and TensorFlow for object detection. I have a dataset of 3153 images (in jpg ..... More

Print this item

  Looping sent message with socket
Posted by: anastejzja - Jun-16-2022, 06:59 PM - Forum: Homework - Replies (1)

Hi, I'm almost finished with my project for university, but I'm having a really rough time with looping the message that is sent. I've tried doing it ..... More

Print this item

  Grid-EYE and Raspberry Pi to adafruit IO
Posted by: JLivingstonsg - Jun-16-2022, 01:23 PM - Forum: General Coding Help - No Replies

Hi.

Anyone know how to get people counter and x/y position data
https://www.hackster.io/64742/people-cou...-raspberry-..... More

Print this item

  client.get_all_tickers() Doesn't work
Posted by: gerald - Jun-16-2022, 07:44 AM - Forum: General Coding Help - Replies (2)

Hi everyone,

This line used to work without any problems: client.get_all_tickers()

But now all of a sudden it gives a Timeout exception.

Now ..... More

Print this item

  wrapping c++ library
Posted by: JESuh - Jun-16-2022, 05:56 AM - Forum: General Coding Help - Replies (2)

Hello,

I want to use some c++ library in python code.
I used scipy dsp(digital signal processing) filter until now, but it was too slow and this p..... More

Print this item

  print statements without ()
Posted by: petec - Jun-16-2022, 03:58 AM - Forum: General Coding Help - Replies (7)

I have been findiing sites that include examples that have print ststements that don't use (), they use "".
When I try to execute these examples they..... More

Print this item

  generators with errors
Posted by: Skaperen - Jun-15-2022, 10:47 PM - Forum: News and Discussions - Replies (1)

normally a generator initially returns a reference to an instance of that generator which is holding specific parameters and/or data it needs to do it..... More

Print this item

  Pandas dataframe indexing
Posted by: pythonNovice - Jun-15-2022, 08:51 PM - Forum: Homework - Replies (1)

I am new to python and have decided to take a self-paced free course. i attempting to generate a scatter plot for "price" vs "area" in the state of "R..... More


Attached Files

Thumbnail(s)
   
Print this item

  Can a program execute code in iPython shell and get result?
Posted by: deanhystad - Jun-15-2022, 08:44 PM - Forum: General Coding Help - Replies (3)

I am playing around with iPython magic commands. I am trying to write a command to "enter" an object. When the user types:
[python]ENTER expression[..... More

Print this item

  \n not working
Posted by: WouldWerker - Jun-15-2022, 07:48 PM - Forum: General Coding Help - Replies (4)

Why does the following code work in my CLI, but not on my local Apache web server?

[python]#!C:\Python310\python.exe
print ("Content-type: text/ht..... More

Print this item

  An idiotic problem on Python lists on HackerRank
Posted by: anata2047 - Jun-15-2022, 06:32 PM - Forum: Homework - Replies (4)

I found the hackerrank.com, where you can solve tasks and use whatever tutorials for this.
There's one problem on Python lists, which seems idiotic an..... More

Print this item

  python wheel file
Posted by: Led_Zeppelin - Jun-15-2022, 01:07 PM - Forum: General Coding Help - Replies (1)

I am trying to install python 3.7 or less in my virtual env. via pip or conda. But it says it cannot find the version I want and aborts the install. ..... More

Print this item

  __getitem__ Error
Posted by: stahorse - Jun-15-2022, 07:33 AM - Forum: General Coding Help - Replies (4)

Hi,

I have this code below:

[python]import configparser
import graph

def main():
# print('Python Graph Tutorial\n')

# Load setti..... More

Print this item

  Passing string functions as arguments
Posted by: Clunk_Head - Jun-15-2022, 04:44 AM - Forum: General Coding Help - Replies (3)

I want to pass string functions like string.upper into another function as a parameter, there to be called as a function.
A simplified example:
[pyt..... More

Print this item

  What time format is this?
Posted by: wrybread - Jun-14-2022, 10:27 PM - Forum: General Coding Help - Replies (3)

I'm working with an API that returns the time for events in this format:

2022-06-14T13:00:00-07:00

Can I presume that that's telling me local ti..... More

Print this item

Sad pandas writer create "corrupted" file
Posted by: freko75 - Jun-14-2022, 07:58 PM - Forum: General Coding Help - Replies (1)

Hello,
I recently start to learn Python (I use Jupyter), and I do a code which scrap data from several urls. Depending on the frames, I write data in..... More

Print this item

  What web UI framework do you all use?
Posted by: Fredrik - Jun-14-2022, 05:04 PM - Forum: Web Scraping & Web Development - No Replies

I do not mean Flask or Django, I mean UI library.

I want to create a single page app with similar controls to a normal desktop app, but as always i..... More

Print this item

  Scrollable buttons with an add/delete button
Posted by: Clich3 - Jun-14-2022, 03:20 PM - Forum: GUI - Replies (5)

I am trying to make a GUI to manage the sensors I am going to be putting in my aquariums, terrariums, and vivariums. I am going to have a main menu sc..... More


Attached Files

Thumbnail(s)
   
Print this item

  Points not plotting with reference to x-tick labels
Posted by: Mark17 - Jun-14-2022, 03:08 PM - Forum: General Coding Help - Replies (2)

Here's the graphing portion of my program:
[Python]
fig, axs = plt.subplots(1,1)
fig.set_size_inches(14, 6)

axs.plot(trade_list,P_price_orig_all, ma..... More

Print this item

  How to solve this simple problem? Check if cvs first element is the same in each row?
Posted by: thesquid - Jun-14-2022, 02:50 PM - Forum: General Coding Help - Replies (2)

Ok so I have a cvs with these information (I am using pipes and not commas):

1 | A | B
1 | C | D
2 | E | F


I need a code that does this:
I..... More

Print this item

  Errror when importing pixiedust
Posted by: Led_Zeppelin - Jun-14-2022, 02:01 PM - Forum: General Coding Help - Replies (2)

I install pixie debugger and it installs fine with the commnad

pip install pixiedust

However, when I import it I get the error:

[error]
Attr..... More

Print this item

  set.difference of two list gives empty result
Posted by: wardancer84 - Jun-14-2022, 11:03 AM - Forum: General Coding Help - Replies (4)

hi,

i want to get the difference from two list of strings (using sets) but i always get an empty result. funny enough this worked until today and s..... More

Print this item

  Problem with importing Python file in Visual Studio Code
Posted by: DXav - Jun-14-2022, 10:04 AM - Forum: General Coding Help - Replies (7)

Hello here ! I'm learning how to code starting with Python, and I'm facing a problem trying to import a file as a module. With this code :

[python]..... More

Print this item

  How to format Excel column with comma?
Posted by: dee - Jun-13-2022, 10:11 PM - Forum: General Coding Help - No Replies

I want to format the number columns with commas. I received an error "column.map = '{:,d}'.format AttributeError: 'str' object has no attribute 'map'"..... More

Print this item

  Sublime Text Editor not recognizing Python
Posted by: elroberto - Jun-13-2022, 03:17 PM - Forum: General Coding Help - Replies (5)

I am just trying to run a hello world file through sublime text and it is not recognizing python. I am currently taking an intro to programming class ..... More

Print this item

  4D matrices
Posted by: ali1almakhmari - Jun-13-2022, 09:21 AM - Forum: General Coding Help - No Replies

Hi guys. I recently switched from MATLAB to Python and the syntax is killing me a bit. I ran across this issue here

[python]
picture[:,:,:,j] = cv..... More

Print this item

  Pyspark Window: perform sum over a window with specific conditions
Posted by: Shena76 - Jun-13-2022, 08:59 AM - Forum: General Coding Help - No Replies

Hello everyone,

I'm just learning about pyspark windows, and I was wondering how to achieve a particular operation.

I have a Pyspark table that ..... More

Print this item

  Problem with scrapping Website
Posted by: giddyhead - Jun-13-2022, 03:35 AM - Forum: Web Scraping & Web Development - Replies (1)

Good Day Everyone. I am having issues with web scaping as I am not sure why it does not want to scape. I am using xpath and also soup to gather the ..... More

Print this item

  Simple Python API, need packaging/removing hardcoding
Posted by: zxcv101 - Jun-12-2022, 07:36 PM - Forum: General Coding Help - Replies (2)

Hi guys, very much a newbie question, so pls go easy.

I have assembled the following program by searching the net - this basically logs onto a brok..... More

Print this item

Bug Problem connecting TLS client written in C++ and Twisted server
Posted by: gpropf - Jun-12-2022, 05:57 PM - Forum: Networking - No Replies

I'm trying to get a TLS (encrypted) connection between a client program written in C++ using the Boost::Asio framework and a server written using the ..... More

Print this item

  function understanding
Posted by: insignia47 - Jun-12-2022, 02:49 PM - Forum: Game Development - No Replies

Hello Everyone.

I want to understand the concept behind this function or simply if anybody could explain the function as what its doing and how is ..... More

Print this item

  parallel loop python
Posted by: caro - Jun-12-2022, 07:57 AM - Forum: General Coding Help - Replies (4)

Hello,
I have a funtion with a for loop, and i would like that the loop will be process faster and to make each loop run by a process so that it w..... More

Print this item

  Pygame running slow
Posted by: patagondev - Jun-11-2022, 11:25 PM - Forum: Game Development - Replies (3)

Hello. Im trying to run a simple snake code, which I get from youtube. In the video runs smoothly and fast, but when I run it freezes for moments and..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [Tkinter] Too much space ... 21 minutes ago RonR RonR GUI
  datetime in SQL query. 1 hour ago Dibbley Dibbley General Codin...
  Another app idea - intera... Yesterday, 07:07 decuser Lenowell News and Disc...
  403 Error 09-15, 20:58 CaptainNewb snippsat Web Scraping ...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 09-14, 15:32 fred1232 deanhystad General Codin...
  New to Python and Pygame 09-14, 11:25 JMcM JMcM Game Developm...
Most views
  The best Prog... 575882
  Tutorial Requ... 497242
  Web Scraping ... 439870
  Newbie with P... 383596
  New Users Int... 365721
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 8174
snippsat 7367
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Dibbley Today
krish12 Today
XenonBlack Yesterday
Lenowell Yesterday
luisshulez6883 09-15

User Panel Messages

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