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,422
» Latest member: alexfox
» Forum threads: 38,829
» Forum posts: 176,077

Full Statistics

Online Users
There are currently 24 online users.
» 0 Member(s) | 22 Guest(s)
Bing

Latest Threads
If I open a file write or...
Forum: General Coding Help
Last Post: bowlofred
4 hours ago
» Replies: 5
» Views: 116
a function to watch files
Forum: News and Discussions
Last Post: Skaperen
Yesterday, 05:21 AM
» Replies: 3
» Views: 747
python re.finditer return...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 02:57 AM
» Replies: 8
» Views: 513
Exponential Number Conver...
Forum: General Coding Help
Last Post: DeaD_EyE
Jan-09-2026, 08:47 PM
» Replies: 4
» Views: 457
Possible bug found, pleas...
Forum: General Coding Help
Last Post: alexajames
Jan-08-2026, 04:31 PM
» Replies: 14
» Views: 806
How to put my game loop i...
Forum: Game Development
Last Post: MarkHenry
Jan-08-2026, 12:47 PM
» Replies: 12
» Views: 7,767
Code failing to ask input...
Forum: Homework
Last Post: perfringo
Jan-08-2026, 06:35 AM
» Replies: 4
» Views: 732
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: OtiliaGen
Jan-07-2026, 07:13 AM
» Replies: 6
» Views: 1,036
Data Science
Forum: Data Science
Last Post: OtiliaGen
Jan-04-2026, 10:20 AM
» Replies: 4
» Views: 3,622
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Jan-02-2026, 12:32 PM
» Replies: 29
» Views: 17,381

 
  remove .0
Posted by: oli_action - Sep-29-2020, 10:51 AM - Forum: Homework - Replies (3)

Hey everyone. I've written this code. It all works fine except the answer always has a .0 . The answer is correct, but is there a way to get rid of th..... More

Print this item

  Automated service status for windows
Posted by: Pkhan - Sep-29-2020, 10:46 AM - Forum: General Coding Help - Replies (2)

Hello All,

I am looking for a simple command to fetch the automated service status in Windows, ESX, VMware/VMware cluster servers.

Also, please ..... More

Print this item

  convert list to five columns dataframe in sequence
Posted by: tonycat - Sep-29-2020, 06:09 AM - Forum: General Coding Help - Replies (2)

I am new to programming and python, need help to convert the list to five columns Dataframe , but keep the sequences Huh Huh


small samp..... More

Print this item

  List index out of range error while accessing 2 lists in python
Posted by: K11 - Sep-29-2020, 04:55 AM - Forum: General Coding Help - Replies (2)

I have 2 Lists in my code.
data list is having len = 11
new_list is having len = 23

I have to search if a string from data list exists in new_li..... More

Print this item

  Press on touchscreen area.
Posted by: ATARI_LIVE - Sep-29-2020, 12:01 AM - Forum: GUI - Replies (3)

I looked up google and seem not same what I am looking for.

Here what I am looking for to get position such area on the touchscreen by the finger l..... More

Print this item

  Convert a sentence to pig latin
Posted by: SalsaBeanDip - Sep-28-2020, 09:51 PM - Forum: Homework - Replies (4)

I am writing a function that will convert a sentence to pig latin. To do this, I convert all the letters to uppercase, remove the first letter and pla..... More

Print this item

  Please help my while loop does not work as expected
Posted by: KingKhan248 - Sep-28-2020, 07:07 PM - Forum: General Coding Help - Replies (6)

I was doing some math and came across a tedious problem that I thought could be solved easily by a computer, so I thought I would try writing some pyt..... More

Print this item

  Read mouse position on separate between two HDMIs
Posted by: ATARI_LIVE - Sep-28-2020, 07:02 PM - Forum: General Coding Help - Replies (1)

I need help with the reading the mouse position on each HDMI.
I have two HDMI outputs.
I need like this:
One reading mouse X Y on HDMI 0
AND
One ..... More

Print this item

  Factors in statsmodels mixedlm
Posted by: rleduc42 - Sep-28-2020, 05:51 PM - Forum: Data Science - Replies (1)

Hello All,

I'm trying to calculate a nested effect mixed model where both a and b are factors (in R terminology) or class variables (in SAS). The i..... More

Print this item

  Jupyter Notebook cell ?
Posted by: flaviu2 - Sep-28-2020, 05:12 PM - Forum: General Coding Help - Replies (6)

Sorry for this trivial question. I have read in some Python tutorial how to "import" OpenCV in Python: OpenCV can be installed through pip, by running..... More

Print this item

  TouchScreen active on other HDMI...
Posted by: ATARI_LIVE - Sep-28-2020, 05:07 PM - Forum: Bar - No Replies

I use HDMI-0 with 5" LCD with touch screen and HDMI-1 with 27" LCD 1080i.
when i touching on the 5" LCD and the pointer moving on HDMI-1 which I do n..... More

Print this item

  Integer division
Posted by: plozaq - Sep-28-2020, 04:55 PM - Forum: General Coding Help - Replies (2)

Hi all. I am new to python and was hoping to get some help. I understand that // is used to do integer division but I'm confused about certain outcome..... More

Print this item

  naming conventions
Posted by: mvolkmann - Sep-28-2020, 02:56 PM - Forum: General Coding Help - Replies (4)

I'm somewhat new to Python. I see there is a convention to use CamelCase for classes, UPPER_CASE for constants, and snake_case for pretty much everyth..... More

Print this item

  Newbie - Small Project to Work On
Posted by: lasek723 - Sep-28-2020, 01:33 PM - Forum: News and Discussions - Replies (1)

Hi All,

I have been learning Python over the last month - really enjoying it.

I have just completed the intermediate stage on Datacamp.

Wh..... More

Print this item

  scraping code
Posted by: nexuz89 - Sep-28-2020, 12:16 PM - Forum: Web Scraping & Web Development - No Replies

Hello everyone, I need your help



I would like to get out of this page

..... More

Print this item

  Auto-Updating Dashboard w/ Notifications
Posted by: Kadin - Sep-28-2020, 12:03 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi there,

I am creating a data-dashboard for my company, and need to know if Python is capable of creating what has been requested. I need to creat..... More

Print this item

  Web terminal app advice
Posted by: IndexEng - Sep-28-2020, 11:29 AM - Forum: Web Scraping & Web Development - Replies (4)

I am planning a project to record journal entries and am intending on storing the data in a Postgres database. I was intending on creating a text base..... More

Print this item

  Wrong output, something is missing in my codes
Posted by: Julan - Sep-28-2020, 10:39 AM - Forum: Homework - Replies (5)

I'm a freshman, and have this assignment to just fill inn the missing codes/def functions.
I think I'm done but get the wrong output.

When I run i..... More

Print this item

  Displaying output in GUI ( Tkinter)
Posted by: Zouloutamtam - Sep-28-2020, 10:34 AM - Forum: GUI - Replies (7)

Hi everyone
I am new to "programing".
I am experiencing some problems to display my output data on Tkinter. i have been reading a lot. but i am not..... More

Print this item

  Coding error- Not sure where I have put error markers against the code that is wrong
Posted by: Username9 - Sep-28-2020, 07:52 AM - Forum: General Coding Help - Replies (1)

[python]#from book_shop import BookShop
# THE ERRORS ARE MARKED NOT SURE HOW TO CORRECT THEM WITH THE CORRECT WORDING
# ITS CODE FOR A CAR HIRE AND ..... More

Print this item

  put an image into 3 parts
Posted by: Nickd12 - Sep-28-2020, 07:28 AM - Forum: General Coding Help - Replies (4)

So I have a question regarding images and movies or more like gifs but lets say I have an image and I want to put it in to 3 parts if any one is famil..... More


Attached Files

Thumbnail(s)
   
Print this item

  How to remove dict from a list?
Posted by: Denial - Sep-28-2020, 07:05 AM - Forum: General Coding Help - Replies (7)

Hello all

I have created this list with dictionary for all video files with their media details. I want to remove all dictonaries records from the ..... More

Print this item

  Appending list Trouble Big Time
Posted by: Milfredo - Sep-28-2020, 05:37 AM - Forum: General Coding Help - Replies (7)

I am trying to append a list of elements to a larger list as I iterate through the data. Something crazy is happening.

[python]

def extract_hors..... More

Print this item

  Inserting data from a table to another (in same db)
Posted by: firebird - Sep-28-2020, 03:17 AM - Forum: Web Scraping & Web Development - Replies (5)

Hello Everyone!
Would you kindly help figure out how to manage to carry out the following task. I have a database with two table, jobs (where there s..... More

Print this item

  Counting of rows in Excel Spreadsheet
Posted by: dakrantau - Sep-28-2020, 01:36 AM - Forum: Data Science - Replies (2)

Howdy! Am a newbie, appreciate any guidance shared.

Given an excel with data with rows of information with a Field called cities: Melbourne, Singap..... More

Print this item

  Strange Python Bug
Posted by: Excelsiscelia - Sep-28-2020, 01:30 AM - Forum: General Coding Help - Replies (2)

Hey. So, I've run into this bug several times before. I can't understand why it is happening. I will start by sharing the code I am writing. It's a cl..... More

Print this item

  function scroll shift
Posted by: VenD - Sep-28-2020, 01:18 AM - Forum: Homework - Replies (1)

Write a function that takes two arguments — a list ? and a number
? and returns a list of ? elements, scrolled ? elements to the right (elements,
th..... More

Print this item

  log scale
Posted by: bou16 - Sep-27-2020, 09:00 PM - Forum: Data Science - Replies (1)

Hi all,

How to use the plt.yscale('log') command to get my graph in log scale with matplotlib?

I have to visualize the SDF data.

Thank you fo..... More

Print this item

  find the class for indexed counting
Posted by: Skaperen - Sep-27-2020, 06:51 PM - Forum: News and Discussions - Replies (4)

i still don't have a document that maps features to module or class names. this problem is not exclusive to Python. this is why i end up over-implem..... More

Print this item

  Calculating Beta over Rolling Periods
Posted by: illmattic - Sep-27-2020, 04:36 PM - Forum: Data Science - Replies (2)

Hello,

I'm trying to create a function that calculates the x-day beta of a stock to the overall market. This is my current function:

[python]def..... More

Print this item

  Trying to cycle through a list of charcters
Posted by: pooky2483 - Sep-27-2020, 02:23 PM - Forum: General Coding Help - Replies (12)

I'm trying to cycle through a length of characters but I am having problems figuring out how to just have 22 show. instead I am getting the following ..... More

Print this item

  Help with scroll bars
Posted by: kraco - Sep-27-2020, 01:02 PM - Forum: GUI - Replies (1)

I have written this code, but the scrollbar shoows in a small window, I am trying to make the scroll bar window bigger or even better if I could make ..... More

Print this item

  xset changed?
Posted by: ATARI_LIVE - Sep-27-2020, 12:50 PM - Forum: Bar - No Replies

I looked up many on the internet about turn off on the HDMI and it said use xset dpms force on and I tried to use [inline]xset dpms f..... More

Print this item

  Printing sequence of numbers
Posted by: kam_uk - Sep-27-2020, 12:36 PM - Forum: Homework - Replies (1)

Hello

I am trying to print a print the folliwing

123...n

So, for example, if n = 5, we would print 12345

I played around and Googled, and ..... More

Print this item

  import
Posted by: Mathisdlg - Sep-27-2020, 10:43 AM - Forum: General Coding Help - Replies (2)

Hello everybody,
I want to use my own library in my program

import mylib
I don't know what can I do this.
And can you giv..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  If I open a file write or... 4 hours ago Pedroski55 bowlofred General Codin...
  a function to watch files Yesterday, 05:21 Skaperen Skaperen News and Disc...
  python re.finditer return... Yesterday, 02:57 arbiel Pedroski55 General Codin...
  Exponential Number Conver... 01-09, 20:47 Tuurbo46 DeaD_EyE General Codin...
  Possible bug found, pleas... 01-08, 16:31 Hassher alexajames General Codin...
  How to put my game loop i... 01-08, 12:47 temlotresid6 MarkHenry Game Developm...
  Code failing to ask input... 01-08, 06:35 Phoenix_Narukami perfringo Homework
  sorting a lisr of file pa... 01-07, 07:13 Skaperen OtiliaGen News and Disc...
  Data Science 01-04, 10:20 Oshadha OtiliaGen Data Science
  Merge video with subtitle... 01-02, 12:32 Pavel_47 OtiliaGen General Codin...
  Check if running from she... 01-01, 11:52 rjdegraff42 noisefloor General Codin...
Most views
  The best Prog... 580747
  Tutorial Requ... 522312
  Web Scraping ... 442918
  New Users Int... 388158
  Newbie with P... 387140
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+ 12117
buran 8197
snippsat 7399
deanhystad 6921
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
alexfox Yesterday
zalexisshulzeo8879 Yesterday
SUMIATI Yesterday
starboy25 Yesterday
zabenjamitop8877 01-10

User Panel Messages

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