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,964
» Latest member: Edzed4431
» Forum threads: 38,729
» Forum posts: 175,541

Full Statistics

Online Users
There are currently 41 online users.
» 1 Member(s) | 34 Guest(s)
Bing, Google, AOL, AOL, Apple, Pedroski55

Latest Threads
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
4 hours ago
» Replies: 4
» Views: 1,974
My First App
Forum: Code Review
Last Post: carlbidwell
Today, 10:53 AM
» Replies: 8
» Views: 8,552
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
Today, 03:54 AM
» Replies: 3
» Views: 451
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Yesterday, 05:13 PM
» Replies: 4
» Views: 906
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:17 PM
» Replies: 1
» Views: 937
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:14 PM
» Replies: 6
» Views: 5,206
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Yesterday, 09:50 AM
» Replies: 1
» Views: 1,822
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
Yesterday, 03:53 AM
» Replies: 1
» Views: 2,858
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Yesterday, 12:32 AM
» Replies: 0
» Views: 446
extracting data from a us...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-25-2025, 01:49 PM
» Replies: 2
» Views: 737

 
  Why is the item not in list when it is
Posted by: DanielCook - Jul-08-2020, 10:06 AM - Forum: General Coding Help - Replies (2)

[python]#blackjack

import random
deck = ["2+diamonds","3+diamonds","4+diamonds","5+diamonds","6+diamonds","7+diamonds","8+diamonds","9+diamonds","..... More

Print this item

  Monitor specific line of code and get alert
Posted by: Olimpiarob - Jul-08-2020, 10:05 AM - Forum: Web Scraping & Web Development - No Replies

Hi all,

After reading 'Python Crash Course' I want to do something in the real world.

Im looking for some guidelines/tips when I want to monitor a s..... More

Print this item

  pandas.Series
Posted by: IoannisDem - Jul-08-2020, 08:53 AM - Forum: Data Science - Replies (2)

I have just started using pandas and I have a question related to a coding bit.
[python]s = pd.Series(['a1', 'b2', 'c3'])
s.str.extract(r'([ab])(\d)..... More

Print this item

  python3: iterating through list not working
Posted by: wardancer84 - Jul-08-2020, 08:51 AM - Forum: General Coding Help - Replies (3)

hi,

usually a brainfart, but i need your sharp eyes as i'm stuck.

this function should iterate over a list, but only prints the first item than ..... More

Print this item

  Problem with comparing list
Posted by: palladium - Jul-08-2020, 07:38 AM - Forum: General Coding Help - Replies (2)

I want to compare the elements of two list and the code to return True if all of the elements in the second list is present in the first. The code is:..... More

Print this item

  Syntax to print ndarray member of class containing ndarray
Posted by: pjfarley3 - Jul-08-2020, 05:21 AM - Forum: General Coding Help - Replies (6)

If I define a class Q containing a member which is an ndarray of strings, I can print that class member by name.

If I define another class G contai..... More

Print this item

  Python/winrt support for python 3.8 version
Posted by: pbvinoth - Jul-08-2020, 04:32 AM - Forum: News and Discussions - Replies (2)

We have module called python/winrt which will be helpful to access the windows runtime apis.

While trying to install the module facing below error...... More

Print this item

  python/winrt Bluetooth.GenericAttributProfile CreateAsync(GUID) method throws Not Imp
Posted by: pbvinoth - Jul-08-2020, 04:27 AM - Forum: General Coding Help - No Replies

We used python/winrt module to interact with windows runtime apis in python scripts.

There is name space called Windows.Devices.Bluetooth.GenericAt..... More

Print this item

  How do you work with procedurally generated data?
Posted by: rbbauer00 - Jul-08-2020, 02:26 AM - Forum: General Coding Help - Replies (1)

I want to write a script that generates a list of (X,Y) coordinates to be passed into CAD software in order to automate some extremely repetitive geom..... More

Print this item

  Selenium
Posted by: ABVSVL - Jul-07-2020, 10:09 PM - Forum: Web Scraping & Web Development - Replies (5)

Hello to all. trying to log in.
But I can’t.

If it was a regular site. I was able to do this.
And here I do not know what to do
I thought by xpa..... More

Print this item

  nbconvert Jupyter to LaTeX
Posted by: ross1993hall - Jul-07-2020, 08:13 PM - Forum: General Coding Help - Replies (3)

Hi ,

Im brand new to python and have recently purchased "python for civil and structural Engineers" . I currently work in engineering and im hopin..... More

Print this item

  QlistWidget - item already exists
Posted by: WJSwan - Jul-07-2020, 02:40 PM - Forum: General Coding Help - Replies (1)

In a QListWidget, how do I check if a specific item already exists? It needs to match exactly.

I do not understand how to use MatchFlags correctly.

Print this item

  Pandas DataFrame and unmatched column
Posted by: sritsv19 - Jul-07-2020, 12:52 PM - Forum: Data Science - No Replies

df1 has 3 columns 'A','B','C' df2 has 3 columns 'A','B','C'

below is the option tried for find common records between two columns('A','B') in two d..... More

Print this item

  Comparing Values/QC Within Two Strings
Posted by: uttadms31 - Jul-07-2020, 12:44 PM - Forum: General Coding Help - Replies (2)

I'm quality controlling output within a Python file method. What I want to do is if I have two consecutive sentences in the code that both end with pe..... More

Print this item

  Code is not responding
Posted by: abhishek81py - Jul-07-2020, 12:40 PM - Forum: General Coding Help - No Replies

I'm trying to run tor with python requests module so i write this code but this code is not responding and not showing any error
what's the error in..... More

Print this item

  find file not knowing the extension
Posted by: Leon79 - Jul-07-2020, 12:06 PM - Forum: General Coding Help - Replies (6)

Hello Coders!

I'm a student and I'm trying to complete a project for my course. I'm creating a small blog and now I'm working on the recipe page. T..... More

Print this item

  mapping joystick axis to specific 'channels' in python
Posted by: DashOrion - Jul-07-2020, 11:25 AM - Forum: General Coding Help - Replies (1)

I'm fairly new to python and I just can't come up with an adequate and elegant solution for my simple first program in python. I hope anyone more expe..... More

Print this item

  Help! Function doesn't run
Posted by: bwdu - Jul-07-2020, 11:11 AM - Forum: General Coding Help - Replies (5)

Hi everyone! I am trying to find 1000th prime number with this function, there is no any errors but it doesn't run and I don't know why. Can you help ..... More

Print this item

  Scripting: Multiple Votes With a Single Click or Button
Posted by: Ovidiu - Jul-07-2020, 10:51 AM - Forum: General Coding Help - No Replies

Hello.

Being on a new social network, the new Facebook "Like" is an arrow which stands for "Vote".

The "Vote" icon is similar to a Facebook "Lik..... More

Print this item

  Variable in for loop
Posted by: samuelbachorik - Jul-07-2020, 10:38 AM - Forum: General Coding Help - Replies (4)

Hello guys i have simple code like this. Please can someone give me example how to update this code to make for every name in list new variable ? I ju..... More

Print this item

  Need help for MobaXterm access with python 0
Posted by: renu - Jul-07-2020, 09:53 AM - Forum: Homework - Replies (5)

I have a requirement in which we need to have the access of Mobaxterm where a host is connected with ip (SSH communication).with python is it possible..... More

Print this item

  python3 regular expression.. support to improve
Posted by: anna - Jul-07-2020, 09:40 AM - Forum: General Coding Help - No Replies

Hi All,

I am parsing below logs lines, regex is working, checked on online regex editor(https://regex101.com/), please lets know any suggestion.
..... More

Print this item

  A more intelligent .sort()?
Posted by: Pedroski55 - Jul-07-2020, 09:38 AM - Forum: General Coding Help - Replies (4)

I made a little program to merge pdfs, works ok.

Apparently, to merge them, you must first split them into individual, 1-page pdfs. Also not a prob..... More

Print this item

  Split function
Posted by: samuelbachorik - Jul-07-2020, 08:57 AM - Forum: General Coding Help - Replies (1)

Hello dear users, iam using import re function to split my strings. For example i want to split characters +,- and string is "50+50-50" i get output ..... More

Print this item

  .get issue
Posted by: jdos - Jul-07-2020, 08:41 AM - Forum: General Coding Help - No Replies

Hey guys I am ashamed, but I stole dependent Choicebox code below from somewhere in StackOverFlow (I think) it's working as it should, when I choose f..... More

Print this item

  python skype issue
Posted by: heehaa - Jul-07-2020, 08:14 AM - Forum: General Coding Help - Replies (1)

Hi all,

I'm getting error in trying to communicate in a group chat via skype.

Traceback (most recent call last): File "C:\Program Files\Python\P..... More

Print this item

  python read function
Posted by: FlyingPig - Jul-07-2020, 06:58 AM - Forum: General Coding Help - Replies (2)

Can I read from the stdin in binary? the function input() and os.stdin.read() both require "utf-8". I want to do this because my python homework testi..... More

Print this item

  Troubleshooting errors
Posted by: queenknight - Jul-07-2020, 06:07 AM - Forum: Data Science - No Replies

Hi! I am currently using a python package (Pliers by tyarkoni on Github: http://tyarkoni.github.io/[url=https://python-forum.io/thread-28143.html]..... More

Print this item

  regular expression
Posted by: pramod - Jul-07-2020, 05:29 AM - Forum: Data Science - Replies (1)

Hi, I have text data: Document
[output]
[DAT_23] system test
//new_empty_line
i..... More

Print this item

  Sorting os.dirscan() result
Posted by: SamParker - Jul-07-2020, 05:26 AM - Forum: General Coding Help - Replies (2)

Hello,
I am listing objects in a directory using os.dirscan(). I need to sort the result in alphabetical order. Currently the order is random. I do n..... More

Print this item

  Lib PySerial
Posted by: Pelathaon - Jul-07-2020, 04:58 AM - Forum: General Coding Help - Replies (2)

Hello.

I'm using library PySerial and connectiong to the coverter RS485 with socket. (__https://pyserial.readthedocs.io/en/latest/url_handlers.htm..... More

Print this item

  system-wide unique incrementing string or number
Posted by: Skaperen - Jul-07-2020, 02:44 AM - Forum: News and Discussions - Replies (11)

i want to get either a string or a number which:
1. always sorts in time order even if the system reboots
2. no 2 calls by any user or process can e..... More

Print this item

  Module : http.server
Posted by: JohnnyCoffee - Jul-06-2020, 10:33 PM - Forum: General Coding Help - Replies (3)

Hi guys.
As in the official python website it is recommended not to use the ..... More

Print this item

  Using Autoencoder for Data Augmentation of numerical Dataset in Python
Posted by: Marvin93 - Jul-06-2020, 09:58 PM - Forum: Data Science - Replies (2)

Hello everyone,

i was coding an Autoencoder. The plan is to try to use it for Data Augmentation of a numerical Dataset. I know it might not work pr..... More

Print this item

  Any pointers on my programm before I hand it in?(I'm new to python, so go easy on me)
Posted by: blacklight - Jul-06-2020, 09:56 PM - Forum: Homework - Replies (3)

[python]


import random
import sys
import time
# generate random word
list_w = ["broad", "apple", "banana", "strawberry"]

# the blanks equa..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  what does % stand for in ... 4 hours ago arbiel Gribouillis General Codin...
  My First App Today, 10:53 BCopeland64 carlbidwell Code Review
  Unable to resolve FileNot... Today, 03:54 llarkin6 Pedroski55 General Codin...
  [Tkinter] how to export a... Yesterday, 17:13 RonR noisefloor GUI
  Is the interpreter that c... Yesterday, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... Yesterday, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... Yesterday, 09:50 P212 Biks News and Disc...
  Using Python to SSH and R... Yesterday, 03:53 justaguy SprunkiRetake Networking
  My goal to be hired worki... Yesterday, 00:32 GnomeSweetGnome GnomeSweetGnome News and Disc...
  extracting data from a us... 09-25, 13:49 Perry DeaD_EyE General Codin...
  pip install requests does... 09-24, 14:48 misodca DeaD_EyE General Codin...
Most views
  The best Prog... 577188
  Tutorial Requ... 500124
  Web Scraping ... 440890
  Newbie with P... 384902
  New Users Int... 369138
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+ 12088
buran 8176
snippsat 7367
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Edzed4431 Today
chaoh1911 Today
KaydenJonah098 Today
carlbidwell Today
llarkin6 Yesterday

User Panel Messages

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