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

Full Statistics

Online Users
There are currently 34 online users.
» 0 Member(s) | 30 Guest(s)
Bing, Google, Applebot

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
5 hours ago
» Replies: 2
» Views: 80
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
9 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: 133
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

 
  Sniffing COM Port
Posted by: christianscarlett - Jul-15-2019, 04:48 PM - Forum: General Coding Help - No Replies

Hello,

I am using the bgapi library to manage bluetooth communication using a USB dongle. The library will take a command from my program and will ..... More

Print this item

  Handling multiple errors when using datafiles in Pandas
Posted by: alphanov - Jul-15-2019, 03:18 PM - Forum: Data Science - Replies (1)

Hello
I'm relatively new to Python so please forgive me if this isn't a particularly challenging problem.

I have a very large spreadsheet that I n..... More

Print this item

  appending to the same csv file
Posted by: dervast - Jul-15-2019, 02:25 PM - Forum: General Coding Help - Replies (3)

Hi all,
inside of one of my for loops I am keeping four parameters that I want to store into four columns of a csv file

[python]
# part of an om..... More

Print this item

  Pandas Import CSV count between numerical values within 1 Column
Posted by: ptaylor520 - Jul-15-2019, 02:17 PM - Forum: Data Science - Replies (3)

fileuploadid completedate ... Difference successful (SUM)
0 156691956 03/06/19 00:00 ... 0 1
1 1566919..... More

Print this item

  Receive data from Redis RQ worker process
Posted by: freak14 - Jul-15-2019, 12:39 PM - Forum: General Coding Help - No Replies

Hi,

I am currently trying to get my Flask Web Application working with Redis RQ.

My application gets an input file and analyzes it for approx. 2..... More

Print this item

  Loading .csv data using Pandas
Posted by: zaki424160 - Jul-15-2019, 08:14 AM - Forum: Data Science - Replies (1)

I was trying to load a dataset from my local computer using pandas when I run the code I got these problems, please anyone help me :

[python]
#!/u..... More

Print this item

  which is more Pythonic?
Posted by: Skaperen - Jul-15-2019, 04:07 AM - Forum: General Coding Help - Replies (5)

which is more Pythonic?

...
    foo = [some,stuff,goes,here]
    bar = a_function(arg1,foo,arg3)
...
or:

[python]...
..... More

Print this item

  How to intercept python method calls?
Posted by: DineshBhat - Jul-15-2019, 03:46 AM - Forum: General Coding Help - No Replies

Hello,
I have a python program running as process. I am looking for mechanism to intercept selected function in python program which is already runni..... More

Print this item

  Database search
Posted by: Columbo - Jul-15-2019, 02:07 AM - Forum: General Coding Help - Replies (2)

I would like to have a search function in my app where the user types in a name and the database is searched for the record that matches that name how..... More

Print this item

  converting data sizes like: 4k, 32k, 4m, 16m, 1g, etc
Posted by: Skaperen - Jul-15-2019, 01:57 AM - Forum: General Coding Help - Replies (1)

i'm getting a string with a data size expressed in it like "4k", "32k", "4m", "16m", "1g". is there a Python library function that will do the convers..... More

Print this item

  Court Opinion Scraper in Python w/ BS4 (Currently exports to CSV) need help with SQL
Posted by: MidnightDreamer - Jul-15-2019, 01:50 AM - Forum: Web Scraping & Web Development - Replies (4)

[CODE]
# Justia Court Opinion Scraper
# Works - Scrapes opinion with HTML tags
# Works - Scrapes opinion with HTML tags stripped
# Works - Write t..... More

Print this item

  intermediate book recommendation please?
Posted by: jameson984 - Jul-15-2019, 01:23 AM - Forum: General Coding Help - Replies (1)

I hoping to get some advice on how to take myself to the next level in python programming. I've been using python for about 5 years, but just on my ow..... More

Print this item

  Hot mess with functions, lists, and while loop
Posted by: johneven - Jul-14-2019, 10:05 PM - Forum: Homework - Replies (7)

The problem seems like it should be rather easy, but I'm all over the map in trying to solve it. Here it is:

Write a function, sublist, that..... More

Print this item

  How do I copy files faster with python?
Posted by: steckinreinhart619 - Jul-14-2019, 07:52 PM - Forum: General Coding Help - Replies (7)

Hey guys I know that this issue has already been adressed in a previous threads (https://stackoverflow.com/questions/2207...copy-files..... More

Print this item

  I need help! How to package python code with other component into an exe file??
Posted by: Wendy - Jul-14-2019, 05:39 PM - Forum: General Coding Help - Replies (4)

Ask for help:

How do I package the python code and other components(some exe,jar and dll files) it depends on to run into an executable file..... More

Print this item

  How To Display this Python Code in Web browser?
Posted by: pradhan - Jul-14-2019, 02:43 PM - Forum: General Coding Help - Replies (1)

I have a sample code. how to display the output in web broswer?

For i in range(0, 11):
           print(i)
answer will be:-
0
..... More

Print this item

  What is the use of call method and when to use it?
Posted by: everyday1 - Jul-14-2019, 12:17 PM - Forum: General Coding Help - Replies (1)

I am having a hardtime understanding call methods in python. I have this class object

[python]

class Attention(tf.keras.Model):
def __init_..... More

Print this item

  pythonic help doc
Posted by: metulburr - Jul-14-2019, 11:37 AM - Forum: Board - Replies (1)

I added a pythonic help doc information. If anyone wants to add or modify that help doc, post below your thoughts.
https://python-forum.io/misc.php?..... More

Print this item

  OpenCV - Doubt in a line.
Posted by: ArjunSingh - Jul-14-2019, 11:13 AM - Forum: General Coding Help - Replies (1)

[python]import numpy as np
import cv2

cap = cv2.VideoCapture(0)

# Define the codec and create VideoWriter object
fourcc = cv2.VideoWriter_four..... More

Print this item

  Turn py into exe
Posted by: tester21 - Jul-14-2019, 09:35 AM - Forum: General Coding Help - Replies (4)

I don't have access to a compiler, could someone, please, turn this python 3 code into an exe file and also test it?
[python]
import openpyxl as xl..... More

Print this item

  selecting only october to march from monthly data u
Posted by: Staph - Jul-14-2019, 09:27 AM - Forum: Data Science - Replies (1)

I have array of monthy data. I want to select monthly values starting from october to march like this
my data = starts from [1950-01,1950-02,1950-03,..... More

Print this item

  SyntaxError: invalid syntax
Posted by: jurg1505 - Jul-14-2019, 08:43 AM - Forum: General Coding Help - Replies (5)

I am trying to set a servo with domoticz on a Raspberry pi.
The script works from the command line.

curl -s "http://127.0.0.1:8080/json.htm?type=devi..... More

Print this item

  select data based on indice
Posted by: Staph - Jul-14-2019, 07:43 AM - Forum: Data Science - Replies (4)

I have dataframe like this
month value
0 1 12.214394
1 2 -30.114391
2 3 1.343937
3 4 -29.290909
4 ..... More

Print this item

  Interpreter and running a .py file give different outputs
Posted by: PythonNPC - Jul-14-2019, 05:49 AM - Forum: General Coding Help - Replies (5)

I have written the following code which gives different output when saved as a .py file and run and on the Python interpreter.

[python]a=100000
b=..... More

Print this item

  sleep(n) not working inside tkinter mainloop
Posted by: roger31415 - Jul-14-2019, 01:44 AM - Forum: GUI - Replies (2)

Hello and thanks in advance for any help. I've reproduced an issue present in complex code, in much simpler test code shown below that illustrates th..... More

Print this item

  How to plot multiple scatter plots in seaborn
Posted by: vikola - Jul-13-2019, 11:17 PM - Forum: General Coding Help - Replies (2)

Hi Python users,

I'm a beginner and wondering if anyone can help with advice on how to plot multiple scatterplots using a loop

[python]
import ..... More

Print this item

  Facing issue with pyautogui program after PC upgrade
Posted by: Utkarsh29 - Jul-13-2019, 10:01 PM - Forum: General Coding Help - Replies (2)

Hi All,

I have done one surface automation program & it's was working fine. but after upgrade/window installation including Anaconda new version. I..... More

Print this item

  Changing a traceback message without a 2nd raise
Posted by: Clunk_Head - Jul-13-2019, 09:41 PM - Forum: General Coding Help - Replies (1)

1/0
[error]
Traceback (most recent call last):
File "C:/Documents/err.py", line 9, in <module>
1/0
ZeroDivisionError: ..... More

Print this item

  Secure App Data Storage for Kivy Android App
Posted by: JonPC - Jul-13-2019, 09:13 PM - Forum: General Coding Help - Replies (1)

Hello everyone,
For this summer I have decided to create a personal planner app for storing notes and useful information like tasks or schedules usin..... More

Print this item

  ANOVA: DataFrame ha no Attribute alpha
Posted by: Tese - Jul-13-2019, 09:01 PM - Forum: Data Science - Replies (4)

I'm a beginner in Python, but familiar with statistics. I'm trying to conduct Two Way ANOVA analysis in the use of Python examples from blogs. Specifi..... More

Print this item

  How to create a list with all values being zero
Posted by: 357mag - Jul-13-2019, 08:42 PM - Forum: General Coding Help - Replies (4)

I've written a program that asks the user to input integers which will be placed in a list. I only want to input four integers. I'm looking for ways t..... More

Print this item

  Looping through music files (SOLVED)
Posted by: ebolisa - Jul-13-2019, 06:16 PM - Forum: General Coding Help - No Replies

Hi,

I just cannot understand why the below code is not looping.

It plays a song and then stops and exits.

TIA

[python]#!/usr/bin/python3
..... More

Print this item

  ImportError: cannot import name 'path'
Posted by: user123 - Jul-13-2019, 06:15 PM - Forum: General Coding Help - Replies (2)

Hi All,

I've written a small piece of code to get the number of files in a directory.
I installed the path module as well, but still i'm getting the ..... More

Print this item

  Running python from Sublime Text editor
Posted by: balley810 - Jul-13-2019, 05:49 PM - Forum: General Coding Help - Replies (2)

I am new to programming. I am using Python Crash Course, 2nd edition to get started. I can run a simple (Hello Python world!) program from the C:> p..... More

Print this item

  I am using Thonny and the help file is not very helpful.
Posted by: yeto - Jul-13-2019, 03:04 PM - Forum: News and Discussions - No Replies

On some other editors if I pressed F1 the editor would bring up a more complete help file. Is this possible with Thonny?

Thank you,
yeto

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 ... 5 hours ago Bummibaer Bummibaer News and Disc...
  best way to learn python 9 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... 579369
  Tutorial Requ... 512354
  Web Scraping ... 442280
  Newbie with P... 386334
  New Users Int... 380260
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
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
Divyakrishnan071 Today
ichsanputr Today
nicos18 Yesterday
Moltar1997 Yesterday
arthurlouiss Yesterday

User Panel Messages

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