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,941
» Latest member: Noya_Yonatan
» Forum threads: 38,722
» Forum posts: 175,511

Full Statistics

Online Users
There are currently 49 online users.
» 0 Member(s) | 44 Guest(s)
Bing, Google, AOL, Applebot

Latest Threads
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: Pedroski55
1 hour ago
» Replies: 3
» Views: 150
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,384
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 803
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Sep-19-2025, 12:30 PM
» Replies: 1
» Views: 3,656
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,155
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,663
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,478
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,670
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,593
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,770

 
  Python login system help.
Posted by: calumw20 - Mar-05-2018, 01:39 PM - Forum: General Coding Help - Replies (1)

Hi there! I am looking for help with a login system in python, It must contain an array and be able to save the details of users when registered. I ha..... More

Print this item

  How is this tray icon throbber done?
Posted by: JackDinn - Mar-05-2018, 11:04 AM - Forum: GUI - Replies (7)

I writing a tray widget/notifier for Manjaro KDE and i would like to use this tray icon throbber effect. Anyone know how? (using PyQt5)

[attachment..... More


Attached Files

Thumbnail(s)
   
Print this item

  [PyQt5] - Custom Drawn Controls?
Posted by: Swatto - Mar-05-2018, 10:25 AM - Forum: GUI - Replies (1)

Good Morning,

Is it possible to create a custom drawn control that inherits from a standard control (like QButton) in PyQt5? For example if I want..... More

Print this item

  Basic code
Posted by: HGOBOI - Mar-05-2018, 08:38 AM - Forum: Homework - Replies (2)

I have to make a five-pointed triangle using loops and i have to ask for the length of the sides. The corners should turn 120 degrees every turn. I ha..... More

Print this item

  frequency domain plot
Posted by: jkeertir - Mar-05-2018, 06:54 AM - Forum: General Coding Help - No Replies

Hi All,

I am new to python ,I want to plot in frequency domain the signal of 1000 samples continuously i want receiving in time domain. I am able t..... More

Print this item

  How to work with Base 12 etc.
Posted by: jarrod0987 - Mar-05-2018, 06:35 AM - Forum: General Coding Help - Replies (5)

I am having fun working on puzzles from The American Cryptographic Association. I want to be able to work with numbers from other bases besides 10. 2,..... More

Print this item

  How to get the 2'complement of a number( type int8)
Posted by: zengshh - Mar-05-2018, 03:03 AM - Forum: Data Science - Replies (3)

Hello everyone,
This is my first thread in python forum, thank you for reading.
I want to get the 2'complement of an integer, which is the actua..... More

Print this item

  Creating code to make up to 4 turtle move simultaneously in a random heading
Posted by: J0k3r - Mar-05-2018, 02:19 AM - Forum: Homework - Replies (3)

I have been working on this code for a while now and I can not seem to get these turtle to move at all. I can get them to the starting positions but ..... More

Print this item

  Sorting end results
Posted by: acmichelman - Mar-04-2018, 10:39 PM - Forum: General Coding Help - No Replies

Im am creating a schedule maker and am having trouble sorting the end results in an easy to read format. It's only processing from 3 different lists. ..... More

Print this item

  John Guttag Python Book Finger Exercise 5
Posted by: pritesh - Mar-04-2018, 09:08 PM - Forum: Code sharing - No Replies

Hi,
Here's my way of taking a crack at the 5th Finger exercise in the John Guttag book - "Introduction to Computation and Programming Using Python wi..... More

Print this item

  TypeError: list indices must be integers or slices, not str
Posted by: TheDovah7 - Mar-04-2018, 08:27 PM - Forum: Data Science - Replies (4)

So I am new to python and I can't seem to find the error with this code, when I try to run I get the message "TypeError: list indices must be integers..... More

Print this item

  Looking for feedback on a game I made
Posted by: MrPucake - Mar-04-2018, 08:08 PM - Forum: Code sharing - Replies (7)

I'm a beginner python programmer and was looking for some feedback/improvements/criticism on a game I made. The game itself is a Pokemon-like turn-bas..... More

Print this item

  formatting string and returning as geojson
Posted by: garynobles - Mar-04-2018, 07:29 PM - Forum: General Coding Help - Replies (12)

I have records like this (I cannot alter the origional dataset). The Primary key is always 64 characters, followed by a 3 letter code, three sets of W..... More

Print this item

  Plotly Error
Posted by: muhsin - Mar-04-2018, 06:36 PM - Forum: Data Science - No Replies

Hello,
I am trying to smooth my data by getting some help online. I have created a code to filter data, but I believe since it is website based code..... More

Print this item

  Is there a problem with LONG_BIT in pyconfig.h ?
Posted by: DavidH - Mar-04-2018, 06:25 PM - Forum: General Coding Help - Replies (4)

Hi,

I am trying to make some code that I wrote in C++ available to me in Python. To do this, I am trying out pybind11. But I am running into a comp..... More

Print this item

  Even if my file is "main.py",cannot run my project
Posted by: sylas - Mar-04-2018, 06:20 PM - Forum: General Coding Help - Replies (13)

Hi all! When I am on the project, I cannot run it. Python says he does not find my "main" file.
Here is my main.py:
[python]if __name__ == '__main__..... More

Print this item

  FileNotFoundError when using subprocess
Posted by: dixitabhi - Mar-04-2018, 05:51 PM - Forum: General Coding Help - Replies (1)

from subprocess import check_output
output=check_output(["ls", "F:\myData\input"]).decode("utf8")
print(ouptut)
I'm trying to ru..... More

Print this item

  Windows server 2008 SP2 - Python cx_Oracle connection DLL error
Posted by: tpanagoda - Mar-04-2018, 05:44 PM - Forum: General Coding Help - Replies (2)

I have configured the Oracle client and try with the below code, But error prompted.

[python]
import cx_Oracle
connstr = 'sysadmin/abc1234@localh..... More

Print this item

  BAH! Need help with function!
Posted by: TimeForged - Mar-04-2018, 04:52 PM - Forum: Homework - Replies (3)

So I'm still working on this darn program lol, I got it to run but when I go to delete an item it's saying del_item is not defined but I'm confused be..... More

Print this item

  Str/Int variables
Posted by: SatuKuu - Mar-04-2018, 01:16 PM - Forum: General Coding Help - Replies (1)

I'm very beginner trying to learn to code and I'm stuck with this... I need to convert strings to integers (to use it in plots), but I want users to b..... More

Print this item

  Python Selenium (Dropdown-) data
Posted by: Robin_at_Cantelli - Mar-04-2018, 09:57 AM - Forum: Web Scraping & Web Development - Replies (2)

Hi,

I want to change the currency (left upper corner) on the website https://www.bitstamp.net/. For example from BTC/USD to BTC/EUR to extract spec..... More

Print this item

  re , TypeError: unsupported operand type(s) for -: 'str' and 'str'
Posted by: steponesmall - Mar-04-2018, 09:11 AM - Forum: General Coding Help - Replies (1)

Hello

I scripted a car oil change app. it is working fine but i want to add condition that input must be numeric. I tried using 're'. But with my ..... More

Print this item

  Spyder : Clear IPython Console whenever I re-run the script
Posted by: smallabc - Mar-04-2018, 08:05 AM - Forum: General Coding Help - No Replies

As titled, how can I clear the IPython Console whenever I re-run the script using Spyder?

Thanks.

Print this item

  Question about an infinite loop
Posted by: Robo_Pi - Mar-04-2018, 04:45 AM - Forum: General Coding Help - Replies (6)

If I have a program that loops infinitely, should I place a return at the end of that program anyway?

Example:
[python]
def main():
while (T..... More

Print this item

  Refresh test in urwid.Text
Posted by: Stensborg - Mar-03-2018, 11:35 PM - Forum: GUI - Replies (1)

I am trying output some test to the screen, but I have to update the text when some external data changes.

So I made this test program, and even th..... More

Print this item

  Multiplication Recursive Solution - What's Going On Inside the Code?
Posted by: emerger - Mar-03-2018, 09:45 PM - Forum: General Coding Help - Replies (1)

Hello. Here is a block of code my instructor gave us to understand. It returns 12. I ask you: In the commented section at the bottom, do I have th..... More

Print this item

  Architecture for script executor
Posted by: marsokod - Mar-03-2018, 09:42 PM - Forum: General Coding Help - No Replies

I am working on a tool to execute python scripts for hardware test automation. I have a current workflow but that I feel that it is the wrong way of d..... More

Print this item

  Function to Continuasly monitor serial port and control other functions
Posted by: ricardons - Mar-03-2018, 08:33 PM - Forum: General Coding Help - Replies (10)

Hi

I need to built a pythonfile.py that starts to do a task (monitor at all time a serial port)
And when a certain condition is true(receive a cer..... More

Print this item

  how do you define Class in python ?
Posted by: volcano - Mar-03-2018, 06:57 PM - Forum: General Coding Help - Replies (6)

how do you define Class in python ?


class MyClass;

OR

class MyClass();

which one is correct ?

It seems I have seen both varieties ... hence conf..... More

Print this item

  return outside function?
Posted by: TimeForged - Mar-03-2018, 06:19 PM - Forum: Homework - Replies (6)

I have been battling with this code for like an hour lol. I have unindented, indented and now I'm on the error "Return outside of function". What am I..... More

Print this item

  Accessing data in zip - Index out of range
Posted by: pythoneer - Mar-03-2018, 05:13 PM - Forum: Homework - Replies (24)

i have 3 lists
[quote]Names=["Jack","Jeni","Monsa","Mehus","Kuis","Tim","Tony","Yestgf","Pere"]
Years=[17,20,26,40,67,88,96,99,37]
Order=[1,2,3,4,5,6..... More

Print this item

  image doesnt exists into personal module
Posted by: PyForIO - Mar-03-2018, 01:48 PM - Forum: GUI - Replies (4)

Hi all...

I create an interface tkinter, with python3. (3.6.2 on OpenBSD)

My folder:
[quote]
yup.tk.py
/modules/__init__.py (empty)
/modules/window..... More

Print this item

  Python3: problem to import personals modules
Posted by: PyForIO - Mar-03-2018, 01:12 PM - Forum: General Coding Help - Replies (2)

Hi, all.

I have a problem to import personals modules.

My folder:
[quote]
test.py
/modules/__init__.py
/modules/config.py
/modules/notif..... More

Print this item

  Script from flowchart
Posted by: ksopd - Mar-03-2018, 12:30 PM - Forum: Jobs - Replies (3)

Hello. Could someone write a script according to this flowchart? [Image: gFJ0sn]
The script should be written exacly as shown in flo..... More

Print this item

  Python find the minimum length of string to differentiate dictionary items
Posted by: zydjohn - Mar-03-2018, 11:06 AM - Forum: General Coding Help - Replies (3)

dTeamNames = {'A': 'Man City', 'B': 'Man United', 'C': 'West Brom', 'D': 'West Ham' }
Hello:
I have a dictionary contains a key..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Using a For Loop to subtr... 1 hour ago Anunderling Pedroski55 General Codin...
  403 Error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  Scraping a page with log ... 09-19, 12:30 iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
Most views
  The best Prog... 576511
  Tutorial Requ... 498434
  Web Scraping ... 440400
  Newbie with P... 384295
  New Users Int... 367444
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+ 12087
buran 8175
snippsat 7368
deanhystad 6892
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Noya_Yonatan Yesterday
Saipython555 Yesterday
Anunderling Yesterday
Monir Yesterday
atylerfraces2254 09-20

User Panel Messages

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