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,517
» Latest member: LewisMax
» Forum threads: 38,586
» Forum posts: 174,840

Full Statistics

Online Users
There are currently 697 online users.
» 1 Member(s) | 687 Guest(s)
Bing, Google, Yandex, Facebook, Apple, buran

Latest Threads
Functions: why use a vari...
Forum: General Coding Help
Last Post: Axel_Erfurt
19 minutes ago
» Replies: 1
» Views: 46
Ismaelbourb
Forum: General Coding Help
Last Post: LewisMax
31 minutes ago
» Replies: 0
» Views: 18
Best way to pass data to ...
Forum: Game Development
Last Post: RogereK
10 hours ago
» Replies: 7
» Views: 5,084
Is Python used to make po...
Forum: Game Development
Last Post: RogereK
Yesterday, 04:17 AM
» Replies: 17
» Views: 31,769
Unequal values when added...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 12:24 AM
» Replies: 1
» Views: 205
Call CLI app with input?
Forum: General Coding Help
Last Post: snippsat
May-23-2025, 07:52 PM
» Replies: 5
» Views: 373
backtesting can't optimiz...
Forum: General Coding Help
Last Post: snippsat
May-23-2025, 07:46 PM
» Replies: 1
» Views: 146
Looking for ideas
Forum: Bar
Last Post: Larz60+
May-23-2025, 10:55 AM
» Replies: 2
» Views: 472
How to put my game loop i...
Forum: Game Development
Last Post: RogereK
May-23-2025, 12:35 AM
» Replies: 9
» Views: 2,704
Languages
Forum: General Coding Help
Last Post: Arush
May-22-2025, 06:51 PM
» Replies: 2
» Views: 270

 
  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

  Gmail API - Error 400: redirect_uri_mismatch
Posted by: Depp - Jun-11-2022, 08:06 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi,

I am trying to access Gmail API using Al Sweigart book, however I am getting "Error 400: redirect_uri_mismatch". Attached is the print screensh..... More


Attached Files

Thumbnail(s)
   
Print this item

  List Creation and Position of Continue Statement In Regular Expression Code
Posted by: new_coder_231013 - Jun-11-2022, 12:57 PM - Forum: General Coding Help - Replies (3)

Hello,

I'm going through a Python course and there's a section on extracting data using regular expressions in which the presenter shows the follow..... More

Print this item

  Cannot Display Image after Selecting Image
Posted by: bintangkecil - Jun-11-2022, 09:32 AM - Forum: GUI - Replies (4)

Hello,

I'm trying to figure out how to display image in label. I design the GUI with Qt Designer and work with PyQt5.

Right now I have defined..... More

Print this item

  pdf2image, poppler and paths
Posted by: jehoshua - Jun-11-2022, 02:21 AM - Forum: General Coding Help - Replies (18)

I need to run some tests on converting PDF's to images. The article at https://medium.com/towards-data-science/...-pdf-using-..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Functions: why use a vari... 19 minutes ago MMartin71 Axel_Erfurt General Codin...
  Ismaelbourb 31 minutes ago LewisMax LewisMax General Codin...
  [PyGame] Best way to pass... 10 hours ago Milosz RogereK Game Developm...
  Is Python used to make po... Yesterday, 04:17 ironsheep RogereK Game Developm...
  Unequal values when added... Yesterday, 00:24 Azdaghost deanhystad General Codin...
  Call CLI app with input? 05-23, 19:52 Winfried snippsat General Codin...
  backtesting can't optimiz... 05-23, 19:46 Running_Code snippsat General Codin...
  Looking for ideas 05-23, 10:55 Azdaghost Larz60+ Bar
  How to put my game loop i... 05-23, 00:35 temlotresid6 RogereK Game Developm...
  Languages 05-22, 18:51 Azdaghost Arush General Codin...
  Error on import: SyntaxEr... 05-21, 07:49 kirkwilliams2049 Kiongi General Codin...
Most views
  The best Prog... 568295
  Tutorial Requ... 468588
  Web Scraping ... 433077
  Newbie with P... 372055
  Thread remain... 344064
Most reputation
buran 580
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 449
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12053
buran 8171
snippsat 7328
deanhystad 6828
metulburr 5151
Top referrers
Googlepro 22
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
LewisMax Today
MMartin71 Today
lele2405 Today
ntalieyandextz4427 Today
Timpo Today

User Panel Messages

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