Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 18,695
» Latest member: Stephenchers
» Forum threads: 37,418
» Forum posts: 170,031

Full Statistics

Online Users
There are currently 393 online users.
» 0 Member(s) | 386 Guest(s)
Bing, Apple, Yandex, Baidu, Google

Latest Threads
Filer and sort files by m...
Forum: General Coding Help
Last Post: tester_V
39 minutes ago
» Replies: 0
» Views: 12
Excel isnt working proper...
Forum: General Coding Help
Last Post: IchNar
9 hours ago
» Replies: 2
» Views: 126
Button to +1 in text box ...
Forum: Code Review
Last Post: Axel_Erfurt
Yesterday, 02:32 PM
» Replies: 1
» Views: 101
looking for a Coding Part...
Forum: Bar
Last Post: sahorier
Yesterday, 08:28 AM
» Replies: 0
» Views: 95
Strange behavior list of ...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 07:16 AM
» Replies: 2
» Views: 144
How can I print from wit...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 05:35 AM
» Replies: 2
» Views: 134
two functions working in...
Forum: General Coding Help
Last Post: deanhystad
Apr-30-2024, 10:23 PM
» Replies: 1
» Views: 118
PayrollSystem with file h...
Forum: Homework
Last Post: deanhystad
Apr-30-2024, 03:18 PM
» Replies: 1
» Views: 140
Equivalent Python code fr...
Forum: General Coding Help
Last Post: SamCoffee
Apr-30-2024, 08:01 AM
» Replies: 3
» Views: 857
Python editor that will S...
Forum: General Coding Help
Last Post: Gribouillis
Apr-30-2024, 05:13 AM
» Replies: 1
» Views: 161

 
  Python script to only keep waypoints within x km from track?
Posted by: Winfried - Sep-18-2020, 08:47 AM - Forum: General Coding Help - No Replies

Hello,

I need to write a script in Python that can read a track and a set of waypoints, and only keep waypoints that lie within x kilometers from t..... More

Print this item

  Q on functions
Posted by: ebolisa - Sep-18-2020, 08:34 AM - Forum: General Coding Help - Replies (7)

Hi,

Can someone please explain how the sample variable is passed onto the function?

I understand if it would be [inline]sample..... More

Print this item

  Checkbox half working
Posted by: Milfredo - Sep-18-2020, 08:21 AM - Forum: General Coding Help - Replies (12)

I have a window with a check box. When I click it I get the result I expect. But when I uncheck it I don't get what I expect. Not sure why. Have googl..... More

Print this item

  don't know indenting of break and continue
Posted by: Colin999 - Sep-18-2020, 07:48 AM - Forum: General Coding Help - Replies (5)

I was trying to get this output...

My Seven Favorite Musical Artists

Enter Musical Artist: Drake
Enter Musical Artist: Cardi B
Enter Musical A..... More

Print this item

  new to coding
Posted by: pop3 - Sep-18-2020, 07:14 AM - Forum: General Coding Help - Replies (3)

Hi, I am doing a basic exercise in python were I have to call the function with a string as the value for the argument mystring and will return the le..... More

Print this item

  Serial loopback with Arduino doesn't work
Posted by: ThomasS - Sep-18-2020, 06:40 AM - Forum: General Coding Help - Replies (3)

Hi,
I'm trying to establish a serial communication with my Arduino Uno using pyserial. To test it, I programmed a simple loop back example, where th..... More

Print this item

  codec for byte transparency
Posted by: Skaperen - Sep-18-2020, 02:24 AM - Forum: General Coding Help - Replies (7)

given "random" bytes in the range from 0 to 255, such as from a file containing machine executable code, i would like to convert this "byte sequence" ..... More

Print this item

  Reading a table generated using PyTables
Posted by: Robotguy - Sep-18-2020, 01:36 AM - Forum: Data Science - Replies (1)

Hello,

I have a table with three columns and multiple rows. I know how to extract specific rows using table[0:5]. How can I extract just the..... More

Print this item

  'utf-8' codec can't decode byte 0xe2 in position 122031: invalid continuation byte
Posted by: tienttt - Sep-17-2020, 10:27 PM - Forum: General Coding Help - Replies (12)

Hi,

I'm using python 3.8.5 to call Jira Rest API to download all tickets information and save in a json file AllIssues.json. In order to get all fi..... More

Print this item

  Python class noob
Posted by: nallster7 - Sep-17-2020, 10:21 PM - Forum: General Coding Help - Replies (2)

Hi I need help I want my code to make it so it does print the message but it dosent seem to work.

[python]class Bil:
__modelYear = () # priva..... More

Print this item

  convert % to a number
Posted by: Nickd12 - Sep-17-2020, 09:22 PM - Forum: General Coding Help - Replies (2)

I have a number in a range form 1 to 254
lets say I I have an input of 20%
I need to convert that % into a number with in that range
I know the n..... More

Print this item

  Why I feel like quitting Python
Posted by: Drone4four - Sep-17-2020, 09:08 PM - Forum: News and Discussions - Replies (8)

Here is my story about how and why I came to want to learn Python and the futility and frustration with my lack of progress today and why I feel like ..... More

Print this item

  Django send email - email form
Posted by: Remek953 - Sep-17-2020, 08:16 PM - Forum: Web Scraping & Web Development - Replies (2)

Hello, I created a contact form to send me an email when the user fills it out. Everything appears to be working, I get mail to my gmail but I get it ..... More

Print this item

  Intro python using lists
Posted by: Rustypotatoes - Sep-17-2020, 07:28 PM - Forum: Homework - Replies (2)

This is a homework question. I am learning how to use lists, slicing, del, sort, and other functions. I'm not asking anyone to do this for me, I just ..... More

Print this item

  Creating Excel files compatible with microsoft access
Posted by: vkallavi - Sep-17-2020, 06:57 PM - Forum: General Coding Help - No Replies

I am using xlswriter to create excel files, but these files are not importable by Microsoft Access.
what am I missing?

thanx.

Print this item

  Python Complete novice: Want to run a vulnerability script
Posted by: bhanney23 - Sep-17-2020, 06:09 PM - Forum: General Coding Help - Replies (1)

Hi, I am a complete novice at Python and I wish to run a script someone has made up to check against a critical windows vulnerability. I downloaded py..... More

Print this item

  Removing rows from array
Posted by: claw91 - Sep-17-2020, 02:45 PM - Forum: General Coding Help - Replies (3)

Hello, I want to replicate this Matlab code into Python

FILE(1:985,:) = [ ];

FILE is an..... More

Print this item

  new learner
Posted by: Rezvaneh - Sep-17-2020, 01:45 PM - Forum: General Coding Help - Replies (1)

hi all
I am new learner in python. I could not find my error root cause , can you help me :

[python]mood = 'tired'
if mood == 'tired':
hit_sno..... More

Print this item

  Unable to print stuff from while loop
Posted by: Nick1507 - Sep-17-2020, 01:29 PM - Forum: General Coding Help - Replies (4)

Alright so hello everyone, I'm a noob and have really little experience in Python so pls go easy on me. My question in this post is why I'm unable to ..... More

Print this item

  [nested dics] Easy way to find if a key exists?
Posted by: Winfried - Sep-17-2020, 01:29 PM - Forum: General Coding Help - Replies (9)

Hello,

I'm using xmltodict to work with XML files. It turns data into nested dictionaries.

In nested dictionaries that don't contain the same ke..... More


Attached Files

Thumbnail(s)
   
Print this item

  Getting Flask to run on an apache2
Posted by: SuchtyTV - Sep-17-2020, 01:04 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi,

I am not sure how to get flask to run on an apache2.
I think my config is already correct.

However, I am not sure about how to Structure my..... More

Print this item

  PyAD search function adquery
Posted by: SpongeB0B - Sep-17-2020, 12:56 PM - Forum: General Coding Help - Replies (2)

Hi everyone,

I'm trying to search inside Active Directory with PyAD but it's not clear...

I've tried this [size=small](from : https://zakird.git..... More

Print this item

  use of subclass
Posted by: ebolisa - Sep-17-2020, 12:17 PM - Forum: General Coding Help - Replies (4)

Hi,

I cannot get the EUR subclass format correctly. What's the trick?

It should return 10.000,00 €.

TIA

[python]from money import Money, exception..... More

Print this item

  Avoiding too many if's
Posted by: Ted_Toad - Sep-17-2020, 11:48 AM - Forum: General Coding Help - Replies (6)

Hi first time here, forgive me if this has been asked before, did a search and couldn't find it.
I am writing a script to send various commands from ..... More

Print this item

  pip install syntax
Posted by: biprabu - Sep-17-2020, 11:28 AM - Forum: General Coding Help - Replies (2)

Hi All,

i am new to python , need help in installing pyautogui

From juypter notebook i coded pip install pyatuogui its working but in python t..... More

Print this item

  How to write event function
Posted by: Squalo - Sep-17-2020, 10:56 AM - Forum: GUI - No Replies

How can I correctly write the event function to pass from one QLineEdit to another by pressing the enter key? Post a working snippet. Thank you


[..... More

Print this item

  Data Structures and Algorithms Python
Posted by: timhu - Sep-17-2020, 09:47 AM - Forum: Bar - Replies (4)

This book is rich in examples, with beautiful pictures and texts, and explains the data structure and algorithms in a way that is easy to understand...... More

Print this item

  Help installing Pythin-Pip-Mouse
Posted by: ozstar - Sep-17-2020, 09:46 AM - Forum: General Coding Help - Replies (2)

Hello,

I had Python installed on a Win 10 box to start a program by touching a mouse co-ord on the screen. I have a py script and a txt time schedu..... More

Print this item

  Installing package in Anaconda on an Intranet Computer
Posted by: Secret - Sep-17-2020, 09:07 AM - Forum: Data Science - Replies (1)

Hi

I am v. new to Python. My office laptop has NO internet access and the Python is integrated in Anaconda.

How do I install more packages into ..... More

Print this item

  Label.Place did not work?
Posted by: ATARI_LIVE - Sep-17-2020, 08:52 AM - Forum: GUI - Replies (15)

Huh Strange, the label Place I know of code is right but not working... I might missed something:
[python]from tkinter import *
import time

w..... More


Attached Files

Thumbnail(s)
   
Print this item

  Exit Function - loop
Posted by: Tetsuo30 - Sep-17-2020, 07:54 AM - Forum: General Coding Help - Replies (2)

Hi , i'm actually coding a midi looper on raspberry pi.
I have a usb midi interface thar receive midi message (and send them to hardware synth) and a..... More

Print this item

  Clusters
Posted by: dawid294 - Sep-17-2020, 06:37 AM - Forum: General Coding Help - Replies (6)

Hello, please can you help me with creating clusters. I have one column x with number(1,2,6,8,4,7,5,9,8,2,4,9,3). I would like to create three cluster..... More

Print this item

  not printing soup data to csv
Posted by: rickyrt - Sep-17-2020, 02:52 AM - Forum: Web Scraping & Web Development - Replies (2)

Hi, All really struggling with this code below, its a datepicked in Selnium/Soup. The code cycles through months selecting a from & to date, then subm..... More

Print this item

  how to keep a Popen instance existant in a function return?
Posted by: Skaperen - Sep-17-2020, 01:15 AM - Forum: General Coding Help - Replies (7)

i have a function that is intended to start a subprocess.Popen instance and return the file object reference of the read end of the stdout pipe of tha..... More

Print this item

  pip in Python 3.8.5
Posted by: lukegraham - Sep-17-2020, 01:05 AM - Forum: General Coding Help - Replies (2)

Hi, I'm using SSL and I recently installed python 3.8.5 on my Raspberry Pi 0. After the installation was complete, I tried running:

[b]pip install ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Filer and sort files by m... 39 minutes ago tester_V tester_V General Codin...
  Excel isnt working proper... 9 hours ago IchNar IchNar General Codin...
  Button to +1 in text box ... Yesterday, 14:32 martyloo Axel_Erfurt Code Review
  looking for a Coding Part... Yesterday, 08:28 sahorier sahorier Bar
  Strange behavior list of ... Yesterday, 07:16 mmhmjanssen Gribouillis General Codin...
  How can I print from wit... Yesterday, 05:35 Pedroski55 Pedroski55 General Codin...
  two functions working in... 04-30, 22:23 zapad deanhystad General Codin...
  PayrollSystem with file h... 04-30, 15:18 nikadry1 deanhystad Homework
  Equivalent Python code fr... 04-30, 08:01 Mishal0488 SamCoffee General Codin...
  Python editor that will S... 04-30, 05:13 sawtooth500 Gribouillis General Codin...
  Convert UTC now() to loca... 04-29, 19:24 Calab deanhystad General Codin...
Most views
  The best Prog... 424496
  Web Scraping ... 313463
  Tutorial Requ... 302308
  Newbie with P... 257808
  Thread remain... 241321
Most reputation
buran 582
snippsat 499
Larz60+ 452
Gribouillis 330
deanhystad 312
Most replies
  New Users Int... 431
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 11875
buran 8090
snippsat 7094
deanhystad 6232
metulburr 5150
Top referrers
Googlepro 20
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
Stephenchers Today
Gsouza Yesterday
OLanePulse Yesterday
Cassia11 Yesterday
anuj_sgc Yesterday

User Panel Messages

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