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,888

Full Statistics

Online Users
There are currently 45 online users.
» 0 Member(s) | 41 Guest(s)
Bing, Google, AOL, Mojeek

Latest Threads
My regex function is not ...
Forum: General Coding Help
Last Post: bowlofred
3 hours ago
» Replies: 2
» Views: 93
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
3 hours ago
» Replies: 6
» Views: 3,175
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Yesterday, 11:51 AM
» Replies: 1
» Views: 66
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Yesterday, 02:50 AM
» Replies: 6
» Views: 237
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 126
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 89
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,521
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 172
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 80
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,145

 
  Organizing Data in Dictionary
Posted by: Ranjirock - Aug-23-2019, 08:26 PM - Forum: General Coding Help - Replies (3)

Hello All,

I'm trying to pull the data from excel and organize it inside the dictionary for further usage. some how I'm failing, please help.

In..... More

Print this item

  Connection issue
Posted by: metro17 - Aug-23-2019, 07:32 PM - Forum: General Coding Help - No Replies

Warning:
This Python interpreter is in a conda environment, but the environment has
not been activated. Libraries may fail to load. To activate th..... More

Print this item

  How to read a file using stdin?
Posted by: pyth0nus3r - Aug-23-2019, 05:50 PM - Forum: General Coding Help - Replies (1)

So far I have worked with this script which assigns the first line of the file to variable a and the second line to variable b. But I want to read all..... More

Print this item

  convert List of Dicts into a 2 deep Nested Dict
Posted by: rethink - Aug-23-2019, 05:16 PM - Forum: General Coding Help - Replies (1)

Hi

Ive been banging my head against a wall for some time with this now, so hoping somebody will be able to point me in the right direction

I am ..... More

Print this item

  Send Email with attachment
Posted by: metro17 - Aug-23-2019, 03:29 PM - Forum: Networking - Replies (4)

I found this code online to send emails with attachments. Currently I believe it sends "encoded" attachments as the data is unreadable. How can I send..... More

Print this item

  Extracting data from multiple txt files
Posted by: Emmanouil - Aug-23-2019, 01:55 PM - Forum: General Coding Help - Replies (7)

Hello, is there any way to extract certain lines from multiple txt files that
contain dialogues? I need to extract lines based on person's name, i.e..... More

Print this item

  i keep getting unordered output when using dictionaries
Posted by: fuadfzy - Aug-23-2019, 09:28 AM - Forum: General Coding Help - Replies (4)

Hello guys, i'm new here. please go easy on me Smile

i got a quite dummy question to ask. when i used the dictionaries data structure, i keep ..... More

Print this item

  Accepting strings as arguments when slicing a string? (Ziyad Yehia on Udemy)
Posted by: Drone4four - Aug-23-2019, 08:07 AM - Forum: General Coding Help - Replies (4)

The purpose of the exercise is to take a string which says: "happy_birthday" and then use slicing to have the interpreter print just ‘happy’.

Take..... More

Print this item

  PyQt5 : Interpreter Crashes While Initializing Message Box
Posted by: iMuny - Aug-23-2019, 07:11 AM - Forum: GUI - Replies (7)

Hello forum members. I hope everyone is doing well.

Can someone please look at the code below and tell me what i am doing wrong. I've been using th..... More

Print this item

  How can I do it in Python for this SQL statement?
Posted by: mmk1995 - Aug-23-2019, 04:49 AM - Forum: Data Science - Replies (1)

Hello All,

I would like to ask, I have dataframe like this:

datetime,NO,PG,PART_TIME,COURSE_YEAR
09/02/2018 13:43:42,3035447142,UG,F,2
09/02/2..... More

Print this item

  same number everytime when using random.randint
Posted by: summeringpainting - Aug-23-2019, 03:31 AM - Forum: General Coding Help - Replies (5)

Every time I run this the random number to print out win is 3. Any help with this would be greatly appreciated!

[python]import ..... More

Print this item

  utf-8 decoding failed every time i try
Posted by: adnanahsan - Aug-23-2019, 02:07 AM - Forum: General Coding Help - Replies (21)

Hi Guyz,

Whenever i try to decode utf-8 in python3, i always get unicodedecoderror like utf-8 codec cant decode byte at bla bla bla

for exampl..... More

Print this item

  any way to load page in utf-8 encoding
Posted by: adnanahsan - Aug-23-2019, 01:55 AM - Forum: Web Scraping & Web Development - No Replies

Hi, is there any way to load web page in utf-8 encoding with selenium driver.get() method ?
i am loading a webpage which is in other language than e..... More

Print this item

  Slicing and printing two halfs of an email address (Udemy)
Posted by: Drone4four - Aug-23-2019, 12:44 AM - Forum: General Coding Help - Replies (5)

I’ve written a script which slices and prints the first half of an email address (before the ‘@’ symbol) and then which also slices and prints the dom..... More

Print this item

  "Travis" guest list name checker (Ziyad Yehia Udemy course)
Posted by: Drone4four - Aug-22-2019, 11:09 PM - Forum: Homework - Replies (8)

I'm taking a Udemy course (not for credit, just for fun) but I would still like to treat this as a homework exercise so for experienced forum members,..... More

Print this item

  BeautifulSoup: Error while extracting a value from an HTML table
Posted by: kawasso - Aug-22-2019, 10:42 PM - Forum: Web Scraping & Web Development - Replies (3)

Hi all,

From the below HTML text:

[python]
<div class="card-body">
<div class="table-responsive">
<table class="table table..... More

Print this item

  modifying what a module defines
Posted by: Skaperen - Aug-22-2019, 10:02 PM - Forum: General Coding Help - Replies (8)

i have a module that defines some classes and functions. i want to also include some debug tools in it as well. my goal is to get everything in one ..... More

Print this item

  wmi + pypiwin32 + pywin32 + Kodi
Posted by: NonSufficitOrbis - Aug-22-2019, 07:05 PM - Forum: General Coding Help - Replies (7)

hi, new user here, hope you guys can help me. First off:

OS: Windows 10, 64 Bit.
Python: 64 bit.
Packages installed: wmi, py..... More

Print this item

  Email newly created file
Posted by: metro17 - Aug-22-2019, 05:28 PM - Forum: Networking - Replies (2)

[python]def check_id():
while True:
id = input("Please enter your ID: ")
if len(id) == 8 and ' 'not in id and id[0:2].isalpha()..... More

Print this item

  save my sensor data from the bme680 into a json or csv file
Posted by: Plastefuchs84 - Aug-22-2019, 04:56 PM - Forum: Data Science - Replies (1)

Hello,

I would like to save my sensor data from the bme680 into a json or csv file. For the last section I wrote myself. I've been trying to learn ..... More

Print this item

  Self
Posted by: sumncguy - Aug-22-2019, 04:55 PM - Forum: Homework - Replies (3)

Im putting this in homework ... because I am taking a second python class and am still confused with why we use self.

I guess I have a block on thi..... More

Print this item

  What is the sys.stdin.isatty() command?
Posted by: pyth0nus3r - Aug-22-2019, 03:52 PM - Forum: General Coding Help - Replies (2)

So I read this script but I had difficulty understanding the line that says sys.stdin.isatty():

[python]
import sys

class Redirection(object):..... More

Print this item

  Need some directions about learning python with my disability
Posted by: Mustey - Aug-22-2019, 02:19 PM - Forum: News and Discussions - Replies (3)

I am 33 year old with autism. It's very hard for me to talk to people unless it's via text.
Recently, my employer sold the business onward and I've b..... More

Print this item

  Decimal (Global precision setting)
Posted by: Valentina - Aug-22-2019, 12:06 PM - Forum: General Coding Help - Replies (3)

Hello!
I am doing my first steps in programming. I am using Python 3.7.2
I opened interesting numbers for me - Decimal fixed point.
But I have pro..... More

Print this item

  Extrakt a Variable from a closed tkinter window
Posted by: hWp - Aug-22-2019, 11:48 AM - Forum: GUI - Replies (5)

Hello together,

in the following code I want to start to create a tkinter window and open an Excel file, choose the sheet from a tkinter Dropdown and..... More

Print this item

  Why is there no __init_class__ method
Posted by: Drecker - Aug-22-2019, 11:37 AM - Forum: News and Discussions - Replies (1)

Hi, I am for quite a long time now wondering why there is no standard __init_class__ method (that would be called after successful definition of a m..... More

Print this item

  WindowManager TinyWM in Python
Posted by: ubuntu_gnome - Aug-22-2019, 10:49 AM - Forum: GUI - No Replies

Hi Guys,

I am new here and have start with python, hope my english is not to bad ^^. I do not know, who knows the WindowManager TinyWM, but I have ..... More

Print this item

  Generate a report in Python
Posted by: qureshi - Aug-22-2019, 10:06 AM - Forum: General Coding Help - Replies (2)

I an trying to generate using an APi in python. I am using the following code but getting this error:

{"code":400,"message":"Invalid input paramete..... More

Print this item

  Number format
Posted by: william888 - Aug-22-2019, 08:31 AM - Forum: General Coding Help - Replies (3)

Hi,

I have 2 columns (colA & colB) which is float type.

When I apply the following python code, the 2 columns shows exactly the same value.
Exa..... More

Print this item

  pygame.error: /etc/timidity.cfg: No such file or directory
Posted by: lsepolis123 - Aug-22-2019, 08:17 AM - Forum: General Coding Help - Replies (3)

run a script game in pygame in Zorin OS Linux system 32-bit

THIS Tetris game tetromino.py works with background sound midi files, splash screen sta..... More

Print this item

  Generalize the topic from a feature
Posted by: william888 - Aug-22-2019, 07:43 AM - Forum: Data Science - Replies (1)

Hi,

I have 2 columns (Description and Type), for each type I want to know what the general topic the type is indicating about.
For example, typeA ..... More

Print this item

  HTML to Python to Windows .bat and back to HTML
Posted by: perfectservice33 - Aug-22-2019, 06:26 AM - Forum: General Coding Help - No Replies

I have already created a program to run windows .bat file using Python and my requirements are

(1) Let user enter data in Tinymce editor embedded i..... More

Print this item

  Phone Number
Posted by: metro17 - Aug-22-2019, 06:21 AM - Forum: General Coding Help - Replies (3)

def check_phone():
while True:
phone = input("Please provide your phone number: ")
if len(phone)!=10 or ' ' in phone or phone.i..... More

Print this item

  list comprehension : print column as row
Posted by: pyseeker - Aug-22-2019, 06:09 AM - Forum: General Coding Help - Replies (4)

I have a 9 x 6 matrix (each value is a string) and need to print columns as rows, which is 6 x 9 matrix.

So, when I execute the following code it j..... More

Print this item

  Two variables in for loop
Posted by: vipinv23 - Aug-22-2019, 05:29 AM - Forum: General Coding Help - Replies (9)

Hello

I want to iterate two variables independently and simultaneously in a single for loop.
Is it possible? There is no relationship between the ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My regex function is not ... 3 hours ago Moltar1997 bowlofred General Codin...
  best way to learn python 3 hours ago dutch ichsanputr News and Disc...
  silent deployment Python ... Yesterday, 11:51 Bummibaer Larz60+ 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... 579356
  Tutorial Requ... 512302
  Web Scraping ... 442275
  Newbie with P... 386329
  New Users Int... 380145
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
metulburr 6
python 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