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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,303
» Latest member: FredDennis
» Forum threads: 38,797
» Forum posts: 175,897

Full Statistics

Online Users
There are currently 32 online users.
» 1 Member(s) | 26 Guest(s)
Bing, Google, Applebot, AOL, FredDennis

Latest Threads
Steps To Recover Scammed ...
Forum: Bar
Last Post: FredDennis
Less than 1 minute ago
» Replies: 0
» Views: 0
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
1 hour ago
» Replies: 1
» Views: 33
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Today, 04:48 AM
» Replies: 6
» Views: 7,790
Help with Serial.write in...
Forum: General Coding Help
Last Post: racingsubby
Today, 02:09 AM
» Replies: 7
» Views: 619
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Yesterday, 09:58 PM
» Replies: 3
» Views: 115
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Yesterday, 03:53 PM
» Replies: 1
» Views: 94
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Yesterday, 08:47 AM
» Replies: 3
» Views: 167
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Yesterday, 04:40 AM
» Replies: 6
» Views: 3,205
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 283
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 170

 
  Inclusive (closed) range with float numbers
Posted by: mapg - Apr-27-2019, 07:49 PM - Forum: General Coding Help - Replies (4)

Hi

I need to add range of numbers to some arrays used, but I see that range in Python is not for float numbers and is not inclusive, namely range i..... More

Print this item

  Object type of Node to json
Posted by: bhojendra - Apr-27-2019, 07:16 PM - Forum: General Coding Help - Replies (4)

I have Object type of Node like:

<Node id=1 labels={'First'} properties={'foo': 'foo', 'bar': 'bar'}>

I have tried to use like:

Response(dump..... More

Print this item

  How do i write tests for this code?
Posted by: hshivaraj - Apr-27-2019, 05:28 PM - Forum: General Coding Help - No Replies

Hi all.

I wrote a sample code recently. And I want to write some tests and I cant get my head around if I got my structure right. I have a few que..... More

Print this item

  How can we make the background transparent ?
Posted by: MrDrumX_ - Apr-27-2019, 04:58 PM - Forum: GUI - Replies (1)

Hello, i'm french Dance , i'm using "FenetreNomJoueur.attributes("-transparentcolor", "dodger blue")" ( FenetreNomJoueur is my window) on window..... More

Print this item

  bitwise rotation/classes
Posted by: msp1981 - Apr-27-2019, 04:45 PM - Forum: Homework - Replies (1)

The assignment is to: take data from input file, input file has 3 sets of columns, decimal number, L or R for left/right direction, and a rather large..... More

Print this item

  text widgets-insert problem
Posted by: genc74 - Apr-27-2019, 01:01 PM - Forum: GUI - Replies (3)

I am tring to pick 5 digits randomly( one line in one second) and display them om tkinter gui using either Label or Text widgets.

it works fine on ..... More

Print this item

  Radio button help
Posted by: Muzz - Apr-27-2019, 12:44 PM - Forum: GUI - Replies (5)

Hi everyone, Python noob here, im working on an assignment that is Tkinter heavy. Basically the endstate of the program is to display a GUI that allow..... More

Print this item

  scrolling a text using loop
Posted by: ebolisa - Apr-27-2019, 12:12 PM - Forum: General Coding Help - Replies (1)

Hi,

I'm trying to scroll a text on a 7 segment display. The display library doesn't have a scroll option so I made one up via a repetitive code. Beca..... More

Print this item

  Optimal Statements in Python
Posted by: dukoolsharma - Apr-27-2019, 12:07 PM - Forum: General Coding Help - Replies (2)

I am bit confused whether the below statements are optimal or not? Need help!

word= 'word'
print(word._len_())

Print this item

  NameError: name 'lst' is not defined
Posted by: Jmekubo - Apr-27-2019, 08:30 AM - Forum: General Coding Help - Replies (2)

Guys Kindly help identify this error.

[python]




# clean tweets
def remove_pattern(input_txt, pattern):
r = re.findall(pattern, input_..... More

Print this item

  python program on cards
Posted by: marc237 - Apr-27-2019, 08:10 AM - Forum: General Coding Help - Replies (3)

projects.raspberrypi.org/en/projects/deck-of-cards
please guys i need help when i am following the diferent steps the program is not working.the link..... More

Print this item

  what i repeatedly keeping wanting in Python
Posted by: Skaperen - Apr-27-2019, 06:03 AM - Forum: Bar - Replies (4)

many times i encounter uses for this one capability i wish Python had. i guess this is because of encountering other programming languages in the pas..... More

Print this item

  Numpy question
Posted by: pberrett - Apr-27-2019, 05:35 AM - Forum: General Coding Help - Replies (3)

Hi all

I have a question about extracting data from a numpy array in an efficient manner. Can anyone help?

The example is simple. I have a numpy..... More

Print this item

  PHP to Python
Posted by: mapg - Apr-27-2019, 04:31 AM - Forum: General Coding Help - Replies (11)

Hi All,

I learning Python and I see that my knowledge of this language is very poor as I am trying to translate a function from PHP to Python but I..... More

Print this item

  functool - partial errors
Posted by: SheeppOSU - Apr-27-2019, 02:05 AM - Forum: General Coding Help - Replies (1)

I am making a game - I didn't put it in Game Development because this is just about functools - and I have this button that I give a function for one ..... More

Print this item

  TO ELSE OR NOT TO ELSE?
Posted by: rxndy - Apr-27-2019, 02:03 AM - Forum: General Coding Help - Replies (4)

Should we always use else statements?

By using else statements you are kind of doing the same thing that the programming gods Ken Thompson and Rob Pi..... More

Print this item

  How to deal with code that blocks the mainloop, freezing the gui
Posted by: Yoriz - Apr-26-2019, 11:09 PM - Forum: GUI tutorials - Replies (1)

(The tkinter version of this can be found ..... More

Print this item

  lowercasing to strings before comparison
Posted by: SheeppOSU - Apr-26-2019, 08:56 PM - Forum: General Coding Help - Replies (4)

I have some code for logging in. Like most logins, I don't care about uppercase and lowercase for the username. Is there a way I can lowercase all the..... More

Print this item

  Development Server Problem (Win10)
Posted by: SMY1 - Apr-26-2019, 06:24 PM - Forum: General Coding Help - No Replies

Hi,

I am new to Python and am starting to learn Django through Corey Schafer's YouTube tutorials.

When I run a development server in the command..... More

Print this item

  folder PyQt5 created during creation exe
Posted by: atlass218 - Apr-26-2019, 06:23 PM - Forum: General Coding Help - No Replies

Hello;
I just created an exe of an application made under Tkinter (python 3.6) with this code:

python setup.py build
the creation..... More

Print this item

  List slicing issue
Posted by: Irhcsa - Apr-26-2019, 06:22 PM - Forum: General Coding Help - Replies (3)

So I have a problem that I've been working on for like 8 hours now. It's driving me insane.

The goal here is to open a .txt file I created that co..... More

Print this item

  Convert List of Dictionary to dictionary of dictionary list in python
Posted by: kk230689 - Apr-26-2019, 02:25 PM - Forum: General Coding Help - Replies (2)

Hi ALl ,

Need your help in python code for the following output required. thanks in advance.

Source file:


[ { "Env" :"dit",
..... More

Print this item

  PyInstaller not picking up selenium and urllib3
Posted by: davork - Apr-26-2019, 11:08 AM - Forum: GUI - Replies (5)

Hello World,
Smile
I am having a problem when generating exe file using PyInstaller.
This is the command that I run to generate an executable..... More

Print this item

  Need help with a simple function
Posted by: WorldPark - Apr-26-2019, 10:39 AM - Forum: General Coding Help - Replies (4)

Hi,

I am totally new to Python and programming. However, I tryed to create a simple function, which is not working. Please help.

[python]
def m..... More

Print this item

  making primary numbers
Posted by: akbarasghar - Apr-26-2019, 09:44 AM - Forum: General Coding Help - Replies (3)

hi
I was trying to print prime numbers from 3 to 100

this is my code
[python]
i=3
n=2
while i<100 :

while n < i :
if i%n == 0:
..... More

Print this item

  Python - joining xmls together invalid token error
Posted by: jan86 - Apr-26-2019, 08:52 AM - Forum: General Coding Help - No Replies

I have a function which makes get request, parse xml file and returns:

[python]def get_object(object_name):
...
encoded_text = response.text...... More

Print this item

  Need your Help
Posted by: bil007 - Apr-26-2019, 08:52 AM - Forum: General Coding Help - Replies (3)

i tried to execute this code below but i got this error can someone help me


[python]#function for scatter plot
def myscatter(df,dfpos,dfneg):
..... More

Print this item

  Connect to database OVH
Posted by: Serferi - Apr-26-2019, 07:34 AM - Forum: General Coding Help - No Replies

Hello, I'm trying to make a python script that I run from my server, this script need to modify a mysql database that is in localhost at ovh, so I hav..... More

Print this item

  Display the bottom image of the line and cut the upper image using Opencv
Posted by: jenkins43 - Apr-26-2019, 07:33 AM - Forum: General Coding Help - Replies (1)

I am trying to crop the live video diagonally. With the help of cv.line, I have mentioned the dimensions and my goal is to display the video of the lo..... More


Attached Files

Thumbnail(s)
   
Print this item

  Identify two specific words next to each
Posted by: stahorse - Apr-26-2019, 06:10 AM - Forum: General Coding Help - Replies (9)

Hi,

I'm trying to identify two specific words next to each other and remove them from a string. I though of using REPLACE, but this can work on one w..... More

Print this item

  Reading PCAP FIles
Posted by: Variables - Apr-26-2019, 03:41 AM - Forum: General Coding Help - Replies (5)

Hi peeps!!
i need someone expertise to help me

I am trying to read a pcap file with a program im making but im having problems
If anyone has an idea ..... More

Print this item

  SQLite Query in Python
Posted by: rowyourboat - Apr-26-2019, 02:12 AM - Forum: General Coding Help - Replies (2)

I have created a table named "G" with python but I am not sure how to select the data.

Below is the table:
Parent:--Child:
c----------a
a-------..... More

Print this item

  CLI Progress Bar
Posted by: itaybardugo - Apr-25-2019, 11:44 PM - Forum: Code sharing - No Replies

hey,
just wrote my command line progress bar
it is simple for use, you can define your progress bar color and adjust the size.
https://github.com/ita..... More

Print this item

  How to deal with code that blocks the mainloop, freezing the gui
Posted by: Yoriz - Apr-25-2019, 11:34 PM - Forum: GUI tutorials - Replies (3)

(The WxPython version of this can be found ..... More

Print this item

  invalid syantx
Posted by: metro779966 - Apr-25-2019, 11:05 PM - Forum: General Coding Help - Replies (3)

I am new in programing , I use python 3.7.2- when I write any code in python file and make RUN I have invalid syntax message
forexample:
I have fi..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Steps To Recover Scammed ... Less than 1 minute ago FredDennis FredDennis Bar
  Python is not working on ... 1 hour ago lary_p noisefloor General Codin...
  Can I develop a live vide... Today, 04:48 mtrkhan mamta25 Web Scraping ...
  Help with Serial.write in... Today, 02:09 racingsubby racingsubby General Codin...
  silent deployment Python ... Yesterday, 21:58 Bummibaer Larz60+ News and Disc...
  Proposal for PEP Yesterday, 15:53 matt Gribouillis News and Disc...
  My regex function is not ... Yesterday, 08:47 Moltar1997 perfringo General Codin...
  best way to learn python Yesterday, 04:40 dutch ichsanputr News and Disc...
  data fetching for indian ... 11-25, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
Most views
  The best Prog... 579406
  Tutorial Requ... 512473
  Web Scraping ... 442304
  Newbie with P... 386355
  New Users Int... 380505
Most reputation
buran 581
snippsat 511
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12111
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
FredDennis Today
cruisesfares Today
SNR Today
Jonathan Today
matt Yesterday

User Panel Messages

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