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,965
» Latest member: zalexstolzeoz5360
» Forum threads: 38,730
» Forum posts: 175,548

Full Statistics

Online Users
There are currently 63 online users.
» 3 Member(s) | 54 Guest(s)
Bing, Google, AOL, AOL, zalexstolzeoz5360, kshahzad1985, snippsat

Latest Threads
unable to flash micropyth...
Forum: Bar
Last Post: zalexstolzeoz5360
1 minute ago
» Replies: 4
» Views: 7,980
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: noisefloor
4 hours ago
» Replies: 4
» Views: 118
My goal to be hired worki...
Forum: News and Discussions
Last Post: Larz60+
Yesterday, 11:58 PM
» Replies: 1
» Views: 491
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 06:49 PM
» Replies: 4
» Views: 2,035
My First App
Forum: Code Review
Last Post: carlbidwell
Yesterday, 10:53 AM
» Replies: 8
» Views: 8,592
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 03:54 AM
» Replies: 3
» Views: 491
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 960
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 974
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,243
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Sep-26-2025, 09:50 AM
» Replies: 1
» Views: 1,854

 
  How to modify and save a column in the sqlite3 database using python?
Posted by: laithsky1 - Dec-15-2018, 02:27 AM - Forum: Data Science - Replies (3)

I have a CSV file (A.csv) has many columns. The question is how to modify and save a column in this file and database (data.db). I would like to repla..... More

Print this item

  how to work with variables changed in definitions
Posted by: Prof_Jar_Jar - Dec-14-2018, 10:07 PM - Forum: General Coding Help - Replies (2)

Hi there,

I've used Python in school for like two years, so I really don't know what I'm doing. Excuse that please and don't worry about my messy c..... More

Print this item

  Insert images in a folder into dataframe
Posted by: tofi - Dec-14-2018, 08:05 PM - Forum: Data Science - No Replies

Hi

Im trying to read images from folders into a dataframe , where each row in the dataframe is all the images for a folder :

[python]
import c..... More

Print this item

  I need simple help with python?
Posted by: Pr1sl1 - Dec-14-2018, 07:41 PM - Forum: News and Discussions - Replies (7)

If someone can send code: I am making simple program which I will use in calculating Pitagora's theorem, so I made that program but I want to python d..... More

Print this item

  Moving with objects in tkinter
Posted by: dan789 - Dec-14-2018, 07:06 PM - Forum: GUI - Replies (2)

Hi all, can anybody tell me, how to find out if some object is currently located at specific coordinates? Let´s consider object1 at x=100,y=100 and I ..... More

Print this item

  Current Stack Size
Posted by: ichabod801 - Dec-14-2018, 06:54 PM - Forum: General Coding Help - Replies (1)

In an application I am working on, users can traverse a graph. However, when they move on the graph, they are basically adding five function calls to ..... More

Print this item

  Python None Type
Posted by: sigo4u2002 - Dec-14-2018, 05:45 PM - Forum: General Coding Help - Replies (1)

Can someone kindly help with this code.

I am trying to achieve a string that looks like: instrument.write("FREQ:CENT 2442 MHz")

Unfortunately wh..... More

Print this item

  threading.active_count()
Posted by: MuntyScruntfundle - Dec-14-2018, 05:11 PM - Forum: General Coding Help - Replies (2)

Does the threading.active..... catch threads started with 'thread' as well as 'threading'?

My app is setting off loads of threads, all the same def..... More

Print this item

  Asking a favour
Posted by: kityatyi - Dec-14-2018, 04:51 PM - Forum: News and Discussions - Replies (11)

Good day!

I would like to ask a massive favour from you guys. Could someone be kind and write a very small, simple Python program for me please? Thos..... More

Print this item

  Closing the Programm after stuck in while loop
Posted by: Rigunas - Dec-14-2018, 04:24 PM - Forum: GUI - Replies (3)

Hello,

I am working on a small project which start after pressing a button. For this project I'm using Python (X, Y) and have created the graphical..... More

Print this item

  (Python PIL)AttributeError:
Posted by: tao01 - Dec-14-2018, 02:57 PM - Forum: General Coding Help - Replies (2)

AttributeError: type object 'Image' has no attribute 'open'
this error message come when i run my code
HELP ME GUYS.i am new programmer to py..... More

Print this item

  failure to find modules
Posted by: justus123 - Dec-14-2018, 02:42 PM - Forum: General Coding Help - Replies (2)

Hello,

I am quite new to Python and this is my first time using modules. Every time I try to import a module I get the error: ModuleNotFoundError: ..... More

Print this item

  help need with running python script on remote windows machine
Posted by: onenessboy - Dec-14-2018, 01:57 PM - Forum: General Coding Help - Replies (2)

Hi all,

I am trying to run below python code for connecting remote windows machine from unix to run an python file exist on that remote windows mac..... More

Print this item

  What will the following code output?
Posted by: dukoolsharma - Dec-14-2018, 11:25 AM - Forum: General Coding Help - Replies (5)

What output will the following code give?

>>> word=’abcdefghij’
>>> word[:3]+word[3:]

Print this item

  Python Error in subprocess.py
Posted by: roydianton90 - Dec-14-2018, 10:15 AM - Forum: General Coding Help - Replies (1)

Hello,

I got problem when running command using python. the command purpose is to restore db (RDS) in AWS.
Here are the problem:
[error]File "/..... More

Print this item

  help with assignment 3
Posted by: Mof44 - Dec-14-2018, 09:15 AM - Forum: Homework - Replies (5)

Hi,
I'm working with complex numbers (multiply,substract, absolute value)

input:
[python]class Complex(object):
def __init__(self, r, i):
..... More

Print this item

  Complex Long codes
Posted by: ayaz786amd - Dec-14-2018, 07:40 AM - Forum: General Coding Help - Replies (5)

Hi

Any tutorials which explains complex long codes. For examples codes which have functions and then have if statements and loops in it. Like below..... More

Print this item

  how operators are implemented as function calls
Posted by: Skaperen - Dec-14-2018, 04:50 AM - Forum: News and Discussions - Replies (5)

i remember a thread a while back that touched on how various operators were implemented as funtion calls. i'm more curious about this, now, but i can..... More

Print this item

  Selenium driver.get() does not work
Posted by: RvBVakama - Dec-14-2018, 04:34 AM - Forum: Web Scraping & Web Development - Replies (2)

It seems very simple but I am new to python and I'm stumped as to why this won't work.
[python]from selenium import webdriver

class my_class(object):..... More

Print this item

  Windows 10 Installation failing (0x80070005)
Posted by: AdaptedLogic - Dec-13-2018, 10:13 PM - Forum: General Coding Help - Replies (4)

Whenever I try to install Python 3.7.1 on windows 10 pro, I get this message saying "0x80070005 - Access Denied"

This is my log file

[1DD0:1434]..... More

Print this item

  No Data Transmission with Python / COM
Posted by: neuralcosmonaut - Dec-13-2018, 09:20 PM - Forum: General Coding Help - No Replies

I am using Python 2.7 to communicate with an eye movement system over USB. The device came with an ActiveXControl-- I have used makepy to create a pyt..... More

Print this item

  Regex
Posted by: yuyu - Dec-13-2018, 08:57 PM - Forum: Web Scraping & Web Development - Replies (6)

Hi,

how can I read the inputfile with Regex and store it into outputfile with python?

## inputfile ##
<Color>blue</Color>
<Code>1</Code>
<Col..... More

Print this item

  How to write this better?
Posted by: MAZambelli4353 - Dec-13-2018, 07:56 PM - Forum: Data Science - Replies (1)

[python]
x = 50
list_of_gains = []
while x < len(stock['Returns']) - 4:

if stock['Returns'][x] > 0 and stock['Returns'][..... More

Print this item

  Unable to get a window, abort.
Posted by: hajary8 - Dec-13-2018, 06:17 PM - Forum: GUI - No Replies

Hello dears expert,
I'm new user of python, Kivy . I need your help, this is my first programm and they give me this error
([CRITICAL] [App ..... More

Print this item

  how i can check the input type?
Posted by: Firdaos - Dec-13-2018, 05:45 PM - Forum: General Coding Help - Replies (3)

hi recently i started learning python by my self and i faced this problem :
how i can check the input if it int or a sting?
any help Cry

Print this item

  Clustering based on a variable and on a distance matrix
Posted by: flucoe - Dec-13-2018, 05:41 PM - Forum: Data Science - Replies (2)

I have a dataset with locations (coordinates) and a scalar attribute of each location (for example, temperature). I need to cluster the locations base..... More

Print this item

  Python dictionary adds only the last elements of a list
Posted by: mahmoud899 - Dec-13-2018, 04:51 PM - Forum: Data Science - Replies (1)

I am trying to insert the data values from column_names '<class list>' and stock_data '<class list>' into a dicitonary. When I run the program it loop..... More

Print this item

  Python offset to length write in a File
Posted by: basic_learner - Dec-13-2018, 04:25 PM - Forum: General Coding Help - Replies (3)

I have these two values in a tuple
(offset, length)

The 'offset' is basically a pointer here.I want to write the content of the 'offset' up to th..... More

Print this item

  running scripts in ATOM - how to headstart into Python while using Atom and GITHub
Posted by: apollo - Dec-13-2018, 03:38 PM - Forum: Bar - Replies (1)

Hello dear experts,

this is a thread reagarding running scripts in ATOM - how to headstart into Python while using Atom and GITHub

i just have i..... More

Print this item

  Float formatting
Posted by: ambush - Dec-13-2018, 12:30 PM - Forum: Data Science - Replies (1)

[python]
import pandas as pd
import numpy as np
df3 = pd.DataFrame({
'T': [11.0,22.0,11.23,20.03],
'v2': [11.0,13.0,55.1,33.0],
'v3' : [112.1,2...... More

Print this item

  loddi test
Posted by: irvinyalom - Dec-13-2018, 11:15 AM - Forum: Homework - Replies (5)

creating this thread for students at loddi python school.

[python]
my_minmax_scaler = preprocessing.MinMaxScaler()
my_mi..... More

Print this item

  Product expression.
Posted by: jarrod0987 - Dec-13-2018, 11:05 AM - Forum: General Coding Help - Replies (1)

What I want to do it to use Product from itertools.

I want the length of the product to be variable.

so for example...
var = 'AB'

If I had p..... More

Print this item

  PyQt, Open a Table when a row is selected populating it with the row values
Posted by: rarevesselt - Dec-13-2018, 10:40 AM - Forum: GUI - Replies (18)

I am trying to learn how to build a Simple POS system.I want to know if it possible to open a table when a Product is selected and additem button is c..... More


Attached Files

Thumbnail(s)
   
Print this item

  Opening Excel
Posted by: Phil_lihp - Dec-13-2018, 10:26 AM - Forum: Data Science - Replies (1)

Hi,

I am generating a excel file with phyton. At the end I am saving the file but I would like it to also pup open in my face.

Does anyone kno..... More

Print this item

  Add png to the body of the email, not the attachment
Posted by: Ivan87 - Dec-13-2018, 09:45 AM - Forum: General Coding Help - Replies (8)

Hi,
Trying to find a way to add a png file located on the local PC to the body of the email. Went all over the Internet, but there is no solution to ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  unable to flash micropyth... 1 minute ago apollo zalexstolzeoz5360 Bar
  Comparing 2 100GB Drives/... 4 hours ago tester_V noisefloor General Codin...
  My goal to be hired worki... Yesterday, 23:58 GnomeSweetGnome Larz60+ News and Disc...
  what does % stand for in ... Yesterday, 18:49 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
Most views
  The best Prog... 577205
  Tutorial Requ... 500242
  Web Scraping ... 440903
  Newbie with P... 384918
  New Users Int... 369216
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 7368
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
zalexstolzeoz5360 Today
Edzed4431 Yesterday
chaoh1911 Yesterday
KaydenJonah098 Yesterday
carlbidwell Yesterday

User Panel Messages

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