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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,932
» Latest member: sajid
» Forum threads: 16,558
» Forum posts: 80,476

Full Statistics

Online Users
There are currently 131 online users.
» 4 Member(s) | 127 Guest(s)
ichabod801, Yoriz, sajid, nilamo

Latest Threads
call a function in anothe...
Forum: GUI
Last Post: darktitan
8 minutes ago
» Replies: 0
» Views: 2
"Limit all lines to a max...
Forum: News and Discussions
Last Post: ichabod801
15 minutes ago
» Replies: 13
» Views: 116
including the white space...
Forum: General Coding Help
Last Post: Skaperen
23 minutes ago
» Replies: 4
» Views: 83
strip off just newlines
Forum: General Coding Help
Last Post: Skaperen
40 minutes ago
» Replies: 11
» Views: 209
Extra Argument In Help Re...
Forum: General Coding Help
Last Post: z3driver
48 minutes ago
» Replies: 0
» Views: 12
lots of elifs
Forum: News and Discussions
Last Post: Skaperen
51 minutes ago
» Replies: 6
» Views: 77
Trying to Tabulate Inform...
Forum: General Coding Help
Last Post: snippsat
1 hour ago
» Replies: 19
» Views: 851
New Users Introduce Yours...
Forum: Bar
Last Post: Imissmyflock
1 hour ago
» Replies: 292
» Views: 51,573
How to change font color ...
Forum: GUI
Last Post: Yoriz
1 hour ago
» Replies: 5
» Views: 115
Same Scrollbar for two te...
Forum: GUI
Last Post: Denni
1 hour ago
» Replies: 3
» Views: 62

 
  "Limit all lines to a maximum of 79 characters"
Posted by: Skaperen - Jun-17-2019, 06:49 PM - Forum: News and Discussions - Replies (13)

"Limit all lines to a maximum of 79 characters" --PEP8

more text even urges limiting the width to 72 characters.

this is one thing i definitely ..... More

Print this item

  gaussian quadrature
Posted by: mohammadrezamofidi - Jun-17-2019, 06:28 PM - Forum: General Coding Help - Replies (4)

Hello every body

I tried writing gauss-legendre quadrature formula (Attached) in python , but i am still unsuccessful. Would you please help me?
..... More

Print this item

  Problem with basics
Posted by: Wraith2102 - Jun-17-2019, 05:56 PM - Forum: General Coding Help - Replies (2)

[python]x=int(input('Enter x= ')
if x%2 == 0:
if x%3 == 0:
print('Divisible by 2 & 3')
elif
print('Divisible by 2 but not..... More

Print this item

  Python IDLE intellisense not working on MacPro ?
Posted by: Devarishi - Jun-17-2019, 04:56 PM - Forum: News and Discussions - Replies (3)

I am using Python IDLE 3.7 for Windows 7. When I launch the IDLE and use the dot sign (.) after a module or class its associated methods or functions ..... More

Print this item

  Module googletrans 2.4.0 Question
Posted by: hlhp - Jun-17-2019, 03:50 PM - Forum: General Coding Help - No Replies

How to use googletrans for translation.
According to googletrans 2.4.0
I got error even with the of..... More

Print this item

  Aligning data
Posted by: gat - Jun-17-2019, 03:37 PM - Forum: Data Science - Replies (7)

Hello. I'm so sorry in advance. I am super new to this. If this question isn't allowed, please discard. I have something as follows:
sample001a.com, ..... More

Print this item

  Aligning excel data
Posted by: gat - Jun-17-2019, 03:10 PM - Forum: Data Science - Replies (1)

Hello. I'm so sorry in advance. I am super new to this. If this question isn't allowed, please discard. I have something as follows:
sample001a.com, ..... More

Print this item

  Pyodbc error
Posted by: taxit - Jun-17-2019, 01:10 PM - Forum: General Coding Help - Replies (1)

Hello!!

I'm try to connect to a accdb Access database:

[python]
import pyodbc

conn = pyodbc.connect(r'Driver={Microsoft Access Driver (*.mdb..... More

Print this item

  small newbie task to python
Posted by: intoxicated_dk - Jun-17-2019, 01:00 PM - Forum: Homework - Replies (2)

Hi,

I am just getting through startups, and got a minor task, just a simple else,if, vba look a like.
Task is
You have 5 states which have 5 thin..... More

Print this item

  Forcing input from pre-defined list.
Posted by: scotty501 - Jun-17-2019, 12:46 PM - Forum: General Coding Help - Replies (11)

Hello All,

I am stumbling into the world of programming, and have started by watching videos, and reading beginner instructions on Python. I have ..... More

Print this item

  Script running on a server
Posted by: M4573R - Jun-17-2019, 11:29 AM - Forum: General Coding Help - Replies (2)

I'm new to Python and I created a script running on Chrome webdriver.
How can I create the same script that I can keep it running on a cloud server 2..... More

Print this item

  How to iterate over some characters in a string and the others will stay as it is. ?
Posted by: sodmzs - Jun-17-2019, 07:29 AM - Forum: General Coding Help - Replies (9)

[python]
one = ["one","o","n","e"]
two = ["two","t","w","o"]
t = "one and two"
dict = dict(one = one, two = two)
words = ["one","and","two"]

f..... More

Print this item

  strip off just newlines
Posted by: Skaperen - Jun-17-2019, 06:06 AM - Forum: General Coding Help - Replies (11)

so i have a string that might have multiple newlines at the end, or maybe a carriage-return line-feed pair. but i want the string with all of them re..... More

Print this item

  How to merge a VCF files without loss of Contacts?
Posted by: jackson - Jun-17-2019, 05:54 AM - Forum: News and Discussions - Replies (2)

I want to merge VCF file for without losing data.

Print this item

  How to vstack matrixs in numpy with different numbers of columns
Posted by: hlhp - Jun-17-2019, 04:43 AM - Forum: General Coding Help - Replies (2)

I want to stack matrixs together with different numbers of columns

The way I can think of is:
1.Find out how many columns in a
2.Add empty column..... More

Print this item

  how to input a random entry with each button press?
Posted by: nadavrock - Jun-17-2019, 12:51 AM - Forum: GUI - Replies (1)

i have a tkinter gui wiht buttons. i have a button that enters random values inside a certain entry. i have a randint that a assigns that random value..... More

Print this item

  MCQ logic
Posted by: kferhat - Jun-16-2019, 08:33 PM - Forum: General Coding Help - No Replies

Hi all,

I am writing a code that read MCQ from a file like this :

N1. question 1
A. answer A
B. answer B
C. answer C
D. answer D

So I cre..... More

Print this item

  Method not regocnized
Posted by: Lass86 - Jun-16-2019, 07:01 PM - Forum: General Coding Help - Replies (3)

Hello Everyone,

I started learning Python not too long ago, but unfortunatley I ran into some trouble with using a String Method.

This is my cod..... More

Print this item

  command button automaticaly fired
Posted by: kferhat - Jun-16-2019, 05:45 PM - Forum: GUI - Replies (2)

Hi all,

I create a form and a button with no command.

I create a class that inherit the constructor and add

[python]self.launch_btn.configur..... More

Print this item

  A function that checks if the list is sorted
Posted by: pooyan89 - Jun-16-2019, 05:14 PM - Forum: Homework - Replies (13)

The task is :
[b]

Write a function called is_sorted that takes a list as a parameter and returns True if the list is sorted in ascending order and..... More

Print this item

  Random access binary files with mmap - drastically slows with big files
Posted by: danart - Jun-16-2019, 02:30 PM - Forum: General Coding Help - Replies (1)

I've posted a similar question to stackoverflow but unfortunately didn't get any answers there. Maybe this is a more python-specific issue and I'll ge..... More

Print this item

  Distance between 2 user defined geo-grids in km
Posted by: chandrakant98c - Jun-16-2019, 11:26 AM - Forum: Data Science - No Replies

[b]I am trying to solve a problem, but I am new to really complicated coding. Below is the problem summary and code I tried. I will be very thankful i..... More

Print this item

  Text window not properly sized
Posted by: smabubakkar - Jun-16-2019, 08:34 AM - Forum: GUI - Replies (1)

Hi I have created a python tool based on Tkinter GUI to compare two text files, i am facing a strange issue, which you might have already came across...... More

Print this item

  Arrange list of tuple using loop
Posted by: batchenr - Jun-16-2019, 08:05 AM - Forum: General Coding Help - Replies (7)

Hey,
i have this list of tuples, i need to arrange the output in json by order.
in nvm i have 3 list of tuple

[python]>>> nvm = [(10, ['cp5'], [..... More

Print this item

  Capturing inputs values from internal python script
Posted by: limors11 - Jun-16-2019, 05:35 AM - Forum: General Coding Help - Replies (11)

Hi there Rolleyes ,

I am using python 3.6 version. I have main python script which calls other python scripts, those internal scripts prompts f..... More

Print this item

  same context functions
Posted by: Skaperen - Jun-16-2019, 01:32 AM - Forum: News and Discussions - Replies (12)

is there a way to define or call a function such that it runs (or is defined to be in) the same context as the caller (e.g. uses the exact same local ..... More

Print this item

  custom 404 page
Posted by: metulburr - Jun-16-2019, 01:31 AM - Forum: Board - Replies (15)

I was thinking of something along the lines of this as a custom 404 page

   

Print this item

  at the end of a long loop
Posted by: Skaperen - Jun-16-2019, 12:05 AM - Forum: News and Discussions - Replies (3)

sometimes my loops are very long, even in Python. one frequent reason for this is a big case statement or the equivalent bunch of if or elif statemen..... More

Print this item

  [Maya] MASH Curve node in Python
Posted by: Tomatoprincess - Jun-15-2019, 10:19 PM - Forum: Homework - Replies (1)

Hi,

I am working on a book row generator. For that I want to let the customer place a curve and the books should be placed on that curve. Because I..... More

Print this item

  Regex Issue from Automate the Boring Stuff book
Posted by: robgraves - Jun-15-2019, 08:46 PM - Forum: General Coding Help - Replies (2)

I have the "Automate the Boring Stuff with Python" book by Al Sweigart and have been working through the book the last week and I'm currently on Chapt..... More

Print this item

  Best way employment a counter that texts a list of users when incremented
Posted by: Tercelkisor - Jun-15-2019, 08:33 PM - Forum: News and Discussions - Replies (1)

Hi,

I'm in the investigation process of this project, and I could use some help.

I need to make a counter that texts a list of phone numbers any t..... More

Print this item

  Need Help with creating an IP packet with timestamp field using Scapy
Posted by: RTD - Jun-15-2019, 08:21 PM - Forum: Networking - No Replies

Hi all
I am new with scapy. I tried creating an IP packet with options field having security set with the following scapy code.

packet = IP(dst="1..... More

Print this item

  get request with custom header
Posted by: canem_inferni - Jun-15-2019, 06:57 PM - Forum: Homework - Replies (1)

Hello

I have an assignment where I need to write a script with a custom header with a x-api-key within a range of 5500-5600 to get a file. As it s..... More

Print this item

  Can't get method to scroll down page.
Posted by: caarsonr - Jun-15-2019, 05:38 PM - Forum: Web Scraping & Web Development - Replies (2)

This method is supposed to find the comment box on youtube, right now, my scrolling method does not seem to be working. I can't seem to figure out why..... More

Print this item

  Any command to upgrade Python version 2.X to latest
Posted by: KarthiK - Jun-15-2019, 05:11 PM - Forum: News and Discussions - Replies (5)

How can i update my python from version 2.0 something to 3.5 or 3.7 latest....Any command which can upgrade my python to the latest version? I'm in a ..... More

Print this item