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,983
» Latest member: bimosora
» Forum threads: 38,734
» Forum posts: 175,572

Full Statistics

Online Users
There are currently 69 online users.
» 0 Member(s) | 61 Guest(s)
Google, Bing, Facebook Dev, Applebot

Latest Threads
create ocr to detect lice...
Forum: General Coding Help
Last Post: Pedroski55
16 minutes ago
» Replies: 1
» Views: 16
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: Pedroski55
10 hours ago
» Replies: 5
» Views: 159
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Yesterday, 03:05 AM
» Replies: 4
» Views: 2,033
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Sep-30-2025, 07:43 AM
» Replies: 2
» Views: 446
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Sep-30-2025, 12:21 AM
» Replies: 2
» Views: 1,080
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,144
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 819
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 3,103
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,545
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 9,133

 
  Python: why skip the 'else' if password is wrong
Posted by: Max_988 - Jun-20-2019, 12:01 AM - Forum: General Coding Help - Replies (1)

name_expected='Max'
while True:
print( 'Who are you')
name = input()
if (name != name_expected):
continue
print (name_ex..... More

Print this item

  word counter
Posted by: kid_with_polio - Jun-19-2019, 10:42 PM - Forum: Web Scraping & Web Development - Replies (3)

Hey I tried making a word counter using a forum page as practice to just isolate all the thread titles of a given page and then separate each word ont..... More

Print this item

  Inserting a variable name into xlabel
Posted by: myersluke - Jun-19-2019, 10:22 PM - Forum: General Coding Help - No Replies

Hi, first post here.

I am trying to streamline a lot of data processing by using a class of objects called "image". I define each image as "image1 ..... More

Print this item

  Window not updating
Posted by: mberge - Jun-19-2019, 09:00 PM - Forum: Game Development - Replies (3)

I have made a simple neural network to solve the xor problem but the issue lies in PyGame. I've used PyGame to display a neural network in real time a..... More

Print this item

  from MySQL to MySQLi - the script for errors in the db-connection
Posted by: apollo - Jun-19-2019, 08:16 PM - Forum: Bar - Replies (3)

dear Python-experts.

first of all: note i have plenty of issues - a whole bunch of issues on a Server - i need to digg deeper into all thing..... More

Print this item

  Russian version of Python
Posted by: Skaperen - Jun-19-2019, 07:12 PM - Forum: Bar - Replies (3)

i remember reading somewhere a while back that there was a Russian version of Python that someone made that not only interacted in the Russian languag..... More

Print this item

  How to send data from remotely hosted HTML form to Pi
Posted by: sajid - Jun-19-2019, 07:09 PM - Forum: Web Scraping & Web Development - Replies (2)

I'm working on a small project to turn home lights On & Off using Raspberry Pi. I'm able to do so using Python . Now I want to make a web interface to..... More

Print this item

  call a function in another class
Posted by: darktitan - Jun-19-2019, 07:00 PM - Forum: GUI - Replies (6)

Hi
I got a problem with calling a funtion from another class. I have searched a bit but i can't find a good solution to my problem. Can any one help ..... More

Print this item

  Extra Argument In Help Response
Posted by: z3driver - Jun-19-2019, 06:20 PM - Forum: General Coding Help - Replies (3)

I'm using IDLE with Python 3.7.3 in Windows. When requesting help for some built-in functions (e.g. get and setdefault) I'm getting back documentatio..... More

Print this item

  modifying counter tab
Posted by: metulburr - Jun-19-2019, 02:02 PM - Forum: Board - No Replies

My goal is to create a user group in which any user can opt in and out of. This is a secondary user group. When in this usergroup you see the tab coun..... More

Print this item

  spread same class into separate files in python
Posted by: asheru93 - Jun-19-2019, 01:16 PM - Forum: General Coding Help - Replies (3)

I have some automated test written in python. There is file named TestSteps.py that holds all the test methods. The file is getting too big holding to..... More

Print this item

  CPU load at approx. 30% when multiprocessing
Posted by: freak14 - Jun-19-2019, 12:10 PM - Forum: General Coding Help - Replies (4)

Hi,
I am having trouble understanding the issue with my code. (This is just a part of my project with changed names to make it the code clearer)

[..... More

Print this item

  Flask data with dynamic updates from panadas
Posted by: parthi1705 - Jun-19-2019, 09:59 AM - Forum: Web Scraping & Web Development - No Replies

Hi all,

Having data in pandas as below

[python]
dfCountry (pandas)
Country ----->(header)
Australia,
Canada,
France,
Germany,
United Kin..... More

Print this item

  ImportError has not raised in pkg_resources module but expected
Posted by: tamilselvanvjm - Jun-19-2019, 09:50 AM - Forum: General Coding Help - Replies (2)

I tried to use pkg_resources module in rbtools but I got exception as No module named _imp.

In python 2.7.15rc1 (/usr/lib/python2.7/dist-packages/..... More

Print this item

  Multiprocessing my Loop/Iteration (Try...Except)
Posted by: Jompie96 - Jun-19-2019, 08:27 AM - Forum: General Coding Help - Replies (7)

Im converting one chemical notation to another type. My list has like over 6k different names to convert and it takes so long. How can I use multiproc..... More

Print this item

  Parse the data in XML metadata field
Posted by: klllmmm - Jun-19-2019, 07:43 AM - Forum: General Coding Help - Replies (2)

I'm trying to parse data from an XML file downloaded from https://scsanctions.un.org/resources/xml...idated.xml

Sample of the XML file is at..... More


Attached Files

.xml   scsanctions.un.org_copy.xml (Size: 17.13 KB / Downloads: 691)
Print this item

  KeyError
Posted by: mcmxl22 - Jun-19-2019, 06:36 AM - Forum: General Coding Help - Replies (2)

I used this tutorial as a template. Why does mine get a ..... More

Print this item

  wrapping problem
Posted by: ibaad1406 - Jun-19-2019, 06:23 AM - Forum: General Coding Help - Replies (2)

I have a text file which contain header as well as data section. I want to read the data section but when i wrap the data into 582 character and check..... More


Attached Files

.txt   ab010120.txt (Size: 114.56 KB / Downloads: 390)
Print this item

  webscrapping links from pandas dataframe
Posted by: Wolverin - Jun-19-2019, 04:20 AM - Forum: Web Scraping & Web Development - Replies (2)

i have pandas dataframe which contain one of the columns as weblinks, i have to open the link and read the text from link, calculate some scores, almo..... More

Print this item

  including the white space parts in str.split()
Posted by: Skaperen - Jun-18-2019, 11:24 PM - Forum: General Coding Help - Replies (6)

i need to do a split of a string with white space as the delimiter but i need to keep string of what each white space delimiter actually is. what i n..... More

Print this item

  replace white space with a string, is this pythonic?
Posted by: Skaperen - Jun-18-2019, 11:08 PM - Forum: General Coding Help - Replies (1)

i need to replace a run of white space characters by a string, which is usually a single character (but not always). for example: "foo \t bar" -> "fo..... More

Print this item

  Trying to get a coherent python installation
Posted by: Reverend_Jim - Jun-18-2019, 06:54 PM - Forum: General Coding Help - Replies (2)

I'm finding it difficult to get a consistent/coherent python installation. I had originally installed a 3.6 version of python from python.org (Windows..... More

Print this item

  lots of elifs
Posted by: Skaperen - Jun-18-2019, 06:48 PM - Forum: News and Discussions - Replies (6)

i'm still hoping to see a real world example of avoiding a big long stack of if/elif statements. in a script i am working on now where there is a log..... More

Print this item

  Grabbing a Subset of a String
Posted by: acemurdoc - Jun-18-2019, 02:22 PM - Forum: General Coding Help - Replies (3)

I need to create a new field we can call Date_Time_txt, which is based off of a long string (!FolderPath!). Example of the full string: "Call Loc/Fold..... More

Print this item

  [pandas] How to re-arrange DataFrame columns
Posted by: SriMekala - Jun-18-2019, 02:10 PM - Forum: Data Science - Replies (8)

Hi,
I have below pandas dataframe:

[python] Trial1 Trial1 Trial1 Trial2 Trial2
Name Sub_item1 Sub_item2 ..... More

Print this item

  Math problem in Python - pyqt5
Posted by: rwahdan - Jun-18-2019, 01:53 PM - Forum: Homework - Replies (6)

Hi,

I have a calculator project, I am able to give 2 numbers and operator to get answer after pressing = sign. Example, 1+2=3. Now, what if the use..... More

Print this item

  advice getting started with GUI project
Posted by: loulou - Jun-18-2019, 12:53 PM - Forum: GUI - Replies (1)

hello, I have started an internship in which I was told to create a GUI in python which would consist of diagrams and templates as well as amendable i..... More

Print this item

  How to change font color of SetHint or SetDescriptiveText?
Posted by: anistorian - Jun-18-2019, 12:06 PM - Forum: GUI - Replies (5)

Hello!

I am trying to make a search field with a hint inside with wxPython, but I can't seem to figure out how to change the colour of the hint. If..... More

Print this item

  Need Help.
Posted by: harshida - Jun-18-2019, 11:04 AM - Forum: News and Discussions - Replies (1)

Hi all,
I am studying MSC IT and as a part of curriculum I studied many subjects but I am good in Python XML and Xslt and Java script.now I am planni..... More

Print this item

  XML update using python
Posted by: sathiyarajmca - Jun-18-2019, 09:46 AM - Forum: General Coding Help - Replies (1)

Hi All,

I am beginner in python. I have 100 xml files. In that I need to insert few new XML tags. Instead of doing it manually I would like to ..... More

Print this item

  Use pysftp to get the content of a remote folder
Posted by: Pedroski55 - Jun-18-2019, 09:06 AM - Forum: General Coding Help - No Replies

I managed to get ssh working for me.

Now I want to log in, cd, get all the files in a directory, download them to /home/pedro/essays/ delete the fi..... More

Print this item

  iterate read data from excel sheet
Posted by: jp2017 - Jun-18-2019, 08:56 AM - Forum: General Coding Help - Replies (1)

In my excel sheet1 I have data like below:
Header1
textdata1
textdata2
...

Each loop I want to read the data to another app but I'm not sure ho..... More

Print this item

  running different script together
Posted by: finch666 - Jun-18-2019, 08:20 AM - Forum: General Coding Help - Replies (2)

Hi there,

I'm almost a complete newbie regarding python, and I'm struggling with a problem. I've got a google AIY voice kit running and want the ra..... More

Print this item

  changing format to Int
Posted by: Scott - Jun-18-2019, 07:47 AM - Forum: General Coding Help - Replies (3)

Hi everyone,

I am trying to change a format to int but I think it is having issues because the numbers have ,.

[python]data['Imports_vfd'].astyp..... More

Print this item

  Same Scrollbar for two text area
Posted by: smabubakkar - Jun-18-2019, 07:16 AM - Forum: GUI - Replies (3)

Hi,

I have two text area and two separate scroll bar assigned for them. i need a single scrollbar which can scroll both area ? is that possible?? a..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  create ocr to detect lice... 16 minutes ago bimosora Pedroski55 General Codin...
  Parse Markdown / get the ... 10 hours ago SpongeB0B Pedroski55 General Codin...
  Error: cannot mix str wit... Yesterday, 03:05 ngregistrations Joliekeva General Codin...
  Integer Factorization Too... 09-30, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... 09-30, 00:21 GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... 09-29, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... 09-29, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
Most views
  The best Prog... 577452
  Tutorial Requ... 501131
  Web Scraping ... 441080
  Newbie with P... 385154
  New Users Int... 369774
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+ 12092
buran 8178
snippsat 7371
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
bimosora Today
kyleconor797 Yesterday
miriamwilliam Yesterday
Davidkiplimo Yesterday
Joliekeva Yesterday

User Panel Messages

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