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,730
» Forum posts: 175,544

Full Statistics

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

Latest Threads
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: Pedroski55
12 minutes ago
» Replies: 1
» Views: 17
My goal to be hired worki...
Forum: News and Discussions
Last Post: Larz60+
4 hours ago
» Replies: 1
» Views: 450
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
9 hours ago
» Replies: 4
» Views: 1,989
My First App
Forum: Code Review
Last Post: carlbidwell
Yesterday, 10:53 AM
» Replies: 8
» Views: 8,554
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 03:54 AM
» Replies: 3
» Views: 455
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 909
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 941
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,210
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Sep-26-2025, 09:50 AM
» Replies: 1
» Views: 1,823
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
Sep-26-2025, 03:53 AM
» Replies: 1
» Views: 2,863

 
  How to handle paths with spaces in the name?
Posted by: zBernie - Nov-22-2018, 03:47 AM - Forum: General Coding Help - Replies (1)

I've been searching and still cannot find a solution to this issue. Under Windows 10, using Python 3.7, I'm passing a comma separated argument to the..... More

Print this item

  advapi32.SetServiceStatus() fails with error 6
Posted by: crustydave - Nov-22-2018, 03:33 AM - Forum: General Coding Help - Replies (1)

Error 6 is invalid handle, however, the handle appears to be good, I believe the error is coming from the second parameter, if I make the pointer None..... More

Print this item

  Microsoft 's great gift to Linux
Posted by: Larz60+ - Nov-22-2018, 03:09 AM - Forum: News and Discussions - Replies (5)

For years my nickname for Microsoft was Microshaft Winblows. I won't say that anymore, the release of VSCode has changed my mond. Now check this one o..... More

Print this item

  how can I create a recursive graphic with matplotlib
Posted by: royer14 - Nov-22-2018, 12:44 AM - Forum: Data Science - Replies (3)

hello to all, I am wanting to draw a graph similar to the one that will be shown in the image:
[img]http://www.mediafire.com/convkey/25b2/pn40p977hfm..... More

Print this item

  iterating through a number of files
Posted by: gonzo620 - Nov-21-2018, 09:56 PM - Forum: Homework - Replies (6)

My current code will list the total number of occurrences of the user input within all the files in the path. How can I edit the code to show me the o..... More

Print this item

  Help Loop new line
Posted by: jamshaid1997 - Nov-21-2018, 09:28 PM - Forum: General Coding Help - Replies (3)

every time I loop my program it starts off at the same line the issue is this loop
how can I implement

Quote:"\n"
the new line command into ..... More

Print this item

  is this bad documentation?
Posted by: Skaperen - Nov-21-2018, 08:23 PM - Forum: News and Discussions - Replies (2)

i can't get the documentation quoted here from the 3.5.2 PDF document. but reading the text at 2.4.2 String literal concatenation, it does not say th..... More

Print this item

  Huge black friday power supply sale at EVGA
Posted by: Larz60+ - Nov-21-2018, 08:06 PM - Forum: News and Discussions - No Replies

see: https://www.evga.com/articles/01268/20-s...psu-promo/
example 1600 watt 220-T2-1600-XI (reg $499): 149.99
this price only good as bun..... More

Print this item

  New to Python: Looking to run WMI/WMIC Commands from Python
Posted by: ForensicPython - Nov-21-2018, 07:28 PM - Forum: General Coding Help - Replies (3)

It would appear I need to import some modules in my Python script to accomplish this but so far no luck.

I also downloaded and installed a WMIC for..... More

Print this item

  Converting Angle to X and Y Values: 90/180/270 deg
Posted by: qrani - Nov-21-2018, 06:10 PM - Forum: General Coding Help - Replies (1)

So I have a way to turn an angle into x and y values:
[python]
angle = math.radians(0)
y = math.cos(angle)
x = math.sin(angle)
prin..... More

Print this item

  Selecting netcdf data files
Posted by: Jodman92 - Nov-21-2018, 05:43 PM - Forum: General Coding Help - Replies (4)

Hi there,

I'm trying to adapt some code I have been given for running climate simulations to work with Python3.7 on windows 10 using Anaconda (code w..... More

Print this item

  python 3 memoryview : unsupported format <d
Posted by: evason - Nov-21-2018, 04:27 PM - Forum: General Coding Help - No Replies

Hi, I have just made the change from python2.7 to python3.5.3.

I am having trouble with following lines of code which works in python2, but not 3:..... More

Print this item

  keras tensor mainpulation output to next input
Posted by: JohnyBeGood - Nov-21-2018, 03:30 PM - Forum: Data Science - No Replies

Hi,
Since 2 week, I try to merge a dense layer output to a LSTM input to create a kind of auto-feed ML (today forcast is add to tomorrow input)

th..... More

Print this item

  button not defined
Posted by: OldManProgrammer - Nov-21-2018, 03:20 PM - Forum: GUI - Replies (2)

Hello, I am brand new to Pyton. I am using 3.7.1 for windows.

I am getting an error (NameError: name 'button' not defined) from the statement be..... More

Print this item

  x_offset
Posted by: Graham - Nov-21-2018, 03:00 PM - Forum: Game Development - Replies (2)

Hi All,
I am just starting with Python/pygame and am playing around with shapes.
I am trying to get some lines on screen as below (not dotted)
----..... More

Print this item

  Debugging inside a thread with Python 2.3.4
Posted by: zerajera - Nov-21-2018, 01:43 PM - Forum: General Coding Help - No Replies

Hi,

I'm trying to add value to a piece of historic Python V2.3.4 script, this launches multiple threads that communicate with various serial instru..... More

Print this item

  DataFrame simple calculation
Posted by: SamSoftwareLtd - Nov-21-2018, 12:50 PM - Forum: General Coding Help - No Replies

Hi,

I'm unsure if this is a normal or strange result I'm getting in the below simple DataFrame contains 5 elements of floats stock prices, with the..... More

Print this item

  one code by python for platforms
Posted by: Aashuraa - Nov-21-2018, 11:27 AM - Forum: News and Discussions - Replies (7)

can we write one code to python and can execute on every platform like android ios web? ?

Print this item

  Python Scrapy ebay API
Posted by: Baggelhsk95 - Nov-21-2018, 11:22 AM - Forum: Web Scraping & Web Development - No Replies

Hi everyone....im wondering if somebody know how to connect the api from the ebay into scrapy to get calls,

i did this small code to make sure if t..... More

Print this item

  Adding new line in a one line txt file.
Posted by: Mady - Nov-21-2018, 11:04 AM - Forum: General Coding Help - Replies (7)

I converted a pdf to txt. It returned the file where the whole text is written in one line. In order to work with the file i need to add 2 new lines b..... More

Print this item

  split string and keep separator
Posted by: wardancer84 - Nov-21-2018, 10:42 AM - Forum: General Coding Help - Replies (2)

often discussed on the interwebs, but no i idiot-proof solution available.

i want to split the following list of strings by the "=" and keep the le..... More

Print this item

  Can't get button class to work
Posted by: mzmingle - Nov-21-2018, 10:39 AM - Forum: Game Development - Replies (3)

Hi - me again, haha!

I found a button class I understand - this one - but now I've en..... More

Print this item

  Classes and Methods
Posted by: thraxas - Nov-21-2018, 10:10 AM - Forum: Homework - Replies (8)

Hello everyone,

started this semester with programming in python, and now we have a task where i dont know how to program it.
We get an UML diagra..... More

Print this item

  one to many
Posted by: ifeatu - Nov-21-2018, 09:23 AM - Forum: Web Scraping & Web Development - Replies (2)

Good afternoon, I have been beating my head against a wall with an issue for 2 weeks and was hoping you can help...I'm trying to do a one-to-many rela..... More

Print this item

  Sorting lists prioritizing letters before numbers
Posted by: Ratherfastmofo - Nov-21-2018, 08:29 AM - Forum: General Coding Help - Replies (5)

Hi guys,

I'm a very new coder so your help means a lot.

I'm trying to sort a list which unsorted might look like this:

001 123
001 Beta 123..... More

Print this item

  CSV file dont open with code
Posted by: ayaz786amd - Nov-21-2018, 05:38 AM - Forum: Data Science - Replies (2)

i have put the following code in python shell and it working fine but not opening in pycharm
[python]import pandas as pd
import numpy as np

df = ..... More

Print this item

  XML parsing from URL
Posted by: mightyn00b - Nov-21-2018, 03:28 AM - Forum: Web Scraping & Web Development - Replies (5)

Hello I started my trek into Python a few days ago.

I am receiving the following error:
[quote]Please enter an XML URL to parse: http://py4e-data...... More

Print this item

  help for Kaggle Titanic Set fill the missing Age by median age of Pclass and Sex
Posted by: Parthasarathi009 - Nov-21-2018, 12:32 AM - Forum: General Coding Help - Replies (2)

Hello All,
I am new to python programming and I am trying to solve the Titanic data set from Kaggle for self-learning.
The columns of train_df are ..... More

Print this item

  what is your opinion of this syntactic sugar idea?
Posted by: Skaperen - Nov-21-2018, 12:19 AM - Forum: News and Discussions - Replies (8)

here is an idea that i sure wanted to code in tonight's project.

while doing some scanning i put some info into a dictionary. but there was one..... More

Print this item

  experimenting extracting (\ n) character
Posted by: hobbyprogrammer - Nov-20-2018, 11:54 PM - Forum: Code sharing - Replies (4)

I'm a beginner in python, Learning how to write small routines for a main program I'm working on,
I needed to find a way to eliminate the (\n ) char...... More

Print this item

  Finally switched to Linux Mint from OpenSuse Leap 15
Posted by: Larz60+ - Nov-20-2018, 11:39 PM - Forum: Bar - Replies (5)

Just thought I'd mention. I've been saying I was going to make the switch for several months now.
The process was smooth as silk. I added my laser pr..... More

Print this item

  How to reliably split string containing multiple sqlite statements?
Posted by: shanepy - Nov-20-2018, 11:30 PM - Forum: General Coding Help - Replies (2)

Hello,

Is there a way to reliably split a string containing multiple sqlite statements?

str.split(sep=None, maxsplit=-1) does not..... More

Print this item

  No reaction and no error message when clicking button
Posted by: Atalanttore - Nov-20-2018, 11:19 PM - Forum: GUI - Replies (4)

Hi

I have no idea why nothing happens after clicking on "Start Test" in the given Python 3 (PyQt5) code. There appears also no error message.

[b..... More

Print this item

  Wine / liquor dispenser project code issue
Posted by: onlinegill - Nov-20-2018, 10:41 PM - Forum: General Coding Help - No Replies

Hi i am working on a wine dispenser.i am using raspberry pi to turn on GPIO relay solenoids with hall flowmeter.
everything is working but when it com..... More

Print this item

  How to execute a string with multiple sqlite statements and print results?
Posted by: shanepy - Nov-20-2018, 10:19 PM - Forum: General Coding Help - No Replies

Hello,

How can a string with multiple sqlite statements be executed (for example "select * from tab1; select * from tab2") and print the results?
..... More

Print this item

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

User Panel Messages

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