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,984
» Latest member: Robertbop
» Forum threads: 38,735
» Forum posts: 175,573

Full Statistics

Online Users
There are currently 52 online users.
» 2 Member(s) | 42 Guest(s)
Bing, Google, Facebook Dev, Mojeek, AOL, Robertbop, buran

Latest Threads
Scwarzcohenlaw Resource
Forum: Data Science
Last Post: Robertbop
1 minute ago
» Replies: 0
» Views: 1
create ocr to detect lice...
Forum: General Coding Help
Last Post: Pedroski55
3 hours ago
» Replies: 1
» Views: 41
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 10:37 PM
» Replies: 5
» Views: 168
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Yesterday, 03:05 AM
» Replies: 4
» Views: 2,034
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Sep-30-2025, 07:43 AM
» Replies: 2
» Views: 448
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Sep-30-2025, 12:21 AM
» Replies: 2
» Views: 1,081
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,147
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 825
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 3,107
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,547

 
  Python start from a specific string line and write?
Posted by: searching1 - Jun-27-2019, 01:04 PM - Forum: General Coding Help - Replies (1)

I want to match a specific string and once match start writing the next line after after the matched string.

from output save in x variable I want ..... More

Print this item

  pandas library tricks
Posted by: metulburr - Jun-27-2019, 01:00 PM - Forum: Web Scraping & Web Development - Replies (7)

I have obviously never used the pandas library

Based on this answ..... More

Print this item

  Changing Data Types
Posted by: BallisticSwami - Jun-27-2019, 11:59 AM - Forum: General Coding Help - Replies (2)

I am writing a program to change the given data type.
Here is my code:
[python]a = input("Type the data which you would like to convert: ")
dtype = in..... More

Print this item

  Managing variables accross a multiple module GUI
Posted by: Oolongtea - Jun-27-2019, 10:47 AM - Forum: GUI - Replies (18)

I would like to know what are the best practices to manage variables in a complex application (ie multiple windows/menus/forms etc). I am relatively n..... More

Print this item

  table from wikipedia
Posted by: flow50 - Jun-27-2019, 10:31 AM - Forum: Web Scraping & Web Development - Replies (5)

Hi,
I’m a newbie in programming and web scraping.

I got this assignment:

[quote]wikipedia web site: ..... More

Print this item

  capture logs on specific port
Posted by: anna - Jun-27-2019, 08:08 AM - Forum: General Coding Help - Replies (1)

Hi All,

I have one application, sending logs on udp 25038 port towards my server. Is there any way to capture those logs and store in DB. Which mod..... More

Print this item

  Require scroll bars horizontal and vertical throughout the window
Posted by: tejgandhi - Jun-27-2019, 06:39 AM - Forum: GUI - Replies (2)

Hello All,

When I try to create scroll bars,horizontal and vertical utilizing
grid I get them for particular row and particular column I wanted sc..... More

Print this item

  Import Python Modules
Posted by: zowhair - Jun-27-2019, 05:53 AM - Forum: General Coding Help - Replies (4)

I am working to make a pyhton web framework, I make a package and installed that, and the main directory is in
venv/lib/python3.6/site-packages/[b]m..... More

Print this item

  Removing window borders
Posted by: DT2000 - Jun-27-2019, 01:44 AM - Forum: GUI - Replies (1)

Is there a way to have a borderless window in tkinter but keep the title bar? If overrideredirect(1)' is used it removes all including the title bar. ..... More

Print this item

  Lost in choosing how to make an graphic interface
Posted by: TheGuyUnknown - Jun-27-2019, 01:06 AM - Forum: News and Discussions - Replies (3)

Hello everybody, as a novice in python coding (i've been on C++ for the past few years), i would like to create a program that can simulate a trajecto..... More

Print this item

  Unable to identify Tuple index error
Posted by: appmkl - Jun-26-2019, 09:30 PM - Forum: Data Science - Replies (4)

Hello !
I've been wanting to create a DCGAN following this tutorial.
I've got the whole thing up and running on GCP, with my own image dataset (tryi..... More

Print this item

  Where to find Russian Django developers?
Posted by: mikedeveloper - Jun-26-2019, 08:20 PM - Forum: Jobs - Replies (2)

I am a React developer seeking Django developer to help with a project.
I do not need full-time work but enough to keep them busy.

Where can I fin..... More

Print this item

  subprocess and tty input
Posted by: gw1500se - Jun-26-2019, 07:25 PM - Forum: General Coding Help - Replies (2)

I'm writing a script that launches a process via Popen that reads a password from the tty rather than stdin. Is there a way to send that string? There..... More

Print this item

  Have two class instances affect one another
Posted by: The_Zookinator - Jun-26-2019, 05:57 PM - Forum: General Coding Help - Replies (3)

Hey everybody,

newbe here. I'm trying out classes and I don't know how to get the desired results:

[python]
class name():
def __init__(sel..... More

Print this item

  to_numpy() works in jupyter notebook, but not in python script
Posted by: bluefrog - Jun-26-2019, 05:54 PM - Forum: Data Science - Replies (7)

Hi

I am unsure why the following works in a jupyter notebook, but not in a python script that I am run from the Linux command line:

[python]
#!..... More

Print this item

  machine learning error (using jupyter)
Posted by: calonia - Jun-26-2019, 04:30 PM - Forum: General Coding Help - Replies (1)

i was trying to play around with machine learning and make prediction on this data set using jupyter:

https://github.com/dpkravi/DecisionTreeClassi..... More

Print this item

  Study guides
Posted by: Mark87 - Jun-26-2019, 04:13 PM - Forum: News and Discussions - No Replies

Hi, everybody!
I used to work with Magento for a long time, mostly developing modules and working at stores support [color=#E74C3C][LINK REMOVED][/co..... More

Print this item

  This constructor takes no arguments
Posted by: Friend - Jun-26-2019, 02:47 PM - Forum: General Coding Help - Replies (2)

Hi all,

i am just learning about classes. This a very simplified version of the example i was checking in a book

[python]
class Person:
de..... More

Print this item

  “main thread is not in main loop” in Tkinter
Posted by: Long_r - Jun-26-2019, 02:26 PM - Forum: GUI - Replies (1)

Greetings
I have paths of two GIF files in a list.
After input (name of the planet) it just shows looped GIF in tkinter.
When you enter 'ok' as a s..... More

Print this item

  plugin:xxx.py hasfailed to load
Posted by: 1204eray - Jun-26-2019, 02:22 PM - Forum: General Coding Help - Replies (1)

I write this code but ı cant enject ı got ".py has failed to load" error

Can anyone tell me where I do mistake

[python]from phBot import *
import p..... More

Print this item

  Only first letter in the cell of the file.
Posted by: rturus - Jun-26-2019, 01:32 PM - Forum: General Coding Help - Replies (7)

[python] b=b+1
for a in range(0,b):
writefile = open("data.csv",'a')
writefile.write(str(nam..... More

Print this item

  thinker button gui place next to each other
Posted by: jacklee26 - Jun-26-2019, 01:09 PM - Forum: GUI - Replies (9)

HI ,
do anyone knows how to place clear button next to ping button.
Right now it display ping and clear is not place together.
if i put pack(side"..... More

Print this item

  Finding the correct Python framework with cmake
Posted by: kavyasahu - Jun-26-2019, 09:59 AM - Forum: Data Science - No Replies

I am using the macports version of python on a Snow Leopard computer, and using cmake to build a cross-platform extension to it. I search for the pyth..... More

Print this item

  Audio and servo at the same time
Posted by: cgreenwell - Jun-26-2019, 09:16 AM - Forum: General Coding Help - Replies (4)

I'm using a Raspberry Pi3 with a servo hat and a speaker hat. I am getting audio just fine as well as servos are working fine, but can't do both at th..... More

Print this item

  Load JSON file data into mongodb using pymongo
Posted by: klllmmm - Jun-26-2019, 04:30 AM - Forum: General Coding Help - Replies (1)

I want to load JSON data into MongoDB using pymongo library.

I found that JSON data can be directly load using mongoimport using the command prompt..... More


Attached Files

.json   example_2.json (Size: 947 bytes / Downloads: 1064)
Print this item

  Getting Around in OS X
Posted by: soupking - Jun-26-2019, 01:52 AM - Forum: General Coding Help - Replies (4)

Hi everybody,

I know this is a real general question, but I'm using the docs and not really getting anywhere.

I'm trying to use Python as a SSH..... More

Print this item

  Instances as attributes
Posted by: sapra90 - Jun-26-2019, 01:33 AM - Forum: General Coding Help - Replies (2)

Hello everyone, I am trying to learn the concept of instances as attributes. Below is the code snippet [python]
class User:
def __init__(self,first..... More

Print this item

  TKinter GUI / Pandas Data frame Loop
Posted by: NSearch - Jun-26-2019, 12:37 AM - Forum: GUI - No Replies

Hi all,

Thanks in advance for your help.

I have a simple tkinter gui that has two buttons: "Stop", "GO"

I am trying to loop through a pandas ..... More

Print this item

  i have hundreds of Python functions
Posted by: Skaperen - Jun-25-2019, 11:00 PM - Forum: News and Discussions - Replies (3)

i have hundreds of Python functions and often use quite many of them. there are two major methods i have tried to import these functions. method 1 k..... More

Print this item

  How to use the excel filename as a value to populate new column, using Pandas?
Posted by: Dequanharrison - Jun-25-2019, 10:07 PM - Forum: Data Science - Replies (5)

I'm new to Python. I have about 50 excel workbooks that all have different names e.g. 012018 CBA, 022018 CBA, etc. For each, I would like to insert a ..... More

Print this item

  How to use multiprocessing with an array that is continually being appended
Posted by: Apretext - Jun-25-2019, 08:53 PM - Forum: General Coding Help - Replies (7)

I have a (long!) script that I wish to speed up considerably by splitting it into 3 modules, and running them in parallel, rather than sequentially, w..... More

Print this item

  Issue with os.rename
Posted by: malinowy - Jun-25-2019, 04:05 PM - Forum: General Coding Help - Replies (4)

Hello experts,

I am facing this issue with os.rename

I have multiple scripts in my Jupyter notebook, and at some point I need to move some fil..... More

Print this item

  How to combine file names into a list from multiple directories?
Posted by: python_newbie09 - Jun-25-2019, 03:05 PM - Forum: General Coding Help - Replies (3)

My files in folders are structures as follows:
Folder1
Filea
Fileb
Filec

Folder2
Filea
Fileb
Filec

Folder3
Filea
Fileb
Filec


I am..... More

Print this item

  TimeLapse Help - ImportError: No module named 'sh'
Posted by: evvvonder - Jun-25-2019, 03:04 PM - Forum: General Coding Help - Replies (4)

I'm new to python and am trying to write a code that will allow me to take time lapse photographs with my DSLR.

[python]
from time import sleep
from..... More

Print this item

  How to remove empty struct from matlab file in python?
Posted by: python_newbie09 - Jun-25-2019, 12:13 PM - Forum: General Coding Help - No Replies

I am new to working with matlab files and I have a problem with some matlab files that has empty structs in between structs that have values. an examp..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Scwarzcohenlaw Resource 1 minute ago Robertbop Robertbop Data Science
  create ocr to detect lice... 3 hours ago bimosora Pedroski55 General Codin...
  Parse Markdown / get the ... Yesterday, 22:37 SpongeB0B Pedroski55 General Codin...
  Error: cannot mix str wit... Yesterday, 03:05 ngregistrations Joliekeva General Codin...
  Integer Factorization Too... 09-30, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... 09-30, 00:21 GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... 09-29, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... 09-29, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
Most views
  The best Prog... 577456
  Tutorial Requ... 501165
  Web Scraping ... 441081
  Newbie with P... 385155
  New Users Int... 369778
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+ 12092
buran 8178
snippsat 7371
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Robertbop Today
bimosora Today
kyleconor797 Yesterday
miriamwilliam Yesterday
Davidkiplimo Yesterday

User Panel Messages

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